G'day Jim, Jeff, Mark, Chris, and Robert;
Thank you all for your help. It has been most informative (indeed,
I think you all have helped solve the problem!)
Below is a summary of what is known about the problem.
Firstly, the error message:
> **** EXEC FUNCTION FAILED; subsys =517; info = 48
> ABORT: /MMSTST/MK/foodir/hello
> NM SYS a.00a9d288 dbg_abort_trace+$24
> NM UNKN 15c.0033bf6c
> NM UNKN 814.0004bbd8
> [1] + Done (134) ./hello
> 5505155 Abort ./hello
is a generic Posix subsystem error. The MPE/iX Error Messages
Manual has the following to say about it:
48 MESSAGE [EIMPL] Implementation error. (POSIX.1 ERROR 48)
CAUSE One of several implementation-specific errors of
occurred. See the MPE/iX Developer's Kit
Reference
Manual for more information.
ACTION See the MPE/iX Developer's Kit Reference Manual
i.e. not a very help message. Jeff <[log in to unmask]> noted that
this error message is the generic posix error that occurs when a
program fails to execute.
Both Jeff and Mark <[log in to unmask]> observed that the CI
gives more meaningful error messages. There are two ways of executing
the program within the context of the CI:
1. From within the CI directly:
:run /MMSTST/MK/foodir/hello
2. From within the Posix shell:
/MMSTST/MK/foodir> callci "run ./hello"
Both methods yield the (friendlier) error messaage:
Program requires more capabilities than allowed for the group, the user
of a
temporary file, or the hierarchical directory user. (LDRERR 505)
Native mode loader message 505
run ./hello
Unable to load program to be run. (CIERR 625)
Jeff went on to comment that the acct/group MK.MMSTST must have PH
capability, as well as the user running the compile.
Chris <[log in to unmask]> was also edging towards this
conclusion:
> Let's see what your actual permissions are, perhaps we can see
> which one(s) you're lacking. Run the following commands
>
> $ callci showme
USER: #S517,MK.MMSTST,MK (IN PROGRAM)
RELEASE: C.55.00 MPE/iX HP31900 C.05.08 USER VERSION: C.55.00
CURRENT: MON, APR 6, 1998, 10:36 PM
LOGON: MON, APR 6, 1998, 10:28 PM
CPU SECONDS: 1 CONNECT MINUTES: 8
$STDIN LDEV: 11 $STDLIST LDEV: 11
> $ callci listuser <user as reported by showme>
USER: MK.MMSTST
HOME GROUP: T PASSWORD: **
MAX PRI : 150 LOC ATTR: $00000000
LOGON CNT : 1
CAP: GL,ND,SF,BA,IA
> $ callci listgroup $HPGROUP
GROUP: MK.MMSTST
DISC SPACE: 82816(SECTORS) PASSWORD: **
CPU TIME : 9532(SECONDS) SECURITY--READ : ANY
CONNECT TIME: 3148(MINUTES) WRITE : AC
DISC LIMIT: UNLIMITED APPEND : AC
CPU LIMIT : UNLIMITED LOCK : AC
CONNECT LIMIT: UNLIMITED EXECUTE : AC
PRIV VOL : NO SAVE : AC
FILE UFID: $055D0001 $0A54EC44 $016D73C2 $A40238B9 $30476F99
MOUNT REF CNT: n/a
HOME VOL SET : MPEXL_SYSTEM_VOLUME_SET
CAP: BA,IA
> $ callci listacct $HPACCOUNT
ACCOUNT: MMSTST
DISC SPACE: 7205312(SECTORS) PASSWORD: **
CPU TIME : 62575(SECONDS) LOC ATTR: $00000000
CONNECT TIME: 21933(MINUTES) SECURITY--READ : ANY
DISC LIMIT: UNLIMITED WRITE : AC
CPU LIMIT : UNLIMITED APPEND : AC
CONNECT LIMIT: UNLIMITED LOCK : ANY
MAX PRI : 150 EXECUTE : ANY
GRP UFID : $055D0001 $0A54EC44 $00091BBA $21850871 $04C13248
USER UFID: $00000000 $00000000 $00000000 $00000000 $00000000
CAP: AM,AL,GL,PS,NM,ND,SF,BA,IA,DS,PH
As can be seen from the output above, both the user and group are
missing the PH (Process Handling) capability.
Again, I'd like to thank you all for your help.
Kind Regards,
Michael Kennett
([log in to unmask])
(Usual disclaimer: The views expressed in this communication are my
own personal views, and not necessarily the views of my employer.)
|