но при запуске
Код: Выделить всё
icecast -b -c /usr/local/etc/icecast_lan.xml
Код: Выделить всё
Starting icecast2
Detaching from the console
radio# /usr/local/etc/icecast_lan.xml:9: parser error : Extra content at the end of the document
<relay>
^
FATAL: error parsing config file (/usr/local/etc/icecast_lan.xml)
XML config parsing error
radio# Starting icecast2
Starting: Command not found.
radio# Detaching from the console
radio# /usr/local/etc/icecast_lan.xml:9: parser error : Extra content at the end of the document
<relay>
^
Detaching: Command not found.
radio# radio# /usr/local/etc/icecast_lan.xml:9: parser error : Extra content at the end of the document
radio#: Command not found.
radio# <relay>
Missing name for redirect.
radio# ^
No previous left hand side.
radio# FATAL: error parsing config file (/usr/local/etc/icecast_lan.xml)
Badly placed ()'s.
radio# XML config parsing error
XML: Command not found.
на всякий случай icecast.xml
Код: Выделить всё
<icecast>
<limits>
<clients>100</clients>
<sources>3</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>
</limits>
<authentication>
<source-password>qazwsx</source-password>
<relay-password>qazwsx</relay-password>
<admin-user>uxe</admin-user>
<admin-password>QaZxSUxE</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
<bind-address>192.168.1.241</bind-address>
</listen-socket>
<mount>
<mount-name>/MyRadio</mount-name>
<max-listeners>100</max-listeners>
<burst-size>65536</burst-size>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/var/icecast</basedir>
<logdir>/log</logdir>
<webroot>/web</webroot>
<adminroot>/admin</adminroot>
<pidfile>/run/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>2</loglevel>
<logsize>10000</logsize>
<logarchive>1</logarchive>
</logging>
<security>
<chroot>1</chroot>
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast><icecast>
<limits>
<clients>100</clients>
<sources>3</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>
</limits>
<authentication>
<source-password>gbdfvfkj</source-password>
<relay-password>gbdfvfkj</relay-password>
<admin-user>sas</admin-user>
<admin-password>Gbdfvfkj</admin-password>
</authentication>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
<bind-address>192.168.1.241</bind-address>
</listen-socket>
<mount>
<mount-name>/MyRadio</mount-name>
<max-listeners>100</max-listeners>
<burst-size>65536</burst-size>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/var/icecast</basedir>
<logdir>/log</logdir>
<webroot>/web</webroot>
<adminroot>/admin</adminroot>
<pidfile>/run/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>2</loglevel>
<logsize>10000</logsize>
<logarchive>1</logarchive>
</logging>
<security>
<chroot>1</chroot>
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
ЗЫ пардон за "много текста" - не смог использовать вложения...