------- Comment From fen...@cn.ibm.com 2015-07-09 03:01 EDT-------
(In reply to comment #13)
> Not sure what to suggest next except to increase the debug level of smbd and
> repeat the operation.
>
> You can edit /etc/init/smbd.conf and add "-d 10" to the "exec smbd" cmdline.
> Then:
>
> service smbd restart
> tail -f /var/log/samba/log.smbd
> smbclient -L localhost -U root
>
> That will show the operation from the server side which will hopefully shed
> light on the problem.
>
> Also: can you in fact connect from any client, or is it completely broken?
> Even trying the smbclient test from a different node might give a different
> result, possibly?

Hi?
We did your instructions and got the following output:

service smbd restart
tail -f /var/log/samba/log.smbd
smbclient -L localhost -U root

[2015/07/08 21:58:11.990413,  5, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:187(dbwrap_check_lock_order)
check lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 21:58:11.990489, 10, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:/var/run/samba/serverid.tdb 3:<none>
[2015/07/08 21:58:11.990571, 10, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Locking key 403B000000000000FFFF
[2015/07/08 21:58:11.990665, 10, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
Allocated locked data 0x0x3fffeb866dc0
[2015/07/08 21:58:11.990743, 10, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Unlocking key 403B000000000000FFFF
[2015/07/08 21:58:11.990805,  5, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor)
release lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 21:58:11.990861, 10, pid=15168, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:<none> 3:<none>
[2015/07/08 21:58:11.990943,  5, pid=15168, effective(0, 0), real(0, 0)] 
../lib/util/util_net.c:848(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 1
SO_SNDBUF = 2626560
SO_RCVBUF = 1062720
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
[2015/07/08 21:58:11.991497,  5, pid=15168, effective(0, 0), real(0, 0)] 
../lib/util/util_net.c:848(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 1
SO_SNDBUF = 2626560
SO_RCVBUF = 1062720
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
[2015/07/08 21:58:32.014703,  5, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:187(dbwrap_check_lock_order)
check lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 21:58:32.014770, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:/var/run/samba/serverid.tdb 3:<none>
[2015/07/08 21:58:32.014845, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Locking key 403B000000000000FFFF
[2015/07/08 21:58:32.014918, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
Allocated locked data 0x0x3fffeb85bf20
[2015/07/08 21:58:32.015027, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Unlocking key 403B000000000000FFFF
[2015/07/08 21:58:32.015080,  5, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor)
release lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 21:58:32.015147, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:<none> 3:<none>
[2015/07/08 21:58:48.917043,  2, pid=15083, effective(0, 0), real(0, 0)] 
../source3/smbd/server.c:437(remove_child_pid)
Could not find child 15170 -- ignoring
[2015/07/08 21:58:49.040846, 10, pid=15085, effective(0, 0), real(0, 0)] 
../source3/lib/events.c:426(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(print_queue_housekeeping) (nil) called
[2015/07/08 21:58:49.040902,  5, pid=15085, effective(0, 0), real(0, 0)] 
../source3/printing/queue_process.c:70(print_queue_housekeeping)
print queue housekeeping
[2015/07/08 21:58:49.040966, 10, pid=15085, effective(0, 0), real(0, 0)] 
../source3/lib/events.c:437(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(print_queue_housekeeping) (nil) rescheduled

------- Comment From fen...@cn.ibm.com 2015-07-09 03:09 EDT-------
(In reply to comment #13)
> Not sure what to suggest next except to increase the debug level of smbd and
> repeat the operation.
>
> You can edit /etc/init/smbd.conf and add "-d 10" to the "exec smbd" cmdline.
> Then:
>
> service smbd restart
> tail -f /var/log/samba/log.smbd
> smbclient -L localhost -U root
>
> That will show the operation from the server side which will hopefully shed
> light on the problem.
>
> Also: can you in fact connect from any client, or is it completely broken?
> Even trying the smbclient test from a different node might give a different
> result, possibly?

Hi,
We tried to run smbclient from other lpar roselp1. The following is the samba 
sever
output.
On roselp1:
root@roselp1:~# smbclient -L pole2lp1 -U root
protocol negotiation failed: NT_STATUS_IO_TIMEOUT

On pole2lp1:
[2015/07/08 22:05:46.536748,  5, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:187(dbwrap_check_lock_order)
check lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 22:05:46.536826, 10, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:/var/run/samba/serverid.tdb 3:<none>
[2015/07/08 22:05:46.536899, 10, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Locking key 4A3B000000000000FFFF
[2015/07/08 22:05:46.536977, 10, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
Allocated locked data 0x0x3fffeb866dc0
[2015/07/08 22:05:46.537062, 10, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Unlocking key 4A3B000000000000FFFF
[2015/07/08 22:05:46.537125,  5, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor)
release lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 22:05:46.537192, 10, pid=15178, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:<none> 3:<none>
[2015/07/08 22:05:46.537281,  5, pid=15178, effective(0, 0), real(0, 0)] 
../lib/util/util_net.c:848(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 1
SO_SNDBUF = 87040
SO_RCVBUF = 384640
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
[2015/07/08 22:05:46.537884,  5, pid=15178, effective(0, 0), real(0, 0)] 
../lib/util/util_net.c:848(print_socket_options)
Socket options:
SO_KEEPALIVE = 1
SO_REUSEADDR = 1
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 1
SO_SNDBUF = 87040
SO_RCVBUF = 384640
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
[2015/07/08 22:05:49.285721,  2, pid=15083, effective(0, 0), real(0, 0)] 
../source3/smbd/server.c:437(remove_child_pid)
Could not find child 15180 -- ignoring
[2015/07/08 22:05:49.462348, 10, pid=15085, effective(0, 0), real(0, 0)] 
../source3/lib/events.c:426(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(print_queue_housekeeping) (nil) called
[2015/07/08 22:05:49.462401,  5, pid=15085, effective(0, 0), real(0, 0)] 
../source3/printing/queue_process.c:70(print_queue_housekeeping)
print queue housekeeping
[2015/07/08 22:05:49.462467, 10, pid=15085, effective(0, 0), real(0, 0)] 
../source3/lib/events.c:437(smbd_idle_event_handler)
smbd_idle_event_handler: idle_evt(print_queue_housekeeping) (nil) rescheduled
[2015/07/08 22:06:06.568451,  5, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:187(dbwrap_check_lock_order)
check lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 22:06:06.568503, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:/var/run/samba/serverid.tdb 3:<none>
[2015/07/08 22:06:06.568571, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Locking key 4A3B000000000000FFFF
[2015/07/08 22:06:06.568643, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:143(db_tdb_fetch_locked_internal)
Allocated locked data 0x0x3fffeb85bf20
[2015/07/08 22:06:06.568718, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap_tdb.c:59(db_tdb_log_key)
Unlocking key 4A3B000000000000FFFF
[2015/07/08 22:06:06.568783,  5, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:146(dbwrap_lock_order_state_destructor)
release lock order 2 for /var/run/samba/serverid.tdb
[2015/07/08 22:06:06.568844, 10, pid=15083, effective(0, 0), real(0, 0)] 
../lib/dbwrap/dbwrap.c:133(debug_lock_order)
lock order:  1:<none> 2:<none> 3:<none>

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1472584

Title:
  ISST-LTE: Samba server doesn't work well on Ubuntu 14.04.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1472584/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to