Re: [Savonet-users] Liquidsoap-daemon (OPAM) issue : "PID file still present"
I can confirm that the suggested modification works just fine for me. Thanks! 2016-10-10 17:20 GMT+02:00 neralex: > Hey Yoann! > > I got the same issue and it seems liquidsoap needs some time to delete > the pidfile but the init.d-scripts runs to fast and it will ends in this > error. > > You can let it sleep for one second between stop and start in the > restart-function like this: > >restart|force-reload) > $0 stop > sleep 1 > $0 start > ;; > > It works fine on my debian jessie. But don't forget to add it again, if > you update/recompile liquidsoap in the future. > > Cheers > > Am 07.10.2016 um 08:08 schrieb Yoann F: > > Hello, > > > > I recently built a new system with liquidsoap via OPAM, and it was a > > breeze. Based on previous experiences a few years ago, when I had to > > install and compile a bunch of things to get everything to work (such as > > aac encoding), it's much easier. Congrats on the major improvement. > > > > However I'm stumbling upon an issue with liquidsoap-daemon. > > As I noticed the radio wasn't running after system reboots, I did the > > following : > > > > *liquidsoap@machine*:*~*$ /etc/init.d/liquidsoap-daemon restart > > Stopping liquidsoap... /etc/init.d/liquidsoap-daemon: 26: kill: No > > such process > > > > OK > > PID file still present! Remove it if daemon isn't running.. > > > > When I remove the pid file myself, then it does launch properly : > > > > *liquidsoap@machine*:*~*$ rm ~/liquidsoap-daemon/pid/run.pid > > *liquidsoap@**machine*:*~*$ /etc/init.d/liquidsoap-daemon restart > > No liquidsoap daemon running.. > > Starting liquidsoap... OK > > > > The issue will happen again, each and every time the daemon is expected > > to run again, such as after a system reboot. > > Any ideas ? > > > > Thanks, > > -- > > Yoann Ferret > > > > > > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > > > > > ___ > > Savonet-users mailing list > > Savonet-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/savonet-users > > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users > -- Yoann Ferret -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] Liquidsoap-daemon (OPAM) issue : "PID file still present"
2016-10-10 10:20 GMT-05:00 neralex: > Hey Yoann! > > I got the same issue and it seems liquidsoap needs some time to delete > the pidfile but the init.d-scripts runs to fast and it will ends in this > error. > > You can let it sleep for one second between stop and start in the > restart-function like this: > >restart|force-reload) > $0 stop > sleep 1 > $0 start > ;; > > It works fine on my debian jessie. But don't forget to add it again, if > you update/recompile liquidsoap in the future. Thanks for reporting this, guys. I have just committed your suggestion to the liquidsoap-daemon code, hopefully that'll take care of it! Romain -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] Liquidsoap-daemon (OPAM) issue : "PID file still present"
Hey Yoann! I got the same issue and it seems liquidsoap needs some time to delete the pidfile but the init.d-scripts runs to fast and it will ends in this error. You can let it sleep for one second between stop and start in the restart-function like this: restart|force-reload) $0 stop sleep 1 $0 start ;; It works fine on my debian jessie. But don't forget to add it again, if you update/recompile liquidsoap in the future. Cheers Am 07.10.2016 um 08:08 schrieb Yoann F: > Hello, > > I recently built a new system with liquidsoap via OPAM, and it was a > breeze. Based on previous experiences a few years ago, when I had to > install and compile a bunch of things to get everything to work (such as > aac encoding), it's much easier. Congrats on the major improvement. > > However I'm stumbling upon an issue with liquidsoap-daemon. > As I noticed the radio wasn't running after system reboots, I did the > following : > > *liquidsoap@machine*:*~*$ /etc/init.d/liquidsoap-daemon restart > Stopping liquidsoap... /etc/init.d/liquidsoap-daemon: 26: kill: No > such process > > OK > PID file still present! Remove it if daemon isn't running.. > > When I remove the pid file myself, then it does launch properly : > > *liquidsoap@machine*:*~*$ rm ~/liquidsoap-daemon/pid/run.pid > *liquidsoap@**machine*:*~*$ /etc/init.d/liquidsoap-daemon restart > No liquidsoap daemon running.. > Starting liquidsoap... OK > > The issue will happen again, each and every time the daemon is expected > to run again, such as after a system reboot. > Any ideas ? > > Thanks, > -- > Yoann Ferret > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > ___ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users > -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
[Savonet-users] Liquidsoap-daemon (OPAM) issue : "PID file still present"
Hello, I recently built a new system with liquidsoap via OPAM, and it was a breeze. Based on previous experiences a few years ago, when I had to install and compile a bunch of things to get everything to work (such as aac encoding), it's much easier. Congrats on the major improvement. However I'm stumbling upon an issue with liquidsoap-daemon. As I noticed the radio wasn't running after system reboots, I did the following : *liquidsoap@machine*:*~*$ /etc/init.d/liquidsoap-daemon restart Stopping liquidsoap... /etc/init.d/liquidsoap-daemon: 26: kill: No such process OK PID file still present! Remove it if daemon isn't running.. When I remove the pid file myself, then it does launch properly : *liquidsoap@machine*:*~*$ rm ~/liquidsoap-daemon/pid/run.pid *liquidsoap@**machine*:*~*$ /etc/init.d/liquidsoap-daemon restart No liquidsoap daemon running.. Starting liquidsoap... OK The issue will happen again, each and every time the daemon is expected to run again, such as after a system reboot. Any ideas ? Thanks, -- Yoann Ferret -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users