ispCP - Board - Support
Update from 1.0.6 -> 1.0.7 = error - 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: Update from 1.0.6 -> 1.0.7 = error (/thread-12242.html)

Pages: 1 2


Update from 1.0.6 -> 1.0.7 = error - bsn - 11-25-2010 10:06 PM

Hello!
Update from 1.0.6 -> 1.0.7
I tried to update my ispcp server

getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command 'perl /var/www/ispcp/engine/ispcp-rqst-mngr norestart' exited with value 1 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...

How diagnose and resolve this problem?

Ubuntu 10.04


RE: Update from 1.0.6 -> 1.0.7 = error - ZiomekPL - 11-25-2010 10:22 PM

turn on debug mode in /etc/ispcp/ispcp.conf


RE: Update from 1.0.6 -> 1.0.7 = error - bsn - 11-25-2010 10:26 PM

I tried it
[DEBUG] pop_el() sub_name: sys_command(), msg: Starting...
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: Starting...
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 1
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: Ending...
[DEBUG] pop_el() sub_name: sys_command(), msg: [ERROR] External command 'perl /var/www/ispcp/engine/ispcp-rqst-mngr norestart' exited with value 1 !
[DEBUG] pop_el() sub_name: exit_msg(), msg: Starting...
[DEBUG] pop_el() sub_name: exit_msg(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Starting...
[DEBUG] pop_el() sub_name: del_file(), msg: Ending...
[DEBUG] pop_el() Empty 'EL' Stack !
I found where was the problem
In /var/log/ispcp/ispcp-rqst-mngr.el
/var/www/ispcp/engine/ispcp-sub-mngr | Detected orphan entry in table subdomain, subdomain_id: 6
get_el_error() | Ending...
get_file() | Ending...
get_file() | Starting...
get_el_error() | Starting...
getCmdExitValue() | Ending...
getCmdExitValue() | [DEBUG] External command exited with value 1

mysql> delete from subdomain where subdomain_id=6
And now it's all ok

Sorry!


RE: Update from 1.0.6 -> 1.0.7 = error - RatS - 11-25-2010 11:37 PM

There is no reason to be sorry, this can happen and maybe some of us knows the answer.

You can help us improving the error handling of the installation, if you want. We would be glad!


RE: Update from 1.0.6 -> 1.0.7 = error - Athar - 11-26-2010 03:45 AM

Got this problem, but if you could say the entire SQL command you did, I'm stuck, search the good way to do.

(Same problem)

Ok, I found the missing information^^
USE ispcp
and the ";" at the end of the line.

I have 2 empty table for the moment... is this normal?

FIXED: "Congratulations, you updated ispCP OMEGA'1.0.7 OMEGA' successfully!" and so, is this normal to have this issue?

For tour information:
The two line in MySQL database that is the problem.
"(4,6,'radio','/radio','change'),
(5,6,'motion','/motion','change'),"

Well, now it's ok Wink


RE: Update from 1.0.6 -> 1.0.7 = error - Alex4ispcp - 11-27-2010 02:43 AM

Hello,

I tried to update my ispcp server:

doSQL() | Ending...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
sys_command() | [ERROR] External command 'perl /var/www/ispcp/engine/ispcp-rqst-mngr norestart' exited with value 1 !
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...

And in ispcp-alssub-mngr.el

alssub_mngr_engine() | [ERROR] Unknown task type: ``!
alssub_mngr_engine() | Process all tasks for .
doHashSQL() | Ending...
doHashSQL() | Starting...
alssub_mngr_engine() | Starting...
alssub_mngr_start_up() | Ending...
del_file() | Ending...
del_file() | Starting...
del_file() | Ending...
del_file() | Starting...
del_file() | Ending...
del_file() | Starting...
getCmdExitValue() | Ending...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Starting...
sys_command_rs() | Ending...
sys_command_rs() | Starting...
alssub_mngr_start_up() | Starting...
get_conf() | Ending...
setup_main_vars() | Ending...
decrypt_db_password() | Ending...
decrypt_db_password() | Starting...
setup_main_vars() | Starting...
get_file() | Ending...
get_file() | Starting...
get_conf() | Starting...

How resolve this problem?

Thanks !


RE: Update from 1.0.6 -> 1.0.7 = error - flotix - 11-30-2010 01:12 PM

I have the same problem...

In ispcp-rqst-mngr.el
Quote:del_file() | Ending...
del_file() | Starting...
del_file() | Ending...
del_file() | Starting...
sys_command() | [ERROR] External command '/var/www/ispcp/engine/ispcp-dmn-mngr 33 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' exited $
getCmdExitValue() | Ending...
getCmdExitValue() | [DEBUG] External command exited with value 126
getCmdExitValue() | Starting...
sys_command() | Starting...
doHashSQL() | Ending...
doHashSQL() | Starting...
mngr_engine_process() | Starting...
mngr_engine() | Starting...
mngr_start_up() | Ending...
del_file() | Ending...
del_file() | Starting...
lock_system() | Ending...
lock_system() | Starting...
mngr_start_up() | Starting...
get_conf() | Ending...
setup_main_vars() | Ending...
decrypt_db_password() | Ending...
decrypt_db_password() | Starting...
setup_main_vars() | Starting...
get_file() | Ending...
get_file() | Starting...
get_conf() | Starting...

A solution? :/


RE: Update from 1.0.6 -> 1.0.7 = error - kilburn - 12-01-2010 03:00 AM

Alex4ispcp Wrote:alssub_mngr_engine() | [ERROR] Unknown task type: ``!
alssub_mngr_engine() | Process all tasks for .

Look for any alias with an empty "status" field in the ispcp's aliases table (using phpmyadmin or the mysql console client). Change its status to "change" (without the quotes) and relaunch the update.

flotix Wrote:sys_command() | [ERROR] External command '/var/www/ispcp/engine/ispcp-dmn-mngr 33 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' exited $
... and what does the /var/log/ispcp/ispcp-dmn-mngr.stderr file contain?


RE: Update from 1.0.6 -> 1.0.7 = error - flotix - 12-01-2010 03:25 AM

sh: /var/www/ispcp/engine/ispcp-dmn-mngr: Permission non accordée

So, i put a permission on this file, no other?
Thanks a lot, it's working Smile


RE: Update from 1.0.6 -> 1.0.7 = error - theprincy - 12-02-2010 02:26 AM

i have the same problem but not resolve
Code:
[DEBUG] pop_el() sub_name: mngr_engine_process(), msg: processing 131, gimaservice-snc.com, change.
[DEBUG] pop_el() sub_name: doHashSQL(), msg: Ending...
[DEBUG] pop_el() sub_name: doHashSQL(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_engine_process(), msg: processing type dmn.
[DEBUG] pop_el() sub_name: mngr_engine_process(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_engine(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_start_up(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Starting...
[DEBUG] pop_el() sub_name: lock_system(), msg: Ending...
[DEBUG] pop_el() sub_name: lock_system(), msg: Starting...
[DEBUG] pop_el() sub_name: mngr_start_up(), msg: Starting...
[DEBUG] pop_el() sub_name: get_conf(), msg: Ending...
[DEBUG] pop_el() sub_name: setup_main_vars(), msg: Ending...
[DEBUG] pop_el() sub_name: decrypt_db_password(), msg: Ending...
[DEBUG] pop_el() sub_name: decrypt_db_password(), msg: Starting...
[DEBUG] pop_el() sub_name: setup_main_vars(), msg: Starting...
[DEBUG] pop_el() sub_name: get_file(), msg: Ending...
[DEBUG] pop_el() sub_name: get_file(), msg: Starting...
[DEBUG] pop_el() sub_name: get_conf(), msg: Starting...
[DEBUG] pop_el() Empty 'EL' Stack !
[DEBUG] push_el() sub_name: mngr_shut_down(), msg: Starting...
[DEBUG] push_el() sub_name: mngr_shut_down(), msg: Ending...
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: Starting...
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: [DEBUG] External command exited with value 1
[DEBUG] pop_el() sub_name: getCmdExitValue(), msg: Ending...
[DEBUG] pop_el() sub_name: sys_command(), msg: [ERROR] External command 'perl /var/www/ispcp/engine/ispcp-rqst-mngr norestart' exited with value 1 !
[DEBUG] pop_el() sub_name: exit_msg(), msg: Starting...
[DEBUG] pop_el() sub_name: exit_msg(), msg: Ending...
[DEBUG] pop_el() sub_name: del_file(), msg: Starting...
[DEBUG] pop_el() sub_name: del_file(), msg: Ending...
[DEBUG] pop_el() Empty 'EL' Stack !


/var/log/ispcp/ispcp-dmn-mngr.stderr 0 byte