Page 1 of 1

Problems upgrading tp php5 on centos 4.2 with Plesk 8.2

Posted: Sun Sep 23, 2007 6:51 am
by gavacho
I have been struggling for about 3 weeks now to successfully upgrade to some version of PHP 5 on Centos 4.2 . I have tried with both the ART repository (following the procedure on http://www.atomicorp.com/wiki/index.php/PHP) and with Centos Plus. In both cases, I got a dependency error something to do with php-domxml. Following advice I found on another forum, I deleted php-domxml. After doing this, the installation of PHP succeeded. The problem is that in both cases, Plesk was broken and php installed with Mysql and GD disabled (i.e. --without mysql-- --without gd--). Now after doing a system restore, I find that the wget command will not successfully add the ART repository. I run
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
and nothing happens. etc/ yum.repos.d remains unchanged. Please help! :cry:

Tried to add Atomic channel manually

Posted: Sun Sep 23, 2007 10:54 am
by gavacho
When I do wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
I seee this:
[root@vps102 ~]# wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
[root@vps102 ~]#
Nothing happens

I tried manually adding the ART channel to /etc/yum.repos.d using the following lines:


[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://www.atomicorp.com/channels/atomi ... /$basearch


[plesk-8.2]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.2 RPMS
baseurl=http://www.atomicorp.com/channels/plesk ... /$basearch
gpgcheck=0


When I try to install php-pear, I get this:

[root@vps102 ~]# yum install php-pear
Setting up Install Process
Setting up repositories
http://www.atomicorp.com/channels/atomi ... repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Cannot open/read repomd.xml file for repository: atomic
failure: repodata/repomd.xml from atomic: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from atomic: [Errno 256] No more mirrors to try.

Posted: Sun Sep 23, 2007 10:57 am
by scott
You might already have the channel set up, what that does is fix yum if its broken/non-existent and install the atomic-release rpm. atomic-release contains /etc/yum.repos.d/atomic.repo


As for GD, etc. They arent disabled, they're just moved into separate packages. Check out: yum list php*

Posted: Sun Sep 23, 2007 11:21 am
by gavacho
Thanks Scott. Well when I do
yum list available
The Atomic repository does not show in the list of repositories. in "Setting up repositories" and there are no packages from Atomic shown. Also, do you have any ideas on why a php upgrade would break Plesk? (the link and icon for "Desktop" disappears)

Posted: Sun Sep 23, 2007 12:38 pm
by scott
paste the output from:

wget -q -O - http://www.atomicorp.com/installers/atomic |sh

Posted: Sun Sep 23, 2007 9:10 pm
by gavacho
This is the output

[root@vps102 ~]# wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
[root@vps102 ~]#

I paste wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh at the command prompt, and hit enter and immediately (after about 1/2 second) I get another command prompt. Nothing else happens. Nothing gets written to /etc/yum.repos.d

Posted: Mon Sep 24, 2007 8:07 am
by scott
that means you're not getting through to the server. What IP are you coming from? Are you on any RBL blacklists?

Posted: Mon Sep 24, 2007 1:48 pm
by gavacho
I connect through CDMA (cell phone network) the connection is often very slow but it is the only connection I can get here in S. Thailand. It works similar to dialup in that I have a different IP each time I connect. All other commands through SSH work OK.

Posted: Mon Sep 24, 2007 2:04 pm
by gavacho
Sorry, you are probably referring to the IP of my VPS. It is 203.121.77.215. A search on openrbl.org shows that it is "neutral blacklisted" in several places, but positive blacklisted on Spamhaus. This is a new VPS.

Posted: Mon Sep 24, 2007 2:33 pm
by gavacho
P.S.
I am NOT a spammer. I am disturbed by this and have contacted the hosting provider to hopefully get it resolved. Note that my exact IP is not listed. I am apparently getting "tarred with the same brush" due to other clients of the hosting provider (they claim 25,000 clients).

Posted: Mon Sep 24, 2007 9:06 pm
by gavacho
The hosting provider said that they are whitelisting my range of IP's. In the meantime, is there a way that I could manually add the ART repo?

Posted: Tue Sep 25, 2007 10:03 am
by scott
Once you're off of spamhaus you'll be able to get through. Im using RBL's in the web server so for now at any rate, its a straight block. What I'm going to eventually is a redirect, with a capatcha or something so you can whitelist yourself.