Xinil
30th May 2007, 08:06
I've looked through the dozens of threads here and I just can't find what will fix this problem. I cannot get apache to start no matter what type of configuration I do. The install worked fine and everything was going great, but apparently I did something (no idea) and now it won't start any more.
I try to start apache and this happens:
[root@dedicated145 www]# /etc/init.d/httpd start
Starting httpd: [Wed May 30 00:51:06 2007] [warn] NameVirtualHost 66.186.60.50:80 has no VirtualHosts
[FAILED]
Changed around a few things and I started getting this:
[root@dedicated145 www]# /etc/init.d/httpd start
Starting httpd: [Wed May 30 00:59:19 2007] [warn] VirtualHost 66.186.60.50:80 overlaps with VirtualHost 66.186.60.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
[FAILED]
Changed around some more and now I don't get any errors, just a failed:
[root@dedicated145 www]# /etc/init.d/httpd start
Starting httpd: [FAILED]
Any help would be appreciated. Here's what my Vhosts_ispconfig.conf contains:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: webmail.gysslerenterprises.com:80
######################################
#
#
<VirtualHost 127.0.0.1:80>
ServerName webmail.gysslerenterprises.com:80
ServerAdmin webmaster@gysslerenterprises.com
DocumentRoot /var/www/web1/web
ServerAlias gysslerenterprises.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web1/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web1/phptmp/
php_admin_value session.save_path /var/www/web1/phptmp/
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.garrettgyssler.com:80
######################################
#
#
<VirtualHost 127.0.0.1:80>
ServerName www.garrettgyssler.com:80
ServerAdmin webmaster@garrettgyssler.com
DocumentRoot /var/www/web2/web
ServerAlias garrettgyssler.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
</VirtualHost>
My server can be accessed at: dedicated145.krypt.com.
IP: 66.186.60.50
www.gysslerenterprises.com is where it's supposed to be online too. I guess I'm somewhat confused about what should be going in the:
Hostname:
Domain:
IP Address:
IP List:
Right now, I have:
Hostname: dedicated145
Domain: krypt.com
IP Address: 127.0.0.1
IP List: 66.186.60.50
--
I've changed all those around to different things too in an attempt to fix it.
Thanks in advance.
I try to start apache and this happens:
[root@dedicated145 www]# /etc/init.d/httpd start
Starting httpd: [Wed May 30 00:51:06 2007] [warn] NameVirtualHost 66.186.60.50:80 has no VirtualHosts
[FAILED]
Changed around a few things and I started getting this:
[root@dedicated145 www]# /etc/init.d/httpd start
Starting httpd: [Wed May 30 00:59:19 2007] [warn] VirtualHost 66.186.60.50:80 overlaps with VirtualHost 66.186.60.50:80, the first has precedence, perhaps you need a NameVirtualHost directive
[FAILED]
Changed around some more and now I don't get any errors, just a failed:
[root@dedicated145 www]# /etc/init.d/httpd start
Starting httpd: [FAILED]
Any help would be appreciated. Here's what my Vhosts_ispconfig.conf contains:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: webmail.gysslerenterprises.com:80
######################################
#
#
<VirtualHost 127.0.0.1:80>
ServerName webmail.gysslerenterprises.com:80
ServerAdmin webmaster@gysslerenterprises.com
DocumentRoot /var/www/web1/web
ServerAlias gysslerenterprises.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web1/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web1/phptmp/
php_admin_value session.save_path /var/www/web1/phptmp/
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.garrettgyssler.com:80
######################################
#
#
<VirtualHost 127.0.0.1:80>
ServerName www.garrettgyssler.com:80
ServerAdmin webmaster@garrettgyssler.com
DocumentRoot /var/www/web2/web
ServerAlias garrettgyssler.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
</VirtualHost>
My server can be accessed at: dedicated145.krypt.com.
IP: 66.186.60.50
www.gysslerenterprises.com is where it's supposed to be online too. I guess I'm somewhat confused about what should be going in the:
Hostname:
Domain:
IP Address:
IP List:
Right now, I have:
Hostname: dedicated145
Domain: krypt.com
IP Address: 127.0.0.1
IP List: 66.186.60.50
--
I've changed all those around to different things too in an attempt to fix it.
Thanks in advance.