| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Thu May 15, 2008 9:35 pm Post subject: icecast fedora 9 problem |
|
|
Hi
I install icecast on Fedora 9. It is running:
[root@localhost /]# /etc/init.d/icecast status
icecast (pid 2030) is running...
Now I can not access on http://localhost:8000
I check port (during icecast runs) with netstat -atpn and there was not on this port.
thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 16, 2008 12:16 am Post subject: |
|
|
Did you check whether icecast is actually running (ps aux | grep icecast). It could be that the startup script is incorrectly assuming icecast is running when it is not.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 2:10 am Post subject: |
|
|
I am having the exact same problem. The icecast process is running, but it is not actually opening the port. I even compiled it from source and the same thing is happening. I'm running fedora 9, but I cannot figure out what is causing it.
nmap shows nothing, netstat shows nothing, and the only thing in my logs is this:
[2008-05-15 22:05:39] INFO main/main Icecast 2.3.1 server started
[2008-05-15 22:05:39] DBUG yp/yp_recheck_config Updating YP configuration
[2008-05-15 22:05:39] INFO yp/yp_update_thread YP update thread started
[2008-05-15 22:05:39] INFO auth/auth_run_thread Authentication thread started
[2008-05-15 22:05:40] DBUG slave/_slave_thread checking master stream list
[2008-05-15 22:07:40] DBUG slave/_slave_thread checking master stream list |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 3:26 am Post subject: |
|
|
| Interesting, when I compile the kh branches it works, but the regular releases do not. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 16, 2008 11:40 am Post subject: |
|
|
With 2.3.1, if the port bind fails then icecast stops, so it must be on there unless there is some weird bug. Obviously icecast will fail if something else is already listening but if the expected port is not showing up in netstat at all then I can't explain it without a more detailed investigation.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 12:26 pm Post subject: |
|
|
Thanks for answers
The output for ps aux | grep icecast is this:
[root@localhost /]# ps aux | grep icecast
icecast 2030 0.0 0.2 13616 1732 ? Sl 14:11 0:00 /usr/bin/icecast -b -c /etc/icecast.xml
root 2624 0.0 0.0 4124 700 pts/1 S+ 14:20 0:00 grep icecast
[root@localhost /]#
I think is ok?!
skroll could you explain exactly what have you installed? |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 12:36 pm Post subject: |
|
|
| karlH wrote: |
With 2.3.1, if the port bind fails then icecast stops, so it must be on there unless there is some weird bug. Obviously icecast will fail if something else is already listening but if the expected port is not showing up in netstat at all then I can't explain it without a more detailed investigation.
karl. |
It's odd, but while running the branched version that binds to the port, even when running the vanilla version it doesnt crash, it starts up just fine but does not spit out an error. It doesn't seem to be binding to the port at all. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 12:46 pm Post subject: |
|
|
[quote="skroll"]
| dozd wrote: |
Thanks for answers
The output for ps aux | grep icecast is this:
[root@localhost /]# ps aux | grep icecast
icecast 2030 0.0 0.2 13616 1732 ? Sl 14:11 0:00 /usr/bin/icecast -b -c /etc/icecast.xml
root 2624 0.0 0.0 4124 700 pts/1 S+ 14:20 0:00 grep icecast
[root@localhost /]#
I think is ok?!
skroll could you explain exactly what have you installed? |
Not a problem, http://www.icecast.pwp.blueyonder.co.uk/
I grabbed the latest tarball from here, and compiled it. It ran just fine. If you need any more help then that I can show you how to do it, but it's just the usual configure, make, make install. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 5:10 pm Post subject: |
|
|
| Quote: |
Not a problem, http://www.icecast.pwp.blueyonder.co.uk/
I grabbed the latest tarball from here, and compiled it. It ran just fine. If you need any more help then that I can show you how to do it, but it's just the usual configure, make, make install.
|
I install it but the probelm is not solved  |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 5:21 pm Post subject: |
|
|
| dozd wrote: |
| Quote: |
Not a problem, http://www.icecast.pwp.blueyonder.co.uk/
I grabbed the latest tarball from here, and compiled it. It ran just fine. If you need any more help then that I can show you how to do it, but it's just the usual configure, make, make install.
|
I install it but the probelm is not solved  |
It installs the files to /usr/local/bin so try running this command directly:
/usr/local/bin/icecast -b -c /etc/icecast.xml
Just make sure you are running as root. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 16, 2008 5:45 pm Post subject: |
|
|
You don't get those messages when you run the program directly, those are from the script.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 6:15 pm Post subject: |
|
|
It works
Thanks
OK, now I have access from my web browser.
Please for suggestion about appearing XML file. When I loggin for Administration the page is like this:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<icestats>
<admin>icemaster@localhost</admin>
<client_connections>9</client_connections>
<clients>0</clients>
<connections>9</connections>
<file_connections>6</file_connections>
<host>localhost</host>
<listener_connections>0</listener_connections>
<listeners>0</listeners>
<location>Earth</location>
<outgoing_kbitrate>0</outgoing_kbitrate>
<server_id>Icecast 2.3-kh34a</server_id>
<server_start>Fri, 16 May 2008 20:00:42 +0200</server_start>
<source_client_connections>0</source_client_connections>
<source_relay_connections>0</source_relay_connections>
<source_total_connections>0</source_total_connections>
<sources>0</sources>
<stats>0</stats>
<stats_connections>0</stats_connections>
</icestats>
[/img] |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Fri May 16, 2008 7:49 pm Post subject: |
|
|
| karlH wrote: |
You don't get those messages when you run the program directly, those are from the script.
karl. |
When I fire off the program directly, all it informs me of is that it is changing to the icecast user/group, and then it sits there. No errors, it doesn't halt, nothing. I can't seem to figure it out, I'm about to start digging through the source to see what possible differences it could be.
I'm pretty sure it has to do with Fedora, but conventional wisdom fails me on what the problem could be here. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 16, 2008 10:09 pm Post subject: |
|
|
skroll...
the -b is for background which may be what the script is doing. without -b the prompt won't return until the program exits. I guess you are starting as root.
dozd...
you are probably not using the proper link try /admin.html or even /admin/stats.xsl if you are using /admin/ then you get a default xml page.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat May 17, 2008 6:43 am Post subject: |
|
|
| karlH wrote: |
skroll...
the -b is for background which may be what the script is doing. without -b the prompt won't return until the program exits. I guess you are starting as root.
dozd...
you are probably not using the proper link try /admin.html or even /admin/stats.xsl if you are using /admin/ then you get a default xml page.
karl. |
No, I understand -b is for background. I'm just trying to help dozd out. Even without -b it's the same issue. No port binding, no crashing. |
|
| Back to top |
|
 |
|