[icecast] Problems starting ices
Wim
wdh at belbone.be
Mon Aug 11 09:32:33 UTC 2003
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 at belbone.be
peering : peering at 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 at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast
mailing list