Current time: 04-20-2024, 08:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] Update error 1.0.3 --> 1.0.4
Author Message
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #1
[Solved] Update error 1.0.3 --> 1.0.4
Hi to everybody.

I try upgrade my system but y get errror in the rebuilding customer configuration.

Stopping Services:......... [done]

ispCP main configuration file
Loading old ispCP configuration file: [done]
Update ispCP configuration file: [done]
Check ispCP configuration file: [done]

ispCP database
Update ispCP database schema: [done]

Rebuilding all service configuration files
ispCP Crontab file: [done]
ispCP BIND main configuration file: [done]
ispCP PHP (fastCGI modules configuration): [done]
ispCP Apache main vhost file: [done]
ispCP Apache AWStats vhost file: [done]
ispCP Postfix configuration files: [done]
ispCP Courier-Authentication: [done]
ispCP ProFTPd configuration file: [done]
ispCP init scripts: [done]

Rebuilding all GUI configuration files
ispCP GUI BIND configuration: [done]
ispCP GUI fastCGI/PHP configuration: [done]
ispCP GUI vhost file: [done]
ispCP PMA configuration file: [done]

Rebuilding all customer configuration files
Please wait, this may take some time: [failed]


FATAL: An error was occured during update process!
Correct it and re-run this program.

Any idea??

Thx in advanced


I acetivated the debug in the ispcp.conf and I get the next result in the zone with the problem.

Rebuilding all customer configuration files
Please wait, this may take some time:DEBUG: push_el() sub_name: rebuild_customers_cfg(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: exit_msg(), msg: Starting...
[failed]


FATAL: An error was occured during update process!
Correct it and re-run this program.


That's the logs from /tmp

/tmp# cat ispcp-update-customers.log

/tmp# cat ispcp-update-database.log

/tmp# cat ispcp-update-services.log
This site is already enabled!

Only the service logs have information

Thx in advanced
(This post was last modified: 03-02-2010 10:56 PM by sfera.)
03-02-2010 07:18 PM
Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #2
RE: Update error 1.0.3 --> 1.0.4
Any idea? , I have the panel control qith out access, and I get the webs working starting apache with a few modification in the httpd.conf. But when 1 user try to access tu de control panel get errors..

Thx in davanced
03-02-2010 09:20 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: #3
RE: URGENT Update error 1.0.3 --> 1.0.4
With the debugging enabled, execute:
Code:
/etc/init.d/ispcp_daemon stop
perl /var/www/ispcp/engine/ispcp-rqst-mngr
/etc/init.d/ispcp_daemon start

And paste us the output please.
03-02-2010 09:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #4
RE: URGENT Update error 1.0.3 --> 1.0.4
(03-02-2010 09:45 PM)kilburn Wrote:  With the debugging enabled, execute:
Code:
/etc/init.d/ispcp_daemon stop
perl /var/www/ispcp/engine/ispcp-rqst-mngr
/etc/init.d/ispcp_daemon start

And paste us the output please.


/root # /etc/init.d/ispcp_daemon stop
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon/sbin/start-stop-daemon: warning: failed to kill 11708: No such process
.


/root # perl /var/www/ispcp/engine/ispcp-rqst-mngr
DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 34, elrincondelboina, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-sub-mngr 34 1>/var/log/ispcp/ispcp-sub-mngr.stdout 2>/var/log/ispcp/ispcp-sub-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 35, elrincondelboina, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-sub-mngr 35 1>/var/log/ispcp/ispcp-sub-mngr.stdout 2>/var/log/ispcp/ispcp-sub-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 0 ), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...


/root # /etc/init.d/ispcp_daemon start
Starting ispCP GUI-Backend communication Daemon: ispcp_daemon.
03-02-2010 09:56 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: #5
RE: URGENT Update error 1.0.3 --> 1.0.4
Everything looks fine here :S I'm out of ideas... is your panel working right now?
03-02-2010 10:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #6
RE: URGENT Update error 1.0.3 --> 1.0.4
No working good.

First apache dont start, i try start manually and get this error :

ks202641:/var/www/ispcp/engine/setup# /etc/init.d/apache2 start
Starting web server (apache2)...Syntax error on line 45 of /etc/apache2/mods-enabled/fcgid_ispcp.conf:
Invalid command 'MaxRequestsPerProcess', perhaps misspelled or defined by a module not included in the server configuration
failed!

I modify the file and commet the line 45 "
/etc/apache2/mods-enabled/fcgid_ispcp.conf 500" and restart apache and now start fine.

Now when I try access or make some action in the control panel I get this error :

Warning: Directory /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 777 in /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 160

Warning: Directory /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 777 in /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 160

Warning: Directory /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 777 in /var/www/ispcp/gui/include/htmlpurifier/HTMLPurifier/DefinitionCache/Serializer.php on line 160

I try chmod 777 for the file and for the folder but i have the same error.

Any idea?
03-02-2010 10:25 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: URGENT Update error 1.0.3 --> 1.0.4
chmod 777 is not a good idea.
since apache/php should run with user privileges, the rights should stay only for user vu2000.

But if you run php with mod_php, then maybe chmod 777 is the only option.

try to run set-gui-permissions from the engine/setup folder.

And search the forum about "MaxRequestsPerProcess" - ithink we had this (line 45) somewhere...

/J
03-02-2010 10:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sfera Offline
Junior Member
*

Posts: 129
Joined: Oct 2008
Reputation: 0
Post: #8
RE: URGENT Update error 1.0.3 --> 1.0.4
Ok I run the set-gui-permission and solved the problemas with the permissions.

For the MaxRequestsPerProcess the only solution is upgrade, but is impossible for me, becouse is a production machine, I comment the line and working.

Thx for all
03-02-2010 10:55 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)