Hi, I have compiled then installed Samba 3.6.22 on my AIX 5.2. When I start SMBD it systematicaly corrupts the filesystem on which it is installed and fails to start I start SMBD on an other port because an old samba (2.2.8) is already running and I have to validate 3.6.22 before shuting down the old one. You'll see more informations bellow : - smbd output - IBM errpt corruption report Does anyone have an idea about this ? Thierry the SMBD output ( "Invalid file system control data detected" corresponds to the filesystem corruption ): 175 ) LIBPATH=/i/infext/samba-3.6.22/lib/ ./smbd -i -S --port=13900,44500 -d 1 --configfile /usr/local/samba/lib/smb.conf smbd version 3.6.22 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 WARNING: The "printer admin" option is deprecated WARNING: The security=share option is deprecated WARNING: The "printer admin" option is deprecated WARNING: The security=share option is deprecated tdb(/i/infext/samba-3.6.22/private/secrets.tdb): expand_file to 24576 failed (Invalid file system control data detected) tdb(/i/infext/samba-3.6.22/private/secrets.tdb): tdb_recovery_allocate: failed to create recovery area tdb(/i/infext/samba-3.6.22/private/secrets.tdb): tdb_transaction_prepare_commit: failed to setup recovery data PANIC (pid 74160): could not start commit secrets db unable to produce a stack trace on this platform dumping core in /i/infext/samba-3.6.22/var/cores/smbd Abort(coredump) the ERRPT report : 182 ) errpt -a --------------------------------------------------------------------------- LABEL: J2_XTREE_CORRUPT IDENTIFIER: ABED1BA8 Date/Time: Wed Feb 12 13:35:51 2014 Sequence Number: 10280 Machine Id: 005917BA4C00 Node Id: INFASSTO Class: U Type: UNKN Resource Name: SYSJ2 Resource Class: NONE Resource Type: NONE Location: VPD: Description FILE SYSTEM CORRUPTION Probable Causes INVALID FILE SYSTEM CONTROL DATA Recommended Actions PERFORM FULL FILE SYSTEM RECOVERY USING FSCK UTILITY OBTAIN DUMP CHECK ERROR LOG FOR ADDITIONAL RELATED ENTRIES IF PROBLEM PERSISTS, CONTACT APPROPRIATE SERVICE REPRESENTATIVE Detail Data FILE NAME j2_xtree.c LINE NUMBER 1909 JFS2 MAJOR/MINOR DEVICE NUMBER 000A 000C JFS2 ERROR LOG FLAG 0008 0004 FILE SYSTEM DEVICE AND MOUNT POINT /dev/fslv00, /i
On Wed, 2014-02-12 at 17:36 +0100, Thierry CHARLES wrote:> Hi, > > > I have compiled then installed Samba 3.6.22 on my AIX 5.2. > > When I start SMBD it systematicaly corrupts the filesystem on which it > is installed and fails to startI would suggest it is the opposite. Your file system is corrupt, and Samba is encountering that corruption when attempting to enlarge a TDB. Samba is a user-space application, if it can corrupt your file system or crash your kernel, then it is a kernel bug, not a Samba issue. Samba is regularly used on AIX, so I strongly suspect this is a system-specific issue, and I would take every measure to secure the data on your server before the corruption claims something even more important. Also, do confirm this isn't something silly like just being out of disk space. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Seemingly Similar Threads
- building 4.1.4 on AIX 5.2 : fails on libtalloc.so linking
- [Bug 1915] New: SSH5.4p1 in the AIX server, the system output error(ERRPT) when the password change fails ADMCHG flag.
- CPU-load, memory-load, oplocks, smbd-core-dumps
- Problem restarting SSHD in AIX when the server got rebooted.
- DOS clients problem with 3.6.22 vs 3.6.18