Help - Search - Members - Calendar
Full Version: Upgrade PHP to 4.3.10 and mySQL to 4.02 without breaking plesk
The Planet Forums > Control Panels > Plesk > Plesk HOWTOs
Pages: 1, 2
afterXleep.-
Read notes at the bottom
--

I was an ensim user and switched to plesk. After looking around, I've found this to be really easy with yum and atomicrocketturtle plesk compatible rpms and I wanted to 'complie' it in one post.

This was done on RHEL running PSA 7.1.6
DO IT AT YOUR OWN RISK!

1. Get Yum

# wget http://www.atomicrocketturtle.com/atomic/a....art.noarch.rpm

2. Configure yum repo

# vi /etc/yum.conf

Add the following, save and close.

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
baseurl=http://archive.atomicrocketturtle.com/atomic/art/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/


[psa-7.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.1/$releasever/
baseurl=http://archive.atomicrocketturtle.com/atomic/psa-7.1/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.1/$releasever/


For other versions just check:

http://www.atomicrocketturtle.com/modules....artid=18&page=1

3. Check for an update

# yum check-update

If everything went well, you'll se the mysql and php packages on the list.

To upgrade:

# yum upgrade php

It will find dependencies, download files and update php

4. Install Zend optimizer (You need to due to an incompatibility with php 4.3.10)

Download from : http://zend.com/store/free_download.php?pid=13

Untar and install

# tar -zxvf Zend*
# cd Zend*
# ./install.sh

Follow the standard setup procedure.

5. Restart apache and check it out

# service httpd stop
# service httpd start

6. Install mysql

# /etc/rc.d/init.d/mysqld stop
# yum upgrade mysql

Again it will do everything and set you up.

7. Start mySQL

# /etc/rc.d/init.d/mysqld start

--

After those steps I noticed that creating a DB user in plesk resulted in error. Then I remenbered:

# mysql_fix_privilege_tables your_root_pass

At least here it's working pretty well..

Now that you have yum installed, you can use it to upgrade other packages from the art repo. It's up 2 u.

--
Notes: 07/22/2006

This is a really old thread, but it seems to be helpful in some way. Basically update still working the same, except for a couple small changes I'll edit soon.

The only thing that IS IMPORTANT is that now, atomicrocketurtle.com php and mySQL versions are 5.x. Before upgrading, make sure your sites work well with both versions.

I'll be updating the thread soon about that.

Cheers to all
Keo
Thank you... worked perfect!
icon_biggrin.gif
afterXleep.-
If this worked for you, yu might want to look at this thread to find out how to optimize your mySQL server:

http://forum.ev1servers.net/showthread.php...light=PHP+plesk
omar
worked great for me... thank you so much..


one question..
Now I have enable php settings.. ------>http://www.musicboxv2.com/phpinfo.php


can anyone please help me on how to do that

icon_smile.gif :confused: :confused: :confused: :confused:
afterXleep.-
I dont understand your question. PHP is working from here and that's a pretty nice config.
omar
QUOTE
Originally posted by afterXleep.-
I dont understand your question.  PHP is working from here and that's a pretty nice config.



I purchased a php script from http://www.musicboxv2.com ... the software does not work.. so they told me to upgrade my php version...
I updated the php version and mysql ...
now the script i bought from musicboxv2.com still does not work... so now they telling me i have to enable my php setting as the following -----> http://www.musicboxv2.com/phpinfo.php

Can you please tell me how can i enable the setting same as the url above...

Think of me as a PHP, linux dummy... i dont know much ...

thank
Omar
afterXleep.-
Okay. It seems the config you are posting is normal. The only thing I've found is that they have installed the ixed extensions. That package is a php module that will let 'SourceGuardian PHP compiled code' run in your server without much changes.

Anyway, sourceguardian is not included in the default PHP installation, as it is a third party program. It might be the problem. If it is, those people where you bought the script must provide you with appropiate instructions to set it up.

Do the following:

1. Open you text editor and create a file like this:



2. Save it as test.php and publish it in your site.
3. Go to the url you published. (www.yourdomain.com/test.php)

You will get your php configuration. Send it to the script provider and tell them to let you know exactly what do you need to make your script run.

Hope that helps
omar
QUOTE
Originally posted by afterXleep.-
Do the following:

1. Open you text editor and create a file like this:



2. Save it as test.php and publish it in your site.
3. Go to the url you published.  (www.yourdomain.com/test.php)

Hope that helps [/B]


Thanks alot... i did as you said.. and i email them the url.. http://www.omarray.com/test.php
takeovergroup
i get the following error with yum ...

[root@srv01 root]# yum check-update
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Red Hat Linux 3ES - i386 - Base
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum-repos...ers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-repos...ers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
takeovergroup
nevermind got it working ... php and mysql upgraded ... seems to be working perfectly.
lutronik
Hi,

This working with RH9.0 and Plesk 7.0.3?



[]'s Luiz Passarelli
afterXleep.-
QUOTE
Originally posted by lutronik
Hi,

 This working with RH9.0 and Plesk 7.0.3?



[]'s Luiz Passarelli


Should work. You can use the atomic yum repo, but if you need plesk 7 rpms, add this source to yum instead the [psa-7.1] I pasted


# THIS CONTAINS ONLY SW-SOFT's PSA 7.0.x RPMS.
# USE THIS CHANNEL IF YOU USE PSA 7.0.x
[atomic-psa7]
name=Atomic Rocket Turtle - $releasever - Atomic PSA 7.0
baseurl=http://shinn.net/pub/Linux/atomic/psa7/$releasever/
baseurl=ftp://ftp.shinn.net/pub/Linux/atomic/psa7/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa7/$releasever/
Rich2k
I've upgraded PHP via this method, brilliant, however I'm on PSA 7.0.x does MySQL 4.0.x work fine as an upgrade?
afterXleep.-
#
QUOTE
I've upgraded PHP via this method, brilliant, however I'm on PSA 7.0.x does MySQL 4.0.x work fine as an upgrade?


Yes, like a charm (At least mine...). I did an install on another machine running PSA 7.0.3.

MAKE A BACKUP BEFORE UPGRADING ALWAYS!!!

Anyway, in case you run into problems after upgrade, you can revert to the default 3.23.x by doing the following:

1. Be sure you have 7-psa yum repo configured at yum.conf

# THIS CONTAINS ONLY SW-SOFT's PSA 7.0.x RPMS.
# USE THIS CHANNEL IF YOU USE PSA 7.0.x
[atomic-psa7]
name=Atomic Rocket Turtle - $releasever - Atomic PSA 7.0
baseurl=http://shinn.net/pub/Linux/atomic/psa7/$releasever/
baseurl=ftp://ftp.shinn.net/pub/Linux/atomic/psa7/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa7/$releasever/

2. Comment all lines from atomic yum repo. Should look something like this:

#[atomic]
#name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
#baseurl=http://3es.atomicrocketturtle.com/atomic/art/#$releasever/
#baseurl=http://archive.atomicrocketturtle.com/atomic/art/#$releasever/
#baseurl=http://www.atomicrocketturtle.com/atomic/art/#$releasever/

3. Stop mysql server
# /etc/rc.d/init.d/mysqld stop

4. Uninstall art mysql server with --nodeps

# rpm -e --nodeps mysql
# rpm -e --nodeps mysql-server
# rpm -e --nodeps mysql-devel
# rpm -e --nodeps mysql-compat

4. Install the default PSA 7 mysql server via yum
# yum install mysql
# yum install mysql-server

5. Start mysql server
# /etc/rc.d/init.d/mysqld start

You should have again the default install, and all data should be there.

In case this donīt work, restore your backup icon_smile.gif

Also remember that if you plan to upgrade plesk via autoinstaller, you should revert all software versions to the original to get it working.
Tornit
how do you make a backup?
madsere
Why would you use Yum with RHEL? Yum is for Fedora. RHEL use up2date.
madsere
I updated a couple of my Plesk servers using yum and got a couple of errors during the MySQL update:

CODE
Completing update for passwd  - 263/300

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

error: %trigger(psa-7.5.2-rhel3.build75050130.17) scriptlet failed, exit status 1

Completing update for perl-MLDBM  - 264/300

Completing update for net-snmp  - 265/300

Completing update for libxslt  - 266/300

Completing update for MAKEDEV  - 267/300

Completing update for psa-key  - 268/300

Completing update for xinetd  - 269/300

Completing update for tzdata  - 270/300

Completing update for gallery  - 271/300

Completing update for php-ldap  - 272/300

Completing update for readline  - 273/300

Completing update for bbclone  - 274/300

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

error: %trigger(psa-7.5.2-rhel3.build75050130.17) scriptlet failed, exit status 1

Completing update for pcre  - 275/300

Completing update for rh-postgresql-pl  - 276/300

Completing update for openssh  - 277/300

Completing update for osCommerce  - 278/300

Completing update for psa-courier-imap-add  - 279/300

Completing update for psa  - 280/300

Completing update for perl-FreezeThaw  - 281/300

Completing update for sendmail-cf  - 282/300

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

error: %trigger(psa-7.5.2-rhel3.build75050130.17) scriptlet failed, exit status 1

Completing update for perl-Compress-Zlib  - 283/300

Completing update for libidn  - 284/300

Completing update for perl-HTML-Format  - 285/300

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

error: %trigger(psa-7.5.2-rhel3.build75050130.17) scriptlet failed, exit status 1

Completing update for mod_ssl  - 286/300

Completing update for perl-DB_File  - 287/300

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

packagemng: Unable to connect to the mysql database



System error 2: No such file or directory

error: %trigger(psa-7.5.2-rhel3.build75050130.17) scriptlet failed, exit status 1

It looks like MySQL is stopped at some point during the update and not restarted again before the update continues.

I haven't seen any problems with it so far. After the update completed I started MySQL and after that everything seems to be fine. Still, would be nice to know for sure - even nicer to have the update script fixed icon_smile.gif
TheLinuxGuy
I would have upgraded mysql first and then upgraded plesk.
pprabhu
Thanks AfterXleep icon_smile.gif .. I successfully upgraded PHP to 4.3.11 and mysql to 4.0.24.
dbenner
Is there anyway to get it up to MySQL 4.1.11?


Thanks
trochta
Getting error after running yum upgrade php

Error:

......Unable to satisfy dependencies
Package php-manual needs php = 4.2.2-17.12.legacy, this is not available.
tz^
Thanks, this worked like a charm, although I'm experiencing trouble after upgrading to MySQL 4.x. mysqld dies at random (sometimes very often), and doesn't come back online by itself, leaving the website nonfunctional.

Here's the error message PHP drops:
Error: Unable to connect to MySQL server. MySQL reported: Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock' (2).

It usually comes back online if i run /etc/init.d/mysqld start or service mysqld start, but not always (or it might just be I'm experiencing some lag). I've added /etc/init.d/mysqld start to the crontab (runs every five seconds) to see if this corrects the problem, but no.

Any hints? This isn't really good for the website ;D
Power-J
Maybe it's me, but I got to the 2nd step and got stuck. When I issue the following command as instructed, I get a "command not found"
EvolutionCrazy
QUOTE (Power-J)
Maybe it's me, but I got to the 2nd step and got stuck. When I issue the following command as instructed, I get a "command not found"


use:

CODE
nano /etc/yum.conf


probably you don't have vi installed icon_wink.gif

the actuals mysql e php version doesn't need zend accelerator to work with yum icon_wink.gif

and as i've written i the uther post i suggest to use

CODE
yum update php

and
CODE
yum update mysql


instead of upgrade icon_wink.gif
Power-J
Got it to work. I use nano instead. Worked great. THANKS !!
Grafico
Apache??? MySQL and PHP are upgraded but Apache has died in Plesk and though it 'restarts' when I click the play button its a no show if I refresh or try to visit a hosted site.
I've rebooted the server but no luck. Any Ideas?
EvolutionCrazy
what os?

error_log what is saying?

if your run

service httpd restart

what you get?
Grafico
Hi,
No console error except [FAILED].
Before I thought of looking at the error logs - newbie mistake #2 I guess :o) (see below for newbie mistake #1) I looked through the updated files and noticed php.ini had been changed, so I renamed it and placed the backup the rpm had made as php.ini and all is well, or so it seems.

BTW, atomic turtle appears to offer a PSA7.5 compatible SpamAssassin upgrade through YUM that broke the version shipped with Plesk (its integrated so not the 'typical' version apparently), so I'll be looking for great threads like this before making newbie mistake #1 again - hitting the enter key so eagerly!
Power-J
Has anyone seen this? I've done the upgrade and it worked fine. When I point to my phpinfo.php file, it still show MySQL 3.23... Am I missing something?
Mikeb
I have just bought a 2.4Ghz Dual Xeon server running Red Hat Enterprise and Plesk 7.5. Will this upgrade work for me? If not any ideas how to get the correct upgrade.
Power-J
Mikeb,
It should work fine. Pay close attention though to the Plesk 7.5.3 RPM such as in the example below:

"Should work. You can use the atomic yum repo, but if you need plesk 7 rpms, add this source to yum instead the [psa-7.1] I pasted


# THIS CONTAINS ONLY SW-SOFT's PSA 7.0.x RPMS.
# USE THIS CHANNEL IF YOU USE PSA 7.0.x
[atomic-psa7]
name=Atomic Rocket Turtle - $releasever - Atomic PSA 7.0
baseurl=http://shinn.net/pub/Linux/atomic/psa7/$releasever/
baseurl=ftp://ftp.shinn.net/pub/Linux/atomic/psa7/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa7/$releasever/ "

NOTE: This user picked the appropriate package for his version of plesk. I suggest you go to http://www.atomicrocketturtle.com and select the Channel for Plesk 7.5 - Otherwise you will run into trouble. Aside from that the upgrade should go smoothly. If you need to use the Plesk Updater for any reasons, be sure to use it first such as to install the Application Vault or any other updates you need from Plesk, then do your Yum install.
ChingChong
I have a few questions before I get started,

1) what do I need to add this line of code

CODE
[psa-7.1]

name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.1 RPMS

baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.1/$releasever/

baseurl=http://archive.atomicrocketturtle.com/atomic/psa-7.1/$releasever/

baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.1/$releasever/


2) Why cant I use the plesk's updater while using YUM updater? I dont understand what you mean by that either.

3) Say if a new version of plesk comes out, 7.5.4 AND I already have the YUM from your tutorial installed, what is the process to Update PLESK to 7.5.4 without breaking anything?
Power-J
If you're running Plesk 7.5, you will need to replace this:

[psa-7.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.1/$releasever/
baseurl=http://archive.atomicrocketturtle.com/atomic/psa-7.1/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.1/$releasever/

With this:

[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
baseurl=http://archive.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

Otherwise it will not work.

As to your second question, I'm not sure why not. Maybe because Plesk tends to change things back to their original configuration or something. Mine broke after I attempted to do so the first time. The second time, Plesk Update would not update at all. I had to choose. So, I picked Yum and stop messing with Plesk Update (Specially the Firewall Module). Of course I ran the update first, then upgrade with Yum, but once you go Yum, do not attempt to update using Plesk. You will run into dependency issues.
ChingChong
See, after I configure YUM and everything goes fine and after a few days plesk 7.5.4 comes out. What is the right way to upgrade to that new version of plesk? that is what I want to know, or are u saying I can never upgrade to plesk 7.5.4 once I configure YUM?
Power-J
What I meant was do not attempt to update using the Plesk Auto Updater feature from the control panel. You can always update manually or via up2date. Simply do not use the Plesk Auto Updater from the Control Panel. That's all. I hope I cleared up any confusion created in my earlier post.
sfmy
QUOTE (Power-J)
What I meant was do not attempt to update using the Plesk Auto Updater feature from the control panel. You can always update manually or via up2date. Simply do not use the Plesk Auto Updater from the Control Panel. That's all. I hope I cleared up any confusion created in my earlier post.


I couldn't found the Plesk Updater button. I'm on a virtual dedicated server. Is it being disabled as modification of plesk will reflect other VDS account on the machine?

Next to my issue. I tried to update php and mysql through yum but it seems that yum haven't been installed on my server. I tried install yum but receive this message:

warning: yum-2.0.7-1.rh90.art.noarch.rpm: V3 DSA signature: NOKEY, key ID 5ebd2744
error: Failed dependencies:
libxml2-python is needed by yum-2.0.7-1.rh90.art
rpm-python is needed by yum-2.0.7-1.rh90.art

At this stage i'm blank of what needed to do. I'm not an expert nor a server tech. How do i get the libxml2-python & rpm-python? Any help would be much appreciated.

Thank you
enterux
QUOTE (dbenner)
Is there anyway to get it up to MySQL 4.1.11?


Thanks


Hello,

I can upgrade to MySQL 4.1.xx for you for $25.

If you are running osCommerce, then you have real problem, since osCommerce yet doesnt support 4.1.xx.

But in any case, I might be able to help you.

You can visit us on http://www.enterux.com
or email on info at enterux.com
jpsa
after following this how to i tried to access to de admin plesk area and i received this error:

ERROR: Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 0: /usr/local/psa/admin/auto_prepend/auth.php3:81 psaerror(string "Unable to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")

any idea ?

regards
JoeDavex
Thanks for the great tutorial. I got yum installed and running without a problem but I can't seem to get PHP to update to 4.3 using either yum or up2date.

I'm on PSA 7.04 and RH 7.3 with PHP 4.1.2 and neither site seems to have the RPM for PHP 4.3 listed under those criteria.

Am I missing something?
ChingChong
QUOTE (Power-J)
As to your second question, I'm not sure why not. Maybe because Plesk tends to change things back to their original configuration or something. Mine broke after I attempted to do so the first time. The second time, Plesk Update would not update at all. I had to choose. So, I picked Yum and stop messing with Plesk Update (Specially the Firewall Module). Of course I ran the update first, then upgrade with Yum, but once you go Yum, do not attempt to update using Plesk. You will run into dependency issues.


I have made the recommended changes in yum.conf.

Now that plesk has a new version released, what SSH COMMAND should i use to upgrade plesk from 7.5.3 to 7.5.4 since you recommended NOT to use plesk upgrade?
Not Logged In
QUOTE (enterux)
Hello,

If you are running osCommerce, then you have real problem, since osCommerce yet doesnt support 4.1.xx.


This is not true, I have many osc sites, zen, cre on php 5.0.5 and mysql 4.1.14. Prior osc ms2 have had problems but are simple fixes.

NLI
al0000
Hello,

I'm doing a yum check-update and i get:


Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Red Hat Linux 3ES - i386 - Base
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum-repos...ers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-repos...ers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Why? icon_smile.gif

THanks
dennys
Hi guys,
I upgraded MySQL to 4.1.12 using yum, and now Plesk won't work. I get this message:
CODE
ERROR: Unable to query: Can't find file: 'misc.MYI' (errno: 2) 0:

/usr/local/psa/admin/plib/common_func.php3:203 psaerror(string "Unable to

query: Can't find file: 'misc.MYI' (errno: 2)") 1:

/usr/local/psa/admin/plib/common_func.php3:390 db_query(string "select

param, val from misc") 2: /usr/local/psa/admin/plib/class.Session.php:113

get_param(string "login_timeout") 3:

/usr/local/psa/admin/auto_prepend/auth.php3:139 Session->Session()


Now, if I change the my.cnf file to the one that was tehre before I did the upgrade, it works fine.

This is the new config I'm trying to use (from another post linked here)
CODE
[mysqld]

datadir=/var/lib/mysql

socket=/var/lib/mysql/mysql.sock

skip-locking

skip-innodb

query_cache_limit=1M

query_cache_size=32M

query_cache_type=1

max_connections=500

interactive_timeout=100

wait_timeout=100

connect_timeout=10

thread_cache_size=128

key_buffer=16M

join_buffer=1M

max_allowed_packet=16M

table_cache=1024

record_buffer=1M

sort_buffer_size=2M

read_buffer_size=2M

max_connect_errors=10

# Try number of CPU's*2 for thread_concurrency

thread_concurrency=2

myisam_sort_buffer_size=64M

log-bin

server-id=1



[mysql.server]

user=mysql

basedir=/var/lib



[safe_mysqld]

err-log=/var/log/mysqld.log

open_files_limit=8192



[mysqldump]

quick

max_allowed_packet=16M



[mysql]

no-auto-rehash

#safe-updates



[isamchk]

key_buffer=64M

sort_buffer=64M

read_buffer=16M

write_buffer=16M



[myisamchk]

key_buffer=64M

sort_buffer=64M

read_buffer=16M

write_buffer=16M



[mysqlhotcopy]

interactive-timeout


And this is my old config:

CODE
[mysqld]

safe-show-database

innodb_data_file_path=ibdata1:10M:autoextend

datadir=/var/lib/mysql

socket=/var/lib/mysql/mysql.sock



[mysql.server]

user=mysql

basedir=/var/lib



[safe_mysqld]

err-log=/var/log/mysqld.log

pid-file=/var/run/mysqld/mysqld.pid


Can someone advice how to fix this? It looks like there are some missing .MYI files that plesk can't find.

Thanks much in advance.
-d
dennys
I figured it out. The Innodb engine was disabled by the "skip-innodb" command in the config file. I commented the line out, and now it works fine.
msteudel
CODE
retrygrab() failed for:

 [url]http://www.atomicrocketturtle.com/atomic/art/9/headers/header.info[/url]

 Executing failover method

failover: out of servers to try

Error getting file [url]http://www.atomicrocketturtle.com/atomic/art/9/headers/header.info[/url]

[Errno 7] HTTP Error (CannotSendRequest):


When I tried to upgrade mysql it threw this error. Their website happens to be down as well, I'm guessing they are related .... Anyone else?
msteudel
RH9
Plesk 7.5

Was able to upgrade PHP and MySQL. The only hitch I ran into was the fact that ARTs servers were down when I tried it last night.
midland
I tried to upgrade my server tonight, PHP and zend went fine, but when I tried to upgrade mysql it gave me the following error

conflict between mysql and psa
conflict between psa and psa-agent

I'm running plesk 7.1.2, I'm guessing i need to upgrade plesk in order to be able to upgrade mysql?
Seth
I've been viewing this thread and another about the yum gd update. No matter what I do I always see this:

[root@corona root]# yum upgrade php
Gathering header information file(s) from server(s)
Server: Dag RPM Repository for older Red Hat Linux
Server: Atomic Rocket Turtle - Null - SW-Soft PSSA 6.0 RPMS
retrygrab() failed for:
http://www.atomicrocketturtle.com/atomic/p...ers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://www.atomicrocketturtle.com/atomic/p...ers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Ends the same no matter what I do. I have piddle with the /etc/yum.conf for like 45 minutes. Does anyone know if that error is on Atomic's end?

This is for Plesk 6.0. Could that be a problem? Yes it's old but my customers like it...
msteudel
QUOTE (Seth)
I've been viewing this thread and another about the yum gd update. No matter what I do I always see this:

[root@corona root]# yum upgrade php
Gathering header information file(s) from server(s)
Server: Dag RPM Repository for older Red Hat Linux
Server: Atomic Rocket Turtle - Null - SW-Soft PSSA 6.0 RPMS
retrygrab() failed for:
 http://www.atomicrocketturtle.com/atomic/p...ers/header.info
 Executing failover method
failover: out of servers to try
Error getting file http://www.atomicrocketturtle.com/atomic/p...ers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Ends the same no matter what I do. I have piddle with the /etc/yum.conf for like 45 minutes. Does anyone know if that error is on Atomic's end?

This is for Plesk 6.0. Could that be a problem? Yes it's old but my customers like it...


IMHO it's a problem on their end.
JonSON
Has anyone else had any issues getting Plesk 7.5 to update to MySQL 4.1.x and PHP 4.4.x? I followed the tutorial here and it does not seem that it will allow me to upgrade to PHP 4.4.x and MySQL 4.1.x. I am still showing that the PHP version is the standard 4.3.x install with Plesk 7.5.

I keep getting:

Error: Missing Dependency: php-gd is needed by package Sitebuilder

Yet, it doesn't seem to have that update available.

Edit: Solved. SiteBuilder is evil icon_smile.gif. Removing SB via yum and from the server allowed complete upgrades. Thanks for the help, wonderful tutorial!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.