Page 2 of 2

Posted: Sat Feb 10, 2007 10:05 am
by breun
Tomcat is an 'official' Plesk component, but oh well. No, it's not normal that it takes so long. If the Tomcat button is there I guess the component is already installed, but the Tomcat button won't be enabled until your Plesk license has Tomcat support.

Posted: Sun Feb 11, 2007 10:02 am
by webdevotion
Still no luck.

This is my error:

[root@as ~]# yum list |grep tomcat
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum-re ... eader.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-re ... eader.info
[Errno 4] IOError: HTTP Error 404: Not Found

Posted: Sun Feb 11, 2007 10:06 am
by breun
My guess is that your yum config is not entirely right. Could you post that? And what OS are your running? Looks like you're trying to connect to a RHEL4 repo, but AFAIK there are no yum repositories for the base RHEL 4 system. That's all handled through up2date.

Posted: Sun Feb 11, 2007 10:11 am
by webdevotion
I am running Centos 4 and plesk 8.1.

This is 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
exclude=initscripts

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

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

# Replace DISTRO with your distribution, centos/redhat
[psa-8.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-8.1/centos/$releasever/$arch

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/


[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/

Posted: Sun Feb 11, 2007 10:23 am
by breun
Well, those mirror.dulug.duke.edu repo's are obviously not available for $releasever=4 as http://mirror.dulug.duke.edu/pub/yum-repository/redhat/ only shows 7.3 and 9 (old unsupported Red Hat versions).

My guess is that you downloaded an old version of yum which brought in this config. Why not install CentOS 4's own version of yum?

Uninstall the version you installed and get this one: http://mirror.centos.org/centos-4/4/os/ ... noarch.rpm

You might need some dependecies, you can get them all at the same location: http://mirror.centos.org/centos-4/4/os/ ... ntOS/RPMS/

Then get http://3es.atomicrocketturtle.com/installers/atomic.sh and run it (sh atomic.sh) and you should be good to go.

Posted: Sun Feb 11, 2007 10:41 am
by webdevotion
I want to follow this guys directives: link.

But when I try to uninstall the older yum version I get this:

Code: Select all

[root@as src]# yum --version
2.0.7
[root@as src]# rpm -e yum-2.0.7-1.rhel3.art.noarch.rpm
error: package yum-2.0.7-1.rhel3.art.noarch.rpm is not installed
Breun, thanks for all your time. Better get your amazon wish list in order :wink:

Posted: Sun Feb 11, 2007 10:42 am
by webdevotion
I did

rpm -u yum

and it worked :)

Posted: Sun Feb 11, 2007 10:51 am
by breun
Yeah, installing the new yum using rpm -U should work as well. I was mostly suggesting getting rid of your broken repo config. Good to hear it's working now.

Posted: Sun Feb 11, 2007 10:53 am
by webdevotion
this is my yum list |grep tomcat output:

I guess tomcat is installed right ?

Code: Select all

[root@as src]# yum list |grep tomcat
tomcat5.noarch                           5.0.30-11jpp           installed
tomcat5-jasper.noarch                 5.0.30-11jpp           installed
tomcat5-servlet-2.4-api.noarch     5.0.30-11jpp           installed

Posted: Sun Feb 11, 2007 10:59 am
by webdevotion
:twisted: I finally got it working!!!

Tomcat is up and running on my machine and ...
I can shut it down now properly ( at first I got JAVA VM errors when shutting down the server ).

Thanks Breun and Scott !

You helped me out big time !