Please go to the new GLExec Argus Quick Installation Guide

-- OscarKoeroo - 23-Oct-2009

Argus: gLExec LCMAPS C PEP Plug-in: Troubleshooting

Quick test

Two environment variables MUST be setup before trying gLExec:

  • X509_USER_PROXY : Contains the path to the proxy file of the gLExec calling identity. This is the pilot job executor identity.
  • GLEXEC_CLIENT_CERT : Contains the path to the proxy file of the identity that must get authorized and subsequently mapped by gLExec. This is the pilot job payload identity.

Run gLExec with the following command in order to perform a quick test:

export X509_USER_PROXY=${X509_USER_PROXY:-"/tmp/x509up_`id -u`"}

/opt/glite/sbin/glexec /usr/bin/id; echo $?

The expected output is:

uid=40205(testuseraccount) gid=2013(testusergroup)

Checking the output of the gLExec command

Check the output and also the return code of gLExec. Upon successful execution of a program, the return value from gLExec will simply be the return value of the program that was executed. Otherwise, gLExec quits with the following limited range of return values:

  • 201 - Client error: Something went wrong and the user is able to resolve the problem
  • 202 - Internal gLExec error: This might be an installation, configuration or initialization error. The system administrator will have to resolve this problem. Hence no other output is provided on the command line.
  • 203 - Authorization error: Everything went ok, but the user is not authorized.
  • 204 - Child return value overlap: This error code is triggered when gLExec is in linger mode (activated by default) and when the called child process returns an exit code that overlaps with one of the error code numbers 201, 202, 203 and 204.

  • 126 - Shell returns that the executable canít be executed: This error code is triggered when the execv() call failed to execute the command, because of permission, execution or system problems found during the call for the executable that was tried to be set up. The shell code is not caught, but forwarded as an error code from the actual child process.

gLExec specific troubleshooting

More detailed installation and troubleshooting hints can be found on the Nikhef GridWiki for gLExec.

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2016-07-05 - MaartenLitmaath
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback