ispCP - Board - Support
ispcp-update from ispcp-omega-trunk-20091207 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: ispcp-update from ispcp-omega-trunk-20091207 (/thread-8776.html)



ispcp-update from ispcp-omega-trunk-20091207 - bsn - 12-15-2009 08:27 PM

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


RE: ispcp-update from ispcp-omega-trunk-20091207 - Nuxwin - 12-15-2009 11:46 PM

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 ;


RE: ispcp-update from ispcp-omega-trunk-20091207 - bsn - 12-16-2009 03:00 AM

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]


RE: ispcp-update from ispcp-omega-trunk-20091207 - bsn - 12-16-2009 04:14 AM

Sorry

I forgot to do the command
cp Makefile.ubuntu Makefile


RE: ispcp-update from ispcp-omega-trunk-20091207 - Nuxwin - 12-16-2009 04:34 AM

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


RE: ispcp-update from ispcp-omega-trunk-20091207 - bsn - 12-16-2009 05:07 AM

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


RE: ispcp-update from ispcp-omega-trunk-20091207 - Nuxwin - 12-16-2009 05:24 AM

Done : http://www.isp-control.net/ispcp/changeset/2388