[Icecast] problem creating a systemd service

Paul Martin pm at nowster.me.uk
Thu May 28 22:34:14 UTC 2020

On Tue, May 26, 2020 at 07:10:17AM +0200, Per Gunnarsson wrote:
> Icecast behaves oddly for me in debian testing, somehow the permissions
> on my log file directory was set to root:adm if I remember things right.

I'm running 2.4.4-3 (unstable/testing) too, and it works fine out of
the box.

/var/log/icecast2 is supposed to be owned by icecast2:adm

> Also there was no systemd service starting when I tried to start from
> /etc/init.d,
> somehow init services refer to systemd services nowadays whether they exist
> or not.

Don't bother with a systemd service file.  It'll be fine with
/etc/init.d/icecast2 for the moment.  Don't forget to edit
/etc/default/icecast2 to enable it.

> In my liquidsoap log file, I have these things.
> 2020/05/26 06:21:43 [Verket_opus:2] Connection failed: bad answer:
> scanf: bad input at char number 0: looking for 'H', found '\021'

You want to point liquidsoap at a non-SSL port.  It doesn't do SSL.

Also, if you're installing from Debian, icecast2's executable is at
/usr/bin/icecast2, not /usr/local/bin/icecast2

Paul Martin <pm at nowster.me.uk>

More information about the Icecast mailing list