samba port open

06/12/2007 - 21:42 von Hans Novak | Report spam
Hallo,


wollte heute sambe installieren und der medet, dass die ports blokiert
sind. Log Datei:

[2007/12/06 21:20:44, 0] smbd/server.c:main(847)
smbd version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/12/06 21:20:44, 0] lib/util_sock.c:open_socket_in(830)
bind failed on port 139 socket_addr = 192.168.0.35.
Error = Address already in use
[2007/12/06 21:37:46, 0] smbd/server.c:main(847)
smbd version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/12/06 21:37:46, 0] lib/util_sock.c:open_socket_in(830)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use


Es làuft aber definitiv kein smb / nmb.
Im Anhang habe ich noch meine smb.conf und eine netstat Ausgabe.


Hans






Netsat -l zeigt:

netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:4000 *:* LISTEN
tcp 0 0 *:exec *:* LISTEN
tcp 0 0 *:4001 *:* LISTEN
tcp 0 0 *:login *:* LISTEN
tcp 0 0 *:tcpmux *:* LISTEN
tcp 0 0 *:nfs *:* LISTEN
tcp 0 0 *:20034 *:* LISTEN
tcp 0 0 *:shell *:* LISTEN
tcp 0 0 *:32771 *:* LISTEN
tcp 0 0 *:printer *:* LISTEN
tcp 0 0 *:32772 *:* LISTEN
tcp 0 0 *:38116 *:* LISTEN
tcp 0 0 *:40421 *:* LISTEN
tcp 0 0 *:32773 *:* LISTEN
tcp 0 0 *:32774 *:* LISTEN
tcp 0 0 *:gopher *:* LISTEN
tcp 0 0 *:echo *:* LISTEN
tcp 0 0 *:40425 *:* LISTEN
tcp 0 0 *:31337 *:* LISTEN
tcp 0 0 *:discard *:* LISTEN
tcp 0 0 *:netbios-dgm *:* LISTEN
tcp 0 0 *:ircd *:* LISTEN
tcp 0 0 *:netbios-ssn *:* LISTEN
tcp 0 0 *:systat *:* LISTEN
tcp 0 0 *:812 *:* LISTEN
tcp 0 0 *:pop2 *:* LISTEN
tcp 0 0 *:5742 *:* LISTEN
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 *:imap2 *:* LISTEN
tcp 0 0 *:finger *:* LISTEN
tcp 0 0 *:netstat *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:54320 *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 *:sieve *:* LISTEN
tcp 0 0 *:www *:* LISTEN
tcp 0 0 *:27665 *:* LISTEN
tcp 0 0 *:x11-1 *:* LISTEN
tcp 0 0 *:2001 *:* LISTEN
tcp 0 0 *:58897 *:* LISTEN
tcp 0 0 *:ingreslock *:* LISTEN
tcp 0 0 *:nntp *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 *:socks *:* LISTEN
tcp 0 0 *:12345 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 *:12346 *:* LISTEN
tcp 0 0 *:635 *:* LISTEN
tcp 0 0 *:49724 *:* LISTEN
tcp 0 0 *:uucp *:* LISTEN
tcp 0 0 *:30303 *:* LISTEN
tcp6 0 0 *:ssh *:* LISTEN
udp 0 0 *:640 *:*
udp 0 0 *:641 *:*
udp 0 0 *:who *:*
udp 0 0 *:1 *:*
udp 0 0 *:nfs *:*
udp 0 0 *:32770 *:*
udp 0 0 *:32771 *:*
udp 0 0 *:32772 *:*
udp 0 0 *:32773 *:*
udp 0 0 *:talk *:*
udp 0 0 *:32774 *:*
udp 0 0 *:ntalk *:*
udp 0 0 *:echo *:*
udp 0 0 *:903 *:*
udp 0 0 *:netbios-ns *:*
udp 0 0 *:discard *:*
udp 0 0 *:netbios-dgm *:*
udp 0 0 *:23 *:*
udp 0 0 *:666 *:*
udp 0 0 *:snmp *:*
udp 0 0 *:snmp-trap *:*
udp 0 0 *:809 *:*
udp 0 0 *:54321 *:*
udp 0 0 *:27444 *:*
udp 0 0 *:700 *:*
udp 0 0 *:66 *:*
udp 0 0 *:bootps *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:tftp *:*
udp 0 0 *:474 *:*
udp 0 0 *:31335 *:*
udp 0 0 *:31337 *:*
udp 0 0 *:sunrpc *:*
udp 0 0 *:34555 *:*
udp 0 0 *:635 *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 7481 private/anvil
unix 2 [ ACC ] STREAM LISTENING 7485 private/scache
unix 2 [ ACC ] STREAM LISTENING 7489 private/maildrop
unix 2 [ ACC ] STREAM LISTENING 7493 private/uucp
unix 2 [ ACC ] STREAM LISTENING 7497 private/ifmail
unix 2 [ ACC ] STREAM LISTENING 7682
/tmp/fail2ban.sock
unix 2 [ ACC ] STREAM LISTENING 7501 private/bsmtp
unix 2 [ ACC ] STREAM LISTENING 7505
private/scalemail-backend
unix 2 [ ACC ] STREAM LISTENING 7509 private/mailman
unix 2 [ ACC ] STREAM LISTENING 7082
/var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 7410 public/cleanup
unix 2 [ ACC ] STREAM LISTENING 7417 private/tlsmgr
unix 2 [ ACC ] STREAM LISTENING 7421 private/rewrite
unix 2 [ ACC ] STREAM LISTENING 7425 private/bounce
unix 2 [ ACC ] STREAM LISTENING 7429 private/defer
unix 2 [ ACC ] STREAM LISTENING 7433 private/trace
unix 2 [ ACC ] STREAM LISTENING 7437 private/verify
unix 2 [ ACC ] STREAM LISTENING 7441 public/flush
unix 2 [ ACC ] STREAM LISTENING 7445 private/proxymap
unix 2 [ ACC ] STREAM LISTENING 7449 private/smtp
unix 2 [ ACC ] STREAM LISTENING 7453 private/relay
unix 2 [ ACC ] STREAM LISTENING 7457 public/showq
unix 2 [ ACC ] STREAM LISTENING 7461 private/error
unix 2 [ ACC ] STREAM LISTENING 7465 private/discard
unix 2 [ ACC ] STREAM LISTENING 7469 private/local
unix 2 [ ACC ] STREAM LISTENING 7473 private/virtual
unix 2 [ ACC ] STREAM LISTENING 7477 private/lmtp


