LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   icecast (https://www.linuxquestions.org/questions/linux-software-2/icecast-61518/)

Ju Deddo Koinu 05-24-2003 05:49 AM

icecast
 
I was interested in getting icecast to work on my linux box, to stream mp3's locally (to another computer in my house). Well, I got all the packages, and got it all installed nicely, as per the instructions I found at http://melmoth.dyndns.org/stream/doc/index.html . The problem with this, is that the author trails off at the end - just after giving me a bunch of infomation that I didn't understand completely. I'm stuck at the point where I'm trying to make my configuration files the way they need to be, but I don't really understand what to change to what to get everything to work. When I think I have it all set up the way it needs to be, and I try to start icecast, or ices, it doesn't seem to work. So, I'm wondering if maybe there is something that I'm missing - a step or something... And I still have no idea if you're supposed to run icecast or shout first, or if you have to have your web server up and running as well, or what's going on - and is shout the same thing as ices? I am so confused, and there is a lack of 'for dummies' documentation for icecast on the net. The one I mentioned earlier was the only one I found that started off simple enough for me to understand (step by step). But, then when he got into the configuration area, he lost me, and then he didn't even finish his docs...

Following the instructions, I have a user named icecast on my linux box, which has the IP of 127.168.0.2 on my local network. everything - as per the docs, was installed in /home/icecast/stream. I also installed all the optional packages (ao, libxml, libxslt libogg libvorbis vorbis-tools, libcurl, openssl, icecast, ices, libshout, avl, httpp, log, net, thread, timing). All paths are setup correctly, everything compiled and installed without a single warning or error, all files seem to be in the right place...

I'm especially confused over the "mount" in the conf/icecast.xml directory, as well as what kind of playlist.txt I can use with ices-playlist.xml's config listing. I've attempted m3u's a simple text listing, and so forth... but none of them work with it it gives me an error: "Bad file descriptor"... Maybe I'm just typing the mp3's i want streamed wrongly... I dunno. So, can someone help me on a one-on-one basis, or suggest a really good icecast online tutorial? I'm desperate now that I've come so far.

Ju Deddo Koinu 05-24-2003 06:01 AM

Turning on the httpd service got me this far:

[root@localhost bin]# ./ices /home/icecast/stream/conf/ices-playlist.xml
[2003-05-24 05:59:25] INFO ices-core/main ices started...
[2003-05-24 05:59:25] INFO signals/signal_usr1_handler Metadata update requested
[2003-05-24 05:59:25] INFO playlist-builtin/playlist_read Currently playing 02.mp3
[2003-05-24 05:59:25] WARN playlist-builtin/playlist_read Corrupt or missing data in file (02.mp3)
[2003-05-24 05:59:25] INFO playlist-builtin/playlist_read Currently playing 01.mp3
[2003-05-24 05:59:25] WARN playlist-builtin/playlist_read Corrupt or missing data in file (01.mp3)
[2003-05-24 05:59:25] EROR stream/ices_instance_stream Failed initial connect to 127.168.0.2:8000 (Login failed: Success)
[2003-05-24 05:59:25] DBUG reencode/reencode_clear Clearing reencoder
[2003-05-24 05:59:25] EROR playlist-builtin/playlist_read Cannot play same file twice in a row, skipping
[2003-05-24 05:59:25] DBUG input/input_loop An instance died, removing it
[2003-05-24 05:59:25] DBUG input/input_flush_queue Input queue flush requested
[2003-05-24 05:59:25] DBUG input/input_loop All instances removed, shutting down control thread.
[2003-05-24 05:59:25] INFO ices-core/main Shutdown complete


and yes, I tried as the icecast user, but it didn't work, so I tried with root, which I copied this output from - it's the same was the icecast user's output.

dashko 07-19-2010 04:18 AM

Crazy server icecast and client ices
 
Hi there,
this client/server is crazy ****. At first i got error
EROR stream/ices_instance_stream Failed initial connect to mydomain:8000 (Login failed: Success)

After 2 hours of googling and searching in great docs (i readed it 10 times, nothing there) i realised IceS maybe don't support sending stream over internet to icecast server.

So i moved on and install ices directly on server. I got this error
EROR stream/ices_instance_stream Failed initial connect to mydomain:8000 (Socket error: Success)

I tried to change passwords (forum said) and other stuff...and after another 2 hours of googling and changing configs i realised the best would be move this "thing" to /dev/null forever

Cheers! I did it, moved to /dev/null !!!

And no, i have no firewall, and no, my ISP isn't blocking port 8000. And yes i scanned open ports and icecast was there listening.

It's just this "thing" don't work at all :(

Can you suggest me better audio streaming server? (i appreciate it will work this time)


All times are GMT -5. The time now is 04:17 AM.