Run as Root to fix Socket Bind Error for VOD?

macOS specific usage questions
thegauntface
New Cone
New Cone
Posts: 2
Joined: 24 Oct 2011 13:10

Run as Root to fix Socket Bind Error for VOD?

Postby thegauntface » 24 Oct 2011 13:21

Hi everyone,

I'm trying to use VLC as a VOD streaming server, I can run and access the http web interface but when I try to create a VOD media item, I just get the following errors in the console:


[0x10029da38] main interface: creating httpd
[0x1002a6808] main vod server error: socket bind error (Permission denied)
[0x1002a6808] main vod server error: socket bind error (Permission denied)
[0x1002a6808] main vod server error: cannot create socket(s) for HTTP host
[0x1002a6808] vod_rtsp vod server error: cannot create RTSP server ((null):554)
[0x1002a6558] main vlm daemon error: cannot find vod server


It would normally be at this point I would run as root and see if that fixed the issues, however running as root I get asked to use vlc-wrapper :


VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use /Applications/VLC.app/Contents/MacOS/VLC-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).


The issue with this is that VLC-wrapper is that it isn't in the default VLC install.

Is there a different way to allow the port permissions without root? otherwise where can I get the vlc-wrapper for OS X ?

Cheers,
Matt

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Run as Root to fix Socket Bind Error for VOD?

Postby Sébastien Escudier » 24 Oct 2011 13:30

I don't know about vlc-wrapper on MAC but you can use another port with --rtsp-host=:8554

thegauntface
New Cone
New Cone
Posts: 2
Joined: 24 Oct 2011 13:10

Re: Run as Root to fix Socket Bind Error for VOD?

Postby thegauntface » 24 Oct 2011 14:06

Thanks, that should get me over the initial hurdle, one thing however is that I intend to use this to stream to an Android client, which may have some issues using a port other than 554 (The standard RTSP port).

Thank you for your help :)

Casemon
New Cone
New Cone
Posts: 7
Joined: 20 Oct 2011 19:25

Re: Run as Root to fix Socket Bind Error for VOD?

Postby Casemon » 25 Oct 2011 05:32

Getting this same error; doesn't matter which port I use (tried >1024 >6000, etc.)

Running latest VLC on Mac OSX 10.6.7


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 3 guests