Best of!
---------- Forwarded message ---------- From: Numerizik Mailing Guillaume <fo...@numerizik.com> Date: 2011/12/21 Subject: RE: [Savonet-users] liquid stop alone (last hg version) To: Romain Beauxis <to...@rastageeks.org> Cc : david.bae...@ens-lyon.org, savonet-users@lists.sourceforge.net Hello I added this : set("init.daemon",true) set("init.daemon.pidfile",true) set("init.daemon.change_user", true) set("init.daemon.change_user.group", "root"); set("init.daemon.change_user.user", "root"); but I have this message : Fatal error: exception Unix.Unix_error(30, "setgid", "") Raised at file "", line 0, characters 0-0 Can you help me ? -----Message d'origine----- De : Romain Beauxis [mailto:to...@rastageeks.org] Envoyé : mercredi 21 décembre 2011 04:18 À : Numerizik Mailing Guillaume Cc : david.bae...@ens-lyon.org; savonet-users@lists.sourceforge.net Objet : Re: [Savonet-users] liquid stop alone (last hg version) 2011/12/20 Numerizik Mailing Guillaume <fo...@numerizik.com>: > Hello, Hi Guillaume! > I think i found problem but i don't know why :) > > I have this problem since I installed 1.0.0 version, difference is > that I compiled with robotstream user instead of root for last version. You should try to avoid compiling as root, the configure script has been known to have issues when run as root. > I modify my start.sh as this : (add su - robotstream --command....) > > cd /RADIOROOT/PLAYERS > killall player_1 > su - robotstream --command='/RADIOROOT/PLAYERS/player_1 --debug -t > /RADIOROOT/PLAYERS/player_1.conf' & > /dev/null > > if I run start.sh liquid run but stop alone > > if I did directly with shell : > su - robotstream > /RADIOROOT/PLAYERS/player_1 --debug -t > /RADIOROOT/PLAYERS/player_1.conf It's working ! > > (with and without --debug and I put my last file configuration and > It's ok > too) > > Have you idea ? :) I have no idea but if you wish to run liquidsoap as a daemonized service, I would advise to use a proper daemonization tool such as start-stop-daemon in Debian. Actually, if you have compiled liquidsoap in a debian/ubuntu box, you should be able to use the script we provide for that purpose. In order to run liq as a daemon you need to use this setting: set("init.daemon",false) Additionally, if you cannot use start-stop-daemon, you may also want to start the script as root and use those settings: set("init.daemon.change_user", true) set("init.daemon.change_user.group", <USER>) set("init.daemon.change_user.user", <GROUP>) Where <USER> and <GROUP> are replaced with the values you need. Romain ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users