httpd is stopped

mehriz

Verified User
Joined
May 29, 2009
Messages
13
hello
good time
we have installed directadmin ,but apache will not start-plase hlep
Stopping httpd: [FAILED]
Starting httpd: [Tue Nov 06 13:44:27 2012] [warn] module php5_module is already loaded, skipping
httpd: Syntax error on line 116 of /etc/httpd/conf/httpd.conf: Syntax error on line 21 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not open configuration file /etc/httpd/conf/ips.conf: No such file or directory
 
Hello,

Code:
cp -rfv /etc/httpd/conf /etc/httpd/conf-bak
cd /usr/local/directadmin/custombuild
./build rewrite_confs

Will that help you?
 
Hello,

Code:
cp -rfv /etc/httpd/conf /etc/httpd/conf-bak
cd /usr/local/directadmin/custombuild
./build rewrite_confs

Will that help you?

hello
copy the files syccesfully
export :
[root@server custombuild]# ./build rewrite_confs
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
./build: line 6308: [: : integer expression expected
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
./build: line 6312: [: : integer expression expected
Unable to read config file. Check the file permissionsUnable to read config file . Check to make sure that /usr/local/directadmin/conf/directadmin.conf.lock does n't exist
Using eth0 for your server IP
ls: cannot access /usr/local/directadmin/data/users/*/httpd.conf: No such file o r directory
Restarting apache.
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 115 of /etc/httpd/conf/httpd.conf: S yntax error on line 21 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not ope n configuration file /etc/httpd/conf/ips.conf: No such file or directory
 
what should i do
Do you have this path: /usr/local/directadmin/custombuild

If so, then you probably do have a DirectAdmin based server, but it's possible your installation has been damaged.

I've found some old posts by you on these forums so it's possible you do, or once did, have a server powered by DirectAdmin.

If you don't know how to manage your server, or need something fixed which is beyond your ability, you may need to hire one of us to work for you to find the problems and fix your server.

Jeff
 
Back
Top