View previous topic :: View next topic |
Author |
Message |
Le Gabier Guest
|
Posted: Fri Jul 08, 2005 1:59 am Post subject: Yellow Pages |
|
|
It seems that my configuration is correct, however my server is not listed in the Yellow Pages. (The radio work perfectly.)
In my icecast.xml:
Code: |
<instance>
<hostname>192.168.0.1</hostname>
<port>8000</port>
<password>NotMyReal</password>
<mount>/my_stream.ogg</mount>
<reconnectdelay>1</reconnectdelay>
<reconnectattempts>-1</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<yp>1</yp>
<encode>
<nominal-bitrate>64000</nominal-bitrate>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance> |
In my ices-playlist.xml:
Code: |
<directory>
<yp-url-timeout>30</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory> |
Something wrong? |
|
Back to top |
|
|
MikeS Code Warrior
Joined: 29 Jun 2005 Posts: 73 Location: Barcelona, Spain
|
Posted: Fri Jul 08, 2005 9:46 am Post subject: |
|
|
You got the names of your config files backwards, which was a little confusing...
You might have built icecast without stream directory support. Have a look at the icecast log files, they should provide some useful information. |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Jul 08, 2005 10:38 am Post subject: |
|
|
This may happen because cURL was disabled or missing during the compile process... As MikeS said, check your logs... If it looks like cURL's missing, just check libcurl and libcurl-dev(el) are present on your system, and recompile. |
|
Back to top |
|
|
Guest
|
Posted: Fri Jul 08, 2005 1:45 pm Post subject: |
|
|
MikeS wrote: |
You got the names of your config files backwards, which was a little confusing... |
Ho yeah, sorry!
MikeS wrote: |
You might have built icecast without stream directory support. Have a look at the icecast log files, they should provide some useful information. |
balbinus wrote: |
This may happen because cURL was disabled or missing during the compile process... As MikeS said, check your logs... If it looks like cURL's missing, just check libcurl and libcurl-dev(el) are present on your system, and recompile. |
In my error log file: [2005-07-08 09:27:28] WARN main/main YP server handling has been disabled
The libcurl?
I'm running Linux Gentoo. There is a command to install softwares: emerge (like apt-get on debian). I installed icecast 2.1.0 and ices 2.0.0 (latests on the Gentoo portage) by emerging it.
The exact name "libcurl" do not exist in the Gentoo portage.
Is it one of theses? :
Quote: |
* dev-lisp/cl-curl [ Masked ]
Latest version available: 20050609
Latest version installed: [ Not Installed ]
Size of downloaded files: 9 kB
Homepage: http://sourceforge.net/projects/cl-curl/
Description: Common Lisp interface to libcurl, a multi-protocol file transfer library
License: LLGPL-2.1
* dev-ml/ocurl
Latest version available: 0.1.6
Latest version installed: [ Not Installed ]
Size of downloaded files: 48 kB
Homepage: http://sourceforge.net/projects/ocurl
Description: OCaml interface to the libcurl library
License: MIT
* dev-python/pycurl
Latest version available: 7.13.2
Latest version installed: [ Not Installed ]
Size of downloaded files: 60 kB
Homepage: http://pycurl.sourceforge.net/
Description: python binding for curl/libcurl
License: LGPL-2.1
* www-client/urlgfe [ Masked ]
Latest version available: 0.98
Latest version installed: [ Not Installed ]
Size of downloaded files: 531 kB
Homepage: http://urlget.sourceforge.net/
Description: Download manager using gtk+ and libcurl
License: LGPL-2.1
* x11-plugins/wmget
Latest version available: 0.6.0
Latest version installed: [ Not Installed ]
Size of downloaded files: 40 kB
Homepage: http://amtrickey.net/wmget/
Description: libcurl-based dockapp for automated-downloads
License: MIT |
...and this one, already installed:
Quote: |
* net-misc/curl
Latest version available: 7.13.2
Latest version installed: 7.13.2
Size of downloaded files: 2,961 kB
Homepage: http://curl.haxx.se/
Description: A Client that groks URLs
License: MIT X11 |
|
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jul 08, 2005 1:56 pm Post subject: |
|
|
try installing the curl development package, typical names are curl-dev or curl-devel |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Jul 08, 2005 2:27 pm Post subject: |
|
|
karlH wrote: |
try installing the curl development package, typical names are curl-dev or curl-devel |
emerge compiles everything, as far as I understand it... therefore if he has emerge'd curl, the headers should be present... |
|
Back to top |
|
|
Le Gabier Guest
|
Posted: Fri Jul 08, 2005 3:19 pm Post subject: |
|
|
karlH wrote: |
try installing the curl development package, typical names are curl-dev or curl-devel |
I have listed all packages containing the word curl in my previous post, curl-dev* do not exist.
balbinus wrote: |
emerge compiles everything, as far as I understand it... therefore if he has emerge'd curl, the headers should be present... |
emerge calculate dependencies. Normaly, curl as been emerge and compiled before emerging and compiling icecast, in order,.. If net-misc/curl (A Client that groks URLs) is the good one that I need, it is installed.
(Sorry for my poor english) |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Jul 08, 2005 4:21 pm Post subject: |
|
|
if you have the curl-config utility then you have it installed
eg
curl-config --version |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Fri Jul 08, 2005 4:51 pm Post subject: |
|
|
Quote: |
* net-misc/curl
Latest version available: 7.13.2
Latest version installed: 7.13.2
Size of downloaded files: 2,961 kB
Homepage: http://curl.haxx.se/
Description: A Client that groks URLs
License: MIT X11 |
According to the URL (http://curl.haxx.se/), the cURL that is installed on your comp is the one we're talking about! |
|
Back to top |
|
|
Guest
|
Posted: Sat Jul 09, 2005 12:46 am Post subject: |
|
|
# curl-config --version
libcurl 7.13.2
I will try to re emerge icecast |
|
Back to top |
|
|
Le Gabier Guest
|
Posted: Sat Jul 09, 2005 3:47 am Post subject: |
|
|
to be short,..
re emerging don't help, so I unemerged icecast and ices, downloaded icecast 2.2.0 and ices 2.0.1, ./configure;make;make install it, copied execs on /home/icecast (where all my configs, logs, etc, are (used this howto)), modified some path in icecast.xml. I start icecast and ices as user icecast (so I don't need anymore <changeowner>)
Now it work perfectly, I'm listed in the Stream Directory ! |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sat Jul 09, 2005 11:30 am Post subject: |
|
|
ok, so it may very well be a bad patch by the gentoo packagers |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Jul 18, 2005 11:52 am Post subject: |
|
|
Gentoo Emerge wrote: |
04:50:31 root ~ # emerge -pv icecast
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-misc/icecast-2.2.0 -doc +yp 0 kB |
MAKE SURE your use flags say +yp as well.
If they don't, that is the source of all your problems. |
|
Back to top |
|
|
|