Fresh install centos 4.5 en DA fails

Guillermo

Verified User
Joined
May 20, 2006
Messages
95
Location
The Netherlands
I just installed centos 4.5 x86_64 and DA for enterpise/centos 4.5:
Compiled for CentOS 4.1 64-bit
Server Version 1.30.1
Current Available Version 1.301000
Last Updated Wed Jun 20 21:25:57 2007

The installation went flawless, but now after a couple of hours all services are starting to fail. What's the problem?
When i try to restart apache, because i got a message that it has been stopped, it shows the following:

#service httpd start
httpd: unrecognized service

Same for proftpd, exim etc.

Any idea what could be wrong? I checked init.d and those services are not appearing in it.
 
Code:
cd /usr/local/directadmin/customapache
./build all d
/etc/init.d/httpd restart
 
Thanks for your fast reply, but that's just for apache.
Also exim, proftpd and vmpop3d don't seem to exist, while the installation didn't give me any errors.

Edit:
PHP is giving issues too.
# php -v
-bash: php: command not found

In my DA panel is see this:
cannot find file: /usr/local/bin/php
beneat extra features in the admin section.
 
Firstly do "./build all d" and see if it helps. If there aren't any important data - just reinstall DirectAdmin.
 
I'm not really familiar with customapache, does ./build all d also rebuild ssh? Or which services?
Don't want to get kicked of from SSH if it goes wrong. Anyway, i'll read upon customapache.
 
No, just apache and PHP (and dependencies). I recommend you to reinstall DirectAdmin (just run setup.sh again).
 
make[4]: *** [mod_ssl.lo] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/apache_1.3.37'
make: *** [build] Error 2

# /etc/init.d/httpd restart
-bash: /etc/init.d/httpd: No such file or directory


In the DA install faq, i dón't see centos 4.5 supported. RedHat Enterprise / CentOS 3.0, 3.1, 3.2, 3.3, 4.1, 4.2, 4.3, 4.4, 5.0 (64-bit: 4.1 - 4.4, 5.0)

Is that a problem? And why did it install the 64-bit version for centos 4.1 instead of 4.4 which is closer to 4.5.
 
Last edited:
I reinstalled directadmin about 3 times now, with different packages, but no success. It doesn't really reinstall everything if i run the setup, it just checks everything and if it already exists. I tried services_es40.tar.gz, services_es41_64.tar.gz and services_es50_64.tar.gz.
 
Hello,

In the output of the build script, the actual error is likely a bit higher up than what you've pasted. Run the following again, and see what you get:
Code:
cd /usr/local/directadmin/customapache
./build clean
./build all n
John
 
Back
Top