fresh install imapd dependency failed libfam.so.0

hexa

Member
Jun 23, 2006
8
0
151
Hi,

i just finished a fresh install of cPanel and got the license. Everything works fine except for imapd.
When trying to login to any mail account over imap (pop3 works fine) my connection get's dropped by the server. Upon taking a closer look at my maillog file i saw this entry:
--
Jun 23 09:43:10 acenta imapd: /usr/lib/courier-imap/bin/imapd: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory
--
which seems to be the reason.
A closer examination with ldd confirms this error:
--
root@acenta [/var/log]# ldd /usr/lib/courier-imap/bin/imapd
libfam.so.0 => not found
libgdbm.so.2 => /usr/lib64/libgdbm.so.2 (0x0000003c42400000)
libcourierauth.so.0 => /usr/lib64/courier-authlib/libcourierauth.so.0 (0x0000003a6c300000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000003c41700000)
/lib64/ld-linux-x86-64.so.2 (0x0000003c41500000)
--

It seems that libfam.so.0 is missing. While i probably could install the missing package by hand (with yum) i think this is a problem with cPanel install dependencies and it should be fixed by cPanel.

Please sudgest what should i do now?

Tnx.
 

hexa

Member
Jun 23, 2006
8
0
151
I couldn't wait so i fixed it myself ;-):
--
root@acenta [/var/log]# yum install fam
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gamin.x86_64 0:0.1.1-3.EL4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
gamin x86_64 0.1.1-3.EL4 base 102 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 102 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): gamin-0.1.1-3.EL4. 100% |=========================| 102 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: gamin ######################### [1/1]

Installed: gamin.x86_64 0:0.1.1-3.EL4
Complete!


root@acenta [/var/log]# ldd /usr/lib/courier-imap/bin/imapd
libfam.so.0 => /usr/lib64/libfam.so.0 (0x0000002a95565000)
libgdbm.so.2 => /usr/lib64/libgdbm.so.2 (0x0000003c42400000)
libcourierauth.so.0 => /usr/lib64/courier-authlib/libcourierauth.so.0 (0x0000003a6c300000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000003c41700000)
/lib64/ld-linux-x86-64.so.2 (0x0000003c41500000)

--

Regards,
Hex