PGP error

  • Creator
    Topic
  • #51099
    Rick Pritchett
    Participant

    whenever i try running my script from the engine i get this.

    No configuration file found.  in the error log

    and the result form the script is: Can’t open key rings

    #!/quovadx/qdx5.7/integrator/bin/hcitcl

    set fp [open “/home/hci/batch/UHC/UHC_TEMP/fn” r]

    set fn [read $fp]

    close $fp

    set fn /home/hci/batch/UHC/UHC_TEMP/N_278NB_370661220_000000619.btc

    exec /opt/pgp-6.5.8/pgp -s $fn -u “Rick Pritchett <Pritchett.Rick@mhsil.com>” -z “xxxxxxxxx” < /home/hci/kshlib/uhc_key > /home/hci/kshlib/uhc_log

Viewing 2 reply threads
  • Author
    Replies
    • #68791
      David Barr
      Participant

      I had problems like that when my HOME variable wasn’t set.

      I think we had to do something like modify our system startup scripts to do “su – hci -c hcienginerun” instead of “su hci -c hcienginerun”.  This also required changes to the .profile to make sure that we weren’t doing tty related activity in non-interactive sessions.

      I think that the host server had to have the environment set up properly too or things would go wrong when we restarted processes through the GUI.

    • #68792
      Robert Milfajt
      Participant

      Quote:

      su – hci -c hcienginerun

      Isn’t it funny that the last part of that command is:

      c HCI engine run?

      Run engine run! 😀

      Robert Milfajt
      Northwestern Medicine
      Chicago, IL

    • #68793
      Chris Williams
      Participant

      About su:

      When su is followed by a hyphen it creates a new login for the user specified on the command line, setting the appropriate environment for that user.

      When su is NOT followed by a hyphen it starts a subshell under the current user, keeping the invoking user’s environment.

Viewing 2 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,115
Forums
28
Topics
9,290
Replies
34,422
Topic Tags
286
Empty Topic Tags
10