Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. The problems caused by log file monitor

The problems caused by log file monitor

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 19.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    M
    Med
    wrote on last edited by
    #1

    Nice to meet you! Is Med.

     I am using version 1.2.16.
     Performs monitor settings of text file log of other applications, where it is enabled, it became a situation where other applications can not write to the log file.
     To recover when you disable the monitor of the log file.

     When you look the source is open the file in "file.cpp" in "_sopen", but it is open flag had become a "_O_RDONLY" rather than "O_RDONLY", Do you want to influence this difference?
     Or, want me your professor if you have that other can be considered.

     Thank you.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      on what operating system you have this problem?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        Med
        wrote on last edited by
        #3

        Hi, Victor

        Thank immediately reply.

         I feel bad.
         It is similarly occur in the following of the OS.
         Windows Server 2003 R2
         Windows Server 2008 R2
         Windows Server 2012

         Thank you.

        1 Reply Last reply
        0
        • M
          M
          Med
          wrote on last edited by
          #4

          Hello!

           I saw examines various, but not been able to find the cause.
           Although has been added "_" at the beginning in the example of MSDN, or will become the same meaning?
           We want your professor.

           https://msdn.microsoft.com/library/z0kc8e3z.aspx

           Best regards,
           Med

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Hi,

            O_RDONLY means that agent wants read only access to the file. Sharing mode is controlled by third argument, which is set to _SH_DENYNO, meaning that agent allows both read and write shared access to the file. However, the problem may be with the application writing to the file - if application requests exclusive access (i.e. not permitting read access by others), it will not be able to open file for writing. We cannot do anything about it. If you can control the application in question you can change it or request application developers to allow shared read access to the log.

            Best regards,
            Victor

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups