Cant install DirectAdmin on Debian 5.0.6

judab2

Verified User
Joined
Feb 14, 2006
Messages
24
Hi everyone,

I am unable to understand why DirectAdmin fail during the installation,

I couldnt find Debian 5.0 on Officel Debian CDImage site so i have downloaded
Debian 5.0.6

i am recieve the following error during the installation

./mysql.sh: line 25: [: =: unary operator expected

--
esolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `/usr/local/directadmin/conf/license.key'

^M [<=> ] 0 --.-K/s $

2010-10-04 15:24:43 (34.0 MB/s) - `/usr/local/directadmin/conf/license.key' sav$

Services file already exists. Assuming its been extracted, skipping...
Warning: The home dir /usr/local/mysql you specified can't be accessed: No such$
The system user `mysql' already exists. Exiting.
./mysql.sh: line 25: [: =: unary operator expected
*** Unable to find /usr/local/directadmin/scripts/packages/.tar.gz to extract *$
mkdir: cannot create directory `/var/log/proftpd': File exists
mkdir: cannot create directory `/var/run/proftpd': File exists
dpkg - warning: ignoring request to remove gadmin-proftpd which isn't installed.
dpkg - warning: ignoring request to remove gforge-ftp-proftpd which isn't insta$
dpkg - warning: ignoring request to remove gproftpd which isn't installed.
dpkg - warning: ignoring request to remove proftpd-basic which isn't installed.
dpkg - warning: ignoring request to remove proftpd-doc which isn't installed.
dpkg - warning: ignoring request to remove proftpd-mod-ldap which isn't install$


---
now I had the chance to take a look on the code in /usr/local/directadmin/scripts/mysql.sht he error is causing because an IF Statement

I find how to overcome this error but then i fall into another error. regard php compilation

if [ $NAME = "" ]; then
NAME=mysql-5.0.67-linux-i686
fi


What am i missing ??
 
Hi everyone,

I am unable to understand why DirectAdmin fail during the installation,

I couldnt find Debian 5.0 on Officel Debian CDImage site so i have downloaded
Debian 5.0.6

i am recieve the following error during the installation

./mysql.sh: line 25: [: =: unary operator expected

--
esolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `/usr/local/directadmin/conf/license.key'

^M [<=> ] 0 --.-K/s $

2010-10-04 15:24:43 (34.0 MB/s) - `/usr/local/directadmin/conf/license.key' sav$

Services file already exists. Assuming its been extracted, skipping...
Warning: The home dir /usr/local/mysql you specified can't be accessed: No such$
The system user `mysql' already exists. Exiting.
./mysql.sh: line 25: [: =: unary operator expected
*** Unable to find /usr/local/directadmin/scripts/packages/.tar.gz to extract *$
mkdir: cannot create directory `/var/log/proftpd': File exists
mkdir: cannot create directory `/var/run/proftpd': File exists
dpkg - warning: ignoring request to remove gadmin-proftpd which isn't installed.
dpkg - warning: ignoring request to remove gforge-ftp-proftpd which isn't insta$
dpkg - warning: ignoring request to remove gproftpd which isn't installed.
dpkg - warning: ignoring request to remove proftpd-basic which isn't installed.
dpkg - warning: ignoring request to remove proftpd-doc which isn't installed.
dpkg - warning: ignoring request to remove proftpd-mod-ldap which isn't install$


---
now I had the chance to take a look on the code in /usr/local/directadmin/scripts/mysql.sht he error is causing because an IF Statement

I find how to overcome this error but then i fall into another error. regard php compilation

if [ $NAME = "" ]; then
NAME=mysql-5.0.67-linux-i686
fi


What am i missing ??

Was mysql already installed on the server prior to DA install?
 
Back
Top