Hi, Thanks much, that did it. I've also changed the other paths to just the final references. Thanks. Dave. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hello, I would like to get ip, date and client of each listener from acces.log in order to get stats and put them on a php page and/or MySQL base. I'm not a bash/sed/awk expert and I think this file is not easily parsable. What about making more easy to use log files ? --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 10:07 PM 4/1/2004, you wrote:>Hello, > I'm trying to setup icecast2 and darkice on a FreeBSD test system prior >to putting it in to production use. I've downloaded and installed the ports >for both without a problem, created directories logs and conf within the >icecast root which is /usr/local/share/icecast, and created an icecast user. >Then i edited /usr/local/share/icecast/conf/icecast.xml, the relevant >entries are: > > <paths> > <!-- basedir is only used if chroot is enabled --> > <basedir>/usr/local/share/icecast</basedir> > > <!-- Note that if <chroot> is turned on below, these paths must both > be relative to the new root, not the original root --> > <logdir>/usr/local/share/icecast/logs</logdir> > </paths>the comment really gives it away, if your using chroot, then your logdir is a directory relative to the chrooted directory...my guess is you should change the logdir to /logs and then make sure your user (icecast in your case) has access to this logdir. oddsock <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hello, I'm trying to setup icecast2 and darkice on a FreeBSD test system prior to putting it in to production use. I've downloaded and installed the ports for both without a problem, created directories logs and conf within the icecast root which is /usr/local/share/icecast, and created an icecast user. Then i edited /usr/local/share/icecast/conf/icecast.xml, the relevant entries are: <paths> <!-- basedir is only used if chroot is enabled --> <basedir>/usr/local/share/icecast</basedir> <!-- Note that if <chroot> is turned on below, these paths must both be relative to the new root, not the original root --> <logdir>/usr/local/share/icecast/logs</logdir> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> </logging> <security> <chroot>1</chroot> <changeowner> <user>icecast</user> <group>icecast</group> </changeowner> </security> </icecast> When i try to start icecast i get a message, changed root successfully to /usr/local/share/icecast, changed uid to 81, changed groupid to 81. And then: "Fatal can not open access.log" "Fatal could not open error.log" "Fatal: could not start logging" My start command is icecast -c /usr/local/share/conf/icecast.xml. Firstly, i verified that the logs directory did exist then i changed it's owner and group to icecast, and tried another restart. I then tried again with the same results. I then went in to logs and touch both access.log and error.log and changed there owner and group to icecast. Another restart and i got the same error message. Any suggestions welcome. Some urgency! Thanks. Dave. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.