cat /etc/samba/smb.conf

[global]
workgroup = BRONTO-HOME
server string = %h server
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF92 SO_SNDBUF92
domain master = auto
default case = lower
case sensitive = no
preserve case = yes
short preserve case = yes
#read raw = yes
#write raw = yes
dont descend = /dev,/proc,/tmp,/lost+found/,/mnt/raid1/lost+found/
veto files = /voice-nextnr/, /seqf/, /fax-nextnr/


[raid]
path = /mnt/raid
read only = No
create mask = 0660
directory mask = 0770
hide files = /mnt/raid/lost+found/*
 

Lesen sie die antworten

#1 Roman Racine
06/12/2007 - 21:55 | Warnen spam
Hans Novak wrote:

[2007/12/06 21:37:46, 0] lib/util_sock.c:open_socket_in(830)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use


Es làuft aber definitiv kein smb / nmb.
Im Anhang habe ich noch meine smb.conf und eine netstat Ausgabe.

Netsat -l zeigt:

netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 *:netbios-ssn           *:*                     LISTEN



Das da làuft auf Port 139.

Übrigens laufen auf deinem Rechner *sehr* viele verschiedene Dienste, von
denen du wohl kaum alle brauchst. Eventuell solltest du mal generell alles
abstellen, es sei denn, du benötigst es wirklich.

Gruss

Roman°
IRC-Freenode: #usenet-friends
http://www.usenet-friends.ch.vu/

Ähnliche fragen