Title: Server error
Last modified: August 20, 2016

---

# Server error

 *  Resolved [annu.rigved@gmail.com](https://wordpress.org/support/users/annurigvedgmailcom/)
 * (@annurigvedgmailcom)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/)
 * The website encountered an error while retrieving [http://mandir.co/](http://mandir.co/).
   It may be down for maintenance or configured incorrectly.
 * Here are some suggestions:
    Reload this webpage later.
 * **HTTP Error 500 (Internal Server Error)**: An unexpected condition was encountered
   while the server was attempting to fulfill the request.
 * this problem is coming in my website, and can’t figure out why ?
    Please help.
   Thank you

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [xlancealotx](https://wordpress.org/support/users/xlancealotx/)
 * (@xlancealotx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469749)
 * 500 has a bunch of reasons, do you have access to the weblogs?
 * If so, post the last few entries in the server’s/websites -error.log and that
   will be a huge help.
 *  Thread Starter [annu.rigved@gmail.com](https://wordpress.org/support/users/annurigvedgmailcom/)
 * (@annurigvedgmailcom)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469752)
 * My website is hosted on Amazon cloud service. Where can I find weblogs ?
 *  [xlancealotx](https://wordpress.org/support/users/xlancealotx/)
 * (@xlancealotx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469757)
 * in linux you can ssh into the server using any ssh client and the pem security
   file. From there, you can do the following;
 * **sudo su
    cd /var/log/apache2 ls -l |grep error  (that will show you all your
   error files). Not sure if there broken by host name, etc. Once you know what 
   file you want, you can do;
 * **tail -n 20 filename** and it will spit out a bunch of stuff.
 * Now on Windows, simply RDP into the box, goto windows explorer, navigate to the
   IIS logs and take the latest one. Haven’t used windows in a while, but normally
   there under c:\inetpub\logs\logfiles. From there you may have a few folders based
   on how many vhosts you have, but look around in there, you will find them.
 * That should be enough to get you started …
 *  Thread Starter [annu.rigved@gmail.com](https://wordpress.org/support/users/annurigvedgmailcom/)
 * (@annurigvedgmailcom)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469760)
 * Yeah I have SSH access. Let me try this out.
 *  Thread Starter [annu.rigved@gmail.com](https://wordpress.org/support/users/annurigvedgmailcom/)
 * (@annurigvedgmailcom)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469767)
 * Yeah, I got all the error log files on SSH client, now what should be my next
   step, Please ? Shall I remove these files or what ?
 *  [xlancealotx](https://wordpress.org/support/users/xlancealotx/)
 * (@xlancealotx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469784)
 * since you have access to the box, I would simply do this. Goto the apache2 log
   folder.
 * Type** tail -f \*error\***. That will show a few things, hit enter a few times
   to clear the screen a bit.
 * Then in a browser, hit that URL. Something should be written to that error log
   immediately with your IP, the time and the error. You could also look at the 
   other error logs you have there, but might as well start with the current one.
 * Post back the error and we can probably get it fixed once we know what’s wrong.
 *  Thread Starter [annu.rigved@gmail.com](https://wordpress.org/support/users/annurigvedgmailcom/)
 * (@annurigvedgmailcom)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469790)
 * Yeah, I got the error. There was something “<” in my function.php file in line
   236, it showed me this. let me fix this first.
    If it doesn’t work, will get 
   back to you.
 * Thank you so much buddy.. 🙂
 *  [xlancealotx](https://wordpress.org/support/users/xlancealotx/)
 * (@xlancealotx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469792)
 * Cool. .. Glad things worked out.
 *  Thread Starter [annu.rigved@gmail.com](https://wordpress.org/support/users/annurigvedgmailcom/)
 * (@annurigvedgmailcom)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469796)
 * It works..
    Thank you.. 🙂
 *  [xlancealotx](https://wordpress.org/support/users/xlancealotx/)
 * (@xlancealotx)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469798)
 * Great … have a good one 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Server error’ is closed to new replies.

## Tags

 * [server-error](https://wordpress.org/support/topic-tag/server-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [xlancealotx](https://wordpress.org/support/users/xlancealotx/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/server-error-22/#post-3469798)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
