[Icecast] SIGHUP to icecast running in chroot mode

Andrew N. Below defan at zenon.net
Fri Oct 27 08:37:44 UTC 2006


Hi.

It seems like if icecast receiving SIGHUP while
running in chroot mode, it fails to open config file.

I run icecast chrooted in /home/icecast:

[2006-10-27  12:32:37] INFO main/main Icecast 2.3.1 server started
[2006-10-27  12:32:37] INFO fserve/fserv_thread_function file serving thread
started
[2006-10-27  12:32:37] INFO yp/yp_update_thread YP update thread started
[2006-10-27  12:32:37] INFO auth/auth_run_thread Authentication thread
started
[2006-10-27  12:33:10] WARN config I/O
[2006-10-27  12:33:10] WARN config warning :
[2006-10-27  12:33:10] WARN config failed to load external entity
"/home/icecast/etc/icecast.xml"
[2006-10-27  12:33:10] EROR event/event_config_read Error parsing config,
not replacing existing config
[2006-10-27  12:33:10] EROR event/event_config_read Parse error in reading
/home/icecast/etc/icecast.xml

For a quick fix I just make symbolic link:

%ls -l /home/icecast/home/icecast/etc/icecast.xml
lrwxr-xr-x  1 icecast  icecast  16 Oct 27 12:36
/home/icecast/home/icecast/etc/icecast.xml -> /etc/icecast.xml

--
Andrew N. Below
Zenon N.S.P.




More information about the Icecast mailing list