HP OpenVMS Systems

ask the wizard
Content starts here

problems with privileges in spawned processes?

» close window

The Question is:

 
I am running vms 7.1 on alpha 1000 machine.
If I run spawn command in none privileged account
 
I get this messages for
 
$ spa help
%DCL-S-SPAWNED, process TST_1 spawned
%DCL-S-ATTACHED, terminal now attached to process TST_1
%HELP-E-OPENIN, error opening SYS$COMMON:[SYSHLP]HELPLIB.HLB; as input
-RMS-E-PRV, insufficient privilege or file protection violation
%DCL-S-RETURNED, control returned to process TST
 
 
or
 
$ spa sort tt: tt:
%DCL-S-SPAWNED, process TST_1 spawned
%DCL-S-ATTACHED, terminal now attached to process TST_1
%DCL-W-ACTIMAGE, error activating image SORTMERGE
-CLI-E-IMGNAME, image file
KURENT$DKC0:[SYS0.SYSCOMMON.][SYSEXE]SORTMERGE.EXE;
-RMS-E-PRV, insufficient privilege or file protection violation
%DCL-S-RETURNED, control returned to process TST
 
This files look  normal:
 
$ dir/sec sys$help:HELPLIB.HLB
 
Directory SYS$COMMON:[SYSHLP]
 
HELPLIB.HLB;2        [SYSTEM]                         (RWED,RWED,RE,RE)
 
 
$ dir/sec sys$system:sortmerge.exe
 
Directory SYS$COMMON:[SYSEXE]
 
SORTMERGE.EXE;1      [SYSTEM]                         (RWED,RWED,RE,RE)
 
for
 
$ spa dir/sec
%DCL-S-SPAWNED, process TST_1 spawned
%DCL-S-ATTACHED, terminal now attached to process TST_1
%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual
address=000000000000
0028, PC=FFFFFFFF80446D30, PS=0000001B
 
  Improperly handled condition, image exit forced.
    Signal arguments:   Number = 0000000000000005
                        Name   = 000000000000000C
                                 0000000000010000
                                 0000000000000028
                                 FFFFFFFF80446D30
                                 000000000000001B
 
    Register dump:
    R0  = 0000000000000000  R1  = 000000007AF0CD6A  R2  = 000000007AF14DC0
    R3  = 000000007AF14F10  R4  = 000000007AF15058  R5  = 0000000000000000
    R6  = 0000000000000000  R7  = 000000007AF14F14  R8  = 000000007B142448
    R9  = 000000007AF14FF0  R10 = 0000000000000000  R11 = 000000007FFCE3E0
    R12 = 0000000000000000  R13 = FFFFFFFF80C49B70  R14 = FFFFFFFF80EA6940
    R15 = 00000000009CAB0C  R16 = 0000000000000000  R17 = 000000000001827A
    R18 = 0000000000000043  R19 = FFFFFFFF8009E448  R20 = 300000000000001B
    R21 = 000000007B132BD8  R22 = 000000007AF14C00  R23 = 000000007B132BD8
    R24 = 0000000000000003  R25 = 0000000000000005  R26 = FFFFFFFF80446E34
    R27 = 000000007B132BC0  R28 = FFFFFFFF80446DE0  R29 = 000000007AF14B20
    SP  = 000000007AF14B20  PC  = FFFFFFFF80446D30  PS  = 200000000000001B
%DCL-S-RETURNED, control returned to process TST
 
 
 
 
 
In my parent process all this commands run normal.
 
 
My subprocess looks like this
 
 
Process Quotas:
CPU limit:                      Infinite  Direct I/O limit:       150
Buffered I/O byte count quota:     98656  Buffered I/O limit:     150
Timer queue entry quota:              10  Open file quota:        100
Paging file quota:                 42576  Subprocess quota:         9
Default page fault cluster:           64  AST quota:              248
Enqueue quota:                      2000  Shared file limit:        0
Max detached processes:                0  Max active jobs:          0
 
Accounting information:
Buffered I/O count:       240  Peak working set size:       1744
Direct I/O count:          14  Peak virtual size:         169024
Page faults:              506  Mounted volumes:                0
Images activated:           9
Elapsed CPU time:          0 00:00:00.23
Connect time:              0 00:16:24.79
 
Authorized privileges:
NETMBX       TMPMBX
 
 
Process Dynamic Memory Area
    Current Size (bytes)         57344    Current Size (pagelets)        112
    Free Space (bytes)           45828    Space in Use (bytes)         11516
    Largest Variable Block       45612    Smallest Variable Block          8
    Number of Free Blocks            5    Free Blocks LEQU 64 Bytes        3
 
There are 2 processes in this job:
 
  TST
    TST_1 (*)
 
 
Thanks-
 
        Dejan
 
 


The Answer is :

 
  There appears to be something odd with your local system configuration,
  with your local process environment, or with your local user profile.
 
  As a first step, use file access security auditing to try to determine
  what the specific file access failures are.
 
  Also check your process quotas against the minimums required for DECwindows
  and other applications you might be using, as your timer queue entry quota
  looks low and your pagefile quota looks low compared to your peak virtual
  address space usage -- your pagefile is also pooled with all processes in
  the job tree.
 
  Then contact the customer support center for further assistance -- rather
  more information will likely be required to resolve this than has been
  provided here.
 

answer written or last revised on ( 9-SEP-1998 )

» close window