![]() |
All kinds of problems after Upgrading to 1.0.2 - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: All kinds of problems after Upgrading to 1.0.2 (/thread-7923.html) Pages: 1 2 |
All kinds of problems after Upgrading to 1.0.2 - Gymnogyp - 09-22-2009 07:36 AM Ok, after upgrading from 1.0.0 to 1.0.2 I have been having all sorts of problems. I managed to get the FTP problems fixed, but I started getting errors when loading Apache... Syntax error on line 34 of /etc/apache2/mods-enabled/fastcgi_ispcp.conf: FastCgiServer: "/etc/apache2/{PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter" stat(/etc/apache2/{PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter) failed: No such file or directory I followed the directions on the this thread: http://www.isp-control.net/forum/thread-7612.html?highlight=PHP_STARTER_DIR But, now all of my sites are still not loading but instead they are asking me to DOWNLOAD "application/x-httpd-php" Here is an example website: http://shauntastic.com I am running Debian Lenny. Everything was working fine before the update. HELP! PLEASE! RE: All kinds of problems after Upgrading to 1.0.2 - joximu - 09-22-2009 07:48 AM Please look for a working version of this file fastcgi_ispcp.conf or - this is important - replace all {...} with the correct values: {PHP_VERSION} = 5 {PHP_STARTER_DIR} = /var/www/fcgi Hopefully you have backups of the former files - maybe there are more with not replaced placeholders... /J RE: All kinds of problems after Upgrading to 1.0.2 - Gymnogyp - 09-22-2009 08:53 AM I have a fastcgi_ispcp.conf file and all {...} have been replaced with {PHP_VERSION} = 5 {PHP_STARTER_DIR} = /var/www/fcgi Here is my fastcgi_ispcp.conf file; # # ispCP ω (OMEGA) a Virtual Hosting Control System # # @copyright 2006-2008 by ispCP | http://isp-control.net # @version SVN: $Id$ # @link http://isp-control.net # @author ispCP Team # # @license # This program is free software; you can redistribute it and/or modify it under # the terms of the MPL General Public License as published by the Free Software # Foundation; either version 1.1 of the License, or (at your option) any later # version. # You should have received a copy of the MPL Mozilla Public License along with # this program; if not, write to the Open Source Initiative (OSI) # http://opensource.org | osi@opensource.org # ################################################################################ <IfModule mod_fastcgi.c> FastCgiWrapper On FastCgiIpcDir /var/lib/apache2/fastcgi FastCgiConfig -minProcesses 1 \ -maxProcesses 400 \ -maxClassProcesses 5 \ -multiThreshold 80 \ -killInterval 60 \ -startDelay 5 # -singleThreshold 100 \ # -autoUpdate \ # -pass-header HTTP_AUTHORIZATION FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -id$ # # PHP5 SUPPORT # AddHandler php-fastcgi .php .php5 <Location /php5/php5-fcgi-starter> FastCgiIpcDir /var/lib/apache2/fastcgi FastCgiConfig -minProcesses 1 \ -maxProcesses 400 \ -maxClassProcesses 5 \ -multiThreshold 80 \ -killInterval 60 \ -startDelay 5 # -singleThreshold 100 \ # -autoUpdate \ # -pass-header HTTP_AUTHORIZATION FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} -id$ # # PHP5 SUPPORT # AddHandler php-fastcgi .php .php5 <Location /php5/php5-fcgi-starter> SetHandler fastcgi-script Options +ExecCGI </Location> Action php-fastcgi /php5/php5-fcgi-starter AddType application/x-httpd-php .php .php5 </IfModule> Now, I am getting the following error when restarting apache; Restarting web server: apache2apache2: bad user name {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} failed! RE: All kinds of problems after Upgrading to 1.0.2 - kilburn - 09-22-2009 03:02 PM You also have to replace {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} by "vu2000" and {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} by vu2000 too. RE: All kinds of problems after Upgrading to 1.0.2 - joximu - 09-22-2009 05:39 PM Tha same file in the backup you (should) have made before upgrading should help finding the replacement values. Obviously there was something wrong in the upgrade process. /J RE: All kinds of problems after Upgrading to 1.0.2 - jeeva - 09-24-2009 01:17 PM (Fresh installation of debian & ispcp) Hi I get the same error, http://admin.domain.com , wants to download "application/x-httpd-php" I created fastcgi_ispcp.conf in /var/www/fcgi (since there was nothing in it) and replaced those {..} with vu2000 Restarted apache2 successfully, but still it wants to "download the website" What must my <Location /php5/php5-fcgi-starter> be? since I can't find something resembling that on my server. running: Linux version 2.6.28.4-xxxx-std-ipv4-64 (root@kernel-64.ovh.net) (gcc version 4.3.2 (Debian 4.3.2-1) ) #4 SMP Wed Sep 9 22:08:40 UTC 2009 RE: All kinds of problems after Upgrading to 1.0.2 - joximu - 09-24-2009 05:00 PM @jeeva Have you installed at least one ot the packages? libapache2-mod-fastcgi libapache2-mod-fcgid they are not part of debian... see installation guide. /J RE: All kinds of problems after Upgrading to 1.0.2 - jeeva - 09-25-2009 01:31 AM (09-24-2009 05:00 PM)joximu Wrote: @jeeva Code: i9:/var/www/fcgi# apt-get install libapache2-mod-fastcgi I also deleted the fastcgi_ispcp.conf i manuall created from above paste, then ran the perl ./ispcp-setup again and selected fastcgi in the installation menu. No fastcgi config was written that I can see. Still get the same problem afterwards, when i go to admin.i9.co.za it still wants do download the http ps afx reveals Code: i9:/var/www/ispcp/engine# ps afx RE: All kinds of problems after Upgrading to 1.0.2 - joximu - 09-25-2009 02:13 AM apache2ctl -M RE: All kinds of problems after Upgrading to 1.0.2 - jeeva - 09-25-2009 02:43 AM Code: i9:/var/www/ispcp/engine# apache2ctl -M is there no way i can give you my login to my server in PM and then you can check it out? |