Hi! I've installed icecast and ices on a FreeBSD box. When I try to start ices, I get following output: [2003-08-11 11:02:14] INFO ices-core/main ices started... [2003-08-11 11:02:14] INFO signals/signal_usr1_handler Metadata update requested [2003-08-11 11:02:14] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/home/wim/playlist.txt" [2003-08-11 11:02:14] DBUG playlist-basic/shuffle Playlist has been shuffled [2003-08-11 11:02:14] INFO playlist-builtin/playlist_read Currently playing /home/wim/morgoth-under_the_surface.ogg [2003-08-11 11:02:14] EROR stream/ices_instance_stream Failed initial connect to 127.0.0.1:8000 (Login failed: Resource temporarily unavailable) [2003-08-11 11:02:14] DBUG reencode/reencode_clear Clearing reencoder [2003-08-11 11:02:14] DBUG input/input_loop An instance died, removing it [2003-08-11 11:02:14] DBUG input/input_flush_queue Input queue flush requested [2003-08-11 11:02:14] DBUG input/input_loop All instances removed, shutting down control thread. [2003-08-11 11:02:14] INFO ices-core/main Shutdown complete <p>Someone has a clue? <p><p>This is my error.log output: [2003-08-11 10:53:14] INFO connection/_handle_source_request Source logging in at mountpoint "/test.ogg" [2003-08-11 10:53:14] INFO connection/_handle_source_request Source (/test.ogg) attempted to login with invalid or missing password <p>----------------------------------------------------------------------------------------------------------- Here are my configs: icecast.xml <icecast> <location>Not Currently Used</location> <admin>Not Currently Used</admin> <limits> <clients>100</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>102400</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> </limits> <authentication> <!-- Sources log in with username 'source' --> <source-password>test</source-password> <!-- Relays log in username 'relay' --> <relay-password>test</relay-password> <!-- Admin logs in with the username given below --> <admin-user>admin</admin-user> <admin-password>test</admin-password> </authentication> <hostname>localhost</hostname> <!-- You may have multiple <listener> elements --> <listen-socket> <port>8000</port> <!-- <bind-address>127.0.0.1</bind-address> --> </listen-socket> <p> <!-- Only define a <mount> section if you want to use advanced options, like alternative usernames or passwords --> <mount> <mount-name>/test.ogg</mount-name> <username>othersource</username> <password>test</password> <max-listeners>1</max-listeners> <fallback-mount>/example2.ogg</fallback-mount> </mount> <fileserve>0</fileserve> <paths> <basedir>/usr/local/share/icecast</basedir> <logdir>/var/log/icecast</logdir> <!-- <webroot>/usr/local/etc/icecast/web</webroot> --> <!-- <adminroot>/usr/local/etc/icecast/admin</adminroot> --> <!-- Aliases: treat requests for 'source' path as being for 'dest' path May be made specific to a port or bound address using the "port" and "bind-address" attributes. --> <!-- <alias source="/foo" dest="/bar"/> --> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> </logging> <security> <chroot>0</chroot> <changeowner> <user>nobody</user> <group>nogroup</group> </changeowner> </security> </icecast> ----------------------------------------------------------------------------------------------- ices.xml <ices> <background>0</background> <!-- run in background? (unimplemented) --> <logpath>/var/log/icecast</logpath> <!-- where logs, etc go. --> <logfile>ices.log</logfile> <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug --> <consolelog>1</consolelog> <!-- set to 1 to log to the console instead of file --> <stream> <!-- metadata used for stream listing (not currently used) --> <metadata> <name>Test</name> <genre>Playlist</genre> <description>TEST</description> </metadata> <input> <module>playlist</module> <param name="type">basic</param><!-- Only 'basic' implemented --> <param name="file">/home/wim/playlist.txt</param> <!-- be sure this exists --> <param name="random">1</param> <!-- random play --> <param name="once">0</param> <!-- 1 plays once through, exits --> </input> <instance> <hostname>127.0.0.1</hostname> <port>8000</port> <password>hackme</password> <mount>/test.ogg</mount> <reconnectdelay>2</reconnectdelay> <reconnectattempts>5</reconnectattempts> <maxqueuelength>80</maxqueuelength> <encode> <nominal-bitrate>56000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps --> <samplerate>22050</samplerate> <channels>2</channels> </encode> </instance> </stream> </ices> <p><p><p>Cheers! Wim De Hul ------------------------------------------------------------------------------ IP SERVICES SPECIALIST Belgacom Carrier and Wholesale Business Unit (CBU) ------------------------------------------------------------------------------ AS6774 Ripe : WDH25-RIPE reply-to : NOC@belbone.be peering : peering@belbone.be NOC Tel : +32 2/547.51.00 www.belgacom.be/carrier ------------------------------------------------------------------------------ "Forgive your enemies, but never forget their names." - John F. Kennedy (1917-1963) ------------------------------------------------------------------------------ 11:27am up 41 days, 2:05, 1 user, load average: 1.49, 1.37, 1.25 --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 11 Aug 2003, Wim wrote:> <mount> > <mount-name>/test.ogg</mount-name> > <username>othersource</username> > <password>test</password> > > <max-listeners>1</max-listeners> > <fallback-mount>/example2.ogg</fallback-mount> > </mount>This is your problem IMHO. As the comments above it say, this is only meant for exception cases. Maybe it should be commented out by default if it's not already? anyway, to connect to this mountpoint, you'll need to login with the username of "othersource" which you're not doing. My suggestion is to comment out this entire block (at least for now) and see if you can get it to work with the default case. Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Monday 11 August 2003 19:32, Wim wrote:> Hi! > > I've installed icecast and ices on a FreeBSD box. > When I try to start ices, I get following output: >> [2003-08-11 11:02:14] EROR stream/ices_instance_stream Failed initial > connect to 127.0.0.1:8000 (Login failed: Resource temporarily > unavailable)Ices connect error messages are bad - known problem.> [2003-08-11 10:53:14] INFO connection/_handle_source_request Source > logging in at mountpoint "/test.ogg" > [2003-08-11 10:53:14] INFO connection/_handle_source_request Source > (/test.ogg) attempted to login with invalid or missing passwordHowever, icecast has clear error messages. <p>> <mount>> <mount-name>/test.ogg</mount-name> > <username>othersource</username> > <password>test</password> > > <max-listeners>1</max-listeners> > <fallback-mount>/example2.ogg</fallback-mount> > </mount>You have configured /test.ogg to have password 'test'.> <instance> > <hostname>127.0.0.1</hostname> > <port>8000</port> > <password>hackme</password> > <mount>/test.ogg</mount>You are trying to connect on /test.ogg with password 'hackme'. The icecast error message is confirmed as correct. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 2003-08-11 at 10:32, Wim wrote:> Hi! > > I've installed icecast and ices on a FreeBSD box. > When I try to start ices, I get following output: > > [2003-08-11 11:02:14] INFO ices-core/main ices started... > [2003-08-11 11:02:14] INFO signals/signal_usr1_handler Metadata update > requested > [2003-08-11 11:02:14] INFO > playlist-basic/playlist_basic_get_next_filename Loading playlist from > file "/home/wim/playlist.txt" > [2003-08-11 11:02:14] DBUG playlist-basic/shuffle Playlist has been > shuffled > [2003-08-11 11:02:14] INFO playlist-builtin/playlist_read Currently > playing /home/wim/morgoth-under_the_surface.ogg > [2003-08-11 11:02:14] EROR stream/ices_instance_stream Failed initial > connect to 127.0.0.1:8000 (Login failed: Resource temporarily > unavailable)hmmm, can you get me the strace output of this run, ie trace -o output -s 100 -f ices your-ices.xml the Resource temporarily unavailable message is unusual as well karl. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi Karl, I would like to send you the output, but after installing strace on my FreeBSD, i get the following: <p>/usr/local/bin/strace -o output -s 100 -f /usr/local/bin/ices /usr/local/etc/icecast/ices.xml strace: open("/proc/...", ...): No such file or directory trouble opening proc file Is there another way to send you a trace? <p><p><p>On Mon, 2003-08-11 at 13:54, Karl Heyes wrote:> On Mon, 2003-08-11 at 10:32, Wim wrote: > > Hi! > > > > I've installed icecast and ices on a FreeBSD box. > > When I try to start ices, I get following output: > > > > [2003-08-11 11:02:14] INFO ices-core/main ices started... > > [2003-08-11 11:02:14] INFO signals/signal_usr1_handler Metadata update > > requested > > [2003-08-11 11:02:14] INFO > > playlist-basic/playlist_basic_get_next_filename Loading playlist from > > file "/home/wim/playlist.txt" > > [2003-08-11 11:02:14] DBUG playlist-basic/shuffle Playlist has been > > shuffled > > [2003-08-11 11:02:14] INFO playlist-builtin/playlist_read Currently > > playing /home/wim/morgoth-under_the_surface.ogg > > [2003-08-11 11:02:14] EROR stream/ices_instance_stream Failed initial > > connect to 127.0.0.1:8000 (Login failed: Resource temporarily > > unavailable) > > hmmm, can you get me the strace output of this run, ie > > strace -o output -s 100 -f ices your-ices.xml > > the Resource temporarily unavailable message is unusual as well > > karl. > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.<p>Cheers! Wim De Hul ------------------------------------------------------------------------------ IP SERVICES SPECIALIST Belgacom Carrier and Wholesale Business Unit (CBU) ------------------------------------------------------------------------------ AS6774 Ripe : WDH25-RIPE reply-to : NOC@belbone.be peering : peering@belbone.be NOC Tel : +32 2/547.51.00 www.belgacom.be/carrier ------------------------------------------------------------------------------ Nothing is foolproof. Fools are too ingenious. ------------------------------------------------------------------------------ 2:28pm up 41 days, 5:07, 1 user, load average: 1.44, 1.40, 1.24 --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.