[問題] (Fedora9)samba無法連線

看板Linux作者 (emu)時間17年前 (2008/11/11 09:56), 編輯推噓0(003)
留言3則, 2人參與, 最新討論串1/1
重灌F9後samba一直搞不定,還請各位指點 testparm沒有問題 在local用sambaclient就連不上 reboot後smbd和nmbd會啟動 但如果用smb restart後就沒辦法再開起來 看了log.smbd懷疑是這邊的問題,但不知如何解決.... [2008/11/11 01:09:48, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 139 socket_addr = ::. Error = Permission denied 謝謝 下面是完整的smbd.log和nmbd.log [2008/11/11 01:01:42, 0] smbd/server.c:main(1209) smbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:09:48, 0] smbd/server.c:main(1209) smbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:09:48, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 445 socket_addr = ::. Error = Permission denied [2008/11/11 01:09:48, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 139 socket_addr = ::. Error = Permission denied [2008/11/11 01:09:48, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 445 socket_addr = 0.0.0.0. Error = Permission denied [2008/11/11 01:09:48, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 139 socket_addr = 0.0.0.0. Error = Permission denied [2008/11/11 01:09:48, 0] smbd/server.c:open_sockets_smbd(548) open_sockets_smbd: No sockets available to bind to. [2008/11/11 01:10:20, 0] smbd/server.c:main(1209) smbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:10:20, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 445 socket_addr = ::. Error = Permission denied [2008/11/11 01:10:20, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 139 socket_addr = ::. Error = Permission denied [2008/11/11 01:10:20, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 445 socket_addr = 0.0.0.0. Error = Permission denied [2008/11/11 01:10:20, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 139 socket_addr = 0.0.0.0. Error = Permission denied [2008/11/11 01:10:20, 0] smbd/server.c:open_sockets_smbd(548) open_sockets_smbd: No sockets available to bind to. [2008/11/11 01:49:42, 0] smbd/server.c:main(1209) smbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:49:42, 0] printing/print_cups.c:cups_connect(68) Unable to connect to CUPS server localhost:631 - 連線被拒絕 [2008/11/11 01:49:42, 0] printing/print_cups.c:cups_connect(68) Unable to connect to CUPS server localhost:631 - 連線被拒絕 ===== [2008/11/11 01:01:42, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:02:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(395) ***** Samba name server MYSERVER is now a local master browser for workgroup TOMO on subnet 192.168.1.10 ***** [2008/11/11 01:09:54, 0] nmbd/nmbd.c:terminate(68) Got SIGTERM: going down... [2008/11/11 01:09:54, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:09:54, 0] lib/util_sock.c:open_socket_in(1267) bind failed on port 137 socket_addr = 0.0.0.0. Error = Permission denied [2008/11/11 01:49:42, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.4-0.21.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2008/11/11 01:50:05, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(395) ***** Samba name server MYSERVER is now a local master browser for workgroup TOMO on subnet 192.168.1.10 ***** -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.104.75.221

11/11 11:41, , 1F
permission deny跟bind不到address...看看是不是selinux還是
11/11 11:41, 1F

11/11 11:41, , 2F
samba權限的問題 (無責任亂猜 xD
11/11 11:41, 2F

11/11 12:28, , 3F
selinux關掉的結果一樣...samba權限是指?
11/11 12:28, 3F
文章代碼(AID): #196EPNZ7 (Linux)