[Icecast] 404 - The file you requested could not be found

Mayiani, Martin Martine - mayianmm mayianmm at jmu.edu
Thu Jan 11 21:22:02 UTC 2024


Marius,

Yes, I think you nailed it.  I built it from source and I did as root.  And yes I am able to get audio at  http://hostname:8000/voice.  So now I know what the problem is but not sure how to fix it. A clean install?  I kinda messed with the file permissions in the web directory shown below but that didn't solve my problem.

[cid:image001.png at 01DA44A8.DF3507C0]

[cid:image002.png at 01DA44A8.DF3507C0]

Thanks

Martin

From: Icecast <icecast-bounces at xiph.org> On Behalf Of Marius Flage
Sent: Thursday, January 11, 2024 4:01 PM
To: icecast at xiph.org
Subject: Re: [Icecast] 404 - The file you requested could not be found

You don't often get email from marius at flage.org<mailto:marius at flage.org>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>

CAUTION: This email originated from outside of JMU. Do not click links or open attachments unless you recognize the sender and know the content is safe.


I think this is related:

[2024-01-11  13:55:43] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/index.html" Permission denied

It also seems like you have built icecast from source? Are you sure that you have installed it correctly? Maybe you've built it as root and then only made the files readable by root, but icecast is running as the icecast user and not able to access /usr/local/share/icecast/web ..? I'm just guessing.

Can you please show the output of 'ps uaxw | grep icecast' and also the output of 'ls -l /usr/local/share/icecast/web/' ?

I guess you're able to get the audio when doing 'curl http://hostname:8000/voice' for instance?

--
Marius
On 11.01.2024 20:33, Mayiani, Martin Martine - mayianmm wrote:
Hmmm .. so not sure I understand what you mean by that. SO basically what I am trying to do is go to http://hostname:8000/. I have attached the error log as well.

Thanks

From: Icecast <icecast-bounces at xiph.org><mailto:icecast-bounces at xiph.org> On Behalf Of Marius Flage
Sent: Wednesday, January 3, 2024 1:12 PM
To: Icecast streaming server user discussions <icecast at xiph.org><mailto:icecast at xiph.org>
Subject: Re: [Icecast] 404 - The file you requested could not be found

You don't often get email from marius at flage.org<mailto:marius at flage.org>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>

CAUTION: This email originated from outside of JMU. Do not click links or open attachments unless you recognize the sender and know the content is safe.

That 100% depends on what you're trying to access. Try accessing the /admin/ endpoint and see what you have set up there. You also need to specify a relay-stub in the xml configuration, see: https://icecast.org/docs/icecast-2.4.1/relaying.html

--
Marius



Sendt fra min Galaxy


-------- Opprinnelig melding --------
Fra: "Mayiani, Martin Martine - mayianmm" <mayianmm at jmu.edu<mailto:mayianmm at jmu.edu>>
Dato: 03.01.2024 18:32 (GMT+01:00)
Til: Icecast streaming server user discussions <icecast at xiph.org<mailto:icecast at xiph.org>>
Emne: [Icecast] 404 - The file you requested could not be found

Hello,

Setting up new Icecast relay server and I am getting " 404 - The file you requested could not be found" the error log doesn't really give helpful information.  What could I be doing wrong?

Thanks

Martin Mayiani
Operation Specialist WMRA & WEMC
540.568.4045
wmra.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.wmra.org_&d=DwMFaQ&c=eLbWYnpnzycBCgmb7vCI4uqNEB9RSjOdn_5nBEmmeq0&r=eQi7nhx8pVV4tLuhsbN2fg&m=NFlE41P71KSXw5cwSeRchUP5NPq-DGAcQ7PZuBLgoOU&s=kMN-C5UjM7TSPILlWvJ-k5wu4UUakvkqbiJTlV6-zog&e=>




_______________________________________________

Icecast mailing list

Icecast at xiph.org<mailto:Icecast at xiph.org>

http://lists.xiph.org/mailman/listinfo/icecast
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20240111/be0adc3f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5450 bytes
Desc: image001.png
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20240111/be0adc3f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 16776 bytes
Desc: image002.png
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20240111/be0adc3f/attachment-0001.png>


More information about the Icecast mailing list