If you've just finished a DirectAdmin install and are trying to start apache, but you get the error:
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
this means that the ips.conf is missing. Â The cause is usually that the DirectAdmin install didn't actually finish.To finish the install, type:
cd /usr/local/directadmin
./directadmin i
./directadmin p
The usual causes are incompatible binaries (see the link below) or invalid options set in the /usr/local/directadmin/scripts/setup.txt.
Another cause would be if something in custombuild didn't compile correctly. Â Type the following:
cd /usr/local/directadmin/custombuild
./build all d