Help: CentOS 5 install problem

DonJohn

Verified User
Joined
May 18, 2007
Messages
15
Help: CentOS 5 install problem (libssl.so.4 missing)

I just tried to install DA on a CentOS 5 machine (32bit).

After the install I get this message:

*************************************
* *
* All parts have been installed *
* *
*************************************

Type: /sbin/service httpd restart
cp: `/var/www/html/squirrelmail/data' and `/var/www/html/squirrelmail-1.4.9a/data' are the same file
./directadmin: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
./directadmin: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory


What has gone wrong? And how should I fix it?

I did check check the /lib:
ls -al /usr/lib | grep libssl
-rwxr-xr-x 1 root root 172364 Apr 9 08:36 libssl3.so
-rw-r--r-- 1 root root 437056 Mar 14 11:56 libssl.a
lrwxrwxrwx 1 root root 26 May 15 15:57 libssl.so -> ../../lib/libssl.so.0.9.8b

I tried:
ln -s libssl.so.6 libssl.so.4
ln -s libcrypto.so.6 libcrypto.so.4
service directadmin start


And it starts, but DA dies silently, no logs, nothing...

Any tips?
 
Last edited:
Then the answer is yes. You set which version of DA you're using when you order it.

I'd contact DirectAdmin support staff if I were you; CentOS 5 support is quite new, and I wouldn't expect too many folk to report experiences here yet.

Jeff
 
Then the answer is yes. You set which version of DA you're using when you order it.

I'd contact DirectAdmin support staff if I were you; CentOS 5 support is quite new, and I wouldn't expect too many folk to report experiences here yet.

Jeff

Jeff,

Is it safe to just try an other install by:
/usr/local/directadmin/scripts/install.sh

Because I now notice there is no "/usr/local/directadmin/conf/directadmin.conf" (there is only a license.key and mysql.conf).
 
If you haven't added any sites/users it's safe. I have no idea if it'd work; that's why I suggested contacting DA support.

Jeff
 
If you haven't added any sites/users it's safe. I have no idea if it'd work; that's why I suggested contacting DA support.

Jeff

Ok, I just give it a try again.

BTW I did contact support but I think they are in a different time zone (no response yet).
 
I think they're in the same time zone I'm in, which in the summer months (Northern Hemisphere here) is at -0700.

Jeff
 
I think they're in the same time zone I'm in, which in the summer months (Northern Hemisphere here) is at -0700.

Jeff

It's 19.00 here in The Netherlands :p

After setting the two symbolic links and reinstalling DA the problem was gone.

Up to the next challange, updating MySQL, PHP, etc. :D
 
Last edited:
FYI, that's most likely due to binaries being for another OS.
On our CentOS 5 build system, there is no reference to libssl.so.4:
Code:
[root@/usr/local/directadmin]# ldd directadmin | grep ssl
        libssl.so.6 => /lib/libssl.so.6 (0x00533000)
meaning, you might have the CentOS 4 binaries. But adding the link as you have, is another solution that would work as well.

John
 
The same situation. CentOS 5 and this error.
[root@B214 directadmin]# ldd directadmin | grep ssl
libssl.so.4 => /lib/libssl.so.4 (0x00683000)
 
Just email us you license ID number and we'll make sure the license is set to CentOS 5. It's probably set to something else.

John
 
Could the OS version in the license affect the install? My license file was set for fedora core 3, I just had sales set it to 6 but was told that will not affect the install. If it does then that will make a lot of since on my other install thread I just opened.
 
It does affect the install.
The license OS determines which directadmin binary set is downloaded.
The OS option at install time only affects the other services like exim, proftpd, etc..

John
 
John,

Thanks, that makes a lot of since why I have not been able to get DA to install properly. I will do a clean OS build tonight then restart DA install again tomorrow.
 
Back
Top