Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Channel error

    Posted by masteryaya on July 17, 2007 at 23:13

    I have installed the rpms from Manuel on Fedore Core 7 and the windows agent on my desktop. Everything seems to be running, but I see this in my Windows agent log:

    07-17-07 14:07:00: Run begin
    07-17-07 14:07:06: Copying XML on C:windowstempcaprica.12691.data
    07-17-07 14:07:06: Connecting with x.x.x.x
    07-17-07 14:07:11: Pandora Agent: Authentication succeded on x.x.x.x
    07-17-07 14:07:11: Remote copying XML C:windowstempcaprica.12691.data on server x.x.x.x at /var/spool/pandora/data_in/caprica.12691.data
    07-17-07 14:07:11: getting buffer
    07-17-07 14:07:11: buffer get
    07-17-07 14:07:11: buffer length
    07-17-07 14:07:11: Unable to copy at /var/spool/pandora/data_in/caprica.12691.data . Channel error
    07-17-07 14:07:11: Next execution on 300 mins

    Can anyone help?

    Mark

    jeditec replied 17 years, 6 months ago 3 Members · 7 Replies
  • 7 Replies
  • steve-o

    Member
    July 18, 2007 at 19:46
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Which version of Windows agent are you using? I don’t remember those debug output, because they were removed…

    Greetings!

  • masteryaya

    Member
    July 18, 2007 at 20:02
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It is the 1.3 beta 1 client off of Sourceforge.

    Output from top of log:

    # Fichero de configuracion base de agentes de Pandora
    # Base config file for Pandora FMS Windows Agent
    # Version 1.2.0
    # (c) 2006 Esteban Sanchez
    # (c) 2006 Artica Soluciones Tecnologicas

    Mark

  • steve-o

    Member
    July 18, 2007 at 21:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Maybe the version of log file is wrong… One of many mismatches when doing a new release… It does not matter anyway.

    Does this problem happens always or sometimes?

    Did you try runing…

    [code:1]PandoraAgent.exe –test-ssh

    from a DOS console?

    Hope we can find a solution…

    Greetings!

  • masteryaya

    Member
    July 18, 2007 at 22:56
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    This happens over and over again in the log file. Running the command you suggested gets me the following:

    C:Program FilesPandora_Agent>PandoraAgent.exe –test-ssh
    Public key file C:Program FilesPandora_Agentkeyid_dsa.pub exists.
    Private key file: C:Program FilesPandora_Agentkeyid_dsa exists.
    Connecting with x.x.x.x.
    Authentication successful.
    Host fingerprint: xx.xx.xx.xx.xx…
    Created a blank XML file in C:windowstempssh.test
    Remote copying C:windowstempssh.test on server x.x.x.x at /var/spool/pandora/data_in/ssh.test
    An unhandled exception happened.

    I’m not sure how informative that is.

    Mark

  • masteryaya

    Member
    July 19, 2007 at 20:07
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I have found this to be a permissions error server-side.

    Mark

  • steve-o

    Member
    July 20, 2007 at 01:49
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Can you explain which kind of permissions were fault and how did you fix it? Just in case someone else have this bug and to have a more verbose error system on Windows agent.

    Thank you!

  • jeditec

    Member
    August 2, 2007 at 09:10
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I had the same problem i just changed the owner of the data directory

    chown pandora /opt/pandora/pandora_server/data_in