| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Mon Mar 27, 2006 10:57 am Post subject: problem starting icecast |
|
|
when i try starting icecast as root user in suse linux. first i cd into the linux:~ # cd /usr/local/etc and try starting with the command linux:/usr/local/etc # icecast -c icecast.xml
i get an error:ERROR: You should not run icecast2 as root
Use the changeowner directive in the config file
if i try:
linux:/usr/local/etc # ./icecast.xml
i get the error:
bash: ./icecast.xml: Permission denied
then i try:
linux:/usr/local/etc # su icecast
icecast@linux:/usr/local/etc> icecast -c icecast.xml
and i get the error:
FATAL: could not open error logging (/usr/local/var/log/icecast/error.
log): Perm ission denied
FATAL: could not open access logging
(/usr/local/var/log/icecast/access.log): Pe rmission denied
FATAL: Could not start logging
icecast@linux:/usr/local/etc> icecast -c icecast.xml
can anyone help solve this problem? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Mar 27, 2006 2:35 pm Post subject: |
|
|
you either start as root and use changeowner or start as the icecast user. If you start as the icecast user then make sure you have write access to the log directory. If the user 'icecast' trys to write to a directory it doesn't have access to then the permission denied error occurs.
karl. |
|
| Back to top |
|
 |
|