Mike Box
2004-Jul-13 18:55 UTC
[Samba] Samba-3.0.4 - PANIC: Could not generate a machine SID
Searching the archives for a solution to this problem revealed no solution. Recently I built Samba-3.0.4 from downloaded source on a computer running Solaris 8. I wish to have this computer join a Windows NT 4.0 domain (as only a member.) I have another computer currently running Samba-2.0.7 as a member in this domain. (The goal is to have Samba-3.0.4 replace Samba-2.0.7.) After a successful build, I copied the Samba-2.0.7 smb.conf to Samba-3.0.4 and changed the necessary identification statements. (testparm runs clean.) If needed, I will post smb.conf. Key smb.conf statements: security = domain encrypt passwords = yes password server = xyzzy Samba is started via (complete path not shown): .../nmbd -D .../smbd -D # ls -ald /usr/local/samba/private drwxr-xr-x 2 root other 4096 Jul 12 17:23 /usr/local/samba/private # ls -l /usr/local/samba/private/secrets.tdb -rw------- 1 root root 8192 Jul 13 13:32 /usr/local/samba/private/secrets.tdb smbd repeatedly fails producing the following messages in the log: [2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725) tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 ltype=1 (Resource temporarily unavailable) [2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725) tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 ltype=2 (Resource temporarily unavailable) [2004/07/13 12:50:24, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176) pdb_generate_sam_sid: Failed to store generated machine SID. [2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398) PANIC: Could not generate a machine SID [2004/07/13 12:50:24, 0] lib/fault.c:fault_report(36) ==============================================================[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 6 in pid 24581 (3.0.4) Please read the appendix Bugs of the Samba HOWTO collection [2004/07/13 12:50:24, 0] lib/fault.c:fault_report(39) ==============================================================[2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398) PANIC: internal error Thanks, in advance, for any help that you may offer. Mike Box
Jim C.
2004-Jul-14 15:45 UTC
[Samba] Re: Samba-3.0.4 - PANIC: Could not generate a machine SID
What passdb backend will you be useing?> Searching the archives for a solution to this problem revealed no solution. > > Recently I built Samba-3.0.4 from downloaded source on a computer running > Solaris 8. I wish to have this computer join a Windows NT 4.0 domain (as > only a member.) I have another computer currently running Samba-2.0.7 as > a member in this domain. (The goal is to have Samba-3.0.4 replace > Samba-2.0.7.) After a successful build, I copied the Samba-2.0.7 smb.conf > to Samba-3.0.4 and changed the necessary identification statements. (testparm > runs clean.) If needed, I will post smb.conf. > > Key smb.conf statements: > security = domain > encrypt passwords = yes > password server = xyzzy > > Samba is started via (complete path not shown): > .../nmbd -D > .../smbd -D > > # ls -ald /usr/local/samba/private > drwxr-xr-x 2 root other 4096 Jul 12 17:23 /usr/local/samba/private > # ls -l /usr/local/samba/private/secrets.tdb > -rw------- 1 root root 8192 Jul 13 13:32 > /usr/local/samba/private/secrets.tdb > > smbd repeatedly fails producing the following messages in the log: > [2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725) > tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 > ltype=1 (Resource temporarily unavailable) > [2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725) > tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 > ltype=2 (Resource temporarily unavailable) > [2004/07/13 12:50:24, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176) > pdb_generate_sam_sid: Failed to store generated machine SID. > [2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398) > PANIC: Could not generate a machine SID > > [2004/07/13 12:50:24, 0] lib/fault.c:fault_report(36) > ==============================================================> [2004/07/13 12:50:24, 0] lib/fault.c:fault_report(37) > INTERNAL ERROR: Signal 6 in pid 24581 (3.0.4) > Please read the appendix Bugs of the Samba HOWTO collection > [2004/07/13 12:50:24, 0] lib/fault.c:fault_report(39) > ==============================================================> [2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398) > PANIC: internal error > > > Thanks, in advance, for any help that you may offer. > > Mike Box >-- ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | -----------------------------------------------------------------
Mike Box
2004-Jul-20 20:12 UTC
[Samba] Samba-3.0.4 - PANIC: Could not generate a machine SID
Thanks to Jim C. for his suggestion of winbind, which I will also pursue. However, this specific problem was corrected by moving the "private" directory from NFS to a local filesystem. I recall experiencing this situation before. Okay, Solaris gurus, what exactly causes this problem? Is it unique to Solaris? Is it something to be avoided by software (Samba) developers? Mike>Searching the archives for a solution to this problem revealed no solution. > >Recently I built Samba-3.0.4 from downloaded source on a computer running >Solaris 8. I wish to have this computer join a Windows NT 4.0 domain (as >only a member.) I have another computer currently running Samba-2.0.7 as >a member in this domain. (The goal is to have Samba-3.0.4 replace >Samba-2.0.7.) After a successful build, I copied the Samba-2.0.7 smb.conf >to Samba-3.0.4 and changed the necessary identification statements. (testparm >runs clean.) If needed, I will post smb.conf. > >Key smb.conf statements: >security = domain >encrypt passwords = yes >password server = xyzzy > >Samba is started via (complete path not shown): >.../nmbd -D >.../smbd -D > ># ls -ald /usr/local/samba/private >drwxr-xr-x 2 root other 4096 Jul 12 17:23 /usr/local/samba/private ># ls -l /usr/local/samba/private/secrets.tdb >-rw------- 1 root root 8192 Jul 13 13:32 >/usr/local/samba/private/secrets.tdb > >smbd repeatedly fails producing the following messages in the log: >[2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725) > tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 >ltype=1 (Resource temporarily unavailable) >[2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725) > tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 >ltype=2 (Resource temporarily unavailable) >[2004/07/13 12:50:24, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176) > pdb_generate_sam_sid: Failed to store generated machine SID. >[2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398) > PANIC: Could not generate a machine SID > >[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(36) > ==============================================================>[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(37) > INTERNAL ERROR: Signal 6 in pid 24581 (3.0.4) > Please read the appendix Bugs of the Samba HOWTO collection >[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(39) > ==============================================================>[2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398) > PANIC: internal error > > >Thanks, in advance, for any help that you may offer. > >Mike Box > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba