Koozali.org: home of the SME Server

what is this sme box used for?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #15 on: September 13, 2013, 07:20:13 AM »
winecooler

Quote
yummy stuff

The issue is as explained before, you have old repos, at least for base.
The centos vault location now needs to be set.
I suggest some reading on the closed sme7 forums, here is a starting point.
http://forums.contribs.org/index.php/topic,48424.0.html

Update your server as described & eventually you will get the right repos setup & the the right packages installed.

PS Then you will be able to run the earlier requested command to see what other rpms are installed, which will give us clues about what that server is doing.
It may even fix your certificate issues.

I have asked you for some feedback in that other post, so still waiting for those answers.
You should be able to reset the certificate if done correctly, so it's just a matter of finding out what is wrong.
« Last Edit: September 13, 2013, 08:17:48 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #16 on: September 17, 2013, 08:36:11 AM »
Now that the certificates issue is fixed, I followed the instructions in that link above to update. Unfortunately, I'm getting:

Code: [Select]
...
setting up repositories
cannot find a valid baseurl for repo: smeaddons
Error: cannot find a valid baseurl for repo: smeaddons

When I run rpm -q smeserver-yum it reports version smeserver-yum-2.0.0-11.sme, even when I run the update again. The thread talks about upgrading .14 or .15 to .16, but I can't even get to .14 as it appears to be stuck on .11. Going to try a signal-event post-upgrade and reboot next.... stand by

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #17 on: September 17, 2013, 09:15:07 AM »
oops didn't notice the last post on that thread with new commands...
ran it and got error: cannot find a valid baseurl for repo: smeos

running upgrade and reboot again....

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #18 on: September 17, 2013, 01:02:37 PM »
winecooler

Quote
running upgrade and reboot again....

Has that fixed your repos ?
Can you do a
yum update
now without getting errors ?

If you stll cannot get the latest smeserver-yum installed,
then for 32 bit system there is v 2.0.0-17
At sme command prompt do
wget http://distro.ibiblio.org/smeserver/releases/obsolete/7.6/smeupdates/i386/RPMS/smeserver-yum-2.0.0-17.el4.sme.noarch.rpm
(the above is all on one line)
yum localinstall smeserver-yum
signal-event post-upgrade
signal-event reboot

You may have to also download using wget some other dependency packages if that is indicated by error messages, so wget those too, to the same folder & then repeat the yum localinstall command as above

Then I assume you will be able to do
yum update
signal-event post-upgrade
signal-event reboot

PS The whole tree showing the current sme obsolete repos for sme7.6 are here.
http://distro.ibiblio.org/smeserver/releases/obsolete/7.6/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #19 on: September 17, 2013, 04:58:48 PM »
No it didn't work, still stuck at smeserver-yum-2.0.0-11.sme. Still get same error. Okay will try .17 install and report back here.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #20 on: September 17, 2013, 05:06:37 PM »
It downloaded the file successfully, "...response 200 OK," " smeserver-yum-2.0.0-17.el4.sme.noarch.rpm saved" 86976 (bytes I'm assuming)

But when I tried to install it, it says:

Code: [Select]
Setting up Local Package Process. Cannot open file smeserver-yum. Skipping. Nothing to do.
I'm in /root, do I need to be in a particular folder?



Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #21 on: September 17, 2013, 05:22:49 PM »
winecooler

Did you use exactly the same commands I advised ?

It sounds to me like the downloaded file is corrupt. Delete it, download it again, & try the yum localinstall command again.
It is OK to be in /root (or any folder for that matter), as long as the file has been downloaded to the same folder.
To check do
la -al
« Last Edit: September 17, 2013, 05:28:34 PM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #22 on: September 17, 2013, 05:43:19 PM »
I reviewed your commands, they are identical. I rm'd the file, wgetted it again, did a yum localinstall and it failed again with that same error message. Just in case the file was corrupted during the download process, I tried it 4 more times, all with the same result. Perhaps the file itself on the site is corrupt?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #23 on: September 17, 2013, 07:04:02 PM »
winecooler

Seems odd. Try the -16 version from here. Change the wget command appropriately
http://distro.ibiblio.org/smeserver/releases/obsolete/7.6/smeos/i386/SME/RPMS/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #24 on: September 17, 2013, 07:43:53 PM »
I deleted the rpm, wgetted the 16 version:
Code: [Select]
wget http://distro.ibiblio.org/smeserver/releases/obsolete/7.6/smeos/i386/SME/RPMS/smeserver-yum-2.0.0.16-el4.sme.noarch.rpmResponse 200-OK, file saved. Ran "yum localinstall smeserver-yum" Exact same error message:

Code: [Select]
Setting up Local Package Process. Cannot open file smeserver-yum. Skipping. Nothing to do.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #25 on: September 18, 2013, 12:32:09 AM »
winecooler

Oops, it was late here when answering you.
Specify the full rpm name or packagename* when doing yum localinstall
ie

wget http://distro.ibiblio.org/smeserver/releases/obsolete/7.6/smeupdates/i386/RPMS/smeserver-yum-2.0.0-17.el4.sme.noarch.rpm
(the above is all on one line)
yum localinstall smeserver-yum-2.0.0-17.el4.sme.noarch.rpm
(the above is all on one line)

then follow with
signal-event post-upgrade
signal-event reboot

You may have to also download using wget some other dependency packages if that is indicated by error messages, so wget those too, to the same folder & then repeat the yum localinstall command as above
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #26 on: September 18, 2013, 01:27:08 AM »
Aha! I didn't realize I needed to spell out the whole thing. 16 worked successfully, I will do the same with 17 and anything else and report back here later tonight.  :D

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #27 on: September 18, 2013, 01:40:51 AM »
winecooler

I usually use
yum localinstall smeserver-yum*
but inadvertantly left the * out
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: what is this sme box used for?
« Reply #28 on: September 18, 2013, 01:53:16 AM »
winecooler

With the latest smeserver-yum installed, you should be able to successfully run
yum update

The correct repos should be set by the smeserver-yum install
Check them with
db yum_repositories show |more

You should see references to sme obsolete repos & centos vault repos in the MirrorList settings
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline winecooler

  • *
  • 37
  • +0/-0
Re: what is this sme box used for?
« Reply #29 on: September 18, 2013, 02:27:37 AM »
I'm not sure what you are saying. when you say I should be able to successfully run yum update, do you mean the last post in here?

If so I get the error "Cannot find a valid baseurl for repo: smeos"

and I thought Windows updates were a pain  :mad: