Dan Stowell
2004-Dec-07 13:52 UTC
[Icecast] icecast2 setup problem - unable to open logfiles
running it as myself ("dan") - the same as the owner of the logfiles
and of the containing folder.
i did try running it as root at first, but as you probably know, you
get a warning message if you try to do that.
dan
On Tue, 7 Dec 2004 13:03:08 -0800, Daniel <lpmusix@gmail.com>
wrote:> what user are you running icecast as?
>
>
>
>
> On Tue, 7 Dec 2004 08:31:29 +0000, Dan Stowell <danstowell@gmail.com>
wrote:
> > Hi,
> >
> > I'm setting up icecast2 on a Mac OSX. I can't get it to run
because
> > icecast complains about being unable to start logging - however,
I'm
> > pretty sure the logfiles are accessible. The relevant part of the
> > config file is:
> >
> > <paths>
> > <basedir>
> > /Users/dan/icecasting
> > </basedir>
> > <logdir>
> > /Users/dan/icecasting/logs
> > </logdir>
> > <webroot>
> > /Users/dan/icecasting/webserving
> > </webroot>
> > </paths>
> > <logging>
> > <accesslog>
> > icecast2access.log
> > </accesslog>
> > <errorlog>
> > icecast2error.log
> > </errorlog>
> > <loglevel>
> > 4
> > </loglevel>
> > </logging>
> >
> > Those logfiles are accessible - if I type "ls -l
> > /Users/dan/icecasting/logs" I get
> >
> > -rw-rw-r-- 1 dan admin 0 6 Dec 23:48 icecast2access.log
> > -rw-rw-r-- 1 dan admin 0 6 Dec 23:48 icecast2error.log
> > -rw-rw-r-- 1 dan admin 1106 6 Dec 23:03 ices.log
> >
> > Similarly, the "logs" directory is fully writeable. So why
is Icecast
> > finding it impossible to open the files for writing?
> >
> > I'll be grateful for any hints -
> > Best,
> > Dan
> >
> > --
> > http://www.mcld.co.uk
> > _______________________________________________
> > Icecast mailing list
> > Icecast@xiph.org
> > http://lists.xiph.org/mailman/listinfo/icecast
> >
>
--
http://www.mcld.co.uk
Zenon Panoussis
2004-Dec-07 14:14 UTC
[Icecast] icecast2 setup problem - unable to open logfiles
Dan Stowell wrote: [icecast can't write to log files]> running it as myself ("dan") - the same as the owner of the logfiles > and of the containing folder.>> > -rw-rw-r-- 1 dan admin 0 6 Dec 23:48 icecast2access.log >> > -rw-rw-r-- 1 dan admin 0 6 Dec 23:48 icecast2error.log >> > -rw-rw-r-- 1 dan admin 1106 6 Dec 23:03 ices.logWho owns the directory containing the logs? Is it "executable" (i.e. traversible)? By whom? Z
Dan Stowell
2004-Dec-07 15:03 UTC
[Icecast] icecast2 setup problem - unable to open logfiles
Zenon Panoussis wrote:> > Dan Stowell wrote: > > [icecast can't write to log files] > > > running it as myself ("dan") - the same as the owner of the logfiles > > and of the containing folder. > > >> > -rw-rw-r-- 1 dan admin 0 6 Dec 23:48 icecast2access.log > >> > -rw-rw-r-- 1 dan admin 0 6 Dec 23:48 icecast2error.log > >> > -rw-rw-r-- 1 dan admin 1106 6 Dec 23:03 ices.log > > Who owns the directory containing the logs? Is it "executable" (i.e. > traversible)? By whom?I own it, and everyone can traverse it! i.e.: drwxrwxrwx 5 dan admin 170 6 Dec 23:48 logs Dan