Same problem started happening to me so followed all instructions-
cp /etc/apache2/vhosts/Vhosts_ispconfig.conf_25-04-09_03-23-03 /etc/apache2/vhosts/Vhosts_ispconfig.conf
Output of . /etc/apache2/envvars && httpd -t
Syntax error on line 298 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'blah', perhaps misspelled or defined by a module not included in the server configuration
Found strange lines in conf file
<VirtualHost 10.1.1.50:80>
blah kasdfag
dfk;kOASDF
NDJJkksdglk
ServerName
www.militarysuperannuation2.for-our.info:80
Don't know how those 3 lines got there but removed them & ran
. /etc/apache2/envvars && httpd -t again which resulted in
[Sat Apr 25 04:35:02 2009] [warn] NameVirtualHost 10.1.1.50:80 has no VirtualHosts
Syntax OK
Have plenty of virtual hosts
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 10.1.1.50:80
<VirtualHost 10.1.1.50:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
######################################
# Vhost:
www.railscenes.com.au:80
######################################
#
#
<VirtualHost 10.1.1.50:80>
ServerName
www.railscenes.com.au:80
httpd -S results in
[Sat Apr 25 04:48:06 2009] [warn] NameVirtualHost 10.1.1.50:80 has no VirtualHosts
VirtualHost configuration:
10.1.1.50:80 is a NameVirtualHost
default server localhost (/etc/apache2/vhosts/Vhosts_ispconfig.conf:9)
port 80 namevhost localhost (/etc/apache2/vhosts/Vhosts_ispconfig.conf:9)
port 80 namevhost
www.railscenes.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:26)
port 80 namevhost
www.webmail.sisbiz.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:73)
port 80 namevhost
www.sisbiz.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:120)
port 80 namevhost
www.prosepower.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:167)
port 80 namevhost
www.yourownserver.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:203)
port 80 namevhost
www.test.sisbiz.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:250)
port 80 namevhost
www.militarysuperannuation2.for-our.info (/etc/apache2/vhosts/Vhosts_ispconfig.conf:297)
port 80 namevhost
www.polls.motivepower.net.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:344)
port 80 namevhost
www.ocsportseaalumni.for-our.info (/etc/apache2/vhosts/Vhosts_ispconfig.conf:391)
port 80 namevhost
www.militarysuperannuation.for-our.info (/etc/apache2/vhosts/Vhosts_ispconfig.conf:438)
port 80 namevhost
www.railwayshop.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:485)
port 80 namevhost localhost (/etc/apache2/vhosts/Vhosts_ispconfig.conf:9)
port 80 namevhost
www.railscenes.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:26)
port 80 namevhost
www.webmail.sisbiz.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:73)
port 80 namevhost
www.sisbiz.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:120)
port 80 namevhost
www.prosepower.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:167)
port 80 namevhost
www.yourownserver.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:203)
port 80 namevhost
www.test.sisbiz.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:250)
port 80 namevhost
www.militarysuperannuation2.for-our.info (/etc/apache2/vhosts/Vhosts_ispconfig.conf:297)
port 80 namevhost
www.polls.motivepower.net.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:344)
port 80 namevhost
www.ocsportseaalumni.for-our.info (/etc/apache2/vhosts/Vhosts_ispconfig.conf:391)
port 80 namevhost
www.militarysuperannuation.for-our.info (/etc/apache2/vhosts/Vhosts_ispconfig.conf:438)
port 80 namevhost
www.railwayshop.com.au (/etc/apache2/vhosts/Vhosts_ispconfig.conf:485)
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server sisbiz.com.au (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost sisbiz.com.au (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
Output of ls -la /root/ispconfig
total 104
drwxr-xr-x 10 root root 4096 2009-04-25 03:29 .
drwxr-xr-x 6 root root 4096 2009-03-27 16:25 ..
-rwxr-xr-x 1 root root 34530 2009-03-27 16:27 cronolog
-rwxr-xr-x 1 root root 9673 2009-03-27 16:27 cronosplit
drwxr-xr-x 12 root root 4096 2009-03-27 16:05 httpd
drwxr-xr-x 16 root root 4096 2009-03-27 16:27 isp
drwxr-xr-x 7 root root 4096 2009-03-27 16:06 libmcrypt
-rw-r--r-- 1 root root 8 2009-04-25 03:29 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2009-03-27 16:03 openssl
drwxr-xr-x 6 root root 4096 2009-03-27 16:19 php
drwxr-xr-x 4 root root 4096 2009-04-25 01:57 scripts
drwxr-xr-x 4 root root 4096 2009-03-27 16:27 standard_cgis
drwxr-xr-x 2 root root 4096 2009-03-27 16:27 sv
-rwx------ 1 root root 9389 2009-03-27 16:27 uninstall
Output of /home/admispconfig/ispconfig/ispconfig.log
25.04.2009 - 03:29:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2658: WARNING: could not . /etc/apache2/envvars && httpd -t &> /dev/null
25.04.2009 - 03:29:18 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2672: httpd syntax seems to contain errors, reloading with old configuration
If someone might be able to point out where I have gone wrong.
Recent comments
1 day 21 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 15 hours ago
2 days 16 hours ago
3 days 8 hours ago
3 days 9 hours ago