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


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Install Issues

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 directoryLast Modified: Apr 28, 2011, 12:38 pm
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

which is the last step of the DA install.  Likely something with this step is failing, hence the ips.conf isn't created.  Address whatever error is displayed, then run it again to complete the install.

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

and check for errors in the last few pages of output if it stops prematurely.
 
Related Helpfiles
./install.sh: line 225: ./directadmin: cannot execute binary file
Which OS am I using?

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST