apache and php strangeness

Johan Booysen johan at matrix-data.co.uk
Tue Oct 16 15:46:51 UTC 2007

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


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] 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.


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 at redhat.com?subject=unsubscribe

More information about the redhat-list mailing list