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 io socket tcp Perl Module (on windows)

  • io socket tcp Perl Module (on windows)

    Posted by iam33 on September 28, 2006 at 17:15

    Thanks in advance!
    Sorry for my unknowledge in perl…
    I´m following the install instrucctionst of pandora in Windows 2003, and it says i need to install io-socket perl package,and i can´t find this package.it appears io-socket-multicas,io-socket-portstate…which is the appropriate?
    Best regards!

    raul replied 18 years ago 4 Members · 8 Replies
  • 8 Replies
  • Sancho

    Administrator
    September 28, 2006 at 17:52
    2212 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    First at all: pandora official plattform is GNU/Linux. There are people who has been able to install Pandora in Windows plattforms, but it not easy!. I warn you ! 🙂

    Official CPAN package name is exactly “IO::Socket” with the two semicolon…

    List is a list of CPAN packages with IO::Socket pattern:

    Module IO::Socket (GBARR/IO-1.2301.tar.gz)
    Module IO::Socket::ByteCounter (IO::Socket::ByteCounter)
    Module IO::Socket::INET (GBARR/IO-1.2301.tar.gz)
    Module IO::Socket::INET6 (MONDEJAR/IO-Socket-INET6-2.51.tar.gz)
    Module IO::Socket::Multicast (LDS/IO-Socket-Multicast-1.05.tar.gz)
    Module IO::Socket::Multicast6 (NJH/IO-Socket-Multicast6-0.02.tar.gz)
    Module IO::Socket::PortState (DMUEY/IO-Socket-PortState-0.03.tar.gz)
    Module IO::Socket::PortState::cPanel (DMUEY/IO-Socket-PortState-cPanel-0.02.tar.gz)
    Module IO::Socket::SSL (SULLR/IO-Socket-SSL-1.01.tar.gz)
    Module IO::Socket::SecureSocks (ESSKAR/IO-Socket-SecureSocks-0.2.tar.gz)
    Module IO::Socket::Socks (REATMON/IO-Socket-Socks-0.1.tar.gz)
    Module IO::Socket::TIPC (INFINOID/IO-Socket-TIPC-1.06.tar.gz)
    Module IO::Socket::TIPC::Sockaddr (INFINOID/IO-Socket-TIPC-1.06.tar.gz)
    Module IO::Socket::UNIX (GBARR/IO-1.2301.tar.gz)

    You need only the first.

  • iam33

    Member
    September 28, 2006 at 18:13
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    1000 thanks!!!!
    i know i would need a great patience and help, but i say … i must do it! 😆
    Do you know any manual of win32 install o where can i obtain help in my steps?
    i´m writing a sort manual with all my steps for future attempts…
    Could i request your help in that way?

  • Sancho

    Administrator
    September 28, 2006 at 18:18
    2212 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    1000 thanks!!!!
    i know i would need a great patience and help, but i say … i must do it! 😆
    Do you know any manual of win32 install o where can i obtain help in my steps?
    i´m writing a sort manual with all my steps for future attempts…
    Could i request your help in that way?

    All I can say is… Raul (from this forum) has been setup Pandora many times in Windows enviroments. I dont know exactly how, I think that he used ActivePerl for execute PERL and Cygwin OpenSSH to implement SSH, but I you survive this, and want to make a documentation about it, it will be welcome !!! 🙂

  • raul

    Member
    September 28, 2006 at 18:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I think it’s installed in ActiveState, if not, try

    [code:1]ppm> install IO-Socket-Socks

    Also, maybe you have to change

    from
    [code:1]use SNMP;
    to
    [code:1]use Net::SNMP;

    and

    [code:1]ppm> install Net-SNMP

    If you read http://www.openideas.info/phpbb/viewtopic.php?t=89,

    you should set TZ [code:1]set TZ=WET before running server and use the command line with the installation directory, the best way is creating a .bat file

    [code:1]@set TZ=WET
    @perl pandora_network.pl c:pandora_server

    Raul

  • Sancho

    Administrator
    September 28, 2006 at 18:47
    2212 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I think it’s installed in ActiveState, if not, try
    Also, maybe you have to change

    from
    [code:1]use SNMP;
    to
    [code:1]use Net::SNMP;

    and

    SuRE ???. Both exists, but we need to use SNMP, not NET::SNMP, last one give us problems, and we decided to use SNMP some months ago, first beta has Net::SNMP, but second beta is using SNMP.

  • Crazybest

    Member
    September 28, 2006 at 18:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i am using ActivePerl and using ppm to download (and build) packages.. it works great, but i can advise you to add more repositories

    if you have ActivePerl then you can start > run > cmd and type “ppm”. it should open a userinterface of perl package manager.

    then you do: edit > preferences > repositories, and add some

    those did i add:
    http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2.html#additional_repositories

    PS: the default (only 1) repository might not have net::snmp avaiable

    hope this helps you

  • raul

    Member
    September 28, 2006 at 19:13
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I use http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58

    with this you can install all SSL related modules

    i am using ActivePerl and using ppm to download (and build) packages.. it works great, but i can advise you to add more repositories

    if you have ActivePerl then you can start > run > cmd and type “ppm”. it should open a userinterface of perl package manager.

    then you do: edit > preferences > repositories, and add some

    those did i add:
    http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2.html#additional_repositories

    PS: the default (only 1) repository might not have net::snmp avaiable

    hope this helps you

  • raul

    Member
    September 28, 2006 at 19:31
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I said:

    Also, maybe you have to change…

    Maybe -> If the user can’t find SNMP module, use Net::SNMP module, is better than nothing 😀

    Raul

    I think it’s installed in ActiveState, if not, try
    Also, maybe you have to change

    from
    [code:1]use SNMP;
    to
    [code:1]use Net::SNMP;

    and

    SuRE ???. Both exists, but we need to use SNMP, not NET::SNMP, last one give us problems, and we decided to use SNMP some months ago, first beta has Net::SNMP, but second beta is using SNMP.