Войти

Показать полную графическую версию : Samba сошла с ума


Zoeken
15-07-2013, 09:17
[root@rhel6client samba]# service smb restart
Shutting down SMB services: [ OK ]
Starting SMB services: [ OK ]
[root@rhel6client samba]# ps -ae | grep mbd
4570 ? 00:00:00 smbd
4572 ? 00:00:00 smbd

log.smbd:

[2013/07/15 13:50:35.561016, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /var/run/smbd.pid. Error was No such file or directory
[2013/07/15 13:50:35, 0] ../source3/smbd/server.c:1200(main)
smbd version 4.0.0rc4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/07/15 13:50:40.685026, 0] ../source3/smbd/server.c:1280(main)
standard input is not a socket, assuming -D option

[root@rhel6client samba]# service nmb restart
Shutting down NMB services: [FAILED]
Starting NMB services: [ OK ]
[root@rhel6client samba]# service nmb status
nmbd dead but pid file exists
[root@rhel6client samba]#

log.nmbd:

[2013/07/15 13:54:43, 0] ../source3/nmbd/nmbd.c:883(main)
nmbd version 4.0.0rc4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/07/15 13:54:43, 0] ../source3/nmbd/nmbd.c:922(main)
standard input is not a socket, assuming -D option
[2013/07/15 13:54:48, 0] ../source3/lib/util_sock.c:1304(create_pipe_sock)
bind failed on pipe socket /var/run/samba/nmbd/unexpected: Address already in use
[2013/07/15 13:54:48, 0] ../source3/nmbd/nmbd_packets.c:48(nmbd_init_packet_server)
ERROR: nb_packet_server_create failed: NT_STATUS_ADDRESS_ALREADY_ASSOCIATED


[root@rhel6client samba]# uname -a
Linux rhel6client.local 2.6.32-358.11.1.el6.x86_64 #1 SMP Wed May 15 10:48:38 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@rhel6client samba]#

не понимаю что происходит =( всегда было просто самбу поднять, а тут какой-то ... позор происходит! гугление не помогло =(

ruslandh
15-07-2013, 09:48
Смотрите кто занял порт, на котором сидит nmbd

zai
15-07-2013, 10:07
Удали smbd.pid и nmbd.pid




© OSzone.net 2001-2012