View previous topic :: View next topic |
Author |
Message |
nelson1210 Guest
|
Posted: Tue Nov 22, 2005 12:29 pm Post subject: Failed initial connect to localhost:8000 (Socket error: |
|
|
hi!
i've tried to install Icecast 2.3.0 and ices-2.0.1.
icecast works good when i start it with
linux:/var/log/ices # icecast -c ./icecast.xml &
but ices2 shutdown after start....
this is the debug code:
Code: |
[2005-11-22 15:30:39] INFO audio/downmix_initialise Enabling stereo->mono downmixing
[2005-11-22 15:30:39] INFO audio/resample_initialise Initialised resampler for 1 channels, from 44100 Hz to 22050 Hz
[2005-11-22 15:30:39] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s), 22050 Hz, quality 0.000000
[2005-11-22 15:30:40] EROR stream/ices_instance_stream Failed initial connect to localhost:8000 (Socket error: Connection refused)
[2005-11-22 15:30:40] DBUG encode/encode_clear Clearing encoder engine
[2005-11-22 15:30:40] DBUG input/input_loop An instance died, removing it
[2005-11-22 15:30:40] DBUG input/input_flush_queue Input queue flush requested
[2005-11-22 15:30:40] INFO input/input_loop All instances removed, shutting down...
[2005-11-22 15:30:40] INFO metadata/metadata_thread_signal metadata thread shutting down
[2005-11-22 15:30:40] INFO ices-core/main Shutdown complete
|
i want to stream live from line-in ...
my icecast conf is:
Code: |
<icecast>
<limits>
<clients>30</clients>
<sources>10</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>
<source-password>pass</source-password>
<relay-password>pass</relay-password>
<admin-user>admin</admin-user>
<admin-password>pass</admin-password>
</authentication>
<hostname>192.168.108.120</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/local/icecast2</basedir>
<logdir>/usr/local/icecast2/logs</logdir>
<webroot>/usr/local/icecast2/web</webroot>
<adminroot>/usr/local/icecast2/admin</adminroot>
<pidfile>/usr/local/icecast2/icecast.pid</pidfile>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>tester</user>
<group>testgruppe</group>
</changeowner>
</security>
</icecast>
|
my ices conf:
Code: |
<?xml version="1.0"?>
<ices>
<!-- run in background -->
<background>0</background>
<!-- where logs go. -->
<logpath>/var/log/ices</logpath>
<logfile>ices.log</logfile>
<logsize>2048</logsize>
<!-- 1=error, 2=warn, 3=infoa ,4=debug -->
<loglevel>4</loglevel>
<!-- logfile is ignored if this is set to 1 -->
<consolelog>0</consolelog>
<!-- optional filename to write process id to -->
<!-- <pidfile>/home/ices/ices.pid</pidfile> -->
<stream>
<!-- metadata used for stream listing -->
<metadata>
<name>Example stream name</name>
<genre>Example genre</genre>
<description>A short description of your stream</description>
<url>http://mysite.org</url>
</metadata>
<!-- Input module.
This example uses the 'oss' module. It takes input from the
OSS audio device (e.g. line-in), and processes it for live
encoding. -->
<input>
<module>oss</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">/dev/dsp</param>
<!-- Read metadata (from stdin by default, or -->
<!-- filename defined below (if the latter, only on SIGUSR1) -->
<param name="metadata">1</param>
<param name="metadatafilename">test</param>
</input>
<instance>
<!-- Server details.
You define hostname and port for the server here, along
with the source password and mountpoint. -->
<hostname>localhost</hostname>
<port>8000</port>
<password>hackme</password>
<mount>/example1.ogg</mount>
<yp>1</yp> <!-- allow stream to be advertised on YP, default 0
-->
<!-- Live encoding/reencoding:
channels and samplerate currently MUST match the channels
and samplerate given in the parameters to the oss input
module above or the remsaple/downmix section below. -->
<encode>
<quality>0</quality>
<samplerate>22050</samplerate>
<channels>1</channels>
</encode>
<!-- stereo->mono downmixing, enabled by setting this to 1 -->
<downmix>1</downmix>
<!-- resampling.
Set to the frequency (in Hz) you wish to resample to, -->
<resample>
<in-rate>44100</in-rate>
<out-rate>22050</out-rate>
</resample>
</instance>
</stream>
</ices>
|
can anybody tell me whats wrong? plz...
sry for my english..... |
|
Back to top |
|
|
Guest
|
Posted: Tue Nov 22, 2005 12:41 pm Post subject: |
|
|
it was the pw ......... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|