Page 1 of 1

Problem with yum and mysql-compat

Posted: Tue Feb 08, 2005 5:13 pm
by markusd
I tried to install mysql 4.0.23a with Yum.
I'm on a new Server with Redheat 9 (at least i think i am, how do i get the version of it?).
My Plesk is 7.51.
I tested to upgrade OpenSSH ,and that worked well..

my yum.conf:

Code: Select all

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[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.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/

There is some error in the URL on atomicrocketturtle.com, i guess?

Code: Select all

yum upgrade mysql
....
Downloading Packages
Getting mysql-4.0.23a-1.rhel3.art.i386.rpm
mysql-4.0.23a-1.rhel3.art 100% |=========================| 7.2 MB    07:51
Getting mysql-compat-4.0.23a-1.rhel3.art.i386.rpm
retrygrab() failed for:
  http://www.atomicrocketturtle.com/atomic/art/3ES//RPMS/mysql-compat-4.0.23a-1.rhel3.art.i386.rpm
  Executing failover method
failover: out of servers to try
Error getting file http://www.atomicrocketturtle.com/atomic/art/3ES//RPMS/mysql-compat-4.0.23a-1.rhel3.art.i386.rpm
[Errno 6] ERROR: Url Return no Content-Length  - something is wrong
[root@plesk7 root]# yum upgrade mysql-compat
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
retrygrab() failed for:
  http://www.atomicrocketturtle.com/atomic/art/3ES/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://www.atomicrocketturtle.com/atomic/art/3ES/headers/header.info
[Errno 6] ERROR: Url Return no Content-Length  - something is wrong
Any Ideas?

Posted: Tue Feb 08, 2005 6:54 pm
by scott
That output tells me you're running 3ES, and you're having some kind of network outage. Its getting a 0 length file. What happens when you try again?

Posted: Wed Feb 09, 2005 6:31 am
by markusd
I was scared to try it a second time ,because i didn't want to break mysql or something.

I will try it again tonight.

Posted: Wed Feb 09, 2005 5:32 pm
by markusd
Not sure ,if i have really Red Hat 9 / 3ES version

this what i could find out myself:

Code: Select all

[root@plesk7 drive2]# cat /#roc/version
Linux version 2.4.21-4.0.1.EL (bhcompile@porky.devel.redhat.com) (gcc version 3.
2.3 20030502 (Red Hat Linux 3.2.3-20)) #1 Thu Oct 23 01:36:33 EDT 2003
[root@plesk7 drive2]# cat /#tc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon)
[root@plesk7 drive2]# un#me -a
Linux plesk7.ev1servers.net 2.4.21-4.0.1.EL #1 Thu Oct 23 01:36:33 EDT 2003 i686
 i686 i386 GNU/Linux
So what do i really have? Which is my correct Channel?

By the way *lol* ,i had to censor this post with ### entries, since this apache seems to be strongly against any linux commands (guess mod_security)

Posted: Wed Feb 09, 2005 5:42 pm
by scott
Yeah we run a tight ship. You're running 3ES (not a clone) so you're probably going to want to do everything through up2date instead of yum.

Posted: Wed Feb 09, 2005 6:11 pm
by markusd
What's the difference?

yum worked for me with the OpenSSH update.

Do I run Red Hat 9 ? (not sure about this)

I will try to use yum once again with mysql, else i will look into how to work with up2date (yum seemed to be an easy way) :)

Posted: Wed Feb 09, 2005 7:16 pm
by scott
If you use up2date, you're getting your redhat software from redhat. If you use yum, you cant, since you have to pay for redhat updates and cant redistribute them. If you're using my updates channel on 3ES, you're really using updates from White Box Linux (a 3ES clone).

I just answered the question about what you're running (again). If it helps to say the same thing I said the 2 previous times here ya go: You're running 3ES. :P

Posted: Wed Feb 09, 2005 7:33 pm
by markusd
Thanks Scott for your Patience (i'm not a power linux user ,just using it for a dedicated webserver)

I tought 3ES is not the Version of Red Hat ,but some other Information. (now i understood)

I found your site because i have a Plesk System (7.5.1) with Red Had (hosted by ev1servers.net) ,and i found many references to this site.

So if i understood you right now, the rpm's on this side are not the ones i should use. (looks like many similar users have used "yum/art" for similar servers then mine).

I'm not interested in redhat updates (system) ,just in mysql/php updates and maybe some tools...

Anyway, thanks for your time and Answers :)