€
$
₴
₽
EN
RU
Vmeste.EU
Лента
Каталог
Файлы
Форумы
Услуги
Основное
Radiotalk
Пользовательское
Технологии вещания, софт, скрипты
6 •
Посмотреть все темы
Сбой Icecast2
1
5
Александр
@Aleksandr_Burtsev
02.03.2015
Установил на Ubuntu 14.04 Icecast2 и ezstream.
При запуске icecast никаких ошибок не выдаёт... но в логе ошибок icecast (error.log) содержиться:
[list=*]
[*][2015-03-01 23:57:10] INFO connection/_handle_source_request Source logging in at mountpoint "/play"
[2015-03-01 23:57:10] WARN connection/source_startup Mountpoint /play in use[/*]
[/list]
Попытка запуска ezstream приводит к ошибке Login failed.
Прилагаю конфиги:
[list=*]
[*]<ezstream>
<url>http://localhost:8000/play</url>
<sourcepassword>********</sourcepassword>
<format>MP3</format>
<filename>/tmp/radio/playlist.txt</filename>
<shuffle>0</shuffle>
<playlist_program>0</playlist_program>
<svrinfoname>Name</svrinfoname>
<svrinfourl>radiocms.ru/</svrinfourl>
<svrinfogenre>Ofther</svrinfogenre>
<svrinfodescription>Description</svrinfodescription>
<svrinfobitrate>128</svrinfobitrate>
<svrinfochannels>2</svrinfochannels>
<svrinfosamplerate>44100</svrinfosamplerate>
<svrinfopublic>1</svrinfopublic>
<reencode>
<enable>1</enable>
<encdec>
<format>MP3</format>
<match>.mp3</match>
<decode>lame -f --preset cbr 128 --bitwidth 16 "@T@" -</decode>
</encdec>
</reencode>
</ezstream>[/*]
[/list]
[list=*]
[*]<icecast>
<location>Earth</location>
<admin>icemaster@localhost</admin>
<limits>
<clients>300</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>
<!-- Sources log in with username 'source' -->
<source-password>*****</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>*****</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>***********</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
<bind-address>127.0.0.1</bind-address>
</listen-socket>
<fileserve>1</fileserve>
<mount>
<mount-name>/live</mount-name>
<charset>UTF-8</charset>
<fallback-mount>/play</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>
<mount>
<mount-name>/play</mount-name>
<charset>UTF-8</charset>
</mount>
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/usr/share/icecast2</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both be relative to the new root, not the original root -->
<logdir>/var/log/icecast2</logdir>
<webroot>/usr/share/icecast2/web</webroot>
<adminroot>/usr/share/icecast2/admin</adminroot>
<alias source="/" destination="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>3</loglevel>
<!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize>
</logging>
<security>
<chroot>0</chroot>
<!-- <changeowner> <user>nobody</user> <group>nogroup</group> </changeowner> -->
</security>
</icecast>[/*]
[/list]