HACMP start and stop errors under 5.3

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HACMP start and stop errors under 5.3

  • Creator
    Topic
  • #48644
    Tom Patton
    Participant

      What am I missing on this?

      I’m getting a “Can’t locate Cwd.pm in @INC” during process startup.

      The problem is that the hcisetenv is being called in /hci/bin rather than $HCIROOT (/hci/quovadx/qdx5.3/integrator/bin).  

      I suspect the problem is this statement:

              su hci -c “hcienginerun -p $pname”

      and should be:

              su hci -c “$HACMP_HCI_ROOT/bin/hcienginerun -p $pname”

      Does that sound right?

      Thanks,

    Viewing 0 reply threads
    • Author
      Replies
      • #59268
        Richard Hart
        Participant

          Tom.

          We use our ‘own’ HACMP method for startup, but we ensure that a ‘profile’ is sourced at the start of any script to ensure the correct environment for any user.

          eg

          . /hci/InfoHEALTH/bin/profile

          If you ensure that the ‘hci’ environment is set correctly and then change your ‘su hci …’ command to ‘su – hci …’ then (manual quote) ‘Specifies that the process environment is to be set as if the user had logged in to the system using the login command. Nothing in the current environment is propagated to the new shell.’

          Good Luck

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