[Samba] Samba + Quickbooks Idle Crash

samba at cwraig.id.au samba at cwraig.id.au
Sun Feb 7 16:40:27 MST 2010


I have a samba server running on ubuntu 9.10 with windows (both Xp and
vista) clients running quickbooks (accounting software).

Quickbooks can connect to the samba server and get access to the data
files with no problems, if the secretary uses quickbooks continuously
there is never a problem the system works for hours on end. However if the
secretary leaves the software running but doing nothing for a few mins
(somewhere between 10 and 30mins) when she tries to perform the task
quickbooks says it cannot find the server.

I have been running this kind of setup for a number of years on deban etch
and this bug has only showed up when I moved to ubuntu 9.10 this year. I
am willing to do any kind of debugging to help resolve this issue.

Below is a copy of /var/log/samba/log.deb-sfs


####################start of log file######################

[2010/01/04 07:43:21,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:21,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:21,  1] smbd/service.c:1047(make_connection_snum)
  deb-sfs (::ffff:192.168.0.53) connect to service data initially as user
nobody (uid=65534, gid=65534) (pid 3372)
[2010/01/04 07:43:21,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:21,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:22,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:22,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:22,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:22,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:23,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:23,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:23,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:23,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:23,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:23,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:24,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:24,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:24,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:24,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:25,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:25,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/projects
failed. Permission denied
[2010/01/04 07:43:26,  1] smbd/service.c:1047(make_connection_snum)
  deb-sfs (::ffff:192.168.0.53) connect to service projects initially as
user nobody (uid=65534, gid=65534) (pid 3372)
[2010/01/04 07:43:26,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/projects
failed. Permission denied
[2010/01/04 07:43:26,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:27,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/projects
failed. Permission denied
[2010/01/04 07:43:37,  1] smbd/service.c:1226(close_cnum)
  deb-sfs (::ffff:192.168.0.53) closed connection to service projects
[2010/01/04 07:43:38,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:43:38,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/data failed.
Permission denied
[2010/01/04 07:44:05,  1] smbd/service.c:1226(close_cnum)
  deb-sfs (::ffff:192.168.0.53) closed connection to service projects
[2010/02/05 09:56:14,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:14,  1] smbd/service.c:1047(make_connection_snum)
  deb-sfs (192.168.0.53) connect to service qbdata initially as user
nobody (uid=65534, gid=65534) (pid 3241)
[2010/02/05 09:56:15,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:15,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:15,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:16,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:16,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:22,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:22,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:25,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:56:26,  0] smbd/nttrans.c:2076(call_nt_transact_ioctl)
  call_nt_transact_ioctl(0x900eb): Currently not implemented.
[2010/02/05 09:56:58,  1] smbd/service.c:1226(close_cnum)
  deb-sfs (192.168.0.53) closed connection to service qbdata
[2010/02/05 09:56:59,  1] smbd/service.c:1047(make_connection_snum)
  deb-sfs (192.168.0.53) connect to service qbdata initially as user
nobody (uid=65534, gid=65534) (pid 3241)
[2010/02/05 09:57:36,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 09:57:37,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 10:12:25,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 10:40:28,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied
[2010/02/05 10:40:48,  0] lib/substitute.c:560(alloc_sub_basic)
  alloc_sub_basic: NULL source string!  This should not happen
[2010/02/05 10:40:48,  0] lib/substitute.c:560(alloc_sub_basic)
  alloc_sub_basic: NULL source string!  This should not happen
[2010/02/05 10:40:48,  0] lib/substitute.c:560(alloc_sub_basic)
  alloc_sub_basic: NULL source string!  This should not happen
[2010/02/05 10:40:48,  0] lib/substitute.c:560(alloc_sub_basic)
  alloc_sub_basic: NULL source string!  This should not happen
[2010/02/05 10:40:48,  0] lib/fault.c:41(fault_report)
  ===============================================================
[2010/02/05 10:40:48,  0] lib/fault.c:42(fault_report)
  INTERNAL ERROR: Signal 11 in pid 3241 (3.4.0)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2010/02/05 10:40:48,  0] lib/fault.c:44(fault_report)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2010/02/05 10:40:48,  0] lib/fault.c:45(fault_report)
  ===============================================================
[2010/02/05 10:40:48,  0] lib/util.c:1480(smb_panic)
  PANIC (pid 3241): internal error
[2010/02/05 10:40:48,  0] lib/util.c:1584(log_stack_trace)
  BACKTRACE: 19 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb74cf86d]
   #1 /usr/sbin/smbd(smb_panic+0x2d) [0xb74cf98d]
   #2 /usr/sbin/smbd [0xb74bd15e]
   #3 [0xb7186400]
   #4 /usr/sbin/smbd [0xb728283c]
   #5 /usr/sbin/smbd [0xb728eeeb]
   #6 /usr/sbin/smbd(reply_trans2+0x726) [0xb72904f6]
   #7 /usr/sbin/smbd [0xb72b4abe]
   #8 /usr/sbin/smbd [0xb72b4f2d]
   #9 /usr/sbin/smbd [0xb72b5790]
   #10 /usr/sbin/smbd(run_events+0x12e) [0xb74e0eae]
   #11 /usr/sbin/smbd(smbd_process+0x7d2) [0xb72b4352]
   #12 /usr/sbin/smbd [0xb77b3335]
   #13 /usr/sbin/smbd(run_events+0x12e) [0xb74e0eae]
   #14 /usr/sbin/smbd [0xb74e114f]
   #15 /usr/sbin/smbd(_tevent_loop_once+0x79) [0xb74e1749]
   #16 /usr/sbin/smbd(main+0xcaa) [0xb77b407a]
   #17 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb6d06b56]
   #18 /usr/sbin/smbd [0xb722ead1]
[2010/02/05 10:40:48,  0] lib/util.c:1485(smb_panic)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 3241]
[2010/02/05 10:40:48,  0] lib/util.c:1493(smb_panic)
  smb_panic(): action returned status 0
[2010/02/05 10:40:48,  0] lib/fault.c:321(dump_core)
  dumping core in /var/log/samba/cores/smbd
[2010/02/05 10:40:48,  1] smbd/service.c:1047(make_connection_snum)
  deb-sfs (192.168.0.53) connect to service qbdata initially as user
nobody (uid=65534, gid=65534) (pid 8514)
[2010/02/05 10:40:51,  0] param/loadparm.c:8546(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/qbdata failed.
Permission denied


####################end of log file######################

Please let me know if you need any more information on this issue.
I can easily repeat it on two seperate servers (both running 9.10)

Thanks
Craig Ross



More information about the samba mailing list