Samba Server, Probleme mit nmbd (gelöst)
Verfasst: Fr 7. Feb 2020, 08:00
Hallo zusammen,
ich dachte mir, ich teste den Samba Server mal aus, der bei ArcaOS 5.0.4 mitgeliefert wird.
Die Installation hat gut geklappt (inkl. Benutzer anlegen und SWAT einrichten), aber er funktioniert trotzdem nicht.
Im Auslieferungszustand werden smbd.exe und nmbd.exe gestartet, aber nmbd.exe beendet sich sofort wieder ("Warning: nmbd.exse apparently stopped").
Im Log von smbd.exe habe ich dann folgende Meldung:
"[2020/02/07 07:55:05, 0] smbd/server.c:1080(main)
Server priority set to PRTYC_FOREGROUNDSERVER
[2020/02/07 07:55:05, 0] smbd/server.c:1083(main)
smbd version 3.6.25-OS/2 v1.3.0-1011 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
Maintained by: bww bitwise works (HB)
[2020/02/07 07:55:05.020000, 0] smbd/server.c:1142(main)
standard input is not a socket, assuming -D option"
Im Log von nmbd.exe:
"[2020/02/07 07:55:05, 0] nmbd/nmbd.c:872(main)
nmbd version 3.6.25-OS/2 v1.3.0-1011 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
Maintained by: bww bitwise works (HB)
[2020/02/07 07:55:05.022000, 0] nmbd/nmbd.c:903(main)
standard input is not a socket, assuming -D option
[2020/02/07 07:55:05.082000, 0] nmbd/asyncdns.c:160(start_async_dns)
started asyncdns process 130
[2020/02/07 07:55:05.086000, 0] lib/util_sock.c:667(open_socket_in)
bind failed on port 137 socket_addr = 192.168.178.255.
Error = Can't assign requested address
[2020/02/07 07:55:05.086000, 0] nmbd/nmbd_subnetdb.c:127(make_subnet)
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 192.168.178.255 for port 137. Error was Can't assign requested address
[2020/02/07 07:55:05.086000, 0] nmbd/nmbd.c:989(main)
ERROR: Failed when creating subnet lists. Exiting."
Ich habe festgestellt, dass nmbd.exe weiterläuft, wenn ich in smb.conf "interfaces = eth0" eintrage, aber Samba funktioniert dann trotzdem nicht.
Im Log von smbd.exe heißt es dann:
"[2020/02/07 07:48:52.758000, 0] lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2020/02/07 07:48:52.793000, 0] smbd/server.c:1142(main)
standard input is not a socket, assuming -D option"
Und von nmbd.exe:
"[2020/02/07 07:48:52.740000, 0] nmbd/nmbd.c:903(main)
standard input is not a socket, assuming -D option
[2020/02/07 07:48:52.799000, 0] nmbd/asyncdns.c:160(start_async_dns)
started asyncdns process 111
[2020/02/07 07:48:52.805000, 0] lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2020/02/07 07:48:52.805000, 0] nmbd/nmbd_subnetdb.c:250(create_subnets)
create_subnets: No local IPv4 non-loopback interfaces !
[2020/02/07 07:48:52.805000, 0] nmbd/nmbd_subnetdb.c:251(create_subnets)
create_subnets: Waiting for an interface to appear ...
[2020/02/07 07:48:52.910000, 0] lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found"
(letzter Eintrag wiederholt sich laufend, bis ich Samba stoppe)
Kann mir jemand sagen, wo ich einen fehlerhaften Eintrag habe oder sonst einen Fehler gemacht habe? Es ist nichts Dringendes, ich hasse es nur, wenn etwas nicht funktioniert... Bei der Suche nach dem Fehler bin ich nur auf die Sache mit "interfaces = eth0" gekommen, der unter Linux wohl ab und an hilft, aber hier offensichtlich nicht. Eine Firewall läuft auf dem OS/2-Rechner nicht.
Grüße
Michaela
ich dachte mir, ich teste den Samba Server mal aus, der bei ArcaOS 5.0.4 mitgeliefert wird.
Die Installation hat gut geklappt (inkl. Benutzer anlegen und SWAT einrichten), aber er funktioniert trotzdem nicht.
Im Auslieferungszustand werden smbd.exe und nmbd.exe gestartet, aber nmbd.exe beendet sich sofort wieder ("Warning: nmbd.exse apparently stopped").
Im Log von smbd.exe habe ich dann folgende Meldung:
"[2020/02/07 07:55:05, 0] smbd/server.c:1080(main)
Server priority set to PRTYC_FOREGROUNDSERVER
[2020/02/07 07:55:05, 0] smbd/server.c:1083(main)
smbd version 3.6.25-OS/2 v1.3.0-1011 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
Maintained by: bww bitwise works (HB)
[2020/02/07 07:55:05.020000, 0] smbd/server.c:1142(main)
standard input is not a socket, assuming -D option"
Im Log von nmbd.exe:
"[2020/02/07 07:55:05, 0] nmbd/nmbd.c:872(main)
nmbd version 3.6.25-OS/2 v1.3.0-1011 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
Maintained by: bww bitwise works (HB)
[2020/02/07 07:55:05.022000, 0] nmbd/nmbd.c:903(main)
standard input is not a socket, assuming -D option
[2020/02/07 07:55:05.082000, 0] nmbd/asyncdns.c:160(start_async_dns)
started asyncdns process 130
[2020/02/07 07:55:05.086000, 0] lib/util_sock.c:667(open_socket_in)
bind failed on port 137 socket_addr = 192.168.178.255.
Error = Can't assign requested address
[2020/02/07 07:55:05.086000, 0] nmbd/nmbd_subnetdb.c:127(make_subnet)
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 192.168.178.255 for port 137. Error was Can't assign requested address
[2020/02/07 07:55:05.086000, 0] nmbd/nmbd.c:989(main)
ERROR: Failed when creating subnet lists. Exiting."
Ich habe festgestellt, dass nmbd.exe weiterläuft, wenn ich in smb.conf "interfaces = eth0" eintrage, aber Samba funktioniert dann trotzdem nicht.
Im Log von smbd.exe heißt es dann:
"[2020/02/07 07:48:52.758000, 0] lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2020/02/07 07:48:52.793000, 0] smbd/server.c:1142(main)
standard input is not a socket, assuming -D option"
Und von nmbd.exe:
"[2020/02/07 07:48:52.740000, 0] nmbd/nmbd.c:903(main)
standard input is not a socket, assuming -D option
[2020/02/07 07:48:52.799000, 0] nmbd/asyncdns.c:160(start_async_dns)
started asyncdns process 111
[2020/02/07 07:48:52.805000, 0] lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found
[2020/02/07 07:48:52.805000, 0] nmbd/nmbd_subnetdb.c:250(create_subnets)
create_subnets: No local IPv4 non-loopback interfaces !
[2020/02/07 07:48:52.805000, 0] nmbd/nmbd_subnetdb.c:251(create_subnets)
create_subnets: Waiting for an interface to appear ...
[2020/02/07 07:48:52.910000, 0] lib/interface.c:543(load_interfaces)
WARNING: no network interfaces found"
(letzter Eintrag wiederholt sich laufend, bis ich Samba stoppe)
Kann mir jemand sagen, wo ich einen fehlerhaften Eintrag habe oder sonst einen Fehler gemacht habe? Es ist nichts Dringendes, ich hasse es nur, wenn etwas nicht funktioniert... Bei der Suche nach dem Fehler bin ich nur auf die Sache mit "interfaces = eth0" gekommen, der unter Linux wohl ab und an hilft, aber hier offensichtlich nicht. Eine Firewall läuft auf dem OS/2-Rechner nicht.
Grüße
Michaela