New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

New software update for BUBBA|TWO

Announcements of all software releases for Excito products
asparak
Posts: 173
Joined: 08 Jun 2009, 07:38

Re: New software update for BUBBA|TWO

Post 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
robeam
Posts: 2
Joined: 02 Jun 2009, 18:47

Re: New software update for BUBBA|TWO

Post 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...
asparak
Posts: 173
Joined: 08 Jun 2009, 07:38

Re: New software update for BUBBA|TWO

Post 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

Code: Select all

ps -ef | grep httpd 
robeam
Posts: 2
Joined: 02 Jun 2009, 18:47

Re: New software update for BUBBA|TWO

Post by robeam »

Code: Select all

root      2811  2775  0 16:16 pts/1    00:00:00 grep httpd
carl
Posts: 474
Joined: 07 May 2008, 04:41

Re: New software update for BUBBA|TWO

Post 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:

Code: Select all

pkill -9 apache2
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
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
robeam
Posts: 2
Joined: 02 Jun 2009, 18:47

Re: New software update for BUBBA|TWO

Post 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
carl
Posts: 474
Joined: 07 May 2008, 04:41

Re: New software update for BUBBA|TWO

Post 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?
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Post Reply