• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Samba, nmb läuft nicht

_PASCAL_

Member
Hi,

ich bin von Suse zu Kubuntu gekommen...

jetzt hab ich da aber leider ein problem mit Samba



ich vermute dass der nmbd nicht läuft, da ich den Rechner über \\ip-adresse erreichen kann von einem WindowsPC.

aber in der Arbeitsgruppe wird der PC nicht angezeigt
 
OP
P

_PASCAL_

Member
hmm gut hätt ich vll dazu sagen müssen ^^

ich weis nicht wie und über google find ich nicht wirklich was
 
OP
P

_PASCAL_

Member
Code:
/etc/init.d/nmb status

funktioniert nicht :?:

hatte ich schon probiert "komisch eigentlich" :wink:

Code:
ps -ef | grep nmb

bringt

Code:
pascal@kubuntu:~$ ps -ef | grep nmb
pascal    6294  6277  0 16:12 pts/1    00:00:00 grep nmb
pascal@kubuntu:~$

und in der log.nmbd steht

Code:
[2007/08/08 22:51:58, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/08 22:57:46, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  
  Samba name server PASCAL-DESKTOP is now a local master browser for workgroup MSHOME on subnet 192.168.123.179
  
  *****
[2007/08/08 23:00:45, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/08 23:01:59, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/08 23:07:41, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  
  Samba name server PASCAL-DESKTOP is now a local master browser for workgroup MSHOME on subnet 192.168.123.179
  
  *****
[2007/08/08 23:11:58, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/08 23:13:11, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/08 23:13:11, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2007/08/08 23:13:11, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...
[2007/08/08 23:15:36, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  
  Samba name server PASCAL-DESKTOP is now a local master browser for workgroup MSHOME on subnet 192.168.123.179
  
  *****
[2007/08/09 00:05:58, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 10:06:09, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 10:06:09, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2007/08/09 10:06:09, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...
[2007/08/09 12:29:55, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 12:31:09, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 12:31:09, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2007/08/09 12:31:09, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...
[2007/08/09 14:35:28, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 14:36:41, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 14:36:41, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2007/08/09 14:36:41, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...
[2007/08/09 15:56:49, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 15:56:52, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 15:58:23, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 15:58:26, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 17:49:19, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 17:59:08, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 17:59:08, 0] lib/util_sock.c:open_socket_in(830)
  bind failed on port 137 socket_addr = 192.168.123.179.
  Error = Cannot assign requested address
[2007/08/09 17:59:08, 0] nmbd/nmbd_subnetdb.c:make_subnet(97)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.123.179 for port 137.  Error was Cannot assign requested address
[2007/08/09 17:59:08, 0] nmbd/nmbd.c:main(773)
  ERROR: Failed when creating subnet lists. Exiting.
[2007/08/09 18:06:06, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 18:06:07, 0] lib/util_sock.c:open_socket_in(830)
  bind failed on port 137 socket_addr = 192.168.123.179.
  Error = Cannot assign requested address
[2007/08/09 18:06:07, 0] nmbd/nmbd_subnetdb.c:make_subnet(97)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.123.179 for port 137.  Error was Cannot assign requested address
[2007/08/09 18:06:07, 0] nmbd/nmbd.c:main(773)
  ERROR: Failed when creating subnet lists. Exiting.
[2007/08/09 18:41:33, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 18:47:18, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  
  Samba name server KUBUNTU is now a local master browser for workgroup WORKGROUP on subnet 192.168.123.179
  
  *****
[2007/08/09 19:30:29, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/09 19:54:38, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/09 23:09:27, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/10 09:16:15, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/10 09:16:15, 0] lib/util_sock.c:open_socket_in(830)
  bind failed on port 137 socket_addr = 192.168.123.179.
  Error = Cannot assign requested address
[2007/08/10 09:16:15, 0] nmbd/nmbd_subnetdb.c:make_subnet(97)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.123.179 for port 137.  Error was Cannot assign requested address
[2007/08/10 09:16:15, 0] nmbd/nmbd.c:main(773)
  ERROR: Failed when creating subnet lists. Exiting.
[2007/08/10 09:33:09, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/10 09:33:09, 0] lib/util_sock.c:open_socket_in(830)
  bind failed on port 137 socket_addr = 192.168.123.179.
  Error = Cannot assign requested address
[2007/08/10 09:33:09, 0] nmbd/nmbd_subnetdb.c:make_subnet(97)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.123.179 for port 137.  Error was Cannot assign requested address
[2007/08/10 09:33:09, 0] nmbd/nmbd.c:main(773)
  ERROR: Failed when creating subnet lists. Exiting.
[2007/08/10 10:05:27, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/10 10:49:34, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2007/08/10 10:50:49, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/10 10:50:49, 0] lib/util_sock.c:open_socket_in(830)
  bind failed on port 137 socket_addr = 192.168.123.179.
  Error = Cannot assign requested address
[2007/08/10 10:50:49, 0] nmbd/nmbd_subnetdb.c:make_subnet(97)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.123.179 for port 137.  Error was Cannot assign requested address
[2007/08/10 10:50:49, 0] nmbd/nmbd.c:main(773)
  ERROR: Failed when creating subnet lists. Exiting.
[2007/08/10 11:01:48, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/08/10 11:01:49, 0] lib/util_sock.c:open_socket_in(830)
  bind failed on port 137 socket_addr = 192.168.123.179.
  Error = Cannot assign requested address
[2007/08/10 11:01:49, 0] nmbd/nmbd_subnetdb.c:make_subnet(97)
nmbd_subnetdb:make_subnet()
  Failed to open nmb socket on interface 192.168.123.179 for port 137.  Error was Cannot assign requested address
[2007/08/10 11:01:49, 0] nmbd/nmbd.c:main(773)
  ERROR: Failed when creating subnet lists. Exiting.

da steht was von
Samba name server KUBUNTU is now a local master browser for workgroup WORKGROUP on subnet 192.168.123.179

eigentlich die falsche workgroup
 

admine

Ultimate Guru
_PASCAL_ schrieb:
Code:
/etc/init.d/nmb status
funktioniert nicht :?:
hatte ich schon probiert "komisch eigentlich" :wink:
Dann evt. /etc/rc.d/nmb ... du solltest wissen, wo die Startscripte auf deinem System liegen und wie sie heißen ;)

Und du könntest den nmbd mal restarten - Fehlermeldungen?

Btw. die smb.conf checken wegen der WORKGROUP.
 
OP
P

_PASCAL_

Member
also die smb.conf stimmt

wie überprüfe ich ob nmbd überhaupt installiert ist

weil ich habe gestern Probleme mit Samba gehabt und hab samba neu installiert,

dabei den nmbd vll nicht :wink:

wie heißt das paket für den nmbd

weil wenn ich nmb eingebe finde ich nichts
 
OP
P

_PASCAL_

Member
gut das Packet Samba habe ich installiert...

aber wie kann ich jetzt den nmbd auf funktion prüfen ?
 
OP
P

_PASCAL_

Member
Morgen,

das hab ich weiter oben schonmal gestestet und geschrieben dass es nicht geht...

Code:
pascal@kubuntu:~$ sudo -s
root@kubuntu:~# /etc/init.d/nmd status
bash: /etc/init.d/nmd: No such file or directory
root@kubuntu:~# cd /etc/init.d
root@kubuntu:/etc/init.d# dir
acpid              inetd                            readahead
acpi-support       kde-guidance                     readahead-desktop
alsa-utils         kdm                              README
anacron            keyboard-setup                   reboot
apache2            killprocs                        rmnologin
apmd               klogd                            rsync
apport             laptop-mode                      samba
atd                linux-restricted-modules-common  screen
avahi-daemon       loopback                         sendsigs
bluetooth          makedev                          single
bootclean          module-init-tools                skeleton
bootlogd           mountall-bootclean.sh            stop-bootlogd
bootmisc.sh        mountall.sh                      stop-bootlogd-single
brltty             mountdevsubfs.sh                 stop-readahead
checkfs.sh         mountkernfs.sh                   sysklogd
checkroot.sh       mountnfs-bootclean.sh            udev
console-screen.sh  mtab.sh                          umountfs
console-setup      networking                       umountnfs.sh
cron               nfs-common                       umountroot
cupsys             nvidia-kernel                    urandom
dbus               pcmciautils                      usplash
dns-clean          portmap                          vbesave
glibc.sh           powernowd                        waitnfs.sh
halt               powernowd.early                  wpa-ifupdown
hdparm             pppd-dns                         x11-common
hostname.sh        procps.sh                        xinetd
hotkey-setup       rc                               xserver-xorg-input-wacom
hplip              rc.local
hwclock.sh         rcS
root@kubuntu:/etc/init.d#

hier mal ne liste was alles in /etc/init.d/ steht da taucht kein startscript für nmb auf
 
OP
P

_PASCAL_

Member
möglich weil ich find auch in google nicht wirklich viel über ubuntu nmbd oder so

und im Paketmanager find ich auch nichts über nmb :wink:

dann installier ich samba eben nochmal ^^
 

OldKid

Hacker
jengelh schrieb:
Ist es nicht so, dass nmb bei Debian mit im smb-Skript drin ist :?:

Jeeep


/etc/init.d/samba start startet Samba incl. nmb


die Statusabfrage

Code:
/etc/init.d/XXXX status
ist bei Samab nicht vorgesehen

Code:
Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}


_PASCAL_ schrieb:
und im Paketmanager find ich auch nichts über nmb :wink:

Wie schon gesagt nmb ist Bestandteil des Samba Paketes

schauts du HIER

_PASCAL_ schrieb:
dann installier ich samba eben nochmal ^^

Dann aber bitte vorher auch komplette denistallieren mit allen confs usw. weil sonst bringt das null



MfG OldKid
 
OP
P

_PASCAL_

Member
also ich weis nicht was ich gemacht habe aber es funktioniert jetzt

ich hab den smb per
Code:
/etc/init.d/samba stop

gestoppt und

mit
Code:
/etc/init.d/samba start
wieder gestartet und dann gings... ka warum

weil ich hab min schon 20 mal
Code:
/etc/init.d/samba restart
gemacht ^^ :wink:
 
Oben