Current time: 11-29-2024, 08:47 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] Web server keeps dying after upgrade to RC4
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #1
[Solved] Web server keeps dying after upgrade to RC4
after upgrade to RC4 website not responding....

DNS is fine, but apache seems not recognize or just hangs when trying to access a site,...

can anyone help..

Rob...
(This post was last modified: 06-06-2008 04:34 AM by robmorin.)
05-31-2008 02:37 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #2
RE: Urgent web server not working
sure. But without logs/errors or an ssh account nobody can help you...
05-31-2008 02:57 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #3
RE: Urgent web server not working
i found an issue with mysql restarted it and almost all is working now...

However i have a few sites that do not work, mostly drupal sites.. i see this in the error.log

[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1589): proxy: grabbed scoreboard slot 141 in child 23610 for worker http://localhost/stats/domain.com
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1608): proxy: worker http://localhost/stats/domain.com already initialized
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1672): proxy: initialized worker 141 in child 23610 for (localhost) min=0 max=25 smax=25
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/

Any help appreciated... keep in mind thsi was after an RC3 to RC4 upgrade done last night...

Thanks
Rob..
i need to go out for a bit i will be back in a bit

Zothos Wrote:sure. But without logs/errors or an ssh account nobody can help you...
05-31-2008 03:04 AM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #4
RE: Urgent web server not working
So after a very long weekend, of fixing this and that after my upgrade from rc3 to rc4, i think a few things should be added to the upgrade procedure faq or guideline.
I also think that a warning should be issued that when running the apt-get upgrade for Etch that apache prefork is removed and worker is installed thus removing libapache2-PHP4, thus breaking some web apps

i think just before the step that says to copy over /usr & /var there should be a note in there to remind folks that everything they might have customized like, zone files, webmail stuff, apache config stuff, and and anything in /etc/ispcp/* will be wiped out and notes and or backups should betaken, its never a bad idea to tell peole to backup many times in a step by step guide... Smile

Before running ispcp-update a note should be given stating how long it will take to do and once again warning any custom changes will be wiped out. I have a bit over 1000 mailboxes and about 20 domains and it took a little bit over an hour for the update script to finish...

These are not complaints but just suggestions i still love Omega! but i would not someone thinking upgrading is as easy as some folks seem it to be be. I guess if your running STOCK Omega and never make custom changes, your ok.

Last but no way least is it did break my Apache and i cannot find the issue, before i post a plethora of logs, i thought it best to ask which logs best to post, suexc.log and apache maybe?

My problem is apache sort of hangs every 60 mins or so. a ps shows apache still running but it does not answer any requests, a simple restart fixes everything..... so i did a cron to restart each 15 mins during the last weekend as i needed a break..

I figure it must be a fastcgi thing since prefork was replace with worker and fastcgi_ispcp.conf was replaced too...

Any ideas or what else should i look for...

Thanks...

robmorin Wrote:i found an issue with mysql restarted it and almost all is working now...

However i have a few sites that do not work, mostly drupal sites.. i see this in the error.log

[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1589): proxy: grabbed scoreboard slot 141 in child 23610 for worker http://localhost/stats/domain.com
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1608): proxy: worker http://localhost/stats/domain.com already initialized
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1672): proxy: initialized worker 141 in child 23610 for (localhost) min=0 max=25 smax=25
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/

Any help appreciated... keep in mind thsi was after an RC3 to RC4 upgrade done last night...

Thanks
Rob..
i need to go out for a bit i will be back in a bit

Zothos Wrote:sure. But without logs/errors or an ssh account nobody can help you...
06-02-2008 09:43 PM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #5
RE: Urgent web server not working
in apache logs of users i see lots of these, not sure if its normal, i have apache running in debug mode..

proxy: worker http://localhost/stats/domain.com already initialized
domain.com-error.log:[Mon Jun 02 04:12:28 2008] [debug] proxy_util.c(1672): proxy: initialized worker 136 in child 19787 for (localhost) min=0 max=25 smax=25


robmorin Wrote:So after a very long weekend, of fixing this and that after my upgrade from rc3 to rc4, i think a few things should be added to the upgrade procedure faq or guideline.
I also think that a warning should be issued that when running the apt-get upgrade for Etch that apache prefork is removed and worker is installed thus removing libapache2-PHP4, thus breaking some web apps

i think just before the step that says to copy over /usr & /var there should be a note in there to remind folks that everything they might have customized like, zone files, webmail stuff, apache config stuff, and and anything in /etc/ispcp/* will be wiped out and notes and or backups should betaken, its never a bad idea to tell peole to backup many times in a step by step guide... Smile

Before running ispcp-update a note should be given stating how long it will take to do and once again warning any custom changes will be wiped out. I have a bit over 1000 mailboxes and about 20 domains and it took a little bit over an hour for the update script to finish...

These are not complaints but just suggestions i still love Omega! but i would not someone thinking upgrading is as easy as some folks seem it to be be. I guess if your running STOCK Omega and never make custom changes, your ok.

Last but no way least is it did break my Apache and i cannot find the issue, before i post a plethora of logs, i thought it best to ask which logs best to post, suexc.log and apache maybe?

My problem is apache sort of hangs every 60 mins or so. a ps shows apache still running but it does not answer any requests, a simple restart fixes everything..... so i did a cron to restart each 15 mins during the last weekend as i needed a break..

I figure it must be a fastcgi thing since prefork was replace with worker and fastcgi_ispcp.conf was replaced too...

Any ideas or what else should i look for...

Thanks...

robmorin Wrote:i found an issue with mysql restarted it and almost all is working now...

However i have a few sites that do not work, mostly drupal sites.. i see this in the error.log

[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1589): proxy: grabbed scoreboard slot 141 in child 23610 for worker http://localhost/stats/domain.com
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1608): proxy: worker http://localhost/stats/domain.com already initialized
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1672): proxy: initialized worker 141 in child 23610 for (localhost) min=0 max=25 smax=25
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/

Any help appreciated... keep in mind thsi was after an RC3 to RC4 upgrade done last night...

Thanks
Rob..
i need to go out for a bit i will be back in a bit

Zothos Wrote:sure. But without logs/errors or an ssh account nobody can help you...
06-02-2008 11:19 PM
Find all posts by this user Quote this message in a reply
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #6
RE: Urgent web server not working
Woa!, 24 hours with no failure.....

After modifying the fastcgi conf file in /etc/apapche2/mods-enabled to what i had before the upgrade seemed to have fixed teh issue, well for the last 24 hours anyways... here is what i have in that file for anyone else that might have a similar issue....

#
# ispCP Ï (OMEGA) a Virtual Hosting Control System
#
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $ID$
# @link http://isp-control.net
# @author ispCP Team
#
# @license
# This program is free software; you can redistribute it and/or modify it under
# the terms of the MPL General Public License as published by the Free Software
# Foundation; either version 1.1 of the License, or (at your option) any later
# version.
# You should have received a copy of the MPL Mozilla Public License along with
# this program; if not, write to the Open Source Initiative (OSI)
# http://opensource.org | osi@opensource.org
#
################################################################################​

<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2


FastCgiConfig -minProcesses 30 \
-maxProcesses 300 \
-maxClassProcesses 10 \
-singleThreshold 100 \
-killInterval 60 \
-idle-timeout 300 \
-multiThreshold 80 \
-startDelay 5 \
-listen-queue-depth 400 \
-pass-header HTTP_AUTHORIZATION \


FastCgiServer /var/www/fcgi/master/php4-fcgi-starter -user vu2000 -group vu2000

#
# PHP4 SUPPORT
#

AddHandler php-fastcgi .php .php4

<Location /php4/php4-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>

Action php-fastcgi /php4/php4-fcgi-starter
AddType application/x-httpd-php .php .php4
</IfModule>

Have a good one....

Rob...

robmorin Wrote:in apache logs of users i see lots of these, not sure if its normal, i have apache running in debug mode..

proxy: worker http://localhost/stats/domain.com already initialized
domain.com-error.log:[Mon Jun 02 04:12:28 2008] [debug] proxy_util.c(1672): proxy: initialized worker 136 in child 19787 for (localhost) min=0 max=25 smax=25


robmorin Wrote:So after a very long weekend, of fixing this and that after my upgrade from rc3 to rc4, i think a few things should be added to the upgrade procedure faq or guideline.
I also think that a warning should be issued that when running the apt-get upgrade for Etch that apache prefork is removed and worker is installed thus removing libapache2-PHP4, thus breaking some web apps

i think just before the step that says to copy over /usr & /var there should be a note in there to remind folks that everything they might have customized like, zone files, webmail stuff, apache config stuff, and and anything in /etc/ispcp/* will be wiped out and notes and or backups should betaken, its never a bad idea to tell peole to backup many times in a step by step guide... Smile

Before running ispcp-update a note should be given stating how long it will take to do and once again warning any custom changes will be wiped out. I have a bit over 1000 mailboxes and about 20 domains and it took a little bit over an hour for the update script to finish...

These are not complaints but just suggestions i still love Omega! but i would not someone thinking upgrading is as easy as some folks seem it to be be. I guess if your running STOCK Omega and never make custom changes, your ok.

Last but no way least is it did break my Apache and i cannot find the issue, before i post a plethora of logs, i thought it best to ask which logs best to post, suexc.log and apache maybe?

My problem is apache sort of hangs every 60 mins or so. a ps shows apache still running but it does not answer any requests, a simple restart fixes everything..... so i did a cron to restart each 15 mins during the last weekend as i needed a break..

I figure it must be a fastcgi thing since prefork was replace with worker and fastcgi_ispcp.conf was replaced too...

Any ideas or what else should i look for...

Thanks...

robmorin Wrote:i found an issue with mysql restarted it and almost all is working now...

However i have a few sites that do not work, mostly drupal sites.. i see this in the error.log

[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1589): proxy: grabbed scoreboard slot 141 in child 23610 for worker http://localhost/stats/domain.com
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1608): proxy: worker http://localhost/stats/domain.com already initialized
[Fri May 30 12:55:18 2008] [debug] proxy_util.c(1672): proxy: initialized worker 141 in child 23610 for (localhost) min=0 max=25 smax=25
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:55:25 2008] [error] [client 69.196.5.28] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: comm with (dynamic) server "/var/www/fcgi/domain.com/php4-fcgi-starter" aborted: (first read) idle timeout (300 sec), referer: http://www.domain.com/
[Fri May 30 12:57:13 2008] [error] [client 69.196.6.212] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter", referer: http://www.domain.com/

Any help appreciated... keep in mind thsi was after an RC3 to RC4 upgrade done last night...

Thanks
Rob..
i need to go out for a bit i will be back in a bit

Zothos Wrote:sure. But without logs/errors or an ssh account nobody can help you...
06-05-2008 11:10 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)