Koozali.org: home of the SME Server

Upgrade to squeezeboxserver from squeezecenter - service won't start

Offline maxdog

  • 14
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #30 on: July 27, 2010, 12:38:28 PM »
OK so the bug has been closed and I still cant install squeezebox;

Existing lock /var/run/yum.pid: another copy is running.

server has been rebooted and left for 30 mins

then;

[root@newton ~]# ps ax|grep yum
 3526 ?        Ss     0:00 runsv yum
 3569 ?        S      0:00 /usr/local/bin/multilog t s5000000 /var/log/yum
 6129 pts/0    S+     0:00 grep yum

and

[root@newton ~]# killall yum
yum: no process killed


'I'm out of my depth here. Something horrible is going on but I'm not sure what.'

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #31 on: July 27, 2010, 01:44:42 PM »
maxdog

Did you correct the base URL of that repo as per comment 22 in the bug ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline maxdog

  • 14
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #32 on: July 28, 2010, 01:16:06 PM »
Mary

I did try that though Charlie did explain they weren't needed in comment 24, result was the same.
I'm away for a couple of weeks now so will start from the top when I get back, thanks for your help.


Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #33 on: July 28, 2010, 08:37:09 PM »
maxdog

Are you following the instructions here
http://wiki.contribs.org/SqueezeBoxServer#Installation

The bug report mentions trying to install an rpm named squeezebox, but the rpm to install is squeezeboxserver
ie from the wiki do
yum --enablerepo=squeezecenter-release install squeezeboxserver

If you look in
http://repos.slimdevices.com/yum/squeezecenter/release/
you see the rpm's available

As I see the issue, and Charlie correctly identified that in the bug report, you are asking yum to find and install squeezebox, which does not exist !

Try again following the wiki more carefully.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline maxdog

  • 14
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #34 on: July 29, 2010, 08:32:45 AM »

Hi Mary

I'm following the instuctions here:

http://wiki.contribs.org/SqueezeBoxServer

for stable release



Tried this install this on 7.5.1, had an error saying invalid repository now when I try again I get this;

[root@****** ~]# yum --enablerepo=squeezecenter-release install squeezeboxserver
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

Any ideas? Im sure its not a bug and that I'm missing something obvious!

G

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #35 on: July 29, 2010, 09:06:05 AM »
just a curiosity: is your server connected to internet?
did you run the test from admin console?

Offline maxdog

  • 14
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #36 on: July 29, 2010, 11:40:47 AM »
Stefano

Yes internet is connected - Ive just VPN'd the server from my current location and re run the test - reports 'Internet connection successful'

I think there may have been a problem accessing the repo when I first tried it, then I get the problem when I subsequently try to install.


Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #37 on: July 29, 2010, 12:11:57 PM »
maxdog

Does
yum update
appear to run without error ?

What does this show
db yum_repositories show squeezecenter-release

I just followed the wiki instructions to add the release repo and run the yum install and it works fine first go, so something is not right with your system.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline maxdog

  • 14
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #38 on: July 29, 2010, 12:25:44 PM »
Hi Mary

Yes Yum update runs without error and I've also installed RKhunter while the problem exists with Squeezeboxserver.

Last login: Thu Jul 29 10:34:32 2010 from 192.168.1.222
[root@newton ~]# db yum_repositories show squeezecenter-release
squeezecenter-release=repository
    BaseURL=http://repos.slimdevices.com/yum/squeezecenter/release/
    EnableGroups=no
    GPGCheck=no
    GPGKey=http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter
    Name=SqueezeCenter Release Repository
    Visible=no
    status=disabled
[root@newton ~]#



Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #39 on: July 29, 2010, 03:53:46 PM »
maxdog

do

yum clean all

& then try the installing squeezeboxserver again
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: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #40 on: August 01, 2010, 01:17:17 AM »
maxdog

Quote
I'm following the instructions here:
http://wiki.contribs.org/SqueezeBoxServer
for stable release

......Which says to install the package named squeezeboxserver.
In the bug report you use strace commands which refer to a package named squeezebox. Charlie did ask for that, but he also said to change the name if you used a different yum install "differentpackage" command.

I think you should re-open the bug report and re-submit the correct diagnostic information that Charlie asked for, but using the correct command appropriate for what you are trying to do.
ie you should have done
 strace -f -s500 -o/tmp/yi.strace yum install -y squeezeboxserver

Whereas Bug report Comments said
> > [root@newton ~]# strace -f -s500 -o/tmp/yi.strace yum install -y squeezebox
> > Loading "fastestmirror" plugin
> > Loading "protect-packages" plugin
> > Loading "installonlyn" plugin
> > Loading "smeserver" plugin
> > Setting up Install Process
> > Setting up repositories
> > Loading mirror speeds from cached hostfile
> > Reading repository metadata in from local files
> > Excluding Packages from CentOS - os
> > Finished
> > Excluding Packages from CentOS - updates
> > Finished
> > Parsing package install arguments
> > No Match for argument: squeezebox
> > Nothing to do
> > cat: /var/run/yum.pid: No such file or directory
> > [root@newton ~]#
>
> I don't see a yum "another copy running" error message here - do you?
>
> This is the problem you have been telling us about:
>
>   Existing lock /var/run/yum.pid: another copy is running. Aborting.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline maxdog

  • 14
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #41 on: August 01, 2010, 11:52:21 AM »

Mary

did as you suggested;



maxdog

do

yum clean all

& then try the installing squeezeboxserver again


then squeezeboxserver installed cleanly

many thanks for your help

 

Offline SuperGrover

  • **
  • 56
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #42 on: September 18, 2011, 08:25:06 PM »
Hi all,

I managed to get SBS 7.6.1 - r33110 up and running via the method mentioned earlier in this topic.

1 one changed, the location to add @INC = grep { $_ !~ /5\.8/ } @INC; in bootstrap.pm changed from line 142 to 143.

I have a problem however. When I install new plugins, the SBS keeps requesting to restart. No matter how many times I tried (button in SBS, from root by using service squeezeboxserver stop and start, and even a full reboot), it keeps requesting to restart.

The log in /var/log/squeezeboxserver states":
Code: [Select]
[11-09-18 20:01:24.9980] Slim::Utils::Misc::msg (1236) Warning: [20:01:24.9973] cannot unlink file for /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE: Permission denied at /usr/lib/perl5/vendor_perl/Slim/Utils/PluginManager.pm line 776
[11-09-18 20:01:24.9996] Slim::Utils::Misc::msg (1236) Warning: [20:01:24.9992] cannot restore permissions to 0100644 for /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE:  at /usr/lib/perl5/vendor_perl/Slim/Utils/PluginManager.pm line 776

Anybody has any idea why the permission is denied?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #43 on: September 18, 2011, 09:35:57 PM »
Anybody has any idea why the permission is denied?
What is the output of:
Code: [Select]
ls -la /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline SuperGrover

  • **
  • 56
  • +0/-0
Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
« Reply #44 on: September 18, 2011, 09:47:35 PM »
Code: [Select]
-rw-r--r--  1 root root 17987 Apr  8  2010 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE

aha, so a simple chmod to 755 of this directory could do the trick?