[opensuse] nmbd does not start at boot in openSUSE 12.2
nmbd demon does not start when my openSUSE 12.2 system is booted. smbd demon starts normally. This is openSUSE 12.2 with up to date kernel and samba packages, using systemd init. # ps -e|grep -i smb 3082 ? 00:00:00 smbd 3230 ? 00:00:00 smbd lnx:~ # ps -e|grep -i nmb lnx:~ # How can I fix this? I can provide logs if I'm told which ones. Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Istvan Gabor said the following on 08/03/2013 06:12 PM:
nmbd demon does not start when my openSUSE 12.2 system is booted. smbd demon starts normally.
This is openSUSE 12.2 with up to date kernel and samba packages, using systemd init.
# ps -e|grep -i smb 3082 ? 00:00:00 smbd 3230 ? 00:00:00 smbd lnx:~ # ps -e|grep -i nmb lnx:~ #
How can I fix this?
If you are using systemd then the daemons start via .service descriptions. Grep around to see what the one that starts smbd contains and see if there is one that isn't enables for nmbd and winbindd. Try starting the manually as described in https://bbs.archlinux.org/viewtopic.php?id=147305 If that works then enable them (as described in many other threads here), but do check dependencies (and required files, libraries, directories etc) and the order they should come up. -- I'm sure you remember Richard Clarke, the one-time special adviser to the president on cybersecurity saying: "If you spend more on coffee than on IT security, then you will be hacked. What's more, you deserve to be hacked." So we ask the "obvious" question: What kind of coffee is so good that you'd spend more on it than on IT security? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, On Sun, Aug 04, 2013 at 12:12:11AM +0200, Istvan Gabor wrote:
nmbd demon does not start when my openSUSE 12.2 system is booted.
Please try the following commands as user root: tail -f /var/log/samba/log.nmbd [2013/08/05 19:18:14, 0] nmbd/nmbd.c:861(main) nmbd version 3.6.12-59.5.1-2980-SUSE-SL12.3-x86_64 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 In a second shell you can check if the nmb daemon is running. hip:~ # pidof nmbd 29632 and/ or hip:~ # systemctl status nmb.service nmb.service - LSB: Samba NetBIOS naming service over IP Loaded: loaded (/etc/init.d/nmb) Active: active (running) since Mon, 2013-08-05 19:18:14 CEST; 1min 59s ago Process: 29599 ExecStop=/etc/init.d/nmb stop (code=exited, status=0/SUCCESS) Process: 29623 ExecStart=/etc/init.d/nmb start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/nmb.service └ 29632 /usr/sbin/nmbd -D -s /etc/samba/smb.conf Aug 05 19:18:14 hip systemd[1]: Starting LSB: Samba NetBIOS naming service over IP... Aug 05 19:18:14 hip nmb[29623]: Starting Samba NMB daemon ..done Aug 05 19:18:14 hip systemd[1]: Started LSB: Samba NetBIOS naming service over IP. From the output you might get a hint what was going wrong at the system startup. If it's not running replace 'status' by 'start' to try to start the service now. The 'LSB:' after nmb.service shows us we're not yet using/ packaging a native nmb service file. That's on our todo list.
smbd demon starts normally.
This is openSUSE 12.2 with up to date kernel and samba packages, using systemd init.
# ps -e|grep -i smb 3082 ? 00:00:00 smbd 3230 ? 00:00:00 smbd lnx:~ # ps -e|grep -i nmb lnx:~ #
How can I fix this?
I can provide logs if I'm told which ones.
See http://en.opensuse.org/Samba in particular the section labled 'Samba bug reporting and advanced debugging information'. Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (3)
-
Anton Aylward
-
Istvan Gabor
-
Lars Müller