Jump to content

Server crashing - something with .htaccess


Recommended Posts

Posted

... on CentOS 5, don't know anything about it, it worked like a clock till a few weeks ago.

Here is error log, anyone know what do I do? There is no .htaccess file in this directory error is appearing in, should I create it?

[Tue Dec 10 08:56:15 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:15 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:20 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:20 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:34 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:34 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:37 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:37 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:39 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:39 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:45 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:56:45 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:11 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:11 2013] [crit] [client 150.70.172.125] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:12 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:12 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:20 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:20 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:22 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:22 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:24 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:24 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:35 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:57:35 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:59:17 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 08:59:17 2013] [crit] [client 150.70.172.106] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 09:05:31 2013] [crit] [client 150.70.173.39] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 09:05:32 2013] [crit] [client 150.70.173.39] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 11:45:09 2013] [crit] [client 201.168.144.59] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 11:45:09 2013] [crit] [client 201.168.144.59] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 14:15:06 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:06 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:06 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 10 14:15:07 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:07 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:07 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
[Tue Dec 10 15:21:46 2013] [error] [client 94.142.131.20] request failed: error reading the headers
[Tue Dec 10 15:21:45 2013] [error] [client 185.33.34.27] request failed: error reading the headers
[Tue Dec 10 15:21:50 2013] [error] [client 37.8.128.66] request failed: error reading the headers
[Tue Dec 10 15:22:07 2013] [error] [client 46.118.127.49] request failed: error reading the headers
[Tue Dec 10 15:22:15 2013] [error] [client 93.143.39.82] request failed: error reading the headers
[Tue Dec 10 18:00:42 2013] [crit] [client 162.243.24.35] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 18:00:42 2013] [crit] [client 162.243.24.35] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 18:08:25 2013] [notice] caught SIGTERM, shutting down
[Tue Dec 10 18:09:17 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:17 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:17 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 10 18:09:18 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:18 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:18 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
Posted

main directory permissions changing will cause this, system can't check for htaccess

Hey, thank you for your reply!

So, I need to change permissions of mentioned var/www directory to 755 or something? Don't think 777 will be allowed, suPHP says no :smile:

I the meantime, it has crashed again, omg. I will hit it with a baseball bat.

Posted

755 usually works but its been so long since I used suphp I forget for sure.

bigger question is what changed to cause this.

if your folder permission or folder OWNER got changed it would cause this, then the question is who and why was it changed.

Posted

Take a look at the other errors in this log too. It points as to saying that your server name isn't the same as what it is on your RSA certificate.

[Tue Dec 10 14:15:06 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:06 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:06 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 10 14:15:07 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:07 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 14:15:07 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 DAV/2 configured -- resuming normal operations
[Tue Dec 10 15:21:46 2013] [error] [client 94.142.131.20] request failed: error reading the headers
[Tue Dec 10 15:21:45 2013] [error] [client 185.33.34.27] request failed: error reading the headers
[Tue Dec 10 15:21:50 2013] [error] [client 37.8.128.66] request failed: error reading the headers
[Tue Dec 10 15:22:07 2013] [error] [client 46.118.127.49] request failed: error reading the headers
[Tue Dec 10 15:22:15 2013] [error] [client 93.143.39.82] request failed: error reading the headers
[Tue Dec 10 18:00:42 2013] [crit] [client 162.243.24.35] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 18:00:42 2013] [crit] [client 162.243.24.35] (13)Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Dec 10 18:08:25 2013] [notice] caught SIGTERM, shutting down
[Tue Dec 10 18:09:17 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:17 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:17 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 10 18:09:18 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Dec 10 18:09:18 2013] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...