printing, locking, etc in 2.2.0

Andrew Bartlett abartlet at pcug.org.au
Tue May 22 09:44:05 GMT 2001


Jeremy Allison wrote:
> 
> On Tue, May 22, 2001 at 06:13:02AM +0100, Neil Hoggarth wrote:
> > On Mon, 21 May 2001, Jeremy Allison wrote:
> >
> > > What is the process id that smbstatus claims to still
> > > exist ? Does it still exist ? If not, then let me know
> > > and I'll send you a quick patch to add debug statements
> > > that will help track this down.
> >
> > 29514, and it no such process exists - it doesn't appear in
> > a ps listing, and kill(29514,0) does return ESRCH (I wrote
> > a little test program to make sure that the check in
> > lib/util.c:process_exists() was working properly).
> 
> Ok, please add the following patch and re-run smbd at debug
> level 10 so I can see what's going on. An strace would help
> also.
> 
> Thanks,
> 
>                 Jeremy.
> 

Just a quick 'me too', with a CVS snapshot from over the weekend, I have
SIG11s (I'll investigate seperately) and the resultant dead deamon
giving logfiles like this:

Sorry its stuck as a level 2 syslog, I'll look into turning up the
logging.

May 22 14:47:54 jessie smbd[12512]:
=============================================================== 
May 22 14:47:54 jessie smbd[12512]: INTERNAL ERROR: Signal 11 in pid
12512 (2.2.0) 
May 22 14:47:54 jessie smbd[12512]: Please read the file BUGS.txt in the
distribution 
May 22 14:47:54 jessie smbd[12512]:
=============================================================== 
May 22 14:47:54 jessie smbd[12512]: PANIC: internal error 
May 22 14:47:54 jessie smbd[12512]: 

--

May 22 14:47:55 jessie smbd[12516]: open_mode_check: FAILED when
breaking oplock (4012) on file Jessie recreation/~WRD2837.tmp, dev =
301, inode = 1847873 
May 22 14:47:55 jessie smbd[12516]: receive_local_message. Error in
recvfrom. (Connection refused). 
May 22 14:47:55 jessie smbd[12516]: request_oplock_break: error in
response received to oplock break request to pid 12512 on port 1595 for
dev = 301, inode = 1847873, tv_sec = 3b09ef7a, tv_usec = 79cb2 
May 22 14:47:55 jessie smbd[12516]: Error was (Connection refused). 
May 22 14:47:55 jessie smbd[12516]: open_mode_check: FAILED when
breaking oplock (4012) on file Jessie recreation/~WRD2837.tmp, dev =
301, inode = 1847873 
May 22 14:47:55 jessie smbd[12516]: receive_local_message. Error in
recvfrom. (Connection refused). 
May 22 14:47:55 jessie smbd[12516]: request_oplock_break: error in
response received to oplock break request to pid 12512 on port 1595 for
dev = 301, inode = 1847873, tv_sec = 3b09ef7a, tv_usec = 79cb2 
May 22 14:47:55 jessie smbd[12516]: Error was (Connection refused). 
May 22 14:47:55 jessie smbd[12516]: check_file_sharing: FAILED when
breaking oplock (4012) on file Jessie recreation/~WRD2837.tmp, dev =
301, inode = 1847873 

-- 
Andrew Bartlett
abartlet at pcug.org.au




More information about the samba-technical mailing list