I have been trying to start up Icecast2 using howtoforge.com/linux_webradio_with_icecast2_ices2 as my docset. The icecast server comes up; I'm able to go to localhost:8000 and see the pages. I can't seem to get the ices2 part working. I use the suggested config file: [...] <input> <module>playlist</module> <param name="type">basic</param> <param name="file">/etc/ices2/playlist.txt</param> <!-- random play --> <param name="random">0</param> <!-- if the playlist get updated that start at the beginning --> <param name="restart-after-reread">0</param> <!-- if set to 1 , plays once through, then exits. --> <param name="once">0</param> </input> [...] And the files should be right jacoby@robbie:~$ cat /etc/ices2/playlist.txt /etc/ices2/music/01-True_Blue.ogg /etc/ices2/music/02-Hell_at_Home.ogg jacoby@robbie:~$ ls -l /etc/ices2/music/ total 0 -rw-r--r-- 1 root root 0 2007-04-14 01:39 01-True_Blue.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 02-Hell_at_Home.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 03-All_About_You.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 04-A_World_Away.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 05-Gone_Pecan.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 06-Natural_World.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 07-The_Promise_Land.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 08-Fallin'_for_You.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 09-Ol'_Lady_Luck.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 10-Gemini_Blues.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 11-The_Road_We're_On.ogg -rw-r--r-- 1 root root 0 2007-04-14 01:39 12-Juke_Box_Mama.ogg jacoby@robbie:~$ But the log file says that the ices server can't find them. [2007-04-14 12:02:34] INFO ices-core/main IceS 2.0.1 started... [2007-04-14 12:02:34] INFO signals/signal_usr1_handler Metadata update requested [2007-04-14 12:02:34] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/etc/ices2/playlist.txt" [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error opening file "/etc/ices2/music/01-True_Blue.ogg ": No such file or directory [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error opening file "/etc/ices2/music/02-Hell_at_Home.ogg ": No such file or directory [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error opening file "/etc/ices2/music/01-True_Blue.ogg ": No such file or directory [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error opening file "/etc/ices2/music/02-Hell_at_Home.ogg ": No such file or directory [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error opening file "/etc/ices2/music/01-True_Blue.ogg ": No such file or directory [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error opening file "/etc/ices2/music/02-Hell_at_Home.ogg ": No such file or directory [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Too many consecutive errors - exiting [2007-04-14 12:02:34] EROR stream/ices_instance_stream Failed initial connect to localhost:8000 (Login failed: Success) So, as I understand it, I'm doing everything right, yet I'm still not streaming music. I'm sure it's something stupid like a file permission thing or something, but I don't know where to poke next. Help? -- David Jacoby jacoby.david@gmail.com "I like the way it fits into my brain. I like the fact that I can think in Perl more easily than I can in any other language." --Damian Conway on Perl
Dave Jacoby wrote:> But the log file says that the ices server can't find them. > > [2007-04-14 12:02:34] INFO ices-core/main IceS 2.0.1 started... > [2007-04-14 12:02:34] INFO signals/signal_usr1_handler Metadata > update requested > [2007-04-14 12:02:34] INFO > playlist-basic/playlist_basic_get_next_filename Loading playlist from > file "/etc/ices2/playlist.txt" > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error > opening file "/etc/ices2/music/01-True_Blue.ogg ": No such file or > directory > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error > opening file "/etc/ices2/music/02-Hell_at_Home.ogg ": No such file or > directory > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error > opening file "/etc/ices2/music/01-True_Blue.ogg ": No such file or > directory > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error > opening file "/etc/ices2/music/02-Hell_at_Home.ogg ": No such file or > directory > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error > opening file "/etc/ices2/music/01-True_Blue.ogg ": No such file or > directory > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Error > opening file "/etc/ices2/music/02-Hell_at_Home.ogg ": No such file or > directory > [2007-04-14 12:02:34] WARN playlist-builtin/playlist_read Too many > consecutive errors - exiting > [2007-04-14 12:02:34] EROR stream/ices_instance_stream Failed initial > connect to localhost:8000 (Login failed: Success) > > So, as I understand it, I'm doing everything right, yet I'm still not > streaming music. I'm sure it's something stupid like a file permission > thing or something, but I don't know where to poke next. Help?Assuming no copy/paste error, you seem to have a space after the filename. Check the playlist file for the extra characters at the end of each line and remove them. karl.
Dave Jacoby wrote:> <snip> > jacoby@robbie:~$ ls -l /etc/ices2/music/ > total 0 > -rw-r--r-- 1 root root 0 2007-04-14 01:39 01-True_Blue.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 02-Hell_at_Home.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 03-All_About_You.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 04-A_World_Away.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 05-Gone_Pecan.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 06-Natural_World.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 07-The_Promise_Land.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 08-Fallin'_for_You.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 09-Ol'_Lady_Luck.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 10-Gemini_Blues.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 11-The_Road_We're_On.ogg > -rw-r--r-- 1 root root 0 2007-04-14 01:39 12-Juke_Box_Mama.ogg > jacoby@robbie:~$ > > But the log file says that the ices server can't find them.<snip> To me, that looks like the files are all empty - they have a size of 0 bytes. Notice how it says "total 0" Check your audio files are all ok. Matt