Current time: 12-25-2024, 11:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ispcp-update from ispcp-omega-trunk-20091207
Author Message
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #1
ispcp-update from ispcp-omega-trunk-20091207
Ubuntu 8.0.4
Update from ispcp-omega-trunk-20091207 to ispcp-omega-trunk-20091215
When I make step 12 (Start the engine update: # sudo perl ispcp-update)
I have Fatal error: ispCP PHP (fastCGI modules configuration):[failed]

Listing:
ispCP main configuration file
Loading old ispCP configuration file: [done]
Update ispCP configuration file: [done]
ispCP database
Update ispCP database schema: [done]
Rebuilding all service configuration files [done]
ispCP BIND main configuration file: [done]

ispCP PHP (fastCGI modules configuration): [failed]
FATAL: An error was occured during update process!
Correct it and re-run this program.

You can find help at http://isp-control.net/forum
12-15-2009 08:27 PM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #2
RE: ispcp-update from ispcp-omega-trunk-20091207
Hello ;

Please, can you say me what is the fastCGI module you use ? fastcgi or fcgid ?

And please, edit your /etc/ispcp/ispcp.conf and change the value :

Code:
DEBUG = 0
to
Code:
DEBUG = 1

After that, re-run the script and send us the output.

Cheers ;
12-15-2009 11:46 PM
Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #3
RE: ispcp-update from ispcp-omega-trunk-20091207
I use fcgid_ispcp
I don't have file /etc/ispcp/apache/fastcgi_ispcp.conf
I have /etc/apache2/mods-available/fastcgi_ispcp.conf

Full listing
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]
12-16-2009 03:00 AM
Find all posts by this user Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #4
RE: ispcp-update from ispcp-omega-trunk-20091207
Sorry

I forgot to do the command
cp Makefile.ubuntu Makefile
12-16-2009 04:14 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #5
RE: ispcp-update from ispcp-omega-trunk-20091207
Re ;

First, have you run the" make" process before run the ispcp-update script ?

Normally, the new version of the file 'fastcgi_ispcp.conf' who's provided by ispCP is copied from the package into the "/tmp/ispcp/etc/ispcp/apache" directory during the "make" process :

configs/ubuntu/apache/Makefile file:
Code:
...

    # Ubuntu 7.04?
    if [ $(RELEASE) = 'feisty' ] ; then \
        cp ./fastcgi2.conf $(SYSTEM_CONF)/apache/fastcgi_ispcp.conf ; \
    else \
        cp ./fastcgi.conf $(SYSTEM_CONF)/apache/fastcgi_ispcp.conf ; \
    fi
    cp ./fcgid_ispcp.conf $(SYSTEM_CONF)/apache/fcgid_ispcp.conf
...

And after, you must copy all content of directory "/tmp/ispcp/etc" in your directory "/etc" as described in the INSTALL file :

docs/Ubuntu/INSTALL file:
Code:
5) Update
.....
10. Backup ispcp.conf and copy the /etc directory into your system (you may make backups):
    # sudo mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf
    # sudo cp -Rv /tmp/ispcp/etc/* /etc/
...

So, if the file doesn't exist, we have three possible explaination :

1. You haven't executed the "make" process and you haven't copied the directories in your root system files before run the script ispcp-update ;
or
2. For Ubuntu, the file copy fails during the make process ;
or
3. After the make process, you've forgot to copy the directory "/tmp/ispcp/etc" in your root system files as indicated in the INSTALL file.


Since I do not know the real nature of your problem, I suggest you simply copy manually the file "fastcgi.conf" or "fastcgi2.conf" ( depending of your Ubuntu CodeName ) from ispCP package in "/etc/ispcp/apache/fastcgi_ispcp.conf" and re-execute the script "/var/www/ispcp/engine/setup/ispcp-update".


Cheers ;
(12-16-2009 04:14 AM)bsn Wrote:  Sorry

I forgot to do the command
cp Makefile.ubuntu Makefile

Re ;

hey hey, OK

Please, mark this post as SOLVED
12-16-2009 04:34 AM
Quote this message in a reply
bsn Offline
Junior Member
*

Posts: 32
Joined: Feb 2009
Reputation: 0
Post: #6
RE: ispcp-update from ispcp-omega-trunk-20091207
Thanks for answer.
In file docs/Ubuntu/INSTALL change please:
5) Update
.....
6. Stop the ispcp_deamon and build the System by using make:
....
change # sudo make install on # sudo make -f Makefile.ubuntu install
12-16-2009 05:07 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #7
RE: ispcp-update from ispcp-omega-trunk-20091207
Done : http://www.isp-control.net/ispcp/changeset/2388
12-16-2009 05:24 AM
Quote this message in a reply
Post Reply 


Forum Jump:


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