BattleDroid42
Programmer
Hi All,
I'm running an Intel box with Solaris 8 and Apache. I have little knowledge of UNIX web hosting and inherited the box from former coworkers. The box hosts two websites which are currently down. The power recently went out and for some reason the httpd service will no longer start as follows:
# ./S50apache start
httpd starting.
[Tue Aug 3 11:46:31 2004] [warn] NameVirtualHost telco.spc.com:80 has no
VirtualHosts
/usr/apache/bin/apachectl start: httpd could not be started
# ./apachectl start
[Tue Aug 3 11:47:37 2004] [warn] NameVirtualHost telco.spc.com:80 has no
VirtualHosts
./apachectl start: httpd could not be started
# ./apachectl configtest
[Tue Aug 3 11:42:13 2004] [warn] NameVirtualHost telco.spc.com:80 has no
VirtualHosts
Syntax OK
The virtual hosts are configured in httpd.conf as follows (the names have been changed to protect the innocent):
#
# If you want to use name-based virtual hosts you need to define at # least one IP address (and port number) for them. # NameVirtualHost mysite1.spc.com:80 NameVirtualHost telco.spc.com:80 #NameVirtualHost 12.34.56.78
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container. #
<VirtualHost mysite1.spc.com>
ServerAdmin rh9393@txmail.spc.com
DocumentRoot /var/apache/htdocs/campaignsurfer
ServerName mysite1.spc.com
ErrorLog logs/mysite1.com-error_log
CustomLog logs/mysite1.com-access_log common </VirtualHost>
<VirtualHost telco.spc.com>
ServerAdmin rh9393@txmail.spc.com
DocumentRoot /var/apache/htdocs/
ServerName telco.spc.com
ErrorLog logs/telco.com-error_log
CustomLog logs/telco.com-access_log common
</VirtualHost>
#<VirtualHost _default_:*>
#</VirtualHost>
#<IfModule mod_perl.c>
#
#<Location /perl-status>
# SetHandler perl-script
# PerlHandler Apache::Status
# order deny,allow
# deny from all
# allow from yourhost
#</Location>
#
#</IfModule>
#
# Enable java servlet support (mod_jserv) by including it's config file # (remember to check the configuration in jserv.properties also)
I can use any help I can get! Thanks!
BD42
I'm running an Intel box with Solaris 8 and Apache. I have little knowledge of UNIX web hosting and inherited the box from former coworkers. The box hosts two websites which are currently down. The power recently went out and for some reason the httpd service will no longer start as follows:
# ./S50apache start
httpd starting.
[Tue Aug 3 11:46:31 2004] [warn] NameVirtualHost telco.spc.com:80 has no
VirtualHosts
/usr/apache/bin/apachectl start: httpd could not be started
# ./apachectl start
[Tue Aug 3 11:47:37 2004] [warn] NameVirtualHost telco.spc.com:80 has no
VirtualHosts
./apachectl start: httpd could not be started
# ./apachectl configtest
[Tue Aug 3 11:42:13 2004] [warn] NameVirtualHost telco.spc.com:80 has no
VirtualHosts
Syntax OK
The virtual hosts are configured in httpd.conf as follows (the names have been changed to protect the innocent):
#
# If you want to use name-based virtual hosts you need to define at # least one IP address (and port number) for them. # NameVirtualHost mysite1.spc.com:80 NameVirtualHost telco.spc.com:80 #NameVirtualHost 12.34.56.78
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container. #
<VirtualHost mysite1.spc.com>
ServerAdmin rh9393@txmail.spc.com
DocumentRoot /var/apache/htdocs/campaignsurfer
ServerName mysite1.spc.com
ErrorLog logs/mysite1.com-error_log
CustomLog logs/mysite1.com-access_log common </VirtualHost>
<VirtualHost telco.spc.com>
ServerAdmin rh9393@txmail.spc.com
DocumentRoot /var/apache/htdocs/
ServerName telco.spc.com
ErrorLog logs/telco.com-error_log
CustomLog logs/telco.com-access_log common
</VirtualHost>
#<VirtualHost _default_:*>
#</VirtualHost>
#<IfModule mod_perl.c>
#
#<Location /perl-status>
# SetHandler perl-script
# PerlHandler Apache::Status
# order deny,allow
# deny from all
# allow from yourhost
#</Location>
#
#</IfModule>
#
# Enable java servlet support (mod_jserv) by including it's config file # (remember to check the configuration in jserv.properties also)
I can use any help I can get! Thanks!
BD42