users/php/httpd.conf: No such file or directory

asmar

Verified User
Joined
Aug 29, 2005
Messages
99
Location
https://t.me/pump_upp
Hello,

I tried to rebuild apache and got the following problem:

Starting httpd: httpd: Syntax error on line 160 of /etc/httpd/conf/httpd.conf: Syntax error on line 14 of /etc/httpd/conf/extra/directadmin-vhosts.conf: Could not open configuration file /usr/local/directadmin/data/users/php/httpd.conf: No such file or directory

I've tried many suggestions on the forum but none worked.
The last one was:
cd /usr/local/directadmin/custombuild
./build update
./build php d
./build httpd d
./build suphp d
./build rewrite_confs

Any help is much appreciated.
 
I cannot even create an empty file as root:

diver:/usr/local/directadmin/custombuild# touch /usr/local/directadmin/data/users/php/httpd.conf
touch: cannot touch `/usr/local/directadmin/data/users/php/httpd.conf': Permission denied

Any ideas?
 
What distribution are you running? Are you running SELinux (or other distribution's equivalent)?

If not, and if you still can't create an empty file as root even after a reboot, then you've got catastrophic disk failure.

Jeff
 
Back
Top