[Samba] smbd fails to start on Fedora Core 4
Gavin Simpson
gavin.simpson at ucl.ac.uk
Wed Feb 15 18:54:07 GMT 2006
On Wed, 2006-02-15 at 12:43 -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Gavin Simpson wrote:
>
> > Failed to open /etc/samba/secrets.tdb
> > [2006/02/15 15:47:21, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176)
> > pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2006/02/15 15:47:21, 0] lib/util.c:smb_panic2(1517)
> > PANIC: Could not generate a machine SID
> >
> > [2006/02/15 15:47:21, 0] lib/util.c:smb_panic2(1525)
> > BACKTRACE: 7 stack frames:
> > #0 smbd(smb_panic2+0x8a) [0x31c07c]
> > #1 smbd(smb_panic+0x19) [0x31c2c2]
> > #2 smbd(get_global_sam_sid+0x2bc) [0x2d484c]
> > #3 smbd(init_guest_info+0x65) [0x3626be]
> > #4 smbd(main+0x2a7) [0x39dfb3]
> > #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x6a5d5f]
> > #6 smbd [0x19c4f1]
>
> Either /etc/samba/secrets.tdb does not exist and you don't have the
> permission to create it or else possible /etc/samba/ itself does
> not exist.
Hi Jerry,
Thanks for your reply. I noted that in the log, so tried to copy across
the secrets.tbd file from the previous installation. Once I got it there
I restarted smb but I get the same error message.
These are the contents of /etc/samba:
# ls -l /etc/samba
total 24
-rw------- 1 root root 8192 Aug 30 15:15 secrets.tdb
-rw-r--r-- 1 root root 0 Feb 15 15:30 smb.conf
-rw-r--r-- 1 root root 97 May 2 2005 smbusers
Are the permissions correct? I used rsync to back these things up and
the rsync arguments I used should have preserved them.
How do I go about getting the secrets.tdb file back then. Is this
distributed with Samba, or can I create an empty file of this name?
Thanks in advance
G
>
>
>
>
> cheers, jerry
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFD83ZkIR7qMdg1EfYRAlDoAJ9jfvB+y77TC21wYu/1xPPIH0MFvACgjq7E
> p9/gVWRzoZHAUISZdK5NN9Q=
> =Ef2M
> -----END PGP SIGNATURE-----
--
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson [T] +44 (0)20 7679 5522
ENSIS Research Fellow [F] +44 (0)20 7679 7565
ENSIS Ltd. & ECRC [E] gavin.simpsonATNOSPAMucl.ac.uk
UCL Department of Geography [W] http://www.ucl.ac.uk/~ucfagls/cv/
26 Bedford Way [W] http://www.ucl.ac.uk/~ucfagls/
London. WC1H 0AP.
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
More information about the samba
mailing list