Samba always crash
Im maintaning a small network using a fedora 3 server with samba and cups for printing. Problem is, samba almost always stop after sometime. The next day when i get back to the office, the samba is no longer running.
A simple smb restart makes samba up and running again but then the cycle continues. My suspicion is that theres a corrupt file somewhere. Either samba, cups, or the printer drivers. This is the log of smbd. [2006/01/23 18:04:16, 0] smbd/server.c:main(760) smbd version 3.0.8pre1-0.pre1.3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/23 18:04:19, 0] printing/nt_printing.c:nt_printing_init(383) nt_printing_init: error checking published printers: WERR_ACCESS_DENIED [2006/01/23 18:04:24, 0] smbd/server.c:main(760) smbd version 3.0.8pre1-0.pre1.3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/23 18:04:25, 0] printing/nt_printing.c:nt_printing_init(383) nt_printing_init: error checking published printers: WERR_ACCESS_DENIED [2006/01/23 18:24:28, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2006/01/23 19:24:10, 0] smbd/server.c:main(760) smbd version 3.0.10-1.fc3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/23 19:26:00, 0] smbd/server.c:main(760) smbd version 3.0.10-1.fc3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/23 19:26:05, 0] smbd/server.c:main(760) smbd version 3.0.10-1.fc3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/23 19:26:05, 0] smbd/server.c:main(794) standard input is not a socket, assuming -D option [2006/01/23 19:26:05, 0] lib/pidfile.c:pidfile_create(91) ERROR: smbd is already running. File /var/run/smbd.pid exists and process id 13304 is running. [2006/01/23 19:26:09, 0] smbd/server.c:main(760) smbd version 3.0.10-1.fc3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2006/01/23 19:26:09, 0] smbd/server.c:main(794) standard input is not a socket, assuming -D option [2006/01/23 19:26:09, 0] lib/pidfile.c:pidfile_create(91) ERROR: smbd is already running. File /var/run/smbd.pid exists and process id 13304 is running. [2006/01/23 19:27:51, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2006/01/23 19:31:39, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2006/01/23 19:31:54, 0] tdb/tdbutil.c:tdb_log(725) tdb(/var/cache/samba/printing/HP720c.tdb): rec_read bad magic 0x2d206472 at offset=20880 [2006/01/23 19:31:54, 0] tdb/tdbutil.c:tdb_log(725) tdb(/var/cache/samba/printing/HP720c.tdb): rec_read bad magic 0x2d206472 at offset=20880 [2006/01/23 19:32:05, 0] tdb/tdbutil.c:tdb_log(725) tdb(/var/cache/samba/printing/HP720c.tdb): rec_read bad magic 0x2d206472 at offset=20880 [2006/01/23 19:32:05, 0] tdb/tdbutil.c:tdb_log(725) tdb(/var/cache/samba/printing/HP720c.tdb): rec_read bad magic 0x2d206472 at offset=20880 [2006/01/23 19:32:24, 0] tdb/tdbutil.c:tdb_log(725) tdb(/var/cache/samba/printing/HP720c.tdb): rec_read bad magic 0x2d206472 at offset=20880 [2006/01/23 19:32:24, 0] tdb/tdbutil.c:tdb_log(725) tdb(/var/cache/samba/printing/HP720c.tdb): rec_read bad magic 0x2d206472 at offset=20880 [2006/01/23 19:32:35, 0] tdb/tdbutil.c:tdb_log(725) Ive already updated samba (as shown in the log) and cups. Im particularly interested in the tdb error. Any help would be greatly appreciated. |
I have had problems (in the past) with the samba packages as supplied by Red Hat / Fedora. I now build my own from the main source rpm from kernel.org and have no problems.
http://us2.samba.org/samba/ftp/Binary_Packages/Fedora/ |
All times are GMT -5. The time now is 06:48 AM. |