Re: [CentOS] weird apache issue

2014-03-07 Thread Cliff Pratt
Does the same issue arise if the restart is split into a stop and start? My thinking is that the stop IS working, but is taking longer than the script expects, so the stop step fails when the program checks the PID to see if it has shutdown properly. Then when the start happens the Apache has not c

Re: [CentOS] weird apache issue

2014-03-07 Thread Les Mikesell
On Fri, Mar 7, 2014 at 5:37 AM, Tim Dunphy wrote: > > Not really sure how to interpret that, unfortunately. > > > However looked for the pid file for apache and noticed that it DOESN'T > EXIST! > > [root@beta:~] #ls -l /var/run/httpd/ > total 0 > > > Well, that would explain why the init script is

Re: [CentOS] weird apache issue

2014-03-07 Thread Tony Mountifield
In article , Tim Dunphy wrote: > ok thanks for the tip! > > So I did a netstat as you suggested and this is what I found: > > [root@beta:~] #netstat -natp | grep 80 > tcp0 0 0.0.0.0:80080.0.0.0:* > LISTEN 2354/python2.6 > tcp0 0 0.0.0.0:8010

Re: [CentOS] weird apache issue

2014-03-07 Thread Tim Dunphy
ok thanks for the tip! So I did a netstat as you suggested and this is what I found: [root@beta:~] #netstat -natp | grep 80 tcp0 0 0.0.0.0:80080.0.0.0:* LISTEN 2354/python2.6 tcp0 0 0.0.0.0:80100.0.0.0:* LISTEN 8198/python2.6 tcp

Re: [CentOS] weird apache issue

2014-03-07 Thread Tony Mountifield
In article , Tim Dunphy wrote: > Hey guys, > > Well it took a little while for me to be able to reproduce this. It seems > that this problem is intermittent and sporadic. > > But I tried running a sh -x /etc/init.d/httpd restart command once I > reallized I had another incident of this and this

Re: [CentOS] weird apache issue

2014-03-07 Thread Tim Dunphy
Hey guys, Well it took a little while for me to be able to reproduce this. It seems that this problem is intermittent and sporadic. But I tried running a sh -x /etc/init.d/httpd restart command once I reallized I had another incident of this and this is what I saw as the output: + . /etc/rc.d/i

Re: [CentOS] weird apache issue

2014-03-04 Thread Les Mikesell
On Tue, Mar 4, 2014 at 3:42 PM, Tim Dunphy wrote: > Hey thanks for the input! > > Are you sure all the instances were started by the stock initscript >> initially ... it sounds like something is killing or creating apache >> instances that are in /var/run/httpd/ >> That normally happens if httpd i

Re: [CentOS] weird apache issue

2014-03-04 Thread Tim Dunphy
Hey thanks for the input! Are you sure all the instances were started by the stock initscript > initially ... it sounds like something is killing or creating apache > instances that are in /var/run/httpd/ > That normally happens if httpd is started manually by another script or > user process rath

Re: [CentOS] weird apache issue

2014-03-03 Thread Johnny Hughes
On 03/03/2014 05:01 PM, Johnny Hughes wrote: > On 03/03/2014 03:28 PM, Tim Dunphy wrote: >> Hey all, >> >> I'm having a little bit of a weird issue on my web host. I was just >> wondering if anyone's seen anything like this before. >> >> The problem is that you can't seem to restart apache via the

Re: [CentOS] weird apache issue

2014-03-03 Thread Johnny Hughes
On 03/03/2014 03:28 PM, Tim Dunphy wrote: > Hey all, > > I'm having a little bit of a weird issue on my web host. I was just > wondering if anyone's seen anything like this before. > > The problem is that you can't seem to restart apache via the stock init > script that comes with apache: > > [root

Re: [CentOS] weird apache issue

2014-03-03 Thread Les Mikesell
On Mon, Mar 3, 2014 at 3:28 PM, Tim Dunphy wrote: > Hey all, > > I'm having a little bit of a weird issue on my web host. I was just > wondering if anyone's seen anything like this before. > > The problem is that you can't seem to restart apache via the stock init > script that comes with apache:

[CentOS] weird apache issue

2014-03-03 Thread Tim Dunphy
Hey all, I'm having a little bit of a weird issue on my web host. I was just wondering if anyone's seen anything like this before. The problem is that you can't seem to restart apache via the stock init script that comes with apache: [root@beta:~] #service httpd restart Stopping httpd: