Current time: 11-26-2024, 08:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Upgrade Problem on CentOS 5.4
Author Message
warcry Offline


Posts: 4
Joined: Dec 2009
Reputation: 0
Post: #5
RE: Upgrade Problem on CentOS 5.4
Hello everybody

I've experienced the same problems on Debian Lenny.
Can't locate File/MimeInfo/Magic.pm in @INC at ispcp-update line 53. -> apt-get install libfile-mimeinfo-perl -> SOLVED
Then received: Update ispCP database schema: [failed]

Could you tell me how to enable debug mode? -> found it
I tried to update a productive machine - reinstalling shouldn't be an option.

*Update*
I looked into the perl script and found whats probably the reason for the script to fail, /tmp/ispcp-update-database.log:
Code:
X-Powered-By: PHP/4.4.9^M
Content-type: text/html^M
^M
<br />
<b>Parse error</b>:  syntax error, unexpected T_OBJECT_OPERATOR in <b>/var/www/ispcp/engine/setup/updDB.php</b> on line <b>39</b><br />
I'm running one website on php4 and somehow $main::cfg{'CMD_PHP'} contains the path to the php4 executables.
After I fixed CMD_PHP in /etc/ispcp/ispcp.conf the database schema update worked, however now the script fails at "ispCP PHP (fastCGI modules configuration): [failed]".
Debug Output:
Code:
ispCP PHP (fastCGI modules configuration):DEBUG: push_el() sub_name: setup_php(), msg: Starting...
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: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), 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: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: ERROR: File '/etc/ispcp/apache/fastcgi_ispcp.conf' does not exist !
DEBUG: push_el() sub_name: exit_msg(), msg: Starting...
                          [failed]
/tmp/ispcp-update-services.log:
Code:
Stopping Courier IMAP-SSL server: imapd-ssl.

I'm updating from 1.0.2 to 1.0.3.

Kind regards
warcry
(This post was last modified: 12-21-2009 12:57 AM by warcry.)
12-20-2009 08:40 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Upgrade Problem on CentOS 5.4 - Feldi - 12-20-2009, 11:20 AM
RE: Upgrade Problem on CentOS 5.4 - bpratt - 12-20-2009, 12:13 PM
RE: Upgrade Problem on CentOS 5.4 - Feldi - 12-20-2009, 01:46 PM
RE: Upgrade Problem on CentOS 5.4 - warcry - 12-20-2009 08:40 PM
RE: Upgrade Problem on CentOS 5.4 - warcry - 12-21-2009, 04:53 AM
RE: Upgrade Problem on CentOS 5.4 - Nuxwin - 12-21-2009, 04:55 AM
RE: Upgrade Problem on CentOS 5.4 - warcry - 12-21-2009, 05:25 AM

Forum Jump:


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