ispCP - Board - Support
Upgrading from 1.0.7: ispCP Apache main vhost file: Failed - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Upgrading from 1.0.7: ispCP Apache main vhost file: Failed (/thread-12524.html)



Upgrading from 1.0.7: ispCP Apache main vhost file: Failed - I am new here - 12-26-2010 02:09 AM

Hi, I followed exactly the steps as described here: http://isp-control.net/documentation/start/upgrade/debian
But it gets stucked at:


* ispCP Apache main vhost file: [ Failed ]

[FATAL] An error occurred during update process!
Correct it and re-run this program.

Don't really know what to do now Sad

Thanks in Advance,

Tom


RE: Upgrading from 1.0.7: ispCP Apache main vhost file: Failed - racom - 12-26-2010 07:52 AM

Oh hai Tom, I'm new here too.

Quote:* ispCP Apache main vhost file: [ Failed ]

[FATAL] An error occurred during update process!
Correct it and re-run this program.

Don't really know what to do now Sad

I could be wrong since I'm doing this on FreeBSD, but hey.
What are the last lines of
Code:
cat /var/log/ispcp/setup/ispcp-setup.log
saying? (I'm not sure about the path, freebsd ain't debian)
And can you figure something out on this?

Like for example, I had a stop at setup when I did not have courier installed. Looked like:
#sys_command() | [ERROR] External command '/usr/local/sbin/makeuserdb' exited with value -1 !
...then I installed courier and passed this stage.

i.e. look at this thread:
http://isp-control.net/forum/thread-12462.html

Good Luck

racom


RE: Upgrading from 1.0.7: ispCP Apache main vhost file: Failed - I am new here - 12-26-2010 07:53 PM

Thanks for your reply, that are the last lines of ispcp-update.log:
Code:
sys_command()                  | Starting...
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/bin/cp -pf /etc/ispcp/apache/working/ispcp.conf /etc/apache2/sites-available/') | Ending...
sys_command()                  | Starting...
system()                       | [DEBUG] Module cgid already enabled
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/usr/sbin/a2enmod cgid') | Ending...
sys_command()                  | Starting...
system()                       | [DEBUG] Module rewrite already enabled
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/usr/sbin/a2enmod rewrite') | Ending...
sys_command()                  | Starting...
system()                       | [DEBUG] Module suexec already enabled
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/usr/sbin/a2enmod suexec') | Ending...
sys_command()                  | Starting...
system()                       | [DEBUG] ERROR: Site ispcp.conf not properly enabled: /etc/apache2/sites-enabled/ispcp.conf is a real file, not touching it
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 1
getCmdExitValue()              | Ending...
sys_command() | [ERROR] External command '/usr/sbin/a2ensite ispcp.conf' exited with value 1 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...
[/code]
And dome other lines:
Code:
getCmdExitValue()              | [DEBUG] External command exited with value 0
system()                       | [DEBUG] ERROR: Module php4 does not exist!
ERROR: Module php5 does not exist!
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] Module fastcgi_ispcp already disabled
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] Module fcgid_ispcp already enabled
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/usr/sbin/a2enmod fcgid_ispcp') | Ending...
sys_command()                  | Starting...
system()                       | [DEBUG] Module fastcgi already disabled
Module fcgid already disabled
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/usr/sbin/a2dismod fastcgi fcgid') | Ending...
setup_php()                    | Ending...
setup_httpd_main_vhost()       | Starting...
sys_command()                  | Starting...
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
Everything worked perfect before the Update, so i don't really understand the missing php5 or these things
Better to post the whole file?

Thanks for your help,

Tom


RE: Upgrading from 1.0.7: ispCP Apache main vhost file: Failed - nuno - 01-23-2011 02:15 AM

Hi, I have the same problem related to php4 and php5 mod, for months that I can't upgrade my ispcp, which is very sad, and nobody seems to want to answer, I have to think about whether I will continue with ispCP or not. There should be commercial support for some Urgent situations.

http://isp-control.net/forum/thread-12730.html
http://isp-control.net/forum/thread-12633.html


RE: Upgrading from 1.0.7: ispCP Apache main vhost file: Failed - I am new here - 02-21-2011 05:21 AM

Hi,
Now I completely reset (installed Debian again) the Server and installed ispCP again and it shows some Errors:
* ispCP Apache fastCGI modules configuration: [ Failed ]
System: Debian 64bit Vserver
newest ispcp version 1.0.7

LOG:
Code:
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
prep_tpl()                     | 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 -fp /etc/ispcp/cron.d/working/ispcp /etc/cron.d/') | Ending...
setup_crontab()                | Ending...
setup_named()                  | Starting...
sys_command()                  | Starting...
getCmdExitValue()              | Starting...
getCmdExitValue()              | [DEBUG] External command exited with value 0
getCmdExitValue()              | Ending...
sys_command('/bin/cp -p /etc/bind/named.conf /etc/ispcp/bind/backup/named.conf.system') | Ending...
get_file()                     | Starting...
get_file()                     | Ending...
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/bind/working/named.conf /etc/bind/named.conf') | Ending...
setup_named()                  | Ending...
setup_php()                    | Starting...
get_file()                     | Starting...
get_file()                     | Ending...
prep_tpl()                     | Starting...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
prep_tpl()                     | 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/fastcgi_ispcp.conf /etc/apache2/mods-available/') | Ending...
get_file()                     | Starting...
get_file()                     | Ending...
prep_tpl()                     | Starting...
repl_var()                     | Starting...
repl_tag()                     | Starting...
get_tag()                      | Starting...
get_tag()                      | Ending...
repl_tag()                     | Ending...
repl_tag()                     | Starting...
get_tag()                      | Starting...
repl_var()                     | Ending...
prep_tpl()                     | 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.conf /etc/apache2/mods-available/') | Ending...
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] Enabling module actions.
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/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...

Please, can anybody help me?

Thanks,

Tom

P.S. MAke a new Thread for that?