[Icecast] Icecast won't start on system boot

"Thomas B. Rücker" thomas at ruecker.fi
Sun Mar 29 05:22:14 UTC 2015


On 03/26/2015 09:02 PM, Steve Matzura wrote:
> Well, here's the whole output from systemctl.
>
> # systemctl status icecast -l
> icecast.service - Icecast Network Audio Streaming Server
>    Loaded: loaded (/usr/lib/systemd/system/icecast.service; enabled)
>    Active: failed (Result: exit-code) since Thu 2015-03-26 18:06:10
> CET; 38min ago
>   Process: 839 ExecStart=/usr/bin/icecast -c /etc/icecast.xml
> (code=exited, status=1/FAILURE)
>  Main PID: 839 (code=exited, status=1/FAILURE)
>    CGroup: /system.slice/icecast.service
>
> Mar 26 18:06:09 {my-FQDN} systemd[1]: Starting Icecast Network Audio
> Streaming Server...
> Mar 26 18:06:09 {my-FQDN} systemd[1]: Started Icecast Network Audio
> Streaming Server.
> Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26  18:06:09] WARN
> CONFIG/_parse_root Warning, <location> not configured, using default
> value "Earth".
> Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26  18:06:09] WARN
> CONFIG/_parse_root Warning, <admin> contact not configured, using
> default value "icemaster at localhost".
> Mar 26 18:06:10 {my-FQDN} icecast[839]: ERROR: You should not run
> icecast2 as root
> Mar 26 18:06:10 {my-FQDN} icecast[839]: Use the changeowner directive
> in the config file
> Mar 26 18:06:10 {my-FQDN} systemd[1]: icecast.service: main process
> exited, code=exited, status=1/FAILURE
> Mar 26 18:06:10 {my-FQDN} systemd[1]: Unit icecast.service entered
> failed state.
>
> I have since defined location and contact, but they were only warnings
> anyway. The XML definitely contains a changeowner section with user
> defined as nobody and group defined as nogroup.

Are those inside the <security> section?
http://icecast.org/docs/icecast-2.4.1/config-file.html#security
We only use settings if they are inside the right tags.

Cheers

Thomas

> On Thu, 26 Mar 2015 20:35:25 +0000, you wrote:
>
>> On 03/26/2015 06:05 PM, Steve Matzura wrote:
>>> OK, took a crash course in systemctl. Got the service properly
>>> enabled. However, got one odd error when I started it.
>>>
>>> Mar 26 18:06:10 {my-FQDN} icecast[839]: ERROR: You should not run
>>> icecast2 as root
>>> Mar 26 18:06:10 {my-FQDN} icecast[839]: Use the changeowner directive
>>> in the config file
>>>
>>> The XML shows:
>>>
>>> <changeowner>
>>> 	<user>nobody</user>
>>> 	<group>nogroup</group>
>>> </changeowner>
>> Check which config file it's trying to use, might be a different copy?
>> On Fedora the default config file is /etc/icecast.xml IIRC.
>>
>> TBR
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>




More information about the Icecast mailing list