Ось у меня ubuntu-10.04-lamp_10.04_amd64. Изначально пытался ставить на debian 5.0, но это дело у меня ничем хорошим незакончилось из-за проблемы с репозиториями (многие компоненты при установке выдавали ошибку 404 и т. п.)....
показываю конфиги:
/etc/icecast2/icecast.xml
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>PASS</source-password>
<relay-password>PASS</relay-password>
<admin-user>tranceunion</admin-user>
<admin-password>PASS</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/share/icecast2</basedir>
<logdir>/var/log/icecast2</logdir>
<webroot>/usr/share/icecast2/web</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<pidfile>/usr/share/icecast2/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast2</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
/usr/local/etc/ices.conf
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>/usr/local/etc/playlist.txt</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
</Playlist>
<Execution>
<Background>1</Background>
<Verbose>0</Verbose>
<BaseDirectory>/tmp</BaseDirectory>
</Execution>
<Stream>
<Server>
<Hostname>localhost</Hostname>
<Port>8000</Port>
<Password>PASS</Password>
<Protocol>http</Protocol>
</Server>
<Mountpoint>/test</Mountpoint>
<Name>Default stream</Name>
<Genre>Default genre</Genre>
<Description>Default description</Description>
<URL>http://localhost:8000/test</URL>
<Public>0</Public>
<Bitrate>128</Bitrate>
<Reencode>1</Reencode>
<Samplerate>44100</Samplerate>
<Channels>2</Channels>
</Stream>
</ices:Configuration>
Внезависимости от того, какой командой запускаю: ices или ices -c /usr/local/etc/ices.conf
в командной строке появляется
Into the land of the dreaded daemons we go... (pid: 24309) (только цифры в скобках постоянно разные) и ices работает, но проблема с тегами...
(теги треков отображаются как яюS - яюF при смене трека меняется последняя буква) Посмотрите пожалуйста конфиги, может что поправить?
Кстати, когда подаю команду перезапуска
результат выдается
ices: unrecognized service
Резкльтат соответствующий
Расчитываю на Вашу помощь