View previous topic :: View next topic |
Author |
Message |
mavmike
Joined: 07 Mar 2009 Posts: 15
|
Posted: Sat Mar 07, 2009 8:55 pm Post subject: |
|
|
the problem is icecast doesnt seem to run from root on linux, so you have to enable the chroot.
But, once you do that and set the chroot directory to say /home/icecast , that folder now doesnt have /etc and /lib when you su into it, which are required files for icecast and ices (not listed)
Please update list of prerequisite and/or requirements to include these files for Linux. That would help others
I had no idea it would even be these specific files, I found someone else try copying all those files over and it happened to work. Perhaps some of them are not required. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Mar 07, 2009 10:12 pm Post subject: |
|
|
icecast does not require or even suggest using chroot as most people don't know what is involved in setting these jails up properly. I suspect you are mistaking some other issue for chroot. None of our samples enable chroot.
karl. |
|
Back to top |
|
|
PlayRadio
Joined: 12 Mar 2009 Posts: 9 Location: Romania
|
Posted: Thu Mar 12, 2009 10:47 am Post subject: Problem listing |
|
|
Hello!
I just installed Icecast on a linux machine and i have a problem listing my streams. I also run 2 more servers on windows and I have no problem listing them on the Icecast directory.
The configuration file is the same with the one I use on the windows servers.
Here are my streams:
http://live.playradio.org:9090/Play48.aac
http://live.playradio.org:9090/Play32.aac _________________ The best dance hits of the 90's only @ Play Radio |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 12, 2009 3:06 pm Post subject: |
|
|
You didn't say what was in your error log, whether yp is disabled or whether yp is running. The stream won't tell us why it's not being listed.
karl. |
|
Back to top |
|
|
PlayRadio
Joined: 12 Mar 2009 Posts: 9 Location: Romania
|
Posted: Fri Mar 13, 2009 10:26 am Post subject: |
|
|
karlH wrote: |
You didn't say what was in your error log, whether yp is disabled or whether yp is running. The stream won't tell us why it's not being listed.
karl. |
Icecast is compiled with yp. What is the name of the log that should be created for yp? The only logs i have on the serever are access.log and error.log _________________ The best dance hits of the 90's only @ Play Radio |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Mar 13, 2009 3:09 pm Post subject: |
|
|
there's no separate log for yp, it's mentioned in the error log. Just look for entries that have yp in them, if the stream is public then it will attempt to list on the specified directories.
karl. |
|
Back to top |
|
|
PlayRadio
Joined: 12 Mar 2009 Posts: 9 Location: Romania
|
Posted: Fri Mar 13, 2009 6:49 pm Post subject: |
|
|
karlH wrote: |
there's no separate log for yp, it's mentioned in the error log. Just look for entries that have yp in them, if the stream is public then it will attempt to list on the specified directories.
karl. |
I have nothing with yp in the error log. And it's still not listing. It doesn't seem to show the yp_currently_playing in the status like the windows servers do. What could be the problem? I assured that it will compile with yp. _________________ The best dance hits of the 90's only @ Play Radio |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Mar 13, 2009 8:17 pm Post subject: |
|
|
our server code does list at least one entry with yp, even if the support isn't there. At the very least you will either see
Updating YP configuration
or
YP server handling has been disabled
karl. |
|
Back to top |
|
|
PlayRadio
Joined: 12 Mar 2009 Posts: 9 Location: Romania
|
Posted: Fri Mar 13, 2009 8:49 pm Post subject: |
|
|
karlH wrote: |
our server code does list at least one entry with yp, even if the support isn't there. At the very least you will either see
Updating YP configuration
or
YP server handling has been disabled
karl. |
How can I update the YP and how can I see if the server handling has been disabled.
Sorry for all these questions but I'm a new user of Icecast. _________________ The best dance hits of the 90's only @ Play Radio |
|
Back to top |
|
|
sonia
Joined: 28 Dec 2008 Posts: 67 Location: Greece
|
Posted: Thu Apr 23, 2009 1:02 am Post subject: Re: Directory listings |
|
|
hello karl
finally I'm not listed. I just checked my settings on icecast xml and are the following:
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>here I have changed it to the ip of the server</hostname>
all the above are the default settings as you know, except from the hostname that I have put the server ip only. maybe should I put the port and the stream.m3u???
thank youuuuu
p.s.: the "hidden" and "no-yp" are both set to 0 (zero)
karlH wrote: |
If anyone has trouble with listing on dir.xiph.org then you can report your stream here. Don't forget localhost is not a valid hostname (any valid IP or DNS name will suffice) and we do check that the stream is accessible so any firewalls should allow access.
karl. |
_________________ www.freshwebradio.com |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Apr 23, 2009 2:55 am Post subject: |
|
|
Just to be clear. You have to specify the directory servers you want to list on and not only that, each stream you want listed needs to be marked public, whether that latter setting is done via the source client or the <mount> settings no-yp or public is up to you. The mount setting, public, is mainly for inactive on-demand relays that you may want listed.
karl. |
|
Back to top |
|
|
sonia
Joined: 28 Dec 2008 Posts: 67 Location: Greece
|
Posted: Thu Apr 23, 2009 12:37 pm Post subject: |
|
|
that's clear ok. but could you please tell me in which section of the xml I can see that "each stream you want listed needs to be marked public"? and what do I need to change?
thank you
karlH wrote: |
Just to be clear. You have to specify the directory servers you want to list on and not only that, each stream you want listed needs to be marked public, whether that latter setting is done via the source client or the <mount> settings no-yp or public is up to you. The mount setting, public, is mainly for inactive on-demand relays that you may want listed.
karl. |
_________________ www.freshwebradio.com |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Apr 23, 2009 2:36 pm Post subject: |
|
|
the admin page will tell you if the stream is public. In most cases the only change in the icecast xml is to uncomment the directory. Usually the setting to make the stream advertise is in the source client.
karl. |
|
Back to top |
|
|
sonia
Joined: 28 Dec 2008 Posts: 67 Location: Greece
|
Posted: Thu Apr 23, 2009 3:30 pm Post subject: |
|
|
the admin page is ok. I also uncomment the xml. and the source client is ok.
i'll wait some hours and if not, I'll bother you again.
thank youuuu
karlH wrote: |
the admin page will tell you if the stream is public. In most cases the only change in the icecast xml is to uncomment the directory. Usually the setting to make the stream advertise is in the source client.
karl. |
_________________ www.freshwebradio.com |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Apr 23, 2009 4:03 pm Post subject: |
|
|
You can increase the log level and look for entries in the error log with yp in them. The process of adding an entry to our yp is fairly quick, although I did give about minute after the stream started before adding so that any problems at connection are not wasting update events.
karl. |
|
Back to top |
|
|
|