RV: failure setting up raw sockets: socket(): 1 (Operation not permitted). daemon must be started with administrative privileges.

RV: failure setting up raw sockets: socket(): 1 (Operation not permitted). daemon must be started with administrative privileges.

book

Article ID: KB0087975

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
Description:
============
The following error is seen when trying to start RVD with a non-root user.

2012-04-11 14:05:28 RV: failure setting up raw sockets: socket(): 1 (Operation not permitted). daemon must be started with administrative privileges.


Resolution:
============
1. There are two variants of RV daemon:

a). TRDP RV Daemon
b). PGM RV Daemon

Refer to the RV concepts Guide -> Chapter 2 “Architecture” for more details on TRDP and PGM.

2). PGM daemons may not open a privileged port, but they do require opening a raw socket which requires a user with administrative privilege to start it. If you are using the PGM daemon then you need to login as root to start it, otherwise you will receive the error message and the daemon won't start.

3). The error reported indicates that the user does not have the necessary privileges to start the PGM daemon.  

Identifying the Daemon Variant
-------------------------------------
Daemon executables and processes have the same name in either variant. For example, the Rendezvous daemon is named RVD.  You can use the start banner, the log file or the browser administration interface to distinguish between the variants:

* TRDP daemons do not indicate their variant in banners or browser interfaces. This absence implies a TRDP variant.

* PGM daemons explicitly indicate PGM in their banners and browser interfaces.

Issue/Introduction

RV: failure setting up raw sockets: socket(): 1 (Operation not permitted). daemon must be started with administrative privileges.