Samba: smbd startet nicht automatisch

Serverdienste ohne eigene Kategorie
snake*sl
Posts: 37
Joined: 2004-10-21 18:04
Location: Iserlohn
 

Samba: smbd startet nicht automatisch

Post by snake*sl »

Hi,

habe auf meinem frisch installierten Debian Etch System per apt-get Samba installiert.
Nach einem reboot ist der Rechner über Windows jedoch nicht erreichbar.

Erst wenn ich per

Code: Select all

/etc/init.d/samba restart
neustarte, dann ist der Samba vom XP-Rechner erreichbar.

In den einzelnen Runlevels ist die Samba-Verknüpfung eingetragen.
Hat jemand eine Idee?
dnspyder
Posts: 111
Joined: 2006-03-10 07:13
Location: Dortmund
 

Re: Samba: smbd startet nicht automatisch

Post by dnspyder »

... wird Samba denn überhaupt gestartet? Logs?

Wie sehen die Init-Script-Links aus?
snake*sl
Posts: 37
Joined: 2004-10-21 18:04
Location: Iserlohn
 

Re: Samba: smbd startet nicht automatisch

Post by snake*sl »

DNSpyder wrote:... wird Samba denn überhaupt gestartet? Logs?
habe gerade neugestartet und komme mit xp nicht drauf. ps aux gibt mir folgendes aus:

Code: Select all

debian:~# ps aux | grep smbd
root      3724  0.0  0.0   9224  2492 ?        Ss   10:24   0:00 /usr/sbin/smbd -D
root      3733  0.0  0.0   9224  1104 ?        S    10:24   0:00 /usr/sbin/smbd -D
root      3873  0.0  0.0   1952   584 pts/0    D+   10:27   0:00 grep smbd

debian:~# ps aux | grep nmbd
root      3722  0.0  0.0   6168  1400 ?        Ss   10:24   0:00 /usr/sbin/nmbd -D
root      3875  0.0  0.0   2024   748 pts/0    S+   10:28   0:00 grep nmbd
log.nmbd:

Code: Select all

[2008/06/30 10:21:02, 0] nmbd/nmbd.c:terminate(58)
  Got SIGTERM: going down...
[2008/06/30 10:24:21, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
log.smbd

Code: Select all

[2008/06/30 10:24:21, 0] smbd/server.c:main(847)
  smbd version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/06/30 10:24:21, 0] printing/pcap.c:pcap_cache_reload(159)
Unable to open printcap file /etc/printcap for read!
Wofür ist printcap?
DNSpyder wrote:Wie sehen die Init-Script-Links aus?
In rc3.d z.B. so:

Code: Select all

lrwxrwxrwx 1 root root  15 2008-06-09 22:39 S20samba -> ../init.d/samba
EdRoxter
Posts: 483
Joined: 2006-01-06 03:23
Location: Neben Bonn
 

Re: Samba: smbd startet nicht automatisch

Post by EdRoxter »

Was sagt netstat -tulpen?
snake*sl
Posts: 37
Joined: 2004-10-21 18:04
Location: Iserlohn
 

Re: Samba: smbd startet nicht automatisch

Post by snake*sl »

EdRoxter wrote:Was sagt netstat -tulpen?

Code: Select all

debian:~# netstat -tulpen
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     105        6393       2476/mysqld
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN     0          6810       2665/smbd
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN     0          6764       2656/inetd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     0          6739       2644/exim4
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN     0          6809       2665/smbd
tcp6       0      0 :::80                   :::*                    LISTEN     0          6990       2754/apache2
tcp6       0      0 :::22                   :::*                    LISTEN     0          6827       2676/sshd
udp        0      0 192.168.1.111:137       0.0.0.0:*                          0          6788       2663/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                          0          6785       2663/nmbd
udp        0      0 192.168.1.111:138       0.0.0.0:*                          0          6789       2663/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                          0          6786       2663/nmbd
udp        0      0 192.168.1.111:123       0.0.0.0:*                          0          6871       2708/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                          0          6870       2708/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*                          0          6866       2708/ntpd
udp6       0      0 fe80::219:d1ff:fe17:123 :::*                               0          6869       2708/ntpd
udp6       0      0 ::1:123                 :::*                               0          6868       2708/ntpd
udp6       0      0 :::123                  :::*                               0          6867       2708/ntpd