Problems upgrading tp php5 on centos 4.2 with Plesk 8.2

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Problems upgrading tp php5 on centos 4.2 with Plesk 8.2

Unread post 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:
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Tried to add Atomic channel manually

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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*
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Unread post 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)
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

paste the output from:

wget -q -O - http://www.atomicorp.com/installers/atomic |sh
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

that means you're not getting through to the server. What IP are you coming from? Are you on any RBL blacklists?
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Unread post 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.
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Unread post 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.
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Unread post 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).
gavacho
Forum User
Forum User
Posts: 10
Joined: Sun Sep 23, 2007 6:15 am

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
Post Reply