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
Paul Melnikow
2004-Dec-07 15:11 UTC
[Icecast] icecast2 setup problem - unable to open logfiles
On Tue, Dec 07, 2004 at 11:02:38PM +0000, Dan Stowell wrote:> 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 logsand the parent "icecasting" directory has the same permissions? can you include the output from the command showing the exact error message? p. -- every day is a good day
Dan Stowell
2004-Dec-07 15:34 UTC
[Icecast] icecast2 setup problem - unable to open logfiles
Paul Melnikow <pnm@zephyr.to> wrote:> On Tue, Dec 07, 2004 at 11:02:38PM +0000, Dan Stowell wrote: > > 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 > > and the parent "icecasting" directory has the same permissions?Yes, that's right.> can you include the output from the command showing the exact error > message?Here it is: dan% icecast -c /Users/dan/icecasting/icecast2conf.xml FATAL: could not open error logging FATAL: could not open access logging FATAL: Could not start logging dan% This is icecast 2.0.1 by the way, installed via darwinports. Thanks Dan
Dan Stowell
2004-Dec-08 00:44 UTC
[Icecast] icecast2 setup problem - unable to open logfiles
On Tue, 7 Dec 2004 18:44:10 -0500, Paul Melnikow <pnm@zephyr.to> wrote:> On Tue, Dec 07, 2004 at 11:33:54PM +0000, Dan Stowell wrote: > > > > Paul Melnikow <pnm@zephyr.to> wrote: > > > On Tue, Dec 07, 2004 at 11:02:38PM +0000, Dan Stowell wrote: > > > > Zenon Panoussis wrote: > > > > > Dan Stowell wrote: > > > > > > > > > > [icecast can't write to log files] > a quick test here suggests that the problem is with the whitespace. > > this works ok for me: > > <accesslog>icecast2access.log</accesslog> > > but this doesn't do what i'd expect -- i end up with question marks in > the filename: > > <accesslog> > icecast2access.log > </accesslog>Aha! That does it. (I'm right in thinking that kind of whitespace isn't supposed to matter in XML, aren't I?) Thanks all for your advice. Icecast now running, and I'll upgrade to 2.1 as soon as I'm comfortable with my understanding of it :) Thanks! Dan