Hi Sarah,
The user which starts the script as daemon has to have the permission to write
its pid file to the given directory
for example:
liquidsoap -d 'out(mksafe(input.pulseaudio()))'
Fatal error: exception Sys_error("/usr/local/var/run/liquidsoap/default.pid:
Permission denied")
You need permissions to write to the directory "/usr/local/var/run/liquidsoap/"
The directory is written in the error output and can be different on your
system.
You could either
* make the directory writable to your user (using chmod)
* change the file group of the directory (using chgrp),
* execute the script as user "liquidsoap" or
* add group "liquidsoap" to your user (adduser <user> liquidsoap)
BR, Peter
Am 13.11.2014 um 06:17 schrieb Sarah k Alawami:
> I could do that, but if I'm on another mac and I forget the pid that is
> not going to help much. I do want to learn why the -d switch is not working
> at least on this system. I only use screen as a last resourt or if I'm
> coppying 600 gigs of data as I'm doing now from one remote place to another
> and my own home internet is as flaky as it is.
>
> I need to reread the manual on scripting liquid soap again. Growl!
>
> Thanks all and blessings.
>> On Nov 12, 2014, at 8:43 PM, Jonathan Candler <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Try using screen
>>
>> Jonnyboy! Iphones rock!
>>
>> On Nov 12, 2014, at 13:55, Sarah k Alawami <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>> Well, I think i got it, except I tried to pass the -d paramater in my
>>> terminal window so I could do other tings in my linode, and got
>>>
>>> ncode.pid: Permission denied")
>>> Raised at file "pervasives.ml", line 231, characters 21-47
>>>
>>> I don't know xml code to save my life, but at least the script with ot the
>>> d parameter ran, I think.
>>>
>>> I was trying to run this in the backround so it would not interrupt stuff
>>> and I could do other things.
>>>
>>> Progress in this journey of learning is beeing made.
>>>
>>> blessings all.
>>>
>>>> On Nov 12, 2014, at 11:25 AM, Jonathan <[email protected]
>>>> <mailto:[email protected]>> wrote:
>>>>
>>>> The file /var/log/liquidsoap/encode.log doesn't have the permissions to
>>>> write to it you may try changing the folder permissions to the user. Let
>>>> us know if that helps.
>>>> On 11/12/2014 11:46 AM, Sarah k Alawami wrote:
>>>>> Hello to all. My name is Sarah Alawami, I'm extremely new here. I do have
>>>>> a question regarding a script.
>>>>>
>>>>> Hey to all. I upload a script I"m working on and I thought I'd run it,
>>>>> except I get this.
>>>>>
>>>>> init: exception encountered during start phase:
>>>>>
>>>>>
>>>>> Sys_error("/var/log/liquidsoap/encode.log: Permission denied")
>>>>>
>>>>> So what could be the cause of this? I'm' logged in as the user who is to
>>>>> run the script so I really don't know what could be up here.
>>>>> I cannot give the script here as I forgot to reference the password in
>>>>> another script and use it as a variable. Oops? I'm really trying to use
>>>>> the scripting language but I cannot come up with any mnemonics to help me
>>>>> out. that's the best way I learn
>>>>>
>>>>> Thanks all and happy wednesday.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Comprehensive Server Monitoring with Site24x7.
>>>>> Monitor 10 servers for $9/Month.
>>>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>>>> Take corrective actions from your mobile device.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Savonet-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Comprehensive Server Monitoring with Site24x7.
>>>> Monitor 10 servers for $9/Month.
>>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>>> Take corrective actions from your mobile device.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk_______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> <mailto:[email protected]>
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>> ------------------------------------------------------------------------------
>>> Comprehensive Server Monitoring with Site24x7.
>>> Monitor 10 servers for $9/Month.
>>> Get alerted through email, SMS, voice calls or mobile push notifications.
>>> Take corrective actions from your mobile device.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> <mailto:[email protected]>
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk_______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users