Installation problem - CentOS

sloop

Verified User
Joined
Jun 13, 2004
Messages
20
Location
Raleigh, NC
I am having trouble with a new DirectAdmin installation. This is on a CentOS 3.1 server fresh install.

During the CentOS install, I only installed development and system tools. I then installed bind, webalizer, and apache manually by RPM because the install script complained that they were not installed. I only installed apache because it was required by webalizer. Is that what the problem is?

The install script did the apache compile.. and here is what I'm left with. I

Creating we80.cnf...
Done. Frontpage Extension install complete.




*************************************
* *
* All parts have been installed *
* *
*************************************

Type: /sbin/service httpd restart
Welcome to DirectAdmin verion 1.22.1!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.

Cannot find services in the ./scripts/setup.txt file
Permissions set
[root@brass root]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `auth_anon_module' in file /etc/httpd/modules/mod_auth_anon.so: /usr/sbin/httpd: undefined symbol: auth_anon_module
[FAILED]
[root@brass root]#
 
is CentOS another of the RHEL copies?

Check /etc/redhat-release exists if it is.

Chris
 
Theres your problem... it's in a diferent format to what enterprise is.

you could try using this:

red hat enterprise linux XX release 3

where XX is as/es/ws

Chris
 
I changed my redhat-release file to that of one from a real RHES server. I am still having the same problem.

*************************************
* *
* All parts have been installed *
* *
*************************************

Type: /sbin/service httpd restart
[root@brass scripts]# /sbin/service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `auth_anon_module' in file /etc/httpd/modules/mod_auth_anon.so: /usr/sbin/httpd: undefined symbol: auth_anon_module
[FAILED]
[root@brass scripts]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 1)
 
Try removing the /etc/httpd/conf/httpd.conf file or /etc/httpd directory and start over. If the configuration files already exist they don't get overwritten. That should recreate those files for the correct version of the OS.
 
Hello,

The directadmin binary should copy the main httpd.conf over during the install.

cd /usr/local/directadmin
./directadmin i
./directadmin p

Also try a "./build clean; ./build all" with the customapache build script.

John
 
Back
Top