Automatic cycling of Smat files on 5.8.3 AIX 6.1

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Automatic cycling of Smat files on 5.8.3 AIX 6.1

  • Creator
    Topic
  • #52378
    Henry Bauer
    Participant

      I have set the auto cycle of Smat files for the processes on our test environment. I have yet to see the auto cycle happen. I am wondering if there is another way to cycle the files using other criteria other than size, or would this require utilizing our old cyclemsg shell scripts which are currently running on our production 5.5.1 AIX 5.3. I have tried this also but get this error

      /nhs/scripts/nebcyclemsg.ksh[5]: ./hcicyclesavemsgs:  not found.

      This is called from nebcyclemsg.ksh:

      setroot

      setsite qa58

      cd $HCIROOT/bin

      ./hcicyclesavemsgs -d -c -o 31 1> /nhs/logs/cyclemsg.log  /nhs/logs/cyclemsg.err

      the hcicyclesavemsgs is in the $HCIROOT/bin directory I am unsure why this does not work. Any help is as always very appreciated.

    Viewing 5 reply threads
    • Author
      Replies
      • #73968
        Michael Hertel
        Participant

          Open hcicyclesavemsgs and look at the first line.

          #!/hci/qdx5.1/integrator/bin/perl

          Make sure your path is correct.

        • #73969
          Henry Bauer
          Participant

            I have done this to reflect the new path still no go.

            #!/healthvision/cis5.8/integrator/bin/perl

            try to run from command line get this error

            ksh: ./hcicyclesavesmsgs: not found

          • #73970
            James Cobane
            Participant

              I would put the script in the $HCIROOT/usercmds directory, and run it without the ./

            • #73971
              Keith McLeod
              Participant

                Did you need to modify hcicyclesavemsgs on 5.8 and if so, what were the modifications.

              • #73972
                Henry Bauer
                Participant

                  We are using the native site setup to cycle messages.

                • #73973
                  Keith McLeod
                  Participant

                    I think I found my issue.  The site I am working on has installed 5.8 using /opt/healthvision as the install directory. hcicyclesavemsgs uses normally /hci as the intsall directory.

                    The line containing m|(^/w+/qdx[.0-9a-zA-Z]*/integrator)/(w+)/w+b$|

                    needed to be modified in the short run to:

                    m|(^/w+/w+/cis[.0-9a-zA-Z]*/integrator)/(w+)/w+b$|

                    Once I made this final change it appears to work as normal….Hopefully I can make the chnage to something more dynamic to accomodate these changes.

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