libauth.so: invalid file format (samba)

Status
Not open for further replies.

Tangu

Dabbler
Joined
Jan 26, 2013
Messages
10
I updated from freenas 8.3 to 9.2.1.9. I followed the upgrade path from cyberjock. Every services works, afp, nfs, cifs so far until i had 9.2.1.9. I cannot start the service.

On command line i tried this:
Code:
# smbd --interactive --debuglevel=4
/usr/local/lib/samba/libauth.so: invalid file format
# testparm /usr/local/etc/smb.conf
/usr/local/lib/samba/libasn1util.so: invalid file format
# testparm /etc/local/smb4.conf
/usr/local/lib/samba/libasn1util.so: invalid file format


I must say that i did remove with zfs destroy the samba4 under a directory named .system/samba4 and also a /var/db/samba4

Also, here are the complete messages logs when i tried to do CIFS to ON in the GUI :
Code:
Oct 18 10:08:45 wiggum generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Oct 18 10:08:45 wiggum generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Oct 18 10:08:45 wiggum generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Oct 18 10:08:45 wiggum last message repeated 8 times
Oct 18 10:08:45 wiggum generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmplQvZjR -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Oct 18 10:08:45 wiggum generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list
Oct 18 10:08:45 wiggum notifier: Traceback (most recent call last):
Oct 18 10:08:45 wiggum notifier:   File "/usr/local/libexec/nas/generate_smb4_conf.py", line 900, in <module>
Oct 18 10:08:45 wiggum notifier:     main()
Oct 18 10:08:45 wiggum notifier:   File "/usr/local/libexec/nas/generate_smb4_conf.py", line 893, in main
Oct 18 10:08:45 wiggum notifier:     smb4_map_groups()
Oct 18 10:08:45 wiggum notifier:   File "/usr/local/libexec/nas/generate_smb4_conf.py", line 848, in smb4_map_groups
Oct 18 10:08:45 wiggum notifier:     if not smb4_group_mapped(groupmap, g) and \
Oct 18 10:08:45 wiggum notifier:   File "/usr/local/libexec/nas/generate_smb4_conf.py", line 822, in smb4_group_mapped
Oct 18 10:08:45 wiggum notifier:     for gm in groupmap:
Oct 18 10:08:45 wiggum notifier: TypeError: 'NoneType' object is not iterable
Oct 18 10:08:45 wiggum notifier: winbindd not running? (check /winbindd.pid).
Oct 18 10:08:45 wiggum notifier: smbd not running? (check /smbd.pid).
Oct 18 10:08:45 wiggum notifier: nmbd not running? (check /nmbd.pid).
Oct 18 10:08:45 wiggum notifier: Performing sanity check on Samba configuration: FAILED
Oct 18 10:08:46 wiggum notifier: /usr/local/lib/samba/libauth.so: invalid file format
 
Last edited:

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
No clue about the invalid file format (I've braindumped most everything about 9.2.1.x since 9.3 came out last year). But, you shouldn't be doing anything with the .system dataset. That's a recipe for instant destruction of your services and such. At this point I'd delete the .system dataset and reboot the system so the system will re-create it properly. I'd also upgrade to 9.3 because nobody here really uses 9.2.1.9 anymore, so you can't exactly share your experiences with people using the current version.
 
Status
Not open for further replies.
Top