Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Our server has just been hacked few days ago, we made a complete backup of it, but, from that time, we get erros while trying to access our websites hosted on it : some times, everything works perfectly, and then when we refresh the page, we get an error message :

Internal server error

Where could that come from ?

Thanks

share|improve this question

closed as not constructive by EEAA, womble, mfinni, jscott, Zoredache Apr 5 '12 at 16:48

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

3  
You need to completely rebuild the server. See serverfault.com/questions/218005/…. –  Kyle Smith Apr 5 '12 at 15:13
1  
Read the logs, they'll tell you why it's erroring. –  womble Apr 5 '12 at 15:24
    
Ask the admin :-) –  mfinni Apr 5 '12 at 15:31
    
Please tell me you made a complete backup before you were hacked, because otherwise your backup cannot be trusted. –  Jeff Welling Apr 5 '12 at 16:26
    
Yes sure, the backuo seemed to be all right –  Miles M. Apr 5 '12 at 17:40

1 Answer 1

up vote 1 down vote accepted

Check the logs. The answer is there:

  • Apache Logs
  • Lighthttp logs: /var/log/lighttpd
  • Some nginx logs
  • Linux Logs:
    • /var/log/message
    • /var/log/auth.log
    • /var/log/kern.log
    • /var/log/secure
    • /var/log/yum.log
  • MySQL logs: /var/log/mysqld.log
share|improve this answer
    
Thanks that helps –  Miles M. Apr 5 '12 at 17:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.