Page 1 of 1

Run as Root to fix Socket Bind Error for VOD?

Posted: 24 Oct 2011 13:21
by thegauntface
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

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

Posted: 24 Oct 2011 13:30
by Sébastien Escudier
I don't know about vlc-wrapper on MAC but you can use another port with --rtsp-host=:8554

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

Posted: 24 Oct 2011 14:06
by thegauntface
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 :)

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

Posted: 25 Oct 2011 05:32
by Casemon
Getting this same error; doesn't matter which port I use (tried >1024 >6000, etc.)

Running latest VLC on Mac OSX 10.6.7