main domain not working after easyapche

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
for a client requirement for SOAP i did easyapache

i had also changed php version from php 5.2.8 to 5.4

but ever since the main website doesnt work
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Could you let us know the specific error message that appears on the website or within the error_log of the account?

Thank you.
 

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
Code:
[Thu Jun 21 21:20:19 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Jun 21 21:20:19 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cpanel/bin/leechprotect line 238.
[Thu Jun 21 21:21:10 2012] [notice] Graceful restart requested, doing restart
[Thu Jun 21 21:21:10 2012] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 21 21:21:10 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cpanel/bin/leechprotect line 238.
[Thu Jun 21 21:21:11 2012] [warn] long lost child came home! (pid 1701)
[Thu Jun 21 21:21:14 2012] [notice] Graceful restart requested, doing restart
[Thu Jun 21 21:21:14 2012] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 21 21:21:15 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
DBI connect('database=leechprotect:host=localhost','leechprotect',...) failed: Access denied for user 'leechprotect'@'localhost' (using password: YES) at /usr/local/cpanel/bin/leechprotect line 238.
[Thu Jun 21 21:21:16 2012] [warn] long lost child came home! (pid 1781)
[Thu Jun 21 21:21:28 2012] [notice] Graceful restart requested, doing restart
[Thu Jun 21 21:21:28 2012] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Thu Jun 21 21:21:28 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Thu Jun 21 21:24:08 2012] [notice] Graceful restart requested, doing restart
[Thu Jun 21 21:24:09 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Fri Jun 22 03:00:01 2012] [notice] Graceful restart requested, doing restart
[Fri Jun 22 03:00:01 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
[Fri Jun 22 04:05:11 2012] [error] [client 58.218.199.250] File does not exist: /usr/local/apache/htdocs/proxyheader.php
[Fri Jun 22 04:16:05 2012] [error] [client someIP] Invalid method in request \x16\x03\x01
[Fri Jun 22 04:16:05 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 04:16:05 2012] [error] [client someIP] Invalid method in request \x16\x03\x01
[Fri Jun 22 04:16:05 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 06:16:05 2012] [error] [client someIP] Invalid method in request \x16\x03
[Fri Jun 22 06:16:05 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 06:14:05 2012] [error] [client someIP] Invalid method in request \x16\x03
[Fri Jun 22 06:14:05 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 06:14:05 2012] [error] [client someIP] Invalid method in request \x16\x03
[Fri Jun 22 06:14:05 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 06:14:07 2012] [error] [client someIP] Invalid method in request \x16\x03
[Fri Jun 22 06:14:07 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 06:14:07 2012] [error] [client someIP] Invalid method in request \x16\x03
[Fri Jun 22 06:14:07 2012] [error] [client someIP] File does not exist: /usr/local/apache/htdocs/501.shtml
[Fri Jun 22 06:14:13 2012] [error] [client someIP] Invalid method in request \x16\x03
"/usr/local/apache/logs/error_log" 110201L, 15801511C
- - - Updated - - -

A closer view of logs

where somename is the name of the account having the issue

Code:
[Sun Jun 24 20:32:10 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/moda, referer: [url=http://www.google.hr/url?sa=t&rct=j&q=kolekcija%20naf%20naf%20haljina&source=web&cd=3&sqi=2&ved=0CFMQFjAC&url=http%3A%2F%2Fwww.some-hr.com%2Fmoda%2Fnaf-naf-70-snizenje&ei=2lznT4TaF_GK4gSv7qyZAQ&usg=AFQjCNGtkE_kCFnMO9Dsw6fRkAu6K80TJQ]Preusmjeri Obavijest[/url]
[Sun Jun 24 20:32:10 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/404.shtml, referer: [url=http://www.google.hr/url?sa=t&rct=j&q=kolekcija%20naf%20naf%20haljina&source=web&cd=3&sqi=2&ved=0CFMQFjAC&url=http%3A%2F%2Fwww.some-hr.com%2Fmoda%2Fnaf-naf-70-snizenje&ei=2lznT4TaF_GK4gSv7qyZAQ&usg=AFQjCNGtkE_kCFnMO9Dsw6fRkAu6K80TJQ]Preusmjeri Obavijest[/url]
[Sun Jun 24 20:32:10 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/favicon.ico
[Sun Jun 24 20:32:10 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/404.shtml
[Sun Jun 24 20:32:10 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/favicon.ico
[Sun Jun 24 20:32:10 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/404.shtml
[Sun Jun 24 20:32:11 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/favicon.ico
[Sun Jun 24 20:32:11 2012] [error] [client someIP1] File does not exist: /home/somename/public_html/404.shtml
[Sun Jun 24 20:34:33 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/moda, referer: [url]http://www.google.hr/url?sa=t&rct=j&q=terranova%20pula&source=web&cd=1&ved=0CFkQFjAA&url=http%3A%2F%2Fwww.popusti-hr.com%2Fmoda%2Fterranova-hrvatska-snizenja-do-70%2F&ei=fF3nT7fzK5GM4gT3zJTTAQ&usg=AFQjCNEryxv2yQZhyc4oL5fCjp-stqvoRQ[/url]
[Sun Jun 24 20:34:33 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/404.shtml, referer: [url]http://www.google.hr/url?sa=t&rct=j&q=terranova%20pula&source=web&cd=1&ved=0CFkQFjAA&url=http%3A%2F%2Fwww.popusti-hr.com%2Fmoda%2Fterranova-hrvatska-snizenja-do-70%2F&ei=fF3nT7fzK5GM4gT3zJTTAQ&usg=AFQjCNEryxv2yQZhyc4oL5fCjp-stqvoRQ[/url]
[Sun Jun 24 20:34:34 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/favicon.ico
[Sun Jun 24 20:34:34 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/404.shtml
[Sun Jun 24 20:34:34 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/favicon.ico
[Sun Jun 24 20:34:34 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/404.shtml
[Sun Jun 24 20:34:35 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/favicon.ico
[Sun Jun 24 20:34:35 2012] [error] [client someIP2] File does not exist: /home/somename/public_html/404.shtml
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Could you clarify what the exact error message on the website is? Also, did you check for an error_log file within the account that displays the PHP script errors?

Thank you.
 

mojamoi

Well-Known Member
Jul 23, 2007
195
0
66
It looks the website is pointing to location default whm main IP

and not to location as a virtual host

Should I comment the lines pointing to apache main page

- - - Updated - - -

There is no php error
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Check to make sure the domain names resolves to the same IP address that it's assigned in Web Host Manager. Also, try rebuilding the Apache configuration file via:

Code:
/scripts/rebuildhttpdconf
Make sure you clear any browser and DNS cache on your computer before attempting to load the website.

Thank you.