LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-24-2003, 05:49 AM   #1
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Rep: Reputation: 15
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.
 
Old 05-24-2003, 06:01 AM   #2
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Original Poster
Rep: Reputation: 15
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.
 
Old 07-19-2010, 04:18 AM   #3
dashko
LQ Newbie
 
Registered: Jun 2010
Location: Slovakia, Bratislava
Distribution: Gentoo
Posts: 9

Rep: Reputation: 1
Thumbs down 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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IceCast webwolf70 Linux - Software 2 03-09-2005 08:00 PM
Icecast / Shoutcast Ratclaws Linux - Software 1 03-09-2005 08:19 AM
Icecast 2 grayram Linux - Newbie 12 11-27-2004 12:54 AM
Icecast or Shoutcast? inkysplat Linux - Software 2 11-05-2003 02:20 AM
Icecast Canadian_2k2 Linux - Software 3 01-15-2003 08:05 AM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration