MLUG: RE: [MLUG] problems starting samba
RE: [MLUG] problems starting samba
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Shawn, 

Glad to hear it worked for you. Let know what you are able to find if
you are able to dig any more up on it.

Adam

-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED] On Behalf Of Shawn Parker
Sent: Thursday, December 15, 2005 2:30 PM
To: MLUG Members
Subject: Re: [MLUG] problems starting samba

nm, adam...i needed to reboot to force selinux policy to reset.

it works now...but, i'm still a little confused/concerned about how
samba is behaving. i'll dig a little more and see whats up.

thanks for the suggestion.

On 12/15/05, Shawn Parker <EMAIL:PROTECTED> wrote:
> reading over the log file that is what it seems. yea, manually running
> *smbd -D* works and everything is ok.
>
> but, changing /etc/selinux/config to "permissive" didn't work. i still
> get the same error.
>
> it also looks like things are missing or incorrect. if i run
> */etc/init.d/smb reload* it complains of a missing *smb.conf* even
> though it is located at */etc/samba/smb.conf* and *testparam* comes
> back successful?
>
>
>
> On 12/15/05, Fallert, Adam Christian <EMAIL:PROTECTED> wrote:
> > I encountered that same exact error with FC4.  If I am remembering
> > correctly, that is caused by SELinux.  Loosen up your SELinux for
Samaba
> > and that should fix the error.
> >
> > Alternatively manually starting Samba manually will work as well.
> >
> > Adam
> >
> >
> > -----Original Message-----
> > From: EMAIL:PROTECTED
> > [mailto:EMAIL:PROTECTED] On Behalf Of Shawn Parker
> > Sent: Thursday, December 15, 2005 2:10 PM
> > To: MLUG Members
> > Subject: [MLUG] problems starting samba
> >
> > i'm running fedora core 4 and samba 3.0.14a-2.
> >
> > every time i try to start smb i receive the following error:
> >
> > [EMAIL:PROTECTED ~]# /etc/init.d/smb start
> > Starting SMB services: /etc/init.d/functions: line 83:  2508 Aborted
> >               $nice $*
> >                                                            [FAILED]
> > Starting NMB services:                            [OK]
> > [EMAIL:PROTECTED ~]#
> >
> > the strange thing is it seems i can start it via *smbd -D* at the
> > command line...just not through init.d.
> >
> > and, this doesn't affect httpd or mysqld when started from init.d.
> >
> > any ideas?
> >
> >
> > here's a dump of /var/log/samba/smbd.log
> >
> > [2005/12/15 13:53:53, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 13:53:53, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 13:53:53, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 13:53:53, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 13:53:53, 0]
passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >   pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2005/12/15 13:53:53, 0] lib/util.c:smb_panic2(1517)
> >   PANIC: Could not generate a machine SID
> >
> > [2005/12/15 13:53:53, 0] lib/util.c:smb_panic2(1525)
> >   BACKTRACE: 7 stack frames:
> >    #0 smbd(smb_panic2+0x8a) [0xd6407c]
> >    #1 smbd(smb_panic+0x19) [0xd642c2]
> >    #2 smbd(get_global_sam_sid+0x2bc) [0xd1c84c]
> >    #3 smbd(init_guest_info+0x65) [0xdaa6be]
> >    #4 smbd(main+0x2a7) [0xde5fb3]
> >    #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x3e4d5f]
> >    #6 smbd [0xbe44f1]
> > [2005/12/15 13:54:15, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 13:54:15, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 13:54:15, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 13:54:15, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 13:54:15, 0]
passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >   pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2005/12/15 13:54:15, 0] lib/util.c:smb_panic2(1517)
> >   PANIC: Could not generate a machine SID
> >
> > [2005/12/15 13:54:15, 0] lib/util.c:smb_panic2(1525)
> >   BACKTRACE: 7 stack frames:
> >    #0 smbd(smb_panic2+0x8a) [0xd7007c]
> >    #1 smbd(smb_panic+0x19) [0xd702c2]
> >    #2 smbd(get_global_sam_sid+0x2bc) [0xd2884c]
> >    #3 smbd(init_guest_info+0x65) [0xdb66be]
> >    #4 smbd(main+0x2a7) [0xdf1fb3]
> >    #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x440d5f]
> >    #6 smbd [0xbf04f1]
> > [2005/12/15 14:02:02, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 14:02:03, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:02:03, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:02:03, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:02:03, 0]
passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >   pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2005/12/15 14:02:03, 0] lib/util.c:smb_panic2(1517)
> >   PANIC: Could not generate a machine SID
> >
> > [2005/12/15 14:02:03, 0] lib/util.c:smb_panic2(1525)
> >   BACKTRACE: 7 stack frames:
> >    #0 smbd(smb_panic2+0x8a) [0xcb007c]
> >    #1 smbd(smb_panic+0x19) [0xcb02c2]
> >    #2 smbd(get_global_sam_sid+0x2bc) [0xc6884c]
> >    #3 smbd(init_guest_info+0x65) [0xcf66be]
> >    #4 smbd(main+0x2a7) [0xd31fb3]
> >    #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x28ed5f]
> >    #6 smbd [0xb304f1]
> > [2005/12/15 14:03:29, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 14:03:29, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:03:29, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:03:29, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:03:29, 0]
passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >   pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2005/12/15 14:03:29, 0] lib/util.c:smb_panic2(1517)
> >   PANIC: Could not generate a machine SID
> >
> > [2005/12/15 14:03:29, 0] lib/util.c:smb_panic2(1525)
> >   BACKTRACE: 7 stack frames:
> >    #0 smbd(smb_panic2+0x8a) [0xaa107c]
> >    #1 smbd(smb_panic+0x19) [0xaa12c2]
> >    #2 smbd(get_global_sam_sid+0x2bc) [0xa5984c]
> >    #3 smbd(init_guest_info+0x65) [0xae76be]
> >    #4 smbd(main+0x2a7) [0xb22fb3]
> >    #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x7add5f]
> >    #6 smbd [0x9214f1]
> > [2005/12/15 14:04:14, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 14:04:14, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:04:14, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:04:14, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:04:14, 0]
passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >   pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2005/12/15 14:04:14, 0] lib/util.c:smb_panic2(1517)
> >   PANIC: Could not generate a machine SID
> >
> > [2005/12/15 14:04:14, 0] lib/util.c:smb_panic2(1525)
> >   BACKTRACE: 7 stack frames:
> >    #0 smbd(smb_panic2+0x8a) [0x68d07c]
> >    #1 smbd(smb_panic+0x19) [0x68d2c2]
> >    #2 smbd(get_global_sam_sid+0x2bc) [0x64584c]
> >    #3 smbd(init_guest_info+0x65) [0x6d36be]
> >    #4 smbd(main+0x2a7) [0x70efb3]
> >    #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x7ecd5f]
> >    #6 smbd [0x50d4f1]
> > [2005/12/15 14:04:24, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 14:04:44, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> > [2005/12/15 14:04:44, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:04:44, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:04:44, 0] passdb/secrets.c:secrets_init(64)
> >   Failed to open /etc/samba/secrets.tdb
> > [2005/12/15 14:04:44, 0]
passdb/machine_sid.c:pdb_generate_sam_sid(176)
> >   pdb_generate_sam_sid: Failed to store generated machine SID.
> > [2005/12/15 14:04:44, 0] lib/util.c:smb_panic2(1517)
> >   PANIC: Could not generate a machine SID
> >
> > [2005/12/15 14:04:44, 0] lib/util.c:smb_panic2(1525)
> >   BACKTRACE: 7 stack frames:
> >    #0 smbd(smb_panic2+0x8a) [0xea907c]
> >    #1 smbd(smb_panic+0x19) [0xea92c2]
> >    #2 smbd(get_global_sam_sid+0x2bc) [0xe6184c]
> >    #3 smbd(init_guest_info+0x65) [0xeef6be]
> >    #4 smbd(main+0x2a7) [0xf2afb3]
> >    #5 /lib/libc.so.6(__libc_start_main+0xdf) [0x34cd5f]
> >    #6 smbd [0xd294f1]
> > [2005/12/15 14:05:02, 0] smbd/server.c:main(798)
> >   smbd version 3.0.14a-2 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2004
> >
> >
> > --
> > shawn
> >
> > _______________________________________________
> > members mailing list
> > EMAIL:PROTECTED
> > http://mlug.missouri.edu/mailman/listinfo/members
> >
> > _______________________________________________
> > members mailing list
> > EMAIL:PROTECTED
> > http://mlug.missouri.edu/mailman/listinfo/members
> >
>
>
> --
> shawn
>


--
shawn

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members