Not able to start DirectAdmin on CentOS 64bit after 1.345? Read this.

BTCentral

Verified User
Joined
Nov 18, 2009
Messages
8
Note: This issue has now been resolved, see the bottom of the post for how to get it working again.

Hi all,

I saw that the DirectAdmin 1.345 update was released earlier today, so went ahead and clicked update in the control panel.

A minute or two later I get an email titled "New Message: DirectAdmin has been updated" fantastic, or so you would have thought...

I then tried to login to DirectAdmin - connection refused.
SSH'd into the server, checked the active ports - no 2222.

Ok, no problem - service directadmin restart

Code:
Stopping DirectAdmin:                                      [FAILED]
Starting DirectAdmin: /usr/local/directadmin/directadmin: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
                                                           [FAILED]

Hang on a minute, no libssl.so.6? find / -name 'libssl.so.6'
Code:
/lib64/libssl.so.6

Ok... so it exists, odd.

Figured I'd reboot the server for the first time in 41 days, nope. No good.

I then went and ran a manual update...

When I got to ./directadmin p
Code:
./directadmin: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

Then when I get to ./update.sh
Code:
Stopping DA-PopB4Smtp:                                     [FAILED]
Starting DA-PopB4Smtp: /usr/local/directadmin/da-popb4smtp: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
                                                           [FAILED]

Sure enough, I checked service --status-all

Code:
da-popb4smtp dead but subsys locked
directadmin dead but subsys locked

Does anyone have any idea what has happened here? Everything was running absolutely fine before the 1.345 update - all previous updates have been just fine too :( any help would be much appreciated.

Server is running CentOS 5.4 64bit.

---

Solution

Ok... for whatever reason, it turns out that if you're running CentOS 64bit you need to install the following packages:

PHP:
openssl       i686 0.9.8e-12.el5
openssl-devel i386 0.9.8e-12.el5
libstdc++     i386 4.1.2-46.el5_4.1

Why? Goodness only knows. It was working perfectly fine for me before now without them.

Just run:

yum install openssl openssl-devel libstdc++

And make sure exclude=*.i386 *.i586 *.i686 is not in your /etc/yum.conf

Problem solved :)

Hopefully this will save someone all the time I spent on trying to resolve this issue.
 
Hello,

That error means that you've got the 32-bit binaries, not the 64-bit directadmin binaries.

This is the related guide:
http://help.directadmin.com/item.php?id=267

Just email us your license ID number and the OS version you're actually using and we'll swap the license. You'd then grab the new binaries (update.tar.gz) from us.

John
 
Back
Top