Hello,
The linking really shouldn't be needed. It usually means that something else is out of place.
1) Check your
Clients Section to ensure the OS set for your license matches the OS that you're using.
Related:
http://help.directadmin.com/item.php?id=318
2) Use the default values for the install to avoid these types of issue (as installing older versions of mysql can also cause linking issues, as DA is linked against the default version set in the install pack)
3) Check your binaries (once running/fixed):
Code:
cd /usr/local/directadmin
./directadmin o
John
But there isn't anything "out of place" in my system. I have the correct OS set on my license as "Debian 6 64" and I'm only changing a couple settings in options.conf (certainly nothing crazy). Please see
http://www.directadmin.com/forum/showthread.php?t=41529 for a list of things I've encountered on a clean Debian 6 x64 install.
To make sure I'm crystal clear about all this, here is my process from start to finish:
1) Install Debian 6 x64 with debian-6.0.2.1-amd64-i386-netinst.iso
2) Update Apt repository
3) Per DA installation guide, install the following:
Code:
aptitude install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev
At this point the system is running perfectly. There are no errors or warnings running aptitude and no packages are listed as broken. Now to install DA.
4)
Code:
cd /root
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
5) In order to get DA to use my pre-made options.conf from the start (as others have in the forums) and to set a couple of custom config files, run the following:
Code:
mkdir /usr/local/directadmin/
mkdir /usr/local/directadmin/custombuild/
mkdir /usr/local/directadmin/custombuild/custom/
mkdir /usr/local/directadmin/custombuild/custom/phpmyadmin/
wget -O /usr/local/directadmin/custombuild/custom/phpmyadmin/config.inc.php <external location of php config file>
wget -O /usr/local/directadmin/custombuild/options.conf <external location of options.conf>
chmod 644 /usr/local/directadmin/custombuild/custom/phpmyadmin/config.inc.php
chmod 644 /usr/local/directadmin/custombuild/options.conf
echo 1.2 > /root/.custombuild
/root/setup.sh <userid> <licenseid> hostname eth0 <ip>
Here is my options.conf file for review:
Code:
#PHP settings. default_php possible values - 5 or 6, php5_ver - 5.2 or 5.3
default_php=5
php5_ver=5.3
php5_cli=yes
php5_cgi=no
php6_cli=no
php6_cgi=no
php_ini=yes
#Possible values - recommended or dist
php_ini_type=recommended
zend=no
#Possible values - 5.0, 5.1, 5.5
mysql=5.5
mysql_inst=yes
mysql_backup=yes
#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2
#Web applications
phpmyadmin=yes
atmail=no
squirrelmail=no
roundcube=no
uebimiau=no
#Mail options
exim=no
spamassassin=no
mail-header-patch=yes
dovecot=no
eximconf=no
#Statistics
awstats=no
webalizer=yes
#FTP options
proftpd=no
pureftpd=yes
#Jailed shell
jail=no
#Custombuild options
custombuild=1.2
autover=yes
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=no
clean_old_webapps=yes
downloadserver=files.directadmin.com
#Cron settings
cron=no
email=<email address removed>
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes
clamav=no
mailman=no
ioncube=no
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
autoconf=yes
automake=yes
libtool=yes
At this point, DA is NOT fully installed because it is looking for libmysqlclient.so.16 but Custombuild installed libmysqlclient.so.18 as part of MySQL 5.5.15. Because of this, I then have to do the following:
6)
Code:
cd /usr/local/mysql/lib
rm -f libmysqlclient.so.16
cp /usr/local/mysql-5.5.9-linux2.6-x86_64/lib/libmysqlclient.so.16 /usr/local/mysql/lib/libmysqlclient.so.16
chmod 755 libmysqlclient.so.16
ldconfig
7) Now that the old library is there, we re-run DA setup
Code:
/root/setup.sh <userid> <licenseid> hostname eth0 <ip>
Ok, so now DA is installed, but there are still the other issues. As you can see from my options.conf file, Exim has been set as "no", but the already installed Exim in Debian is now broken (see the other thread I mentioned earlier for details). Also, the libz issue is present and must be resolved (also mentioned in
the other thread).
Please advise.