On 22/04/16 00:04, Sarah Alawami wrote:
> Right. I didn't think of that.  I changed the path to reflect what the ~
> would reflect. This time I got.
> 
> 
> Starting liquidsoap channels: christmaslive.liq FATAL ERROR: PID
> directory
> "/home/marrie125/.opam/system/lib/liquidsoap/var/run/liquidsoap" does
> not exist.
> To change it, add the following to your script:
>   set("init.daemon.pidfile.path", "<path>")
> OK
> 
> I don't remember having to set any of these folders' paths. It's been 2
> years since I had to modify the script. *smiles*
> 
> Take care and have a happy Friday.
>> On Apr 21, 2016, at 8:58 PM, Lars Kruse <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Hi Sarah,
>>
>>
>> Am Thu, 21 Apr 2016 19:48:50 -0700
>> schrieb Sarah Alawami <[email protected] <mailto:[email protected]>>:
>>
>>> I created the shorter path ~/liquidsoap/logs. I then put at the top
>>> of the
>>> script: set("log.file.path",  "~/liquidsoap/logs")
>>> I then started liquidsoap and got:
>>>
>>> Starting liquidsoap channels: christmaslive.liq FATAL ERROR: Log
>>> directory
>>> "~/liquidsoap" does not exist. To change it, add the following to
>>> your script:
>>>  set("log.file.path", "<path>")
>>
>> did you try the full explicit path as well? Maybe liquidsoap does not
>> apply user
>> expansion (for "~").
>> (the absence of user expansion would not be a bug - just a design
>> decision)

yeah, my bad, sorry. liquidscript doesn't take USER relative ~ variable.

>>
>> If everything else fails: try "strace" - this will show you, which
>> paths the
>> programs tries to access during its runtime.
>> (this approach is more or less a last resort if everything else fails)

You can still use mkdir ~/liquidsoap/logs to create the directory, but
should use

set("log.file.path","/home/marrie125/liquidsoap/logs/christmaslive.log")

in your script.


regarding the "Starting liquidsoap channels: christmaslive.liq FATAL
ERROR: PID directory
"/home/marrie125/.opam/system/lib/liquidsoap/var/run/liquidsoap" does
not exist." error,

I have no idea what .opam is but ls -l
/home/marrie125/.opam/system/lib/liquidsoap/var/run/liquidsoap should
tell you whether the file/binary exists or not.

cheers

-- 
k054

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to