store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Fri May 24, 2013 6:19 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 12 posts ] 
Author Message
 Post subject: Can't Update...HELP!
Unread postPosted: Mon May 14, 2012 7:46 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Erm, I have no idea what's happened but when I run asl -u I get this error:

Code:
Checking for updates..
  Updating ASL: update failed                              [FAIL]

  Trying again with full debug information....
Error: Cannot find a valid baseurl for repo: plesk
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt


And also when I run yum update I get this error:

Code:
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: plesk


I have no idea what has caused this, as it was updating fine last week.

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 3:55 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Quote:
Error: Cannot find a valid baseurl for repo: plesk


Looks like you have a yum repository for Plesk configured which is using a base URL that's not valid.

Check your /etc/yum.repos.d/*.repo files (and /etc/yum.conf) for any repositories named 'plesk' and see if its settings are all up to date.

Plesk doesn't configure a yum repository itself AFAIK, so I guess you added this yourself. (Or does/did the atomic installer offer to add this at some at some point?)

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 11:20 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Atomic must of, because I haven't got a clue how to do it myself. Nor do I have a clue what the base URL is supose to be.

But it was fine last week, so I have no idea why its suddenly erroring out.

What is Plesk's base URL, and why would that stop asl -u from working as well? Bearing in mind it isn't updating anything because of this.

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 11:24 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Just checked the plesk.repo and it is using the atomic mirror list.

Code:
[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/centos-$releasever-$basearch
gpgcheck=0
enabled=1

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 12:58 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
That URL is wrong, the plesk mirrorlist files live under /mirrorlist/plesk/<version>/<dist>


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 1:10 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Changed it to that, still no joy:

Code:
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. </html>/
removing mirrorlist with no valid mirrors: /var/cache/yum/plesk/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: plesk

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 1:28 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
What are the exact contents of your /etc/yum.repos.d/plesk.repo file?

You could temporarily disable the Plesk yum repository by setting enabled=0 in /etc/yum.repos.d/plesk.repo. That should at least cause asl -u to work again.

I personally don't use the Plesk yum repository, since it doesn't carry the latest 9.x and 10.x versions and Plesk micro updates are sadly not distributed as RPM packages, so for those you'll need to use the autoinstaller (or web interface) anyway.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 2:48 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Mine is a Plesk 8.6 install, and because it is a production server I'm not likely going to upgrade the Plesk version. Mostly because it would break, as Plesk tends to do.

Here's the contents:

Code:
[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/plesk/8.6/dist-rpm-CentOS-5-i386
gpgcheck=0
enabled=1

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 2:56 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
laughingbuddha wrote:
mirrorlist=http://www.atomicorp.com/mirrorlist/plesk/8.6/dist-rpm-CentOS-5-i386


That URL redirects to http://www.atomicorp.com/index.php?opti ... cle&id=266 which returns HTTP 200 OK with a page saying "Oh No! We're sorry you couldnt find what you were looking for! Please try the search feature for this website which will help you find what you are looking for." I guess that page should actually return HTTP 404 Not Found, but either way http://www.atomicorp.com/mirrorlist/ple ... tOS-5-i386 currently doesn't seem to be a valid baseurl for the Plesk yum repository. I don't know if that's an error on your end or not. Scott can probably tell you.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Tue May 15, 2012 9:34 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Support has come back saying delete the plesk.repo, but surely it was there until recently so why has it vanished now?

It seems a little strange that it has only now disapeared, does that mean you can't install Plesk using ASL anymore like I once did, which is possibly the reason the plesk.repo points to a atomicorp URL.

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Wed May 16, 2012 1:40 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
it hasnt been there for a long long time. Maybe more than a year, if ever. /mirrorlist/ is a top level dir for a lot of repo data, not just plesk. If there was a repo in there it was retired when that was expanded for other repo support (atomic, atomic-testing, asl soon, etc).


Top
 Profile  
 
 Post subject: Re: Can't Update...HELP!
Unread postPosted: Wed May 16, 2012 8:17 pm 
Offline
Forum Regular
Forum Regular

Joined: Mon Mar 10, 2008 9:12 pm
Posts: 475
Location: Southampton, UK
Far enough, I bow to your greatness :)

_________________
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 12 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group