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


Post Reply 
Error upgrading RC3 -> RC4
Author Message
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #1
Error upgrading RC3 -> RC4
hello
I searched the forum for this error first i couldn't find it, so please
if there is one give me the post to look it up:
I tried to upgrade RC3 to RC4 and after it starts i got this error:
Upgrading system values ... done
Upgrading database structure...ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
failed!
SQL Update failed.
I followed the installation instructions from isp-control.net site.
I don't know why , should i uninstall RC3 and then install RC4?
Thanks for help in advance
(This post was last modified: 03-31-2008 10:28 AM by Adel.)
03-31-2008 09:56 AM
Find all posts by this user Quote this message in a reply
DmT Offline
Junior Member
*

Posts: 33
Joined: Sep 2007
Reputation: 0
Post: #2
RE: Error upgrading RC3 -> RC4
did you read this???

http://www.isp-control.net/documentation...upgrade/rc
03-31-2008 11:08 AM
Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Error upgrading RC3 -> RC4
DmT Wrote:did you read this???

http://www.isp-control.net/documentation...upgrade/rc

hi DmT
Thanks for your reply , as i said in my post i followed the instructions
from http://www.isp-control.net, which is this one you posted in your reply.
I had the same problem before with RC3 installation but finally i got
it working, now i don't remeber how, and even i tried to uninstall RC3
so i can install RC4 from the scratch , i got another error with uninstall
Cannot connect to mysql access denied.
After trying so many time i got it installed , when i started apache2 i got :

Starting web server (apache2)...Syntax error on line 35 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
failed!

Thanks for your help.
(This post was last modified: 03-31-2008 12:10 PM by Adel.)
03-31-2008 11:24 AM
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: #4
RE: Error upgrading RC3 -> RC4
hm, the fastcgi_ispcp.conf is broken

You should have something like this (after the license text):
Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2

        FastCgiConfig -minProcesses 1 \
                      -maxProcesses 400 \
                      -maxClassProcesses 5 \
                      -multiThreshold 80 \
                      -killInterval 60 \
                      -startDelay 5 \
                      -idle-timeout 300
                      # -singleThreshold 100 \
                      # -autoUpdate \
                      # -pass-header HTTP_AUTHORIZATION

        FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000

        #
        # 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>

/J
04-01-2008 02:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #5
RE: Error upgrading RC3 -> RC4
your config is not totaly right:

Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2

        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 vu2000 -group vu2000 -idle-timeout 300

        #
        # 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>

this one is a bit better.
04-01-2008 02:58 AM
Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #6
RE: Error upgrading RC3 -> RC4
Zothos Wrote:your config is not totaly right:

Code:
<IfModule mod_fastcgi.c>
        FastCgiWrapper On
        FastCgiIpcDir /var/lib/apache2/fastcgi2

        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 vu2000 -group vu2000 -idle-timeout 300

        #
        # 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>

this one is a bit better.

Hello
Thanks Joximu & Zothos
Thank you both for your help and support.
I manage to install RC4 finally.
Thanks again very much
(This post was last modified: 04-01-2008 07:14 AM by Adel.)
04-01-2008 03:41 AM
Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #7
RE: Error upgrading RC3 -> RC4
Having some troubles with my upgrade from RC3 -> RC4 with php errors from the .htaccess file

[Wed Apr 23 10:33:05 2008] [alert] [client 121.222.5.202] /var/www/ispcp/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.loganvillageweather.com/


This was done via the upgrade script and is on Debian Etch.

Anything that has a .htaccess file and has php_values in it fails with a 500 Internal Server Error.


Your help would be appreciated. Smile
04-23-2008 10:39 AM
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: #8
RE: Error upgrading RC3 -> RC4
php_value -> you seem to want to change php parameters in the apache configurations. Upgrade from VHCS?

This is not possible with php-fastcgi.

Maybe you can use mod-php (with apache-mpm-prefork), then you can use theese lines in .htaccess.

If you stay with php-fastcgi you should set any php setting in the corresponding php.ini.

You should find everything in the forum - it has been discussed many times.

/J
04-23-2008 11:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #9
RE: Error upgrading RC3 -> RC4
joximu Wrote:php_value -> you seem to want to change php parameters in the apache configurations. Upgrade from VHCS?

Nope, was not an upgrade from VHCS, but upgrade from RC3 to RC4

Quote:This is not possible with php-fastcgi.

Maybe you can use mod-php (with apache-mpm-prefork), then you can use theese lines in .htaccess.

If you stay with php-fastcgi you should set any php setting in the corresponding php.ini.

Interesting trying to explain to users that they must change it in their php.ini file, and see how loud they scream! Tongue

Going back to apache-mpm-prefork isn't going to create any issues with fastcgi ?


Quote:You should find everything in the forum - it has been discussed many times.

I'm sure there's plenty of things in the forum, it's just that it gets hard trying to put in the right search criteria to get the right answers, particulary when the answers might be hiding in the non-English sub forums. Sad

Smile

Thanks for your reply.
04-23-2008 11:55 AM
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: #10
RE: Error upgrading RC3 -> RC4
Of course you have to set either php-fastcgi (better with mpm-worker) *or* mod-php (then you *have to* use mpm-prefork).

It's your desicion. Just think about the pros and contras of both variants. You won't be able to satisfy any wish of any customer.

/J
04-23-2008 08:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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