You are not logged in.
smbd seems broken. I try to use smbclient -L localhost and I get error messages, and then smbd stops:
# smbclient -L localhost
Enter lmello's password:
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
[root@maxwell pkg]# smbclient -L localhost
Enter lmello's password:
protocol negotiation failed: NT_STATUS_CONNECTION_RESET
[root@maxwell pkg]# systemctl status smbd.service
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: inactive (dead) since Tue 2013-03-05 17:51:12 BRT; 25s ago
Process: 1376 ExecStart=/usr/sbin/smbd -D (code=exited, status=0/SUCCESS)
Main PID: 1377 (code=killed, signal=TERM)
CGroup: name=systemd:/system/smbd.service
Mar 05 17:48:46 maxwell systemd[1]: Starting Samba SMB/CIFS server...
Mar 05 17:48:46 maxwell systemd[1]: Started Samba SMB/CIFS server.
Mar 05 17:48:46 maxwell smbd[1377]: [2013/03/05 17:48:46.119939, 0] lib/util_sock.c:667(open_socket_in)
Mar 05 17:48:46 maxwell smbd[1377]: bind failed on port 445 socket_addr = ::.
Mar 05 17:48:46 maxwell smbd[1377]: Error = Address already in use
Mar 05 17:48:46 maxwell smbd[1377]: [2013/03/05 17:48:46.120217, 0] smbd/server.c:578(smbd_open_one_socket)
Mar 05 17:48:46 maxwell smbd[1377]: smbd_open_once_socket: open_socket_in: Address already in use
Mar 05 17:48:46 maxwell smbd[1377]: [2013/03/05 17:48:46.120389, 0] smbd/server.c:578(smbd_open_one_socket)
Mar 05 17:48:46 maxwell smbd[1377]: smbd_open_once_socket: open_socket_in: Address already in useLast edited by lmello (2013-03-07 21:43:54)
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
Somehow this is linked with this problem. I removed the samba package and the system reboot/shutdown fast again. Can anybody reproduce this? Is it a samba 3.6.12 bug?
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
I gave gdb a try, tough I'm not an expert on debugging tools. Here's what I got:
(gdb) exec-file /usr/sbin/smbd -D
(gdb) run
Starting program: /usr/sbin/smbd
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Inferior 1 (process 1805) exited normally]
(gdb)Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline
Fixed with samba 3.6.12-2, thanks Tobias ![]()
Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.
Offline