Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Community support /usr/local/bin/pandora_wmi line 383

  • /usr/local/bin/pandora_wmi line 383

    Posted by oglumavd on November 16, 2008 at 21:40

    Hi,

    My server error log file “pandora_server.error” filled with the following;

    Use of uninitialized value in pattern match (m//) at /usr/local/bin/pandora_wmi line 383.
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED
    Use of uninitialized value in pattern match (m//) at /usr/local/bin/pandora_wmi line 383.
    Use of uninitialized value in string eq at /usr/local/share/perl/5.8.8/PandoraFMS/DB.pm line 1134.
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED
    Use of uninitialized value in pattern match (m//) at /usr/local/bin/pandora_wmi line 383.
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED
    Use of uninitialized value in pattern match (m//) at /usr/local/bin/pandora_wmi line 383.
    Use of uninitialized value in string eq at /usr/local/share/perl/5.8.8/PandoraFMS/DB.pm line 1134.
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED
    Use of uninitialized value in pattern match (m//) at /usr/local/bin/pandora_wmi line 383.
    Use of uninitialized value in pattern match (m//) at /usr/local/bin/pandora_wmi line 383.
    Use of uninitialized value in string eq at /usr/local/share/perl/5.8.8/PandoraFMS/DB.pm line 1134.
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED

    Any suggestions?

    manu replied 16 years, 3 months ago 2 Members · 3 Replies
  • 3 Replies
  • manu

    Member
    November 17, 2008 at 02:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    In the CLI try:

    wmic -U USER%PASS //IP “WMI QUERY”

    Do you get any result or the same error above? If so it’s a problem with your WMI connection in the remote host.

  • oglumavd

    Member
    November 17, 2008 at 15:13
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Manu,

    root@pandora2:~# wmic -U USER%PASS //IP “WMI QUERY”
    ERROR: dcom_create_object.
    ERROR: Login to remote object.
    NTSTATUS: NT_STATUS_IO_TIMEOUT – NT_STATUS_IO_TIMEOUT

    To itself/Pandora Server:
    root@pandora2:~# wmic -U pandora%*pandora* //10.246.114.20 “WMI QUERY”
    Failed to connect host 10.246.114.20 on port 135 – NT_STATUS_CONNECTION_REFUSED
    Failed to connect host 10.246.114.20 (10.246.114.20) on port 135 – NT_STATUS_CONNECTION_REFUSED.
    ERROR: dcom_create_object.
    ERROR: Login to remote object.
    NTSTATUS: NT_STATUS_CONNECTION_REFUSED – NT_STATUS_CONNECTION_REFUSED
    root@pandora2:~#

    To another PC and account it setup in this PC;
    root@pandora2:~# wmic -U pandora%*pandora* //10.246.114.12 “WMI QUERY”
    ERROR: Retrieve result data.
    NTSTATUS: NT code 0xc0041017 – NT code 0xc0041017
    root@pandora2:~#

    TIA

  • manu

    Member
    November 17, 2008 at 16:34
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    There you are, it’s not pandora’s fault, you must be missing something regarding the WMI service in your windows machines