FS#21809 - [icecast] Something wrong with latest version

Attached to Project: Arch Linux
Opened by Green (The_Green_Arrow) - Tuesday, 23 November 2010, 21:53 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 06 February 2011, 09:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: I have a very strange issue with icecast. The exact same configuration file does not work anymore since (2.3.2-3 -> 2.3.2-4)
I've followed the instructions from the Wiki (https://wiki.archlinux.org/index.php/Streaming_With_Icecast).
And when I start the icecast server with the latest version, I've only got [BUSY] status for a while then it eventually become [FAIL].
So I've decided to start icecast with "icecast -c /etc/icecast.xml" as root, it seems to start, but the web interface is not reachable from the internet, only from local network.
Something must be wrong in the file permission.
It also seems there has been some changes regarding the default icecast.xml file. The changeowner section is no longer disabled.

Can anyone confirm that ?


Additional info:
* 2.3.2-4
* I've attached the icecast.xml file


With previous version I've got :
[2010-11-23 21:33:01] INFO stats/stats_shutdown stats thread finished
[2010-11-23 21:33:37] INFO fserve/fserv_thread_function file serving thread started
[2010-11-23 21:33:37] INFO main/main Icecast 2.3.2 server started
[2010-11-23 21:33:37] INFO yp/yp_update_thread YP update thread started
[2010-11-23 21:33:37] INFO connection/get_ssl_certificate No SSL c
With the new version, it won't reach the INFO main/main Icecast 2.3.2 server started line.

I've created icecast user with /usr/share/icecast as the home directory.

I had to downgrade to 2.3.2-3 because I have to broadcast something now, so I don't have anymore logs.

Steps to reproduce:
Upgrade icecast.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 06 February 2011, 09:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  icecast 2.3.2-5
Comment by Bryan Baraoidan (0p7ikos) - Saturday, 27 November 2010, 00:02 GMT
Having the same error, however I cannot start icecast with icecast -c /etc/icecast.xml
Comment by Green (The_Green_Arrow) - Tuesday, 30 November 2010, 20:15 GMT
Bryan > even as root ?
Comment by Green (The_Green_Arrow) - Sunday, 12 December 2010, 14:32 GMT
Still nothing ?
Comment by Bryan Baraoidan (0p7ikos) - Sunday, 12 December 2010, 21:12 GMT
Hello, Green, sorry for the delayed response. It does indeed start when I run icecast -c /etc/icecast.xml as root.
Comment by max-k (max-k) - Friday, 24 December 2010, 02:25 GMT
I have the same problem but icecast still start even if it shows FAIL.
Comment by Green (The_Green_Arrow) - Wednesday, 19 January 2011, 19:39 GMT
Almost 2 months now...still no clue about what is going on ?
I'm pretty sure this is Arch specific. How could I get the changelog between 2.3.2-3 and 2.3.2-4 ?
Comment by Andrea Scarpino (BaSh) - Wednesday, 19 January 2011, 19:46 GMT
I use no more icecast, but if someone provides a PKGBUILD/patch I can fix it.

changelog: http://projects.archlinux.org/svntogit/packages.git/commit/icecast/trunk?id=9c8366081d9d75a6c240accd113b80ab3c1551c6
Comment by Andrea Scarpino (BaSh) - Saturday, 05 February 2011, 20:07 GMT
does 2.3.2-5 solve this?
Comment by Green (The_Green_Arrow) - Sunday, 06 February 2011, 09:12 GMT
Unfortunately, it does not...
I've tried the new icecast.xml file (only the password and the hostname are different)
I've tried with my previous (working on -3) icecast.xml
Comment by Green (The_Green_Arrow) - Sunday, 06 February 2011, 09:27 GMT
It works !
In the /etc/rc.d/icecast script, the getPID() function is wrong :
it was :
getPID() { pgrep -u nobody icecast 2>/dev/null }
I've just changed this function to :
getPID() { pgrep -u icecast icecast 2>/dev/null }

And now the icecast server starts without problem...
So I guess the parameter after -u should be linked to the one in the icecast.xml configuration file (whether chroot is enabled or not)
Comment by Andrea Scarpino (BaSh) - Sunday, 06 February 2011, 09:31 GMT
well, the default user in .xml is nobody...I think that I'll close this and add two lines in the wiki about that.

Loading...