CentOS 6 issue

Errors on centOS 6

When I install DA on centOS 6 32 & 64bit I get the errors:

Error: Package: 2: postfix-2.6.6-2.2el6_1.x86_64 (base)
Requires: libmysqlclient.so.16 (libmysqlclient_16) (64bit)
Error: Package: 2: postfix-2.6.6-2.2el6_1.x86_64 (base)
Requires: mysql-libs
Error: Package: 2: postfix-2.6.6-2.2el6_1.x86_64 (base)
Requires: libmysqlclient.so.16 () (64bit)

Have updated centOS but still get these errors
 
Why you did install postfix? Try remove it and install DA.

Regards

I didn't install postfix. These errors comes from DA on a clean centOS 6 installation
The DA installation is completed but with these errors
 
Oops anyways:
I get errors when I install DirectAdmin on CentOS 6 64bit but when I follow the same steps on CentOS 5.8 it works... Why? I thought Direct Admin supported CentOS 6
 
I don't receive any of those errors: Here is what happens to me:
I cannot install DirectAdmin on my FRESH CentOS 6.0 64bit server without getting installation errors.

Here is what I did straight off the bat:

SSH'd into my NEW server.

Ran the following commands:
Code:
yum update -y
yum -y install gcc gcc-c++ flex
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
sh setup.sh

It goes through its prompts:
Code:
You now have 2 options for your apache/php setup.

1: customapache: end-of-life software.  Apache 1.3, php 4, frontpage.  Do not use.  No support.
2: custombuild 1.1:  newer software (recommended).  Apache 2.x, php 4, 5, or both in cli and/or suphp. Defaults to php 5.2
3: custombuild 1.2:  simlar to 1.1, newer default versions.  Apache 2.x, php 5, 6, or both in cli and/or suphp. Defaults to php 5.3

I selected option 2

It then prompts:
Code:
Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):

At first I selected NO and chose to install will CGI and Apache 2.4 but got errors, so I REINSTALLED my server and simply let DirectAdmin do its default setup.

So on this question:
Code:
Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):/CODE]
I selected - y

It takes about 5 minutes before I am prompted with this error:
[CODE]
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_dh.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_io.c:30:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_kernel.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_init.c:29:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_config.c:29:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from mod_ssl.c:27:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_mutex.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
                 from /usr/include/openssl/kssl.h:72,
                 from /usr/include/openssl/ssl.h:165,
                 from ssl_toolkit_compat.h:33,
                 from ssl_private.h:60,
                 from ssl_engine_log.c:30:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
make[3]: *** [ssl_engine_dh.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [ssl_engine_mutex.lo] Error 1
make[3]: *** [ssl_engine_io.lo] Error 1
make[3]: *** [ssl_engine_log.lo] Error 1
make[3]: *** [ssl_engine_init.lo] Error 1
make[3]: *** [ssl_engine_kernel.lo] Error 1
make[3]: *** [mod_ssl.lo] Error 1
make[3]: *** [ssl_engine_config.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules'
make: *** [all-recursive] Error 1
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

If you're running CentOS (not freebsd or debian) and applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************

I really would like to use DirectAdmin again as I pay for it and use it on all my servers.
DirectAdmin works when I install it on the same server with CentOS 5.8 just not with 6.0 :\
 
My replies are not submitting for some reason. It appears that some post, and the others require moderator approval... What's going on? I really need to post my response in detail so that others can help me...
 
Likely the forum's spambuster blocking them. Take out the urls from your post, which will likely help lower your score.
 
I would say your error
Code:
error: et/com_err.h: No such file or directory
very closely matches this guide:
http://help.directadmin.com/item.php?id=19


Please ensure you've run this yum command:
Code:
yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd zlib-devel zip unzip libcap-devel
Which should add everything you need.
 
Gotcha thanks.
I cannot install DirectAdmin on my FRESH CentOS 6.0 64bit server without getting installation errors.
Here is what I did straight off the bat:
SSH'd into my NEW server.
Ran the following commands:
Code:
yum update -y
yum -y install gcc gcc-c++ flex
wget setup.sh
chmod 755 setup.sh
sh setup.sh

It goes through its prompts:
Code:
You now have 2 options for your apache/php setup.
1: customapache: end-of-life software. Apache 1.3, php 4, frontpage. Do not use. No support.
2: custombuild 1.1: newer software (recommended). Apache 2.x, php 4, 5, or both in cli and/or suphp. Defaults to php 5.2
3: custombuild 1.2: simlar to 1.1, newer default versions. Apache 2.x, php 5, 6, or both in cli and/or suphp. Defaults to php 5.3

I selected option 2
It then prompts:
Code:
Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):
At first I selected NO and chose to install will CGI and Apache 2.4 but got errors, so I REINSTALLED my server and simply let DirectAdmin do its default setup.
So on this question:
Code:
Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):/CODE]
I selected - y
It takes about 5 minutes before I am prompted with this error:
[CODE]
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_dh.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_io.c:30:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_kernel.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_init.c:29:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_config.c:29:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from mod_ssl.c:27:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_mutex.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_log.c:30:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
make[3]: *** [ssl_engine_dh.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [ssl_engine_mutex.lo] Error 1
make[3]: *** [ssl_engine_io.lo] Error 1
make[3]: *** [ssl_engine_log.lo] Error 1
make[3]: *** [ssl_engine_init.lo] Error 1
make[3]: *** [ssl_engine_kernel.lo] Error 1
make[3]: *** [mod_ssl.lo] Error 1
make[3]: *** [ssl_engine_config.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules'
make: *** [all-recursive] Error 1
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:

If you're running CentOS (not freebsd or debian) and applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************

I really would like to use DirectAdmin again as I pay for it and use it on all my servers.
DirectAdmin works when I install it on the same server with CentOS 5.8 just not with 6.0 :\
 
For users that have this problem in the future run the following commands:
It appears that installing openssl in CentOS 6 64bit doesn't install the required ssl lib that directadmin wants. So to fix this problem follow these steps.
Code:
cd /usr/local/directadmin
ldd directadmin
If any thing says "not found", in my instance it said:

libssl.so.6 => not found

You can do a locate on your syetm:
Code:
updatedb
locate libssl.so

And symlink them to the /lib dir
However, if you don't have the libs, like in my case, you can run the following command to see which library provides that lib:
Code:
yum whatprovides libssl.so.6

Or whatever lib is not found, and install it. This should fix problem.
Re-run the:
Code:
cd /usr/local/directadmin
ldd directadmin
And you should no longer receive this error.

Then you will need to finish the installation process by running the following commands:
Code:
cd /usr/local/directadmin
./directadmin i
./directadmin p
This fixed my installation problems on CentOS 64bit.
 
Last edited:
Hello,

I am also installing on Centos 6.2 64bit. Trying to install the latest and greatest with install option 3 on a newly install server with a base install.
I find that the precheck script is POOR form from Directadmin. If you want everything to go through and compile properly you will need to fix the lib sym links problem.

I have tried to capture the additional packages that you will require. These packages are:

Standard requirement:
yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd zlib-devel zip unzip libcap-devel cronie

Then these (a few required for spamassasin):
yum install db4-devel cyrus-sasl-devel
yum install perl-libwww-perl
yum install perl-Time-HiRes.x86_64
yum install perl-ExtUtils*
yum install gettext
yum install perl-Digest-SHA
yum install perl-Net-DNS
yum install perl-NetAddr-IP
yum install perl-Archive-Tar
yum install perl-MailTools
yum install perl-Mail-DKIM
yum install portreserve procmail
yum install file


Gotcha thanks.
I cannot install DirectAdmin on my FRESH CentOS 6.0 64bit server without getting installation errors.
Here is what I did straight off the bat:
SSH'd into my NEW server.
Ran the following commands:
Code:
yum update -y
yum -y install gcc gcc-c++ flex
wget setup.sh
chmod 755 setup.sh
sh setup.sh

It goes through its prompts:
Code:
You now have 2 options for your apache/php setup.
1: customapache: end-of-life software. Apache 1.3, php 4, frontpage. Do not use. No support.
2: custombuild 1.1: newer software (recommended). Apache 2.x, php 4, 5, or both in cli and/or suphp. Defaults to php 5.2
3: custombuild 1.2: simlar to 1.1, newer default versions. Apache 2.x, php 5, 6, or both in cli and/or suphp. Defaults to php 5.3

I selected option 2
It then prompts:
Code:
Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):
At first I selected NO and chose to install will CGI and Apache 2.4 but got errors, so I REINSTALLED my server and simply let DirectAdmin do its default setup.
So on this question:
Code:
Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):/CODE]
I selected - y
It takes about 5 minutes before I am prompted with this error:
[CODE]
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_dh.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_io.c:30:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_kernel.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_init.c:29:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_config.c:29:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from mod_ssl.c:27:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_mutex.c:31:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
In file included from /usr/include/krb5.h:8,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:165,
from ssl_toolkit_compat.h:33,
from ssl_private.h:60,
from ssl_engine_log.c:30:
/usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
make[3]: *** [ssl_engine_dh.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [ssl_engine_mutex.lo] Error 1
make[3]: *** [ssl_engine_io.lo] Error 1
make[3]: *** [ssl_engine_log.lo] Error 1
make[3]: *** [ssl_engine_init.lo] Error 1
make[3]: *** [ssl_engine_kernel.lo] Error 1
make[3]: *** [mod_ssl.lo] Error 1
make[3]: *** [ssl_engine_config.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules'
make: *** [all-recursive] Error 1
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:

If you're running CentOS (not freebsd or debian) and applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************

I really would like to use DirectAdmin again as I pay for it and use it on all my servers.
DirectAdmin works when I install it on the same server with CentOS 5.8 just not with 6.0 :\
 
Hello

I have had many issues installing DA on CentOS 6.

I did not manage to get php5 and php6 running side by side.
A problem with OpenSSL that i cant resolv... but no big deal for the moment. (error occured with php 6)

Thanks Zios for the last post that helped me out with many problems.

General fealing is : Directadmin on CentOS 6 is not mature when you come from nice and easy CentOS 5.

Still thanks for Directadmin software and support !
 
That's strange, im using DA on CentOS 6 in production servers without problems at all.

Ok i didnt use PHP6 but im using PHP CLI 5.3.x and is working pretty fine.

Where does you get openssl problem?

Regards
 
Back
Top