Hi Damien,

On Fri, Jan 11, 2013 at 5:04 PM, Damien Moody <[email protected]> wrote:
> Fatal error: exception Sys_error("/var/run/liquidsoap/main.pid:
> Permission denied") Raised at file "pervasives.ml", line 231,
> characters 21-47
>
> ls -lh /run/liquidsoap:
> -rw-r--r-- 1 root root 5 Jan 11 15:52 main.pid

>From the init.d script, liquidsoap is ran as user liquidsoap (or at
least, not as root) so the permissions you're showing are not enough.

> Line 230-231 in /usr/lib64/ocaml/pervasives.ml is
>
> let open_out_gen mode perm name =
>   open_descriptor_out(open_desc name mode perm)

There isn't much to it besides what the error already tells: this code
opens a file for writing (open_out) and this fails for lack of
permissions.

Good luck,
-- 
David

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to