installation succesful but several services not installed

francisboterblo

Verified User
Joined
Feb 1, 2007
Messages
13
I have made a Centos 4.4 clean server installation, on that server i uses the setup.sh install script, following the installation manual on the DA site.
After the installtion i get the user credentials and the message that it was a succesful installation.
I can login into DA, but when i look at the service monitor, i see the following services not started:
exim
mysqld
proftpd
vm-pop3d

when i try to start a service ie get the following mesage:

Cannot find the script

Details

/etc/init.d/mysqld

It seems that those services are not installed.

Do i overlook something?
 
Ok i did the install again and watched the install and after a while i saw this:


All Checks have passed, continuing with install...
Setting hostname to `srv01.webhuizing.nl'
mkdir: cannot create directory `/etc/virtual/usage': File exists
Checking quotas...
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...
DROP DATABASE IF EXISTS test
./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...

is this helping?
 
and more.....

mysqld: unrecognized service
Waiting for mysqld to start....
Setting MySQL Root Password...
DROP DATABASE IF EXISTS test
./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
 
ok i found the solution somehow the services file was not dowloaded or extracted correct.
After deleting the service file and restarted the setup.sh script i have not anymore the errors above.

After this all the services where available.
 
ok i found the solution somehow the services file was not dowloaded or extracted correct.
After deleting the service file and restarted the setup.sh script i have not anymore the errors above.

After this all the services where available.

What file are you talking about? I have exactly the same problem.
 
may i know after you install DA and how you uninstall the DA before install again.

Thank You
 
What file are you talking about? I have exactly the same problem.

I also was having the same problem until I saw this thread. You need to delete "services.tar.gz" in /usr/local/directadmin/scripts/packages (thats where it was for me). I think it became corrupt when it downloaded the first time, so once you have deleted it run ./setup.sh again and it will work perfectly :)
 
Back
Top