Run as Root to fix Socket Bind Error for VOD?
Posted: 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
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