|
Error upgrading RC3 -> RC4
|
| Author |
Message |
Adel
Junior Member

Posts: 38
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
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 |
|
 |
DmT
Junior Member

Posts: 33
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
RE: Error upgrading RC3 -> RC4
|
|
| 03-31-2008 11:08 AM |
|
 |
Adel
Junior Member

Posts: 38
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Error upgrading RC3 -> RC4
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 |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: Error upgrading RC3 -> RC4
hm, the fastcgi_ispcp.conf is broken
You should have something like this (after the license text):
<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
2008-03-16 ispCP RC4 released!!!
|
|
| 04-01-2008 02:54 AM |
|
 |
Zothos
Member
   
Posts: 581
Group: Dev Team
Joined: Feb 2007
Status:
Offline
Reputation: 7
|
RE: Error upgrading RC3 -> RC4
your config is not totaly right:
<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.
Real programmers don't comment their code - it was hard to write, it should be hard to understand
OS : Gentoo 32bit Stage1
ispCP Version : RC4
Mods : Dovecot | Pure-ftpd
|
|
| 04-01-2008 02:58 AM |
|
 |
Adel
Junior Member

Posts: 38
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Error upgrading RC3 -> RC4
your config is not totaly right:
<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 |
|
 |
bpratt
Junior Member

Posts: 28
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 0
|
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.
|
|
| 04-23-2008 10:39 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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
2008-03-16 ispCP RC4 released!!!
|
|
| 04-23-2008 11:29 AM |
|
 |
bpratt
Junior Member

Posts: 28
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 0
|
RE: Error upgrading RC3 -> RC4
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
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! 
Going back to apache-mpm-prefork isn't going to create any issues with fastcgi ?
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. 

Thanks for your reply.
|
|
| 04-23-2008 11:55 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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
2008-03-16 ispCP RC4 released!!!
|
|
| 04-23-2008 08:24 PM |
|
 |