From: Gaiseric Vandal on
On 01/07/10 17:34, David Southwell wrote:
> Hi
>
> Can anyone please tell me what is happening here and how to cure it
>
> System: freebsd 7.2 p3
>
> Jan 7 22:23:14 dns1 smbd[3227]: [2010/01/07 22:23:14, 0]
> lib/util.c:reinit_after_fork(1054)
> Jan 7 22:23:14 dns1 smbd[3227]: tdb_reopen_all failed.
> Jan 7 22:23:14 dns1 smbd[3227]: [2010/01/07 22:23:14, 0]
> smbd/server.c:open_sockets_smbd(773)
> Jan 7 22:23:14 dns1 smbd[3227]: reinit_after_fork() failed
> Jan 7 22:23:14 dns1 smbd[3227]: [2010/01/07 22:23:14, 0]
> lib/util.c:smb_panic(1673)
> Jan 7 22:23:14 dns1 smbd[3227]: PANIC (pid 3227): reinit_after_fork()
> failed
> Jan 7 22:23:14 dns1 smbd[3227]: [2010/01/07 22:23:14, 0]
> lib/util.c:log_stack_trace(1777)
> Jan 7 22:23:14 dns1 smbd[3227]: BACKTRACE: 0 stack frames:
> Jan 7 22:23:14 dns1 smbd[3227]: [2010/01/07 22:23:14, 0]
> lib/fault.c:dump_core(231)
> Jan 7 22:23:14 dns1 smbd[3227]: dumping core in /var/log/samba/cores/smbd
> Jan 7 22:23:14 dns1 smbd[3227]:
> Jan 7 22:24:04 dns1 sshd[3248]: error: PAM: authentication error for illegal
> user phoebe from 90.182.211.25
> Jan 7 22:26:21 dns1 qpopper[3280]: [drac]: login by mailman from host
> dns1.vizion2000.net (62.49.197.50) [drac.c:51]
> Jan 7 22:26:21 dns1 qpopper[3280]: Stats: mailman 0 0 0 0 dns1.vizion2000.net
> 62.49.197.50 [pop_updt.c:301]
> Jan 7 22:26:41 dns1 smbd[3282]: [2010/01/07 22:26:41, 0]
> lib/util_tdb.c:tdb_log(682)
> Jan 7 22:26:41 dns1 smbd[3282]: tdb(/var/db/samba/gencache.tdb):
> tdb_reopen: open failed (No such file or directory)
> Jan 7 22:26:41 dns1 smbd[3282]: [2010/01/07 22:26:41, 0]
> lib/util.c:reinit_after_fork(1054)
> Jan 7 22:26:41 dns1 smbd[3282]: tdb_reopen_all failed.
> Jan 7 22:26:41 dns1 smbd[3282]: [2010/01/07 22:26:41, 0]
> smbd/server.c:open_sockets_smbd(773)
> Jan 7 22:26:41 dns1 smbd[3282]: reinit_after_fork() failed
> Jan 7 22:26:41 dns1 smbd[3282]: [2010/01/07 22:26:41, 0]
> lib/util.c:smb_panic(1673)
> Jan 7 22:26:41 dns1 smbd[3282]: PANIC (pid 3282): reinit_after_fork()
> failed
> Jan 7 22:26:41 dns1 kernel: pid 3282 (smbd), uid 0: exited on signal 6
> Jan 7 22:26:41 dns1 smbd[3282]: [2010/01/07 22:26:41, 0]
> lib/util.c:log_stack_trace(1777)
> Jan 7 22:26:41 dns1 smbd[3282]: BACKTRACE: 0 stack frames:
> Jan 7 22:26:41 dns1 smbd[3282]: [2010/01/07 22:26:41, 0]
> lib/fault.c:dump_core(231)
> Jan 7 22:26:41 dns1 smbd[3282]: dumping core in /var/log/samba/cores/smbd
> Jan 7 22:26:41 dns1 smbd[3282]:
> Jan 7 22:26:41 dns1 smbd[3283]: [2010/01/07 22:26:41, 0]
> lib/util_tdb.c:tdb_log(682)
> Jan 7 22:26:41 dns1 smbd[3283]: tdb(/var/db/samba/gencache.tdb):
> tdb_reopen: open failed (No such file or directory)
> Jan 7 22:26:41 dns1 smbd[3283]: [2010/01/07 22:26:41, 0]
> lib/util.c:reinit_after_fork(1054)
> Jan 7 22:26:41 dns1 smbd[3283]: tdb_reopen_all failed.
> Jan 7 22:26:41 dns1 smbd[3283]: [2010/01/07 22:26:41, 0]
> smbd/server.c:open_sockets_smbd(773)
> Jan 7 22:26:41 dns1 smbd[3283]: reinit_after_fork() failed
> Jan 7 22:26:41 dns1 kernel: pid 3283 (smbd), uid 0: exited on signal 6
> Jan 7 22:26:41 dns1 smbd[3283]: [2010/01/07 22:26:41, 0]
> lib/util.c:smb_panic(1673)
> Jan 7 22:26:41 dns1 smbd[3283]: PANIC (pid 3283): reinit_after_fork()
> failed
> Jan 7 22:26:41 dns1 smbd[3283]: [2010/01/07 22:26:41, 0]
> lib/util.c:log_stack_trace(1777)
> Jan 7 22:26:41 dns1 smbd[3283]: BACKTRACE: 0 stack frames:
> Jan 7 22:26:41 dns1 smbd[3283]: [2010/01/07 22:26:41, 0]
> lib/fault.c:dump_core(231)
> Jan 7 22:26:41 dns1 smbd[3283]: dumping core in /var/log/samba/cores/smbd
> Jan 7 22:26:41 dns1 smbd[3283]:
> Jan 7 22:26:41 dns1 kernel: pid 3284 (smbd), uid 0: exited on signal 6
> Jan 7 22:26:41 dns1 smbd[3284]: [2010/01/07 22:26:41, 0]
> lib/util_tdb.c:tdb_log(682)
> Jan 7 22:26:41 dns1 smbd[3284]: tdb(/var/db/samba/gencache.tdb): thepa
> tdb_reopen: open failed (No such file or directory)
> Jan 7 22:26:41 dns1 smbd[3284]: [2010/01/07 22:26:41, 0]
> lib/util.c:reinit_after_fork(1054)
> Jan 7 22:26:41 dns1 smbd[3284]: tdb_reopen_all failed.
> Jan 7 22:26:41 dns1 smbd[3284]: [2010/01/07 22:26:41, 0]
> smbd/server.c:open_sockets_smbd(773)
> Jan 7 22:26:41 dns1 smbd[3284]: reinit_after_fork() failed
> Jan 7 22:26:41 dns1 smbd[3284]: [2010/01/07 22:26:41, 0]
> lib/util.c:smb_panic(1673)
> Jan 7 22:26:41 dns1 smbd[3284]: PANIC (pid 3284): reinit_after_fork()
> failed
> Jan 7 22:26:41 dns1 smbd[3284]: [2010/01/07 22:26:41, 0]
> lib/util.c:log_stack_trace(1777)
> Jan 7 22:26:41 dns1 smbd[3284]: BACKTRACE: 0 stack frames:
> Jan 7 22:26:41 dns1 smbd[3284]: [2010/01/07 22:26:41, 0]
> lib/fault.c:dump_core(231)
> Jan 7 22:26:41 dns1 smbd[3284]: dumping core in /var/log/samba/cores/smbd
> Jan 7 22:26:41 dns1 smbd[3284]:
>
Do the tdb files mention in fact exist? Can you use tdbdump to verify
that the files seem to contain datab? Did you update your smb.conf
recently to change the location of the locks or private directory?


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Volker Lendecke on
On Thu, Jan 07, 2010 at 10:34:31PM +0000, David Southwell wrote:
> Can anyone please tell me what is happening here and how to cure it
>
> System: freebsd 7.2 p3

What samba version? There have been versions in between that
showed this probelm.

Volker