Question

I´m getting a lot of 500 error pages in my sites and virtualmin goes very slow

Hi, I´m getting a lot of 500 error pages in my sites and virtualmin goes very slow

Contacted support and they asked for the last 25 lines in the Apache error log

here they are:

[Tue Oct 28 17:39:43 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/ [Tue Oct 28 17:39:43 2014] [error] [client 85.56.76.208] Premature end of script headers: admin.php, referer: http://binaire.payetongazon.fr/wp-admin/ [Tue Oct 28 17:40:55 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds [Tue Oct 28 17:40:55 2014] [error] [client 85.56.76.208] Premature end of script headers: admin.php [Tue Oct 28 17:42:49 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/admin.php?page=splogr [Tue Oct 28 17:42:49 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/admin.php?page=splogr [Tue Oct 28 17:57:52 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 17:57:52 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:01:12 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:01:12 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:06:47 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:06:47 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:10:01 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:10:01 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:12:49 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:12:49 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:24:47 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:24:47 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:30:45 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 18:30:45 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 19:13:02 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 19:13:02 2014] [error] [client 85.56.76.208] Premature end of script headers: admin-ajax.php, referer: http://binaire.payetongazon.fr/wp-admin/edit.php [Tue Oct 28 19:16:41 2014] [warn] [client 104.131.184.148] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected ‘<’ in /home/binaire/public_html/wp-config.php(27) : eval()'d code on line 1 [Tue Oct 28 19:18:54 2014] [warn] [client 85.56.76.208] mod_fcgid: read data timeout in 31 seconds [Tue Oct 28 19:18:54 2014] [error] [client 85.56.76.208] Premature end of script headers: index.php

and got this answer from them:

Your site appears to have a number of permissions errors and code-level syntactical errors. We recommend looking over the permissions.

Can someone help me fix this? Thanks :)


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Firstly, you shouldn’t contact support about issues with your software - the droplets are unmanaged.

Secondly, this line: [Tue Oct 28 19:16:41 2014] [warn] [client 104.131.184.148] modfcgid: stderr: PHP Parse error: syntax error, unexpected ‘<’ in /home/binaire/publichtml/wp-config.php(27) : eval()'d code on line 1

Suggests that you have been hacked. There should be no eval in wp-config.php.