Can't start icecast
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stream2ip |
Fix Released
|
Medium
|
Takkat |
Bug Description
Stream2IP is set to start and stop icecast every time it connects, but this is not possible because the default icecast2 installation and configuration (even provided in your manual) can only run with sudo.
I'm getting this error when starting stream2ip:
start-stop-daemon: unable to set gid to 128 (Operation not permitted)
I have set the last line in icecast2 to: ENABLE=true
The only way to start/stop icecast2 is with sudo. This is not such a big problem when icecast2 is set to start everytime when the system is booted. Nonetheless the error message appears and should be looked into. Maybe just check that icecast2 is running already and if so, don't try to start/stop it. In the case it's not running, then that would be a bigger problem given that we need sudo to start it.
Changed in stream2ip: | |
milestone: | none → 1.0. |
Changed in stream2ip: | |
milestone: | 1.0. → none |
Thank you for reporting this.
We confirm that Icecast2 can't set the GID if not run as root, and we do have the error message.
All systems here are still able to start the Icecast server without issues. Therefore asking for root priviledges was not an option.
Can you confirm that the Icecast2 server is running after starting it from stream2ip (`pidof icecast2') ?