You are not logged in.
Pages: 1
I am trying to get cups and samba to work but they will not connect. So I tried to restart with the following results
[root@cmehil andrew]# /etc/rc.d/samba start
:: Starting Samba Server [BUSY] /usr/sbin/smbd: /lib/libpam.so.0: no version information available (required by /usr/sbin/smbd)
[root@cmehil andrew]# /etc/rc.d/cups restart
:: Stopping CUPS Daemon [DONE]
:: Starting CUPS Daemon [BUSY] /usr/sbin/cupsd: /lib/libpam.so.0: no version information available (required by /usr/sbin/cupsd)
so checking other forum questions I tried updating samba
[root@cmehil andrew]# pacman -S samba
resolving dependencies...
looking for inter-conflicts...
Targets: smbclient-3.0.30-1 samba-3.0.30-1
db
Targets: db-4.6.21-2
heimdal
Targets: heimdal-1.0.1-2
I checked /lib and found
libpam.so 33.6kb
libpam.so.0 33.6kb
libpam.so.0.81 33.6kb
I tried ldd and got
[root@cmehil andrew]# ldd /usr/sbin/cupsd
/usr/sbin/cupsd: /lib/libpam.so.0: no version information available (required by /usr/sbin/cupsd)
linux-gate.so.1 => (0xb7f18000)
libz.so.1 => /lib/libz.so.1 (0xb7ee8000)
libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7e7b000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb7e6b000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7e19000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7e15000)
libslp.so.1 => /usr/lib/libslp.so.1 (0xb7e06000)
libpam.so.0 => /lib/libpam.so.0 (0xb7dfd000)
It seems things are up to date, so how do I get the version information to the correct place?
Last edited by smcsw2000 (2008-07-10 23:23:49)
Offline
Do you have a /lib/libpam.so.0.81.12 ?
$ ls /lib/libpam.so*
/lib/libpam.so /lib/libpam.so.0 /lib/libpam.so.0.81.12
If not, try reinstalling pam.
Offline
Tried
andrew@cmehil ~]$ ls /lib/libpam.so*
/lib/libpam.so /lib/libpam.so.0 /lib/libpam.so.0.81
checked /lib/libpam and found that libpam.so is a link to libpam.so.0, and libpam.so.0 is a link to libpam.so.81. Could libpam.so.81 be corrupt and is there a way to check if it is?
Offline
Could libpam.so.81 be corrupt and is there a way to check if it is?
Yes, it may be corrupt. That's why Snowman suggested reinstalling pam.
Offline
Is there a way to get a single file? (libpam.so.0.81.12) If i pacman -S pam will that overwrite the file or will that only update files that are not up to date? Or should I delete libpam and then pacman -S pam?
Offline
"pacman -S pam" will overwrite all files from the pam package (apart from those in the backup array)
Online
did pacman -s pam and it worked solved the corrupt file.
Offline
Pages: 1