{"id":167,"date":"2023-07-11T13:18:09","date_gmt":"2023-07-11T13:18:09","guid":{"rendered":"https:\/\/www.s66.org\/?p=167"},"modified":"2023-08-13T14:35:33","modified_gmt":"2023-08-13T14:35:33","slug":"howto-debug-ehcp","status":"publish","type":"post","link":"https:\/\/www.ehcp.net\/?p=167","title":{"rendered":"Howto Debug Ehcp"},"content":{"rendered":"\n<p>in many cases, debuging your system and ehcp may help you resolve your problem.<br>Either your problem is email, or domains, or anything else, following steps may help you to resolve your problem.<\/p>\n\n\n\n<p>1.open a console on your server, then enter:<br>sudo tail -f \/var\/log\/ehcp.log<br>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<\/p>\n\n\n\n<ol start=\"2\">\n<li>open a separate console on your server, then enter:<br>sudo tail -f \/var\/log\/syslog<br>this will show almost all aspects of your server, including email send\/receive.. so, this will be useful when debugin especially email problems.<\/li>\n\n\n\n<li>to be sure, open a separate ssh console, then enter:<br>sudo \/etc\/init.d\/ehcp restart<br>this will restart ehcp daemon (background process) and make sure operations on ehcp gui be applied to your system.<br>Without daemon, most gui operations will not be applied to system.<\/li>\n<\/ol>\n\n\n\n<p>after doing this, watch your console on 1 and 2 and try to debug your system. Note that, these are not mostly necessary on many systems, I mean, ehcp will usually work out of box. These are only needed on some circumstances and may help you resolve your cases..<br>If you changed your mysql ehcp user pass after installation, follow: http:\/\/www.ehcp.net\/?q=node\/92<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>if you live problem with your webserver, all pages in your server or most of pages:Are you able to reach your server at&nbsp;<a href=\"http:\/\/yourip\/\">http:\/\/yourip<\/a>&nbsp;?<\/p>\n\n\n\n<p>to debug apache and config files:<\/p>\n\n\n\n<p>empty your file \/var\/www\/vhosts\/ehcp\/apachehcp.conf and restart apache by:<br>on your server console:<br><code>echo \"\" &gt; \/var\/www\/vhosts\/ehcp\/apachehcp.conf<br>\/etc\/init.d\/apache2 restart<\/code><\/p>\n\n\n\n<p>Now, check your server at http:\/\/yourip ?<br>if you access the server now, then, most probably, you have something wrong in apache templates of ehcp config files, such as &#8220;apachetemplate&#8221; and so on..<\/p>\n\n\n\n<p>if you are still not able to see a webpage at http:\/\/yourip,<br>then you have something wrong in \/etc\/apache2\/apache2.conf<\/p>\n\n\n\n<p>did you change anything in that file recently ?<br>if yes, try to restore it to original state..<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>before debugging, make sure you did all necessary settings by following concepts at:&nbsp;<a href=\"http:\/\/www.ehcp.net\/helper\/yardim\/cats.php\">http:\/\/www.ehcp.net\/helper\/yardim\/cats.php<\/a><\/p>\n\n\n\n<p>those are (almost) step-by-step instructions<\/p>\n\n\n\n<p>You may also want to look at Important Articles at <a href=\"https:\/\/www.ehcp.net\/?p=157\">https:\/\/www.ehcp.net\/?p=157<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.logThis will monitor the running of ehcp daemon.. you will\/may see many lines [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/167"}],"collection":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":3,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":338,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions\/338"}],"wp:attachment":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}