You are not logged in.

#1 2013-03-05 20:54:13

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

[SOLVED] problem with latest samba upgrade

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 use

Last 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

#2 2013-03-06 02:01:21

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: [SOLVED] problem with latest samba upgrade

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

#3 2013-03-06 03:51:43

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: [SOLVED] problem with latest samba upgrade

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

#4 2013-03-07 21:43:07

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: [SOLVED] problem with latest samba upgrade

Fixed with samba 3.6.12-2, thanks Tobias smile


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

Board footer

Powered by FluxBB