PDA

View Full Version : DA install with CentOS 5 problems



Paragon
01-16-2008, 02:17 PM
Howdy,
Trying to install DA on CentOS 5 and having some issues. the lid is set to enterprise 5, but seems it won't download the needed files and eventully it ends the installion but without installing many needed things (like proftpd, mysqld, php etc)
Your help would be very apprichated!!
Here's the start of the install log which I guess says its all:


DirectAdmin will now be installed on: Enterprise 5
Is this correct? (must match license) (y,n) : y

You now have 2 options for your apache/php setup.

1: customapache: older, more tested. Includes Apache 1.3, php 4 and frontpage.
2: custombuild 1.1: newer, less tested. Includes any Apache version, php 4, 5, or both in cli and/or suphp. Frontpage not available with Apache 2.x.
Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61

Enter your choice (1 or 2): 2
You have chosen custombuild 1.1.

Would you like the default settings of apache 2.2 and php 5 cli? (y/n): y
Using the default settings for custombuild.
beginning pre-checks, please wait...
--22:55:31-- http://files.directadmin.com/services/es_5.0/files.sh
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 843 [application/x-sh]
Saving to: `/usr/local/directadmin/scripts/files.sh'

100%[====================================================================================>] 843 --.-K/s in 0s

22:55:33 (109 MB/s) - `/usr/local/directadmin/scripts/files.sh' saved [843/843]

adding gd ...

*** the value for gd is empty. It needs to be added manually ***

--22:55:33-- http://www.directadmin.com/named
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2472 (2.4K) [text/plain]
Saving to: `/etc/init.d/named'

100%[====================================================================================>] 2,472 --.-K/s in 0s

22:55:35 (5.29 MB/s) - `/etc/init.d/named' saved [2472/2472]

--22:55:36-- https://www.directadmin.com/cgi-bin/daupdate?uid=3157&lid=7680
Resolving 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: 3205574 (3.1M) [application/x-gzip]
Saving to: `/usr/local/directadmin/update.tar.gz'

100%[====================================================================================>] 3,205,574 84.8K/s in 21s

22:55:58 (146 KB/s) - `/usr/local/directadmin/update.tar.gz' saved [3205574/3205574]

Cannot find /etc/sysconfig/rhn/up2date... up2date may break things.
All Checks have passed, continuing with install...
Setting hostname to `server01.greenpages.co.il'
mkdir: cannot create directory `/etc/virtual/usage': File exists
Checking quotas...
-

done
--23:01:04-- https://www.directadmin.com/cgi-bin/licenseupdate?lid=7680&uid=3157
Resolving 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'

[ <=> ] 1,559 --.-K/s in 0s

23:01:52 (361 MB/s) - `/usr/local/directadmin/conf/license.key' saved [1559]

Services file already exists. Assuming its been extracted, skipping...


error: File not found by glob: /usr/local/directadmin/scripts/packages/MySQL-server*.rpm

error: File not found by glob: /usr/local/directadmin/scripts/packages/MySQL-client*.rpm
error: File not found by glob: /usr/local/directadmin/scripts/packages/MySQL-devel*.rpm
mysqld: unrecognized service
Waiting for mysqld to start....
Setting MySQL Root Password...
./mysql.sh: line 31: /usr/bin/mysql: No such file or directory
Setting DirectAdmin user and password...
./mysql.sh: line 52: /usr/bin/mysql: No such file or directory
Updating privilege tables...
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
error: File not found by glob: proftpd-1.*.rpm
error: File not found by glob: proftpd-standalone-*.rpm
mkdir: cannot create directory `/var/log/proftpd': File exists
error: File not found by glob: da_exim-*.rpm
error: File not found by glob: da_vm-pop3d-*.rpm
tar: majordomo-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
The source path for majordomo does not exist. Make sure the correct path is set in majordomo.sh
Starting DA-PopB4Smtp:
Unable to find: /usr/local/directadmin/scripts/packages/imapd
cp: `/var/www/html/squirrelmail/data' and `/var/www/html/squirrelmail-1.4.13/data' are the same file
--23:02:05-- http://files.directadmin.com/services/all/roundcube.sh
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4950 (4.8K) [application/x-sh]
Saving to: `/usr/local/directadmin/scripts/roundcube.sh'

100%[====================================================================================>] 4,950 --.-K/s in 0s

23:02:06 (291 MB/s) - `/usr/local/directadmin/scripts/roundcube.sh' saved [4950/4950]

cp: cannot stat `/var/www/html/roundcube/logs/*': No such file or directory
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
Inserting data to mysql and creating database/user for roundcube...
/usr/local/directadmin/scripts/roundcube.sh: line 91: mysql: command not found
/usr/local/directadmin/scripts/roundcube.sh: line 92: mysql: command not found
/usr/local/directadmin/scripts/roundcube.sh: line 93: mysql: command not found

smtalk
01-16-2008, 02:23 PM
For some reason it didn't install MySQL service. CustomBuild does not install MySQL if default settings are chosen. Try:


cd /usr/local/directadmin/custombuild
*** now set mysql_inst to yes ***
./build mysql
Or choose "n" here: "Would you like the default settings of apache 2.2 and php 5 cli? (y/n):" and set MySQL installation to "yes".

Paragon
01-17-2008, 04:52 AM
Your way did installed the MySQL, Thanks :)
But.....
some errors remains like


error: File not found by glob: proftpd-1.*.rpm
error: File not found by glob: proftpd-standalone-*.rpm
mkdir: cannot create directory `/var/log/proftpd': File exists
error: File not found by glob: da_exim-*.rpm
error: File not found by glob: da_vm-pop3d-*.rpm



OS is CentOS release 5 (Final), Server is HP DL140
This errors repats itself even when runing the normal installion without the custombuild,
DA - Your help needed A.S.A.P
Thanks in advance for any soltuin!!!

chatwizrd
01-17-2008, 04:31 PM
Run the following code:



rpm -Uvh "http://files.directadmin.com/services/es_5.0/proftpd-1.3.1-1.i386.rpm"
rpm -Uvh "http://files.directadmin.com/services/es_5.0/proftpd-standalone-1.3.1-1.i386.rpm"
rpm -Uvh "http://files.directadmin.com/services/es_5.0/da_exim-4.68-1.i386.rpm"
rpm -Uvh "http://files.directadmin.com/services/es_5.0/da_vm-pop3d-1.1.7f-2.i386.rpm"