Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th January 2012, 06:16
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default Problem with Httpd directory

This is strange. I am using the latest version of ISPConfig 3 (3.0.4?) Anyhow, on my very slightly older servers that are using the EXACT same Linux distro, I had white screens on website launch and all httpd error_log showed:

file not found in /var/www/html/ All I had to do to fix this on the other servers running exactly the same everything is place an empty index.html file in the directory file manager like so:

/var/www/html/index.html This fixed the problem in the past right away. No go now. I am not getting any other error except this for httpd.

Hope someone has a solution? Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 5th January 2012, 09:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,003 Times in 3,912 Posts
Default

1) Post the exact error messages as they appear in the log file.

2) The directory /var/www/html/ is not used on a ispconfig server. If you get a error message for that directory, then either the domain in the website settings ois wrong or you selected the wrong IP address for the domain, so that apache could not find the correct vhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th January 2012, 14:54
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Till,

Here is the latest snippet of the httpd error log. Posting only a bit as it gets redundant from here. The IP situation I don't quite understand. I have a family of 5 WAN IPs, all the same except ending in 146 - 150. Two other boxes are duplicate set-ups with the same router and DMZ running and they were fine after I created the dummy index.html in the /var/www/html directory. Anyway, here it is. Hope you can help. Thanks

[Thu Jan 05 03:44:54 2012] [error] [client 180.76.5.170] File does not exist: /var/www/html/ca
[Thu Jan 05 03:44:54 2012] [error] [client 66.249.71.201] File does not exist: /var/www/html/bg
[Thu Jan 05 03:44:57 2012] [error] [client 66.249.71.201] File does not exist: /var/www/html/mk
[Thu Jan 05 03:45:03 2012] [error] [client 31.222.129.165] File does not exist: /var/www/html/feed
[Thu Jan 05 03:45:12 2012] [error] [client 180.76.5.51] File does not exist: /var/www/html/ca
[Thu Jan 05 03:45:12 2012] [error] [client 66.249.71.201] File does not exist: /var/www/html/ca
[Thu Jan 05 03:45:24 2012] [error] [client 50.16.86.196] File does not exist: /var/www/html/2011
[Thu Jan 05 03:45:24 2012] [error] [client 66.249.71.201] File does not exist: /var/www/html/da
[Thu Jan 05 03:45:30 2012] [error] [client 180.76.5.172] File does not exist: /var/www/html/ca
[Thu Jan 05 03:45:30 2012] [error] [client 66.249.71.201] File does not exist: /var/www/html/ca
[Thu Jan 05 03:45:31 2012] [error] [client 84.95.241.30] script '/var/www/html/xmlrpc.php' not found or unable to stat
[Thu Jan 05 03:45:32 2012] [error] [client 84.95.241.30] script '/var/www/html/wp-login.php' not found or unable to stat
[Thu Jan 05 03:45:32 2012] [error] [client 84.95.241.30] script '/var/www/html/wp-login.php' not found or unable to stat, referer: http://thebestpublishers.com/wp-login.php
[Thu Jan 05 03:45:32 2012] [error] [client 69.147.240.67] File does not exist: /var/www/html/2011, referer: http://www.truthdig.com/eartothegrou..._rose_in_2008/
[Thu Jan 05 03:45:32 2012] [error] [client 84.95.241.30] File does not exist: /var/www/html/submit-articles
[Thu Jan 05 03:45:32 2012] [error] [client 84.95.241.30] File does not exist: /var/www/html/about
[Thu Jan 05 03:45:33 2012] [error] [client 84.95.241.30] File does not exist: /var/www/html/wp-admin
[Thu Jan 05 03:45:33 2012] [error] [client 84.95.241.30] File does not exist: /var/www/html/author-panel
Reply With Quote
  #4  
Old 5th January 2012, 15:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,003 Times in 3,912 Posts
Default

These lines are from bots scanning your server and these attempts were blocked correctly, so these are no errors, theys linies indicate that your server correctly denied access to non existing directories.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 5th January 2012, 17:57
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Hey Till,

I think you may be missing something here...probably should have explained. You'll see in the error logs for httpd:

file not found /var/www/html/wp-admin

There is a wordpress site on this server which gets a white screen and I have before been able to initiate wp-admin to reactivate a theme. Not the case here. The site will not launch because something is not leading it to the correct file path. These are not all bots...only some. Do you see what I mean? There are two live WordPress site, both of which are installed perfectly (I have installed at least 500 or so wp sites in my life). So there is another issue here. Any suggestions?

Thanks.
Reply With Quote
  #6  
Old 5th January 2012, 18:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,647
Thanks: 794
Thanked 5,003 Times in 3,912 Posts
Default

1) Look in the error.log of the affected website, not the global error.log.

2) Is the IP address 84.95.241.30 your IP while you accessed the wordpress site, then see my post #2:

Quote:
2) The directory /var/www/html/ is not used on a ispconfig server. If you get a error message for that directory, then either the domain in the website settings ois wrong or you selected the wrong IP address for the domain, so that apache could not find the correct vhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 5th January 2012, 18:33
midcarolina midcarolina is offline
Senior Member
 
Join Date: Jul 2011
Posts: 254
Thanks: 1
Thanked 5 Times in 5 Posts
 
Default

the ispconfig site httpd error.log is empty, but I know I am using the correct IP. There is no doubt at all. I just checked this again for posterity...it's fine.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 09:53
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 10:37
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
Install Problem... roy_wiz678@yahoo.com.ph Installation/Configuration 2 15th July 2006 13:19
Install Error on Debian 3.1 planet_fox Installation/Configuration 4 25th June 2006 17:03


All times are GMT +2. The time now is 05:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.