Current time: 04-20-2024, 04:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Author Message
tgolisz Offline


Posts: 1
Joined: Dec 2010
Reputation: 0
Post: #1
Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Hi, during the update panel from version 1.0.6 to 1.0.7 installed on Debian Lenny get an error: FastCGI modules ispcp Apache configuration failed. Please help in resolving the problem.
12-02-2010 09:50 AM
Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #2
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Same error myself...
(mine however started with a botched update (didn't properly update the release-'lsp' section)

had to re-hash mysql then hit the same error as you... factcgi argh...

update.log output below:
sys_command('/bin/cp -pf /etc/ispcp/apache/working/fastcgi_ispcp.load /etc/apac$
get_file() | Starting...
get_file() | Ending...
store_file() | Starting...
setfmode() | Starting...
setfmode() | Ending...
store_file() | Ending...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/bin/cp -pf /etc/ispcp/apache/working/fcgid_ispcp.load /etc/apache$
sys_command() | Starting...
system() | [DEBUG] ERROR: Module php4 does not exist!
Module php5 already disabled
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command '/usr/sbin/a2dismod p$
sys_command() | Starting...
system() | [DEBUG] Module actions already enabled
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/usr/sbin/a2enmod actions') | Ending...
sys_command() | Starting...
[DEBUG] ERROR: Module php4 does not exist!system() | [DEB$
Run '/etc/init.d/apache2 restart' to activate new configuration!
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/usr/sbin/a2dismod fastcgi_ispcp') | Ending...
sys_command() | Starting...

system() | [DEBUG] ERROR: Config file fcgid_ispcp.conf not properly enabled: /etc/apache2/mods-enabled/fcgid_ispcp.conf is a real not touching it
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command '/usr/sbin/a2enmod fc$
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...



(12-02-2010 09:50 AM)tgolisz Wrote:  Hi, during the update panel from version 1.0.6 to 1.0.7 installed on Debian Lenny get an error: FastCGI modules ispcp Apache configuration failed. Please help in resolving the problem.
(This post was last modified: 12-03-2010 04:12 PM by viperiii.)
12-03-2010 04:02 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #3
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Does
Code:
/usr/sbin/a2enmod fcgid_ispcp
works soletary?
12-03-2010 06:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
falkon Offline
Junior Member
*

Posts: 11
Joined: Dec 2010
Reputation: 0
Post: #4
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Same error (Update ispcp 1.0.2 to 1.0.7)
ispCP Apache fastCGI modules configuration: [ Failed ]

log:
.........
.........
.........

get_file() | Starting...
get_file() | Ending...
store_file() | Starting...
setfmode() | Starting...
setfmode() | Ending...
store_file() | Ending...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/bin/cp -pf /etc/ispcp/apache/working/fcgid_ispcp.load /etc/apache2/mods-available/') | Ending...
sys_command() | Starting...
system() | [DEBUG] ERROR: Module php4 does not exist!
ERROR: Module php5 does not exist!
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command '/usr/sbin/a2dismod php4 php5' exited with value 1 !
sys_command() | Starting...
system() | [DEBUG] Module actions already enabled
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/usr/sbin/a2enmod actions') | Ending...
sys_command() | Starting...
system() | [DEBUG] ERROR: Module fastcgi_ispcp does not exist!
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command '/usr/sbin/a2dismod fastcgi_ispcp' exited with value 1 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...

server:~# /usr/sbin/a2enmod fcgid_ispcp
Module fcgid_ispcp already enabled
(This post was last modified: 12-03-2010 09:26 PM by falkon.)
12-03-2010 09:23 PM
Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #5
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Delete the files in the folder /mods-enabled and create symbolic links from the folder /mods-aviable
12-03-2010 11:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #6
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
ah, now I got it:
Quote:[DEBUG] ERROR: Config file fcgid_ispcp.conf not properly enabled: /etc/apache2/mods-enabled/fcgid_ispcp.conf is a real not touching it

in mods-enabled should be only symlinks. Don't know why you have a real file there.if you delete it, a2enmod is working again. Does not look like an ispCP error. We always used a2{en|dis}mod
12-04-2010 12:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #7
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
humm... think I should have waited for a few responses...

tried restoring from a backup and found my backup is flaky.... now really not happy...

first run of upgrade failed with a perl needing some updates...
second run went further but failed because it was trying to recover the ispcp.conf which it failed to do properly.
Had to change the mysql password - actually just re-hash it sounds like - used same password.
then failed at apache modules where I got posted error...

didn't make sense as this has always been an ispcp install and has upgraded fine every time... started as an etch server and was updated to lenny for the 1.0.5 / 6 series.

now looking at how I can utilize and run the configs and backups that work...

/var/www/ispcp/backups/ copied the two that were good config and sql into subfolder >


copied the good files primarily ispcp.conf and ispcp.old.conf back to /etc/ispcp and now errors even earlier


ispCP database
* Update ispCP database schema: [ Done ]

Rebuilding all services configuration files
* ispCP system resolver: [ Failed ]


[ERROR] Unable to found your resolv.conf file!

sys_command('/bin/bash preinst upgrade') | Ending...
preinst() | Ending...
update_database_schema() | Starting...
get_file() | Starting...
get_file() | Ending...
sys_command_rs() | Starting...
system() | [DEBUG] PHP Warning: PHP Startup: Unable to l$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/200606$

[INFO]: ispCP database update succeeded!

sys_command_rs() | Ending...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
update_database_schema() | Ending...

setup_services_cfg() | Starting...
setup_resolver() | Starting...
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...

it looks as though its almost working!!!! just failing on some random piece...

okay... almost got it now....

replaced ispcp.conf with good one and re-ran entire upgrade process...

went much further

also renamed the real fcgi file to .old to get that out of the way...

this time failed on updating client blah...


sys_command() | [ERROR] External command 'perl /var/www/ispcp/engine/ispcp-rqst-mngr norestart' exited with value 1 !

so I think I'm getting somewhere now...
going to enable debug and see what happens this time...
(This post was last modified: 12-04-2010 01:21 AM by viperiii.)
12-04-2010 12:58 AM
Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #8
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Rebuilding all customers configuration files:

Think I found it via this thread....
http://isp-control.net/forum/thread-1156...l#pid87024

problem:

select * from `mail_users` where not exists (select `subdomain_id` from `subdomain` where `subdomain`.`subdomain_id` = `mail_users`.`sub_id`) and `sub_id` != 0

I have several emails that are orphaned... because I disabled email for the domains... (don't use it)

domain ID affected 3,30,26

3 from each... all the other tables from that check come clean... just trying to figure out how to remove these records...

found that using

delete from mail_users mailid=offending numbers worked fine...
used domain_id and deleted too many I think.. whoops...
(This post was last modified: 12-04-2010 02:07 AM by viperiii.)
12-04-2010 02:00 AM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #9
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
I hope you get your installation to work. Something was screwed up on your server that has nothing directly to do with our setup. I wish you good luck.
12-04-2010 07:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #10
RE: Update ispcp 1.0.6 to 1.0.7 problem with fastCGi - Debian Lenny
Nothing directly... hummm....

hopefully I have my restore working...

about 5 hours in this time and looking much better like the restore should be good...

However... the changes I recently made in 1.0.6 look like what caused the other issues...

I disabled by default mail creation on standard hosting package that I had previously created...

this in turn didn't cleanly remove existing emails accounts it looks like...

but still I can't quite blame ispcp because
I STILL DIDN"T FOLLOW DIRECTIONS!!!!!!

at least I got a full backup! Even if it takes 8 hours to restore it back I have a full backup!

Just wish it had saved the vmx snapshot that it took before backing up the site... then it would be a 5-10 min restore...

will make sure I do snapshot on next attept at upgrade for sure!!!
12-04-2010 09:03 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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