I guess my question was a bit vague to start off with... I've trawled through the logs before, but this time noticed the following straight away: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set. These two sites have recently been moved from RHEL3 (where I got exactly the same behaviour) to RHEL5. I guess it's possible that the ORACLE_HOME environment variable doesn't get set by the time Apache starts up, after a reboot...that may explain it. Thanks. -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of David Richards Sent: 16 October 2007 16:34 To: General Red Hat Linux discussion list Subject: Re: apache and php strangeness have you checked the logs to see why it is happening? You will get more information from the logs. david Johan Booysen wrote: > I have a strange problem that I haven't been able to solve: > > We have 2 internal web sites (developed using PHP) running on a RHEL5 server. Each and every time, without fail, when the server is rebooted, you browse to those sites and get a 500 Internal Server Error message. The only way I've found that "fixes" it on the short term is to do: > > killall httpd > apachectl -k restart > > A regular "service httpd restart" doesn't do the trick. > > Can anyone perhaps give me a clue as why this might be? It's not a huge problem and those sites aren't mission-critical, but it would be nice to know why I'm getting this behaviour. > > Thanks very much. > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list