Apache problems
Bill Shirley
bshirley at memphis.apirx.biz
Wed Jan 29 15:20:14 UTC 2014
On 1/24/2014 7:18 AM, Roger wrote:
> Using Fedora 19, Drupal, PHP, ruby, Rails, etc.fully updated.
>
> Apache died again for me today and I do not understand why. It has not
> done this for some time.
> I develop in Drupal, and Rails 4 mainly.
> I have a test index.html file in /var/www/html all the drupal apps
> also in /var/www/html/ no index.php files outside the drupal directories.
>
> All was good yesterday but today I get errors indicating that apache
> has failed, I think.
>
> mysql is running, info.php shows all ok with Apache2.0 handler
>
> When I run index.html or other files, it sends that file to
> /Download, which is getting quite annoying. I don't want files sent
> to /Download. Haven't figured out what's causing this.
>
> Run localhost/sandbox, a drupal testbed I get: The website encountered
> an unexpected error. Please try again later.
> PDOException: SQLSTATE[HY000] [1045] Access denied for user
> 'meuser'@'localhost' (using password: YES) in lock_may_be_available()
> (line 167 of /var/www/html/sandbox/includes/lock.inc)
>
This is a MySQL connection error where you're using the wrong password
for 'meuser'@'localhost'.
(snip)
>
> tail httpd_error_log
> [Fri Jan 24 22:01:17.180653 2014] [core:notice] [pid 3752] AH00094:
> Command line: '/usr/sbin/httpd -D FOREGROUND'
> [Fri Jan 24 22:01:33.467519 2014] [:error] [pid 3754] [client
> 127.0.0.1:46846] script '/var/www/html/index.php' not found or unable
> to stat
> [Fri Jan 24 22:04:42.165557 2014] [:error] [pid 3753] [client
> 127.0.0.1:46847] script '/var/www/html/index.php' not found or unable
> to stat
> [Fri Jan 24 22:22:43.448619 2014] [:error] [pid 3761] [client
> 127.0.0.1:47205] script '/var/www/html/index.php' not found or unable
> to stat
>
> Do not understand why it's looking for index.php this could be
> something in /etc/httpd/conf/httpd.conf - but what?
>
The directory default file to serve is controlled by the DirectoryIndex
directive in /etc/httpd/conf/httpd.conf, your VirtualHost, and/or
.htaccess file.
Hope this helps,
Bill
More information about the users
mailing list