Debug ehcp and your system
in many cases, debuging your system and ehcp may help you resolve your problem.
Either your problem is email, or domains, or anything else, following steps may help you to resolve your problem.
1.open a console on your server, then enter:
sudo tail -f /var/log/ehcp.log
This will monitor the running of ehcp daemon.. you will/may see many lines when you add domains/subdomains.. or do some operations in your ehcp gui
2. open a separate console on your server, then enter:
sudo tail -f /var/log/syslog
this will show almost all aspects of your server, including email send/receive.. so, this will be useful when debugin especially email problems.
3. to be sure, open a separate ssh console, then enter:
sudo /etc/init.d/ehcp restart
this will restart ehcp daemon (background process) and make sure operations on ehcp gui be applied to your system.
Without daemon, most gui operations will not be applied to system.
after doing this, watch your console on 1 and 2 and try to debug your system.
Tue, 11/24/2009 - 21:42
if you live problem with your
if you live problem with your webserver, all pages in your server or most of pages:
to debug apache and config files:
empty your file /var/www/vhosts/ehcp/apachehcp.conf and restart apache by:
on your server console:
echo "" > /var/www/vhosts/ehcp/apachehcp.conf
Now, check your server at http://yourip ?
if you access the server now, then, most probably, you have something wrong in apache templates of ehcp config files, such as "apachetemplate" and so on..
if you are still not able to see a webpage at http://yourip,
then you have something wrong in /etc/apache2/apache2.conf
did you change anything in that file recently ?
if yes, try to restore it to original state..
Mon, 11/30/2009 - 22:37
similar problem: http://ehcp.net/?q=node/796#comment-1184
Fri, 03/12/2010 - 14:45
another similar: http://ehcp.net/?q=node/894
Sun, 11/29/2009 - 21:57
before debugging, make sure
before debugging, make sure you did all necessary settings by following concepts at: http://www.ehcp.net/helper/yardim/cats.php
those are (almost) step-by-step instructions
You may also want to look at Important Articles at http://www.ehcp.net/?q=node/262