
Originally Posted by
Infopro
Open SSH and type this in:
/usr/sbin/apachectl configtest
Whats it tell you?
Here's what I get:
Code:
root@servername [/usr/sbin]# /usr/sbin/apachectl configtest
-bash: /usr/sbin/apachectl: No such file or directory
I ran a "locate apachectl" just to see where it was, and got these:
Code:
/usr/local/apache/bin/apachectl
/usr/local/apache/htdocs/manual/programs/apachectl.html.en
/usr/local/apache/htdocs/manual/programs/apachectl.html.ja.jis
/usr/local/apache/htdocs/manual/programs/apachectl.html.html
/usr/local/apache/man/man8/apachectl.8
/usr/share/man/fr/man8/apachectl.8.gz
So I ran "/usr/local/apache/bin/apachectl configtest" and got the following:
Code:
Warning: DocumentRoot [/home/username/public_html/dev] does not exist
[Sun May 20 12:21:09 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Sun May 20 12:21:09 2007] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
Syntax OK
I see that when I delete the dev.username.com subdomain from the username.com cPanel, it didn't delete it properly from the VirtualHost, so I'll manually delete that.
Thoughts otherwise?