<icecast> <limits> <clients>500</clients> <sources>500</sources> </limits> <authentication> <source-password>пароль</source-password> <admin-user>логин</admin-user> <admin-password>пмапроль</admin-password> </authentication> <directory> <yp-url-timeout>1</yp-url-timeout> <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url> </directory> <hostname>localhost</hostname> <listen-socket> <port>8000</port> </listen-socket> <mount> <mount-name>/live</mount-name> <password>пароль</password> <charset>CP1251</charset> <fallback-mount>/nonstop</fallback-mount> <fallback-override>1</fallback-override> <fallback-when-full>1</fallback-when-full> </mount> <mount> <mount-name>/nonstop</mount-name> <charset>CP1251</charset> <password>пароль</password> </mount> <mount> <mount-name>/test</mount-name> <password>пароль</password> <charset>CP1251</charset> </mount> <fileserve>1</fileserve> <paths> <logdir>/var/log/icecast</logdir> <webroot>/usr/local/share/icecast/web</webroot> <adminroot>/usr/local/share/icecast/admin</adminroot> <alias source="/foo" dest="/index.html"/> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>200000</logsize> <!-- Max size of a logfile --> <logarchive>1</logarchive> </logging> <security> <chroot>0</chroot> <changeowner> <user>icecast</user> <group>icecast</group> </changeowner> </security> </icecast>
<?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> <Playlist> <File>/media/playlist.txt</File> <Randomize>1</Randomize> <Type>builtin</Type> <Module>ices</Module> <Crossfade>5</Crossfade> --> </Playlist> <Execution> <Background>1</Background> <Verbose>0</Verbose> <BaseDirectory>/tmp</BaseDirectory> </Execution> <Stream> <Server> <Hostname>localhost</Hostname> <!-- Port of the same --> <Port>8000</Port> <!-- Encoder password on the icecast server --> <Password>пароль</Password> <Protocol>http</Protocol> </Server> <Mountpoint>/nonstop</Mountpoint> <Dumpfile>ices.dump</Dumpfile> --> <Name>Default stream</Name> <Genre>Default genre</Genre> <Description>Default description</Description> <URL>http://localhost:8000/nonstop</URL> <Public>0</Public> <Bitrate>96</Bitrate> <Reencode>2</Reencode> <Samplerate>44100</Samplerate> --> <Channels>2</Channels> </Stream> </ices:Configuration>
[2011-10-03 09:29:57] WARN source/source_fallback_file unable to open file "/usr/local/share/icecast/web/auto" [2011-10-03 09:30:08] WARN source/get_next_buffer Disconnecting source due to socket timeout [2011-10-03 09:30:08] WARN source/source_fallback_file unable to open file "/usr/local/share/icecast/web/auto" [2011-10-03 09:31:30] WARN admin/admin_handle_request Admin command metadata on non-existent source /live [2011-10-03 09:31:40] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/live" No such file or directory [2011-10-03 09:31:41] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/live" No such file or directory [2011-10-03 09:31:45] WARN source/source_fallback_file unable to open file "/usr/local/share/icecast/web/auto" [2011-10-03 09:32:08] WARN source/source_fallback_file unable to open file "/usr/local/share/icecast/web/auto" [2011-10-03 09:32:19] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/live" No such file or directory [2011-10-03 09:32:20] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/live" No such file or directory