Apache Error.log Script Not Found Or Unable To Start
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings apache not found or unable to stat and policies of this site About Us Learn more about Stack Overflow testproxy php not found or unable to stat the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges script not found or unable to stat /var/www/cgi-bin Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works:
Script '/var/www/html/index.php' Not Found Or Unable To Stat
Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error “not found or unable to stat” in apache logs, and difference in httpd.conf and site Document Roots up vote 3 down vote favorite I get many of these errors each day in my apache error log: [error] [client 127.0.0.1] script '/var/www/html/wp-cron.php' not script not found or unable to stat cgi-bin found or unable to stat and I'm wondering if it has something to with my httpd.conf, because my DocumentRoot is set as "/var/www/html" but my WordPress site(s) are in a top directory called httpdocs, not html. wp-cron.php exists, but it's in httpdocs, not html, and there is no html directory. There are multiple WordPress sites and domains on the VPS and at the IP. There are no other errors like that in the logs, and WordPress seems to run fine. But I want to fix these errors, as it's a bit of an extra load on the server. Is there a way to add a redirect or alias in httpd.conf so wp-cron.php can be found? Or this a different matter with a different solution? Edit: Found the answer; problem was hosts file entries: http://serverfault.com/questions/185954/hosts-file-entries-for-multiple-domains-on-vps apache-2.2 httpd alias share|improve this question edited Oct 17 '10 at 17:50 asked Sep 22 '10 at 19:17 markratledge 3123821 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote The DocumentRoot in httpd.conf is likely to be the default for any hosts not
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of script not found or unable to stat /var/www/cgi-bin/test-cgi this site About Us Learn more about Stack Overflow the company Business
Xmlrpc Php Not Found Or Unable To Stat
Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _
Testproxy.php Hack
Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody http://serverfault.com/questions/183725/error-not-found-or-unable-to-stat-in-apache-logs-and-difference-in-httpd-conf can answer The best answers are voted up and rise to the top script not found or unable to stat, one page and not others, same permissions up vote 0 down vote favorite It is a new installation (ubuntu 14.04), I copied several php files, they worked fine in other computer. The strange thing is almost all pages are showing right but with some of http://askubuntu.com/questions/509945/script-not-found-or-unable-to-stat-one-page-and-not-others-same-permissions them I get 404 Not Found. Error: [Mon Aug 11 14:46:58.581444 2014] [:error] [pid 12123] [client 172.18.0.36:55110] script '/var/www/garantias/imprimir_solicitud.php' not found or unable to stat From apache2.conf:
PM cmbelew 4 post(s) I'm having trouble seeing the testphp file I created and placed in the apache2/htdocs directory. Here's the error as it shows in https://bitnami.com/forums/forums/wampstack/topics/php-file-not-found-or-unable-to-start the log file: [Thu Oct 01 15:22:29 2009] [error] [client 127.0.0.1] script ‘C:/Program Files/BitNami WAMPStack/apache2/htdocs/phptest.php' not found or unable to stat I'm running on Windows XP SP 3. I created a test html page and it shows up just fine when I point to http://127.0.0.1/test.html. When I try and point to http://127.0.0.1/phptest.php, that's when I get the 404 error. Any tips or suggestions would be most not found appreciated. Thanks, Chris 02 Oct, 2009 06:59 AM Beltrán Rueda Administrator 3,714 post(s) Hi, That is strange, could you post your php script? Could you try to check this php file? 02 Oct, 2009 05:52 PM cmbelew 4 post(s) That is in fact the same script I used. Some additional info, I uninstalled Bitnami and tried XAMPP for Windows as a check not found or to try and isolate the issue. Well, same result. My test HTML file shows up fine but I get the same error when I try the testphp.php file using XAMPP. So, it is either something I'm doing wrong or something related to my particular machine I guess. Any ideas on some things I could try? Thanks again 02 Oct, 2009 05:54 PM cmbelew 4 post(s) oh one more thing, I did uninstall XAMPP and reinstall the Bitnami stack and still having issue. 05 Oct, 2009 06:45 AM Beltrán Rueda Administrator 3,714 post(s) Maybe it is a permission issue. Does the phptest.php script have administrator permissions? 06 Oct, 2009 02:31 AM cmbelew 4 post(s) hey sorry, rookie mistake. I created this test file in Notepad. Though I saved it as phptest.php, under file type I left as a .txt file instead of changing it to All Files type. Therefore, even though it was only showing as phptest.php, it was actually stored as phptest.php.txt, hence why I was getting the 404 error. I was pointing at a file name that did not exist. Thanks again for the help. 06 Oct, 2009 06:21 AM Beltrán Rueda Administ