What is the cause of 500/503 error in Apache/Mono? - apache

I have web services deployed in Apache/Mono server in my production. It is working fine, but sometimes it throws 500 error (internal server error) in my Apache log in a random manner (i.e. it throws this error irrespective of web service) and the consequent service calls after that throws 503(Service temp unavailable) error, which makes my Apache/Mono crash. I need to restart my Apache/mono to run the service.
So my questions are:
What is the cause of the 500 error (internal server error)?
What is the cause of the 503 error (server temp unavailable)?
Is this errors caused due to Memory overflow in server?
Is this problem due to Apache configuration problem or code problem?

Related

URL works fine from browser but from google plus we get a internal service error

The website URL works fine. The link from google maps on the phone works fine. For some reason when you google it in the browser (mobile browser or desktop) you get an Internal Service Error. Google said it was nothing on their end to be done.
Has anyone encountered this or have an idea of what's causing it? The error received is below.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache Server at www.thetechbuyer.com Port 80
As the error suggests, an Internal Server Error is internal to your webapp or web service on your host. It usually means that your program, whatever it is doing, has crashed. This could be because of misconfiguration, or a bug in your code, or something else - without knowing more (possibly a lot more) about your server environment, it is impossible to know what.
Check your server logs - they should have more information.
(It also isn't clear what this has to do with Google+.)

SSRS 403 forbidden from .NET application

We have a .NET application that is already working in a number of development and production environments. One part opens SSRS reports, one new server is giving me this error when it tries to run. I have double checked the installation of our application and done a bunch of troubleshooting including reinstalling SSRS. Any suggestions on how to troubleshoot further?
System.Web.HttpUnhandledException (0x80004005): Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
System.Net.WebException: The request failed with HTTP status 403:
Forbidden.

Phusion Passenger internal server error

I'm using Apache + Passenger on my Linode server, with a Postgresql-9.4 database. Every so often, I get the following error, but it is unpredictable and rights itself a few minutes later with no actions taken, so it is extremely hard to debug:
Internal server error
Phusion Passenger has listed more information about the error below.
An error occurred while starting the web application. It sent an unknown response type "".
Has anyone else run into an error like this, or know what it could imply?
Firstly go through this question, as it might solve your problem:
Passenger: internal server error
There are possible causes of problems listed here:
https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems

WCF and IIS error 500 when using diagnostics

I have problem with WCF on IIS when using diagnostics.
When I call the service I get the following error:
System.Net.WebException: The remote
server returned an error: (500)
Internal Server Error..
If I remove "system.diagnostics" section I dont get error 500 but I get an error
The requested service,
'http://localhost/CustomerServiceSite/Customer.svc'
could not be activated. See the
server's diagnostic trace logs for
more information..
Which obviously needs diagnostics to get fixed.
Any idea why diagnostics doesnt work?
Check event log on web server - http 500 should be logged there. Also check that Account running your AppPool in IIS has access rights to file used for diagnostics.
The diagnostics will write a trace file to disk - maybe the user account WCF/ASP.NET is running under doesn't have permissions to write the file.
If I opened my service in browser (http://localhost/CustomerServiceSite/Customer.svc) I have seen the whole error.
The problem was becouse I used NHibernate and Diagnostics in wrong way. Commenting NHibernate configuration solved my problem.

Apache Internal Server Error without log entry

Are there cases where the Apache2 HTTP Server responds with an internal server error (Response code 500), yet does NOT write an entry into the server's error log file?
I experience such a case and have no idea what's going on. I already checked that the server generally logs errors by requesting a badly formed php script.
Mismatching versions of php and php-mssql caused this.