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


Post Reply 
Update from 1.0.6 -> 1.0.7 = error
Author Message
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #1
Update from 1.0.6 -> 1.0.7 = error
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
11-25-2010 10:06 PM
Find all posts by this user Quote this message in a reply
ZiomekPL Offline
Junior Member
*

Posts: 20
Joined: Apr 2010
Reputation: 0
Post: #2
RE: Update from 1.0.6 -> 1.0.7 = error
turn on debug mode in /etc/ispcp/ispcp.conf
11-25-2010 10:22 PM
Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #3
RE: Update from 1.0.6 -> 1.0.7 = error
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!
(This post was last modified: 11-25-2010 10:54 PM by bsn.)
11-25-2010 10:26 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: #4
RE: Update from 1.0.6 -> 1.0.7 = error
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!
(This post was last modified: 11-25-2010 11:37 PM by RatS.)
11-25-2010 11:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Athar Offline
Junior Member
*

Posts: 71
Joined: Sep 2009
Reputation: 0
Post: #5
RE: Update from 1.0.6 -> 1.0.7 = error
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
(This post was last modified: 11-26-2010 05:21 AM by Athar.)
11-26-2010 03:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Alex4ispcp Offline


Posts: 1
Joined: Nov 2010
Reputation: 0
Post: #6
RE: Update from 1.0.6 -> 1.0.7 = error
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 !
11-27-2010 02:43 AM
Find all posts by this user Quote this message in a reply
flotix Offline
Junior Member
*

Posts: 28
Joined: Jan 2009
Reputation: 0
Post: #7
RE: Update from 1.0.6 -> 1.0.7 = error
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? :/
11-30-2010 01:12 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: Update from 1.0.6 -> 1.0.7 = error
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?
12-01-2010 03:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
flotix Offline
Junior Member
*

Posts: 28
Joined: Jan 2009
Reputation: 0
Post: #9
RE: Update from 1.0.6 -> 1.0.7 = error
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
(This post was last modified: 12-01-2010 04:02 AM by flotix.)
12-01-2010 03:25 AM
Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #10
RE: Update from 1.0.6 -> 1.0.7 = error
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
12-02-2010 02:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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