Hi,
When i tried to run rtpproxy as non root, it gave an error "rtpproxy: can't bind to a socket: Permission denied". Is there a reason to run it as root?
Thanks, Richard
__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Richard wrote:
Hi,
When i tried to run rtpproxy as non root, it gave an error "rtpproxy: can't bind to a socket: Permission denied". Is there a reason to run it as root?
You can easily run it as not root, but you have to either make sure that /var/run directory is writeable by that user, or specify another directory for the socket via command line option.
-Maxim
Thanks Maxim, it works!
I created a ser directory under /var/run and make it writable for the user who is going to start ser and rtpproxy.
rtpproxy -s /var/run/ser/rtpproxy.sock -p /var/run/ser/rtpproxy.pid
Regards, Richard
--- Maxim Sobolev sobomax@portaone.com wrote:
Richard wrote:
Hi,
When i tried to run rtpproxy as non root, it gave
an
error "rtpproxy: can't bind to a socket:
Permission
denied". Is there a reason to run it as root?
You can easily run it as not root, but you have to either make sure that /var/run directory is writeable by that user, or specify another directory for the socket via command line option.
-Maxim
__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail