================================================================================
Note 3.15                       Run-Time problems                       15 of 19
VXCERN::TIMBL "Tim Berners-Lee CERN/DD"              23 lines  29-SEP-1988 11:48
                    -< "No Priv" error due to LNM$ changes >-
--------------------------------------------------------------------------------
Gareth Smith (CERN/EP, Delphi) found an interesting one when making a
multiclient server with DECNET. The server crashed with the error "No privilege
for attempted operation". This turned out to be due to someone having changed
the default table for mailbox logical names (LNM$TEMPORARY_MAILBOX) from being
the job-wide one (LNM$JOB) to being group wide (LNM$GROUP). The process did not
have privilege (GRPNAM) to write into this table. As setting up the DECNET
communication requires the creation of a temporary mailbox, the server failed.
The solution was to put into the server command file the line 

   $ DEFINE/TABLE=LNM$PROCESS_DIRECTORY LNM$TEMPORARY_MAILBOX LNM$JOB

to reset the VMS default.

This problem is characterised by the following lines in the log file when
the trace is turned on:

error:36 occured in multiclient decnet code:$CREMBX from RPC_Decnet_Initialise
%SYSTEM-F-NOPRIV, no privilege for attempted operation

There are further details in the VMS documentation on mailbox creation,
in the System Services volume, under ther service $CREMBX.

Tim BL

