Page 3 of 3
Re: New software update for BUBBA|TWO
Posted: 07 Jul 2009, 11:31
by asparak
[quote="robeam"]I wish it were that simple...
Code: Select all
Stopping web server (apache2)...httpd (no pid file) not running
.
A[/quoute]
looks like the port is still active, so you have an orphan process. use ps to look for the rogue service and kill it
Re: New software update for BUBBA|TWO
Posted: 07 Jul 2009, 11:50
by robeam
Code: Select all
PID TTY TIME CMD
2719 pts/0 00:00:00 su
2720 pts/0 00:00:00 bash
4504 pts/0 00:00:00 ps
With every step I am leaving my comfort zone with this. It should have been a simple system upgrade...
Re: New software update for BUBBA|TWO
Posted: 07 Jul 2009, 11:55
by asparak
robeam wrote:Code: Select all
PID TTY TIME CMD
2719 pts/0 00:00:00 su
2720 pts/0 00:00:00 bash
4504 pts/0 00:00:00 ps
With every step I am leaving my comfort zone with this. It should have been a simple system upgrade...
Sorry, I know not everyone is comfortable with CLI work.
try
Re: New software update for BUBBA|TWO
Posted: 07 Jul 2009, 12:16
by robeam
Code: Select all
root 2811 2775 0 16:16 pts/1 00:00:00 grep httpd
Re: New software update for BUBBA|TWO
Posted: 07 Jul 2009, 12:35
by carl
robeam wrote:I wish it were that simple...
Code: Select all
Stopping web server (apache2)...httpd (no pid file) not running
.
A
There can be a zombie process that has prevented sucessful shutdown of apache;
First check running process with following command:
Code: Select all
ps f -C php5-cgi,apache2 -o comm,pid,ppid
If you get any output except the header, then it means an apache/php5-cgi process is still running
An example output would be:
Code: Select all
bubba:/home/test# ps f -C php5-cgi,apache2 -o comm,pid,ppid
COMMAND PID PPID
apache2 8468 1
\_ apache2 8469 8468
\_ apache2 8493 8468
\_ apache2 8494 8468
\_ apache2 8495 8468
\_ apache2 8496 8468
\_ apache2 8497 8468
\_ apache2 19436 8468
\_ apache2 19439 8468
\_ apache2 19441 8468
\_ apache2 19442 8468
\_ apache2 19540 8468
php5-cgi 2196 1
\_ php5-cgi 2221 2196
\_ php5-cgi 2223 2196
bubba:/home/test#
Above is how it normally can look; But if it doesn't you can try killing of the processes:
Will kill (the hard way by signal 9) all apache2 processes. If any apache2 process are still visible after that command, then try doing the same for php5-cgi.
when they've all been killed, (re)start them using:
Code: Select all
/etc/init.d/apache2 start
/etc/init.d/bubba-adminphp start
/Carl
Re: New software update for BUBBA|TWO
Posted: 07 Jul 2009, 13:11
by robeam
Fixed, the upgrade had added a second line in the apache config to Listen 443, so apache was trying to bind the port twice.
Thanks all for help
Re: New software update for BUBBA|TWO
Posted: 10 Jul 2009, 05:42
by carl
robeam wrote:Fixed, the upgrade had added a second line in the apache config to Listen 443, so apache was trying to bind the port twice.
Thanks all for help
This was strange; Nothing we have encountered during testing. Can you tell me what file this happened in and on what line?