Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Yellow Pages

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Le Gabier
Guest





PostPosted: Fri Jul 08, 2005 1:59 am    Post subject: Yellow Pages Reply with quote

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
Code Warrior


Joined: 29 Jun 2005
Posts: 73
Location: Barcelona, Spain

PostPosted: Fri Jul 08, 2005 9:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Anonymous
Guest





PostPosted: Fri Jul 08, 2005 10:38 am    Post subject: Reply with quote

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






PostPosted: Fri Jul 08, 2005 1:45 pm    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jul 08, 2005 1:56 pm    Post subject: Reply with quote

try installing the curl development package, typical names are curl-dev or curl-devel
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Jul 08, 2005 2:27 pm    Post subject: Reply with quote

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... Confused
Back to top
Le Gabier
Guest





PostPosted: Fri Jul 08, 2005 3:19 pm    Post subject: Reply with quote

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... Confused

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jul 08, 2005 4:21 pm    Post subject: Reply with quote

if you have the curl-config utility then you have it installed
eg

curl-config --version
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Jul 08, 2005 4:51 pm    Post subject: Reply with quote

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






PostPosted: Sat Jul 09, 2005 12:46 am    Post subject: Reply with quote

# curl-config --version
libcurl 7.13.2

I will try to re emerge icecast
Back to top
Le Gabier
Guest





PostPosted: Sat Jul 09, 2005 3:47 am    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jul 09, 2005 11:30 am    Post subject: Reply with quote

ok, so it may very well be a bad patch by the gentoo packagers
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Mon Jul 18, 2005 11:52 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber