Missing folders under /opt/cloverleaf/cis6.1/integrator

Clovertech Forums Read Only Archives Cloverleaf Operating Systems Missing folders under /opt/cloverleaf/cis6.1/integrator

  • Creator
    Topic
  • #55394
    David Hamilton
    Participant

      We have a recurring issue – twice in production and once on our test server where folders just go missing.  The latest was in test – the pdls folder in the integrator directory was jus gone – and we got a panic when ADT process tried to use mlp_tcp.pdl.

      We had it happen in production, twice – the last time these directories vanished:

      Kshlib

      Dicom

      Eoalias

      Formats

      Include

      Install

      It’s an easy fix -we just copy the folders back over from another installation – but why is this happening?!

      We have cron jobs that purge databases and old log files – but not in this directory – it happens deeper in the sire directories.  I can’t figure out what is causing this?

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

          When the folders are removed from the parent folder ($HCIROOT in this case), it should update the modification time of the parent folder. Assuming you don’t have other files being created, deleted or renamed in that folder, you can use that time to try to figure out the exact time this is happening and maybe track it back to a cron job.

          You can also turn on process accounting. That might give you much more detailed information about what’s removing the folders. This would only tell you if it’s being removed by an “rm” command in a script. If it’s a tcl “file delete” command then this won’t be logged in process accounting, only the execution of the script.

        • #85165
          David Hamilton
          Participant

            Thanks.  How do I turn on ‘process accounting’?  Can I limit to just this directory?

          • #85166
            David Barr
            Participant

              https://www.tecmint.com/how-to-monitor-user-activity-with-psacct-or-acct-tools/

              No, you can’t limit it to one folder. Another problem with process accounting is that it probably doesn’t log the process command line arguments, so it would only tell you that “rm” was run by a user at a specific time and how long it took the command to execute. It wouldn’t tell you which files were removed.

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