Apache problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

I have checked:
 /etc/hosts
/etc/httpd/conf/httpd.conf
.htaccess in /var/www/html. Don't know why drupal needed a.htaccess in /var/www/html so I renamed it temporarily but that did not help.
Nothing seems to have changed.

The only other thing I have done is install AngularJS and NodeJS yesterday afternoon to have a go at Angular web development. I have working AngularJS files in /var/www/html/Stuff/ and each has it's own .htaccess file. but Angular does not rely on apache as I understand it. I had altered the .htaccessfile in the AngularJS file.

Yesterday I was swapping between Drupal, AngularJS and Rails and each worked.

Checking my system I have stopped apache then enabled and started apache, have cold rebooted.
journalctl -xn shows:
-- Logs begin at Sat 2013-07-06 16:12:11 EST, end at Fri 2014-01-24 22:51:40 EST. -- Jan 24 22:49:08 localahost kernel: perf samples too long (5006 > 5000), lowering kernel.perf_event_max_sample_rate to 25000 Jan 24 22:50:07 localahost gnome-session[1975]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct. Jan 24 22:50:07 localahost gnome-session[1975]: Window manager warning: Got a request to focus 0x2000027 (Database c) with a timestamp of 0. This shouldn't happen! Jan 24 22:50:10 localahost dbus-daemon[527]: dbus[527]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' Jan 24 22:50:10 localahost dbus[527]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jan 24 22:50:11 localahost systemd[1]: Starting Hostname Service...
-- Subject: Unit systemd-hostnamed.service has begun with start-up
-- Defined-By: systemd

Unit systemd-hostnamed.service has begun starting up.
Jan 24 22:50:11 localahost systemd[1]: Started Hostname Service.
-- Subject: Unit systemd-hostnamed.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit systemd-hostnamed.service has finished starting up.
--
-- The start-up result is done.
Jan 24 22:50:11 localahost dbus-daemon[527]: dbus[527]: [system] Successfully activated service 'org.freedesktop.hostname1' Jan 24 22:50:11 localahost dbus[527]: [system] Successfully activated service 'org.freedesktop.hostname1' Jan 24 22:51:40 localahost gnome-session[1975]: Window manager warning: last_focus_time (5567071) is greater than comparison timestamp (5567070). This most likely represents a buggy client sending inaccurate timestamps in messages
~

 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?

Can someone please advise me in fixing this apache issue more permanently.
thank you in advance
Roger

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux