Bug 13156 - stopping service squeezecenter is not always working in linux
: stopping service squeezecenter is not always working in linux
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.4.1
: PC RedHat Linux
: P3 normal (vote)
: 8.0.0
Assigned To: Mark Miksis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-30 20:58 UTC by Mikael Nyberg
Modified: 2014-04-01 20:23 UTC (History)
0 users

See Also:
Category: Bug


Attachments
service (1.80 KB, application/octet-stream)
2009-09-08 21:29 UTC, Mikael Nyberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Nyberg 2009-07-30 20:58:17 UTC
Sometimes it's not possible to stop SC 7.4 on my linux (ClarkConect 4.2 ) server.

I normaly use "service squeezecenter stop" in the terminal before an upgrade.
Or when i want to stop SC for other reasons
since a couple of days this does not always work ?

One way reproduce this 100% is by changing a setting that requires restart
then you get a popup in the web.UI and SC restart itself after that it's unstoppable.

I have to use top, find the pid and kill the squeezecenter process.


Version: 7.4 - r27933 @ Thu Jul 30 04:01:36 PDT 2009
Hostname: hal.home.lan
IP: 192.168.1.5
HTTP Port: 9000
OS: Red Hat - EN - utf8
Platform: i686-linux
Perl Version: 5.8.8 - i686-linux-thread-multi
Total Players Recognized: 3

I'm using CC4.2 but this is a redhat based os and SC thinks it redhat should i use "other" instead when I report bugs ?
Comment 1 Mark Miksis 2009-07-31 02:35:34 UTC
I'll look at this when I have time :)  Do you happen to know which RH release is the base for CC4.2?  Have you tested this with CC 5.0?
Comment 2 Mikael Nyberg 2009-08-02 07:47:57 UTC
Actually i don't what rhel version cc4.2 is based on
I tried 4.3 it crashed fataly on my hardware, kernel panic after 2/3 of the boot sequence.
I see now that 5.0 is out of beta maybe I try that later . But not now my server is very stable no need to change anything.

Maybe one should see cc as system of it's own they pick and choose from red hat enterise and CentOs ?

I'm not active on the cc forum it just works i have not suffered much bugs from cc
Comment 3 Pat Ransil 2009-09-08 15:53:44 UTC
Mark/Mikael - Do you think this happens only on ClarkConnect linux? Has this been seen on any other linux versions?
Comment 4 Mikael Nyberg 2009-09-08 21:29:34 UTC
Created attachment 5808 [details]
service

It has been working fine for last month so the latest build's are ok

But the service squeezeboxserver restart comand is not working

Both stop and restart give me this in the shell:

[root@hal ~]# service squeezeboxserver stop
/sbin/service: line 68:  4248 Terminated              env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
[root@hal ~]# service squeezeboxserver start
Starting Squeezebox Server:                                [  OK  ]


Before later 7.4 stopping gave that green [OK] too after a brief flash of a "failed" message sometimes, and restart worked.
Then you got ok after stop then ok another ok when starting


I attach a copy of the service script from my server.

I don't run squeezeboxserver on anything else hard to tell if it is only cc4.2 that has problems this must show on some CentOS and RHEL too ?
Comment 5 Mikael Nyberg 2014-04-01 20:23:40 UTC
With later versions of My OS and start script updates this issue does not seem to exist anymore ?