| View previous topic :: View next topic |
| Author |
Message |
MoeRadio.ru
Joined: 28 Jan 2007 Posts: 12 Location: Moscow, Russia
|
Posted: Wed Nov 07, 2007 6:23 pm Post subject: <fallback-mount> |
|
|
When using fallback-mount with a file, looks like Icecast 2.3.1 on Fedora Core 6 is trying to read filename defined in mount-name instead of fallback-mount.
My webroot is /usr/share/icecast/web. I have a file named /usr/share/icecast/web/children.mp3. My mount section is defined as the following:
| Code: |
<mount>
<mount-name>/children</mount-name>
<password>XXXXXXXX</password>
<stream-description>MoeRadio.ru: free radio hosting in Russia</stream-description>
<fallback-mount>children.mp3</fallback-mount>
<fallback-override>1</fallback-override>
</mount> |
Error.log gives this:
| Code: |
INFO fserve/fserve_client_create checking for file /children (/usr/share/icecast/web/children)
WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/children" No such file or directory |
So I decide to rename the file children.mp3 to /usr/share/icecast/web/children, and it works perfectly!
Isn't it not as it is supposed to be, or am not reading the documentation properly? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Nov 07, 2007 6:37 pm Post subject: |
|
|
Your fallback mount (like all mountpoint references) needs to begin with a / which it didn't, so icecast was trying to access a file in webroot named children which didn't exist and gave you that error.
karl. |
|
| Back to top |
|
 |
MoeRadio.ru
Joined: 28 Jan 2007 Posts: 12 Location: Moscow, Russia
|
Posted: Wed Nov 07, 2007 7:30 pm Post subject: |
|
|
Cool, Karl, thanks!
<fallback-mount>/children.mp3</fallback-mount> works! |
|
| Back to top |
|
 |
|