You are not logged in.

#1 2008-07-13 16:56:32

mfolnovic
Member
From: Zagreb, Croatia
Registered: 2008-01-03
Posts: 104

Samba and libkrb5.so.2

Hello, when I try to run sudo /etc/rc.d/samba start, I get

:: Starting Samba Server                                                 [BUSY] 
/usr/sbin/smbd: error while loading shared libraries: libkrb5.so.22: cannot open shared object file: No such file or directory
/usr/sbin/nmbd: error while loading shared libraries: libkrb5.so.22: cannot open shared object file: No such file or directory
                                                                         [FAIL]

but :

root /home/mfolnovich > locate libkrb5.so.22
/usr/lib/libkrb5.so.22

what can I do to fix it ?

Offline

#2 2008-07-13 17:04:28

mfolnovic
Member
From: Zagreb, Croatia
Registered: 2008-01-03
Posts: 104

Re: Samba and libkrb5.so.2

updated to testing, now, it just fails, without any errors ...

Offline

#3 2008-07-13 22:16:43

dschauer
Member
Registered: 2008-02-28
Posts: 95

Re: Samba and libkrb5.so.2

Well, after updating today I had the sshd, postfix, and dovecot daemons break on me. After tracking down what was happing I found that the following libraries were needed and not found:

libkrb5.so.22
libhx509.so.1
libdb-4.6.so

I did the following to get the daemons working again:

cd /usr/lib
ln -s libkrb5.so.25 libkrb5.so.22
ln -s libhx509.so.3 libhx509.so.1
ln -s libdb-4.7.so libdb-4.6.so

I had tried ldconfig, but it did not fix the problem.

Last edited by dschauer (2008-07-13 22:17:21)

Offline

#4 2008-07-13 22:22:35

dschauer
Member
Registered: 2008-02-28
Posts: 95

Re: Samba and libkrb5.so.2

mfolnovic wrote:
root /home/mfolnovich > locate libkrb5.so.22
/usr/lib/libkrb5.so.22

what can I do to fix it ?

The libraries were just updated. locate uses a static file database and is not a dynamic file search utility. You need to do an updatedb as root before running locate after updating packages.

Offline

#5 2008-07-14 02:08:51

dschauer
Member
Registered: 2008-02-28
Posts: 95

Re: Samba and libkrb5.so.2

Just update again to fix it. I removed my symlinks and rebooted and everything works again.

Offline

Board footer

Powered by FluxBB