httpd dead but pid file exists
-
@scottalanmiller said in httpd dead but pid file exists:
Apache without the workload
Not sure how I would achieve this. I must have missed this comment
-
@wirestyle22 said in httpd dead but pid file exists:
@scottalanmiller said in httpd dead but pid file exists:
Apache without the workload
Not sure how I would achieve this. I must have missed this comment
You remove the conf file that points to whatever application you are trying to host.
-
@scottalanmiller said in httpd dead but pid file exists:
@wirestyle22 said in httpd dead but pid file exists:
@scottalanmiller said in httpd dead but pid file exists:
Apache without the workload
Not sure how I would achieve this. I must have missed this comment
You remove the conf file that points to whatever application you are trying to host.
Right I'm having trouble locating it. Been looking for awhile. I'm going to try to talk to one of the developers tomorrow when they are here
-
It is apache. It has known config locations that cannot just be changed.
/etc/httpd/conf/httpd.conf
for starters.Even back in RHEL 4 (yes this is still a live server I just made the screenshot from).
-
@JaredBusch Wouldn't this be apache related, but actually php?
oci8.so
is what I'm trying to comment out somewhere -
@wirestyle22 said in httpd dead but pid file exists:
@scottalanmiller said in httpd dead but pid file exists:
@wirestyle22 said in httpd dead but pid file exists:
@scottalanmiller said in httpd dead but pid file exists:
Apache without the workload
Not sure how I would achieve this. I must have missed this comment
You remove the conf file that points to whatever application you are trying to host.
Right I'm having trouble locating it. Been looking for awhile. I'm going to try to talk to one of the developers tomorrow when they are here
Jared provided the location. /etc/httpd/ has all the Apache config files.
-
@wirestyle22 said in httpd dead but pid file exists:
@JaredBusch Wouldn't this be apache related, but actually php?
oci8.so
is what I'm trying to comment out somewhereNo, it is not. That's a C library. Start with what we are talking about... disabling the workload. Ignore the shared libraries, I think you are getting stuck in the weeds. Yes, the errors might be related to that, but likely you have a bigger problem.
-
Everytime I search for
oci8
, the results say something about PHP and Oracle. -
Yeah, looks like the Oracle DB client is installed.
-
backup the file
sudo cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
the pop it in
vi
/nano
and look for not default things.also rename anything in
/etc/httpd/conf.d
sudo mv /etc/httpd/conf.d/wtf.conf /etc/httpd/conf.d/wtf.conf.bak
then restart apache
sudo service stop httpd sudo service start httpd
In fact, I would rename anything in
conf.d
first, and restart. -
Assuming that doesn't work, then you can do the same with the
php.ini
-
@JaredBusch said in httpd dead but pid file exists:
backup the file
sudo cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
the pop it in
vi
/nano
and look for not default things.also rename anything in
/etc/httpd/conf.d
sudo mv /etc/httpd/conf.d/wtf.conf /etc/httpd/conf.d/wtf.conf.bak
then restart apache
sudo service stop httpd sudo service start httpd
In fact, I would rename anything in
conf.d
first, and restart.I put in a change request for this. Thanks
-
@JaredBusch said in httpd dead but pid file exists:
In fact, I would rename anything in conf.d first, and restart.
You could do something like this...
mv conf.d conf.d.orig
mkdir conf.dThat way you have an empty folder, but can replace it with the old one in a snap all at once.