%RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilationerror(s) - VMS

This is a discussion on %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilationerror(s) - VMS ; I'm receiving the error message... %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilation error(s) when I run the following command on my Integrity server with VMS 8.3... rpcgen/head/output=kingp2:[sys]cadi.h kingp2:[sys]cadi.x I suspect it is a file/directory security problem because I can eliminate the ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilationerror(s)

  1. %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilationerror(s)

    I'm receiving the error message...
    %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilation
    error(s)

    when I run the following command on my Integrity server with VMS
    8.3...
    rpcgen/head/output=kingp2:[sys]cadi.h kingp2:[sys]cadi.x

    I suspect it is a file/directory security problem because I can
    eliminate the error if I give my process BYPASS privilege, but I would
    like to determine which file and/or directory is preventing the
    successful completion of the command.

    Thanks,
    Doug

  2. Re: %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess orcompilation error(s)

    Doug,

    try $ SET WATCH FILE/CLASS=MAJOR (turn off with CLASS=NOMAJOR
    afterwards). This will log all (major) XQP operations on your SYS
    $OUTPUT device.

    Or SET AUDIT/ALARM/ENABLE=ACCESS:FAILURE (turn off with /DISABLE=...)
    and REPLY/ENABLE=SECURITY

    Then run the RPCGEN command again.

    Volker.

  3. Re: %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess orcompilation error(s)

    On Nov 21, 11:13 pm, Volker Halle wrote:
    > Doug,
    >
    > try $ SET WATCH FILE/CLASS=MAJOR (turn off with CLASS=NOMAJOR
    > afterwards). This will log all (major) XQP operations on your SYS
    > $OUTPUT device.
    >
    > Or SET AUDIT/ALARM/ENABLE=ACCESS:FAILURE (turn off with /DISABLE=...)
    > and REPLY/ENABLE=SECURITY
    >
    > Then run the RPCGEN command again.
    >
    > Volker.


    Hi Volker,

    Enabling the WATCH on FILE/CLASS=MAJOR and rerunning the command I see
    the following...
    $ rpcgen/head/output=kingp2:[sys]cadi.h kingp2:[sys]cadi.x
    %XQP, Thread #0, Access (0,0,0) Status: 00000910
    %XQP, Thread #0, Access TCPIP$RPCGEN.EXE;1 (8346,3,0) Status: 00000001
    %XQP, Thread #0, Control function (8346,3,0) Status: 00000001
    %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilation
    error(s)
    %XQP, Thread #0, Lookup (0,0,0) Status: 00000910
    %XQP, Thread #0, Deaccess (8346,3,0) Reads: 12, Writes: 0, Status:
    00000001

    Setting the AUDIT ALARM and enabling SECURITY didn't provide any
    additional information...
    $ SET AUDIT/ALARM/ENABLE=ACCESS:FAILURE
    %XQP, Thread #0, Access SETAUDIT.EXE;1 (1428,2,0) Status: 00000001
    %XQP, Thread #0, Deaccess (1428,2,0) Reads: 9, Writes: 0, Status:
    00000001
    $ REPLY/ENABLE=SECURITY
    %%%%%%%%%%% OPCOM 28-NOV-2007 10:59:00.37 %%%%%%%%%%%
    Operator _LTA5058: has been enabled, username DOUGY
    %%%%%%%%%%% OPCOM 28-NOV-2007 10:59:00.37 %%%%%%%%%%%
    Operator status for operator _LTA5058:
    SECURITY

    $ rpcgen/head/output=kingp2:[sys]cadi.h kingp2:[sys]cadi.x
    %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess or compilation
    error(s)
    $

    The security on the SYS$SYSTEM:TCPIP$RPCGEN.EXE is as follows...
    $ DIR/SEC SYS$SYSTEM:TCPIP$RPCGEN.EXE

    Directory SYS$COMMON:[SYSEXE]
    TCPIP$RPCGEN.EXE;1 [SYSTEM]
    (RWED,RWED,RWED,RE)
    Total of 1 file.

    I changed the security on this file to W:RWED but the command still
    failed.

    Doug


  4. Re: %RPCGEN-E-PREPRFAIL, preprocessor error; subprocess orcompilation error(s)



    Volker
    An associate found the problem was with the default protection on the
    LNM$JOB table.

    The JOB table has no Group or World access by default.

    $ show security lnm$job /class=logical
    LNM$JOB_89500580 object of class LOGICAL_NAME_TABLE
    Owner: [65,46]
    Protection: (System: RWCD, Owner: RWCD, Group, World)
    Access Control List:

    I added this command to the SYLOGIN to add an ACL to the JOB table...
    $ set security lnm$job /class=logical /acl=(ident=[*,*],access=R+W+D)

    Now the security on the JOB table looks like this...
    $ show security lnm$job /class=logical

    LNM$JOB_89500580 object of class LOGICAL_NAME_TABLE
    Owner: [65,46]
    Protection: (System: RWCD, Owner: RWCD, Group, World)
    Access Control List:
    (IDENTIFIER=[*,*],ACCESS=READ+WRITE+DELETE)

    We can now execute the rpcgen command without BYPASS privilege and
    everything works.

    Doug

+ Reply to Thread