SOLVED Re: smbd dead but pid file exists

Jeffrey O'brien JObrien at expertserver.com
Sun Feb 15 15:40:54 EST 2009


Thanks to Tom Charron.  I just removed the ntprinters.tdb file and started the service and suprisingly it didnt die and starts perfectly fine. Harmless annoyance it is not.

Jeff

>>> 
From: 	"Jeffrey O'brien" <JObrien at expertserver.com>
To:	<gnhlug-discuss at gnhlug.org>
Date: 	2/15/2009 9:12 AM
Subject: 	smbd dead but pid file exists


This issue came up after a power event, samba just stopped working.  All other services are running as expected.  Samba was upgraded from 3.0.25b is hopes to fix the issue with no avail.
Current Version Info:
samba-common-3.0.28-0.el4.9
samba-3.0.28-0.el4.9
Kernel:  2.6.9-78.0.13.ELsmp #1 SMP
CentOS 4.7

Service Output:
service smb start
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

service smb status
smbd dead but pid file exists
nmbd (pid 21422) is running...

Logs aren't giving much useful information, I also changed the log level from 1 to 5 with nothing sticking out abnormal.  The debug output shows loading everything fine from parsing the smb.conf, share definitions, character sets, locale, printers.

Around the time of the issue these started showing up in the logs: (/var/cache/samba/ntprinters.tbd): tdb_rec_read bad magic,  google-foo shows this as a harmless annoyance.
[2009/02/15 08:52:21, 0] printing/nt_printing.c:upgrade_to_version_4(460)
  upgrade_to_version_4: upgrading printer security descriptors
[2009/02/15 08:52:21, 0] lib/util_tdb.c:tdb_log(664)
  tdb(/var/cache/samba/ntprinters.tdb): tdb_rec_read bad magic 0x42424242 at offset=4520

Has anyone seen this, got some useful hints to nail down where this is blowing up or a workaround?

Thanks,
Jeff






_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss at mail.gnhlug.org 
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/ 






More information about the gnhlug-discuss mailing list