On Sun, 30 Jul 2017 12:07:46 +0200, Istvan Gabor wrote:
Hello:
I have this problem in openSUSE Leap 42.2 with its default samba version (4.4.2).
nmbd service is not started at boot and I cannot start it manually.
# systemctl start nmb.service Job for nmb.service failed because a timeout was exceeded. See "systemctl status nmb.service" and "journalctl -xe" for details.
# systemctl status nmb.service ● nmb.service - Samba NMB Daemon Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor preset: disabled) Active: failed (Result: timeout) since Sun 2017-07-30 11:37:52 CEST; 5min ago Main PID: 4235 Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..." Tasks: 0 (limit: 512) CGroup: /system.slice/nmb.service
Jul 30 11:37:37 linux nmbd[4235]: [2017/07/30 11:37:37.475899, 0] ../source3/lib/interface.c:652(load_interfaces) Jul 30 11:37:37 linux nmbd[4235]: WARNING: no network interfaces found Jul 30 11:37:42 linux nmbd[4235]: [2017/07/30 11:37:42.504127, 0] ../source3/lib/interface.c:652(load_interfaces) Jul 30 11:37:42 linux nmbd[4235]: WARNING: no network interfaces found Jul 30 11:37:47 linux nmbd[4235]: [2017/07/30 11:37:47.531053, 0] ../source3/lib/interface.c:652(load_interfaces) Jul 30 11:37:47 linux nmbd[4235]: WARNING: no network interfaces found Jul 30 11:37:52 linux systemd[1]: nmb.service: Start operation timed out. Terminating. Jul 30 11:37:52 linux systemd[1]: Failed to start Samba NMB Daemon. Jul 30 11:37:52 linux systemd[1]: nmb.service: Unit entered failed state. Jul 30 11:37:52 linux systemd[1]: nmb.service: Failed with result 'timeout'.
According to this the problem is that I don't have a IPv4 non-localhost network insterface, which is true according to ifconfig:
# ifconfig eth2 Link encap:Ethernet HWaddr xxxxxxxxxxxxx inet6 addr: abcd::abcd:abcd:abcd:abcd/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:24766 errors:0 dropped:0 overruns:0 frame:0 TX packets:20994 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:22671550 (21.6 Mb) TX bytes:3075937 (2.9 Mb)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol inet addr:xx.x.xxx.xxx P-t-P:xx.xxx.xxx.xx Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:24466 errors:0 dropped:0 overruns:0 frame:0 TX packets:20666 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:22115202 (21.0 Mb) TX bytes:2606771 (2.4 Mb)
I have a DSL connection configured in network manager. Why does not eth2 get an IPv4 addres? How can I fix this?
I went back to openSUSE 12.2 where nmb starts at boot and runs normal. I use ifup method (not network manager) in 12.2 but the network card doesn't get an IPv4 address either; still nmb starts normal. # ifconfig dsl0 Link encap:Point-to-Point Protocol inet addr:xx.xxx.xxx.xxx P-t-P:xxx.xxx.xxx.xx Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:67 errors:0 dropped:0 overruns:0 frame:0 TX packets:36 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:6192 (6.0 Kb) TX bytes:2353 (2.2 Kb) eth0 Link encap:Ethernet HWaddr ............. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8326 (8.1 Kb) TX bytes:3496 (3.4 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:600 (600.0 b) TX bytes:600 (600.0 b) # ps -e| grep -i nmb 3208 ? 00:00:00 nmbd Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org