The log is http://pastebin.com/7JMQThpj .
My guess is that ti could not connect to the mountpoint and when i called
shutdown with this behaviour it disconnected.
PS: I changed the name of the pls file in the script in the logs there is
the several playlists that i used.
Em 7 de outubro de 2011 10:44, Fábio Costa <[email protected]>escreveu:
> I shutdown by socket calling the function ns_teste.off, my script is:
>
> -----------------------------------------------------------------------------------------------------
> #!/usr/local/bin/liquidsoap
> pathToSocket="/usr/local/bin/listenserver/sockets/sockets_teste";
> set("server.socket",true);
> set("server.socket.path",pathToSocket);
> set("server.socket.permissions",508)
>
> set("init.daemon.pidfile.path","/usr/local/bin/listenserver/pids/<script>.pid")
> set("init.daemon",true)
> set("init.daemon.change_user.group","liquidsoap");
> set("init.daemon.change_user.user","liquidscript");
> set("log.file",true)
> set("log.file.append",true)
> set("log.file.path","/usr/local/bin/listenserver/logs/<script>.log")
> set("log.file.perms",508)
> set("log.file.perms",508)
> outp=output.icecast(%vorbis(mono), description="My test", host="localhost",
> port=8000, password="MYPASS", mount="teste.ogg", id="teste");
>
> src=mksafe(playlist(mode="normal","/usr/local/bin/listenserver/musics/pls/play.pls"))
> def finish(str)
> source.shutdown(src)
> shutdown()
> "ok!"
> end
> server.register(namespace="ns_teste",usage="off",description="turn off the
> proccess","off",finish);
> outp(src)
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Em 7 de outubro de 2011 10:41, Romain Beauxis <[email protected]>escreveu:
>
> Hi!
>>
>> 2011/10/7 Fábio Costa <[email protected]>:
>> > I am trying to shutdown liquidsoap by file (it worked
>> sometimes,sometimes it
>> > didn't).
>> > I encounter the following:
>> >
>> > 2011/10/07 10:10:45 [main:3] Shutdown started!
>> > 2011/10/07 10:10:45 [main:3] Waiting for threads to terminate...
>> > 2011/10/07 10:10:45 [threads:2] Queue non-blocking queue #1 crashed with
>> > exception Bad file descriptor in select()
>> > 2011/10/07 10:10:45 [threads:1] PANIC: Liquidsoap has crashed, exiting..
>> > 2011/10/07 10:10:45 [threads:1] Please report at:
>> [email protected]
>> >
>> > My LS version is Liquidsoap 1.0.0 (@:20111006:164209)
>>
>> Haha, new feature (or so we say..)!
>>
>> What are you doing, how do you shutdown? Script and log informations
>> would be very useful :-)
>>
>> Romain
>>
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users