Welcome to Pandora FMS Community!

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

  • Sancho

    Administrator
    February 21, 2008 at 03:14
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    did a make clean
    did a perl Makefile.PL
    then ran make

    saw the cp statement regarding Config.pm (it copies it to blib/lib?)

    I even copied the /blib/lib/Config.pm to /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/ manually then restarted the server and the error still there.

    :-/

    mmm

    do a:

    find / -name “Config.pm”

    And make a manual diff with contents of latest ( Feb 20 2008 ) tarball of 1.3.1 Config.pm

  • Sancho

    Administrator
    February 21, 2008 at 03:28
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Confirmed, a simple make is not enought to replace .pm:

    $ make
    cp lib/PandoraFMS/Tools.pm blib/lib/PandoraFMS/Tools.pm
    cp lib/PandoraFMS/Config.pm blib/lib/PandoraFMS/Config.pm
    cp lib/PandoraFMS/DB.pm blib/lib/PandoraFMS/DB.pm
    cp bin/pandora_recon blib/script/pandora_recon
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_recon
    cp bin/pandora_snmpconsole blib/script/pandora_snmpconsole
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_snmpconsole
    cp bin/pandora_server blib/script/pandora_server
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_server
    cp bin/pandora_network blib/script/pandora_network
    /usr/bin/perl “-MExtUtils::MY” -e “MY->fixin(shift)” blib/script/pandora_network

    slerena@alioth:/tmp/pandora_server$ sudo make install
    [sudo] password for slerena:
    Installing /usr/local/share/perl/5.8.8/PandoraFMS/Config.pm
    Installing /usr/local/share/perl/5.8.8/PandoraFMS/Tools.pm
    Installing /usr/local/share/perl/5.8.8/PandoraFMS/DB.pm
    Installing /usr/local/bin/pandora_server
    Installing /usr/local/bin/pandora_snmpconsole
    Installing /usr/local/bin/pandora_recon
    Installing /usr/local/bin/pandora_network
    Writing /usr/local/lib/perl/5.8.8/auto/PandoraFMS/.packlist
    Appending installation info to /usr/local/lib/perl/5.8.8/perllocal.pod

    Try again ! 🙂

  • Anonymous

    Guest
    February 21, 2008 at 17:20
    Like it
    Up
    0
    Down
    Drop it
    ::

    Did the make install (tried it shortly before your last post) But I am still getting the same message.

    This was my locate Config.pm result:
    /root/pandora/pandora_server/blib/lib/PandoraFMS/Config.pm
    /root/pandora/pandora_server/lib/PandoraFMS/Config.pm
    /usr/lib/perl5/5.8.8/CPAN/Config.pm
    /usr/lib/perl5/5.8.8/CPAN/Config.pm~
    /usr/lib/perl5/5.8.8/CPAN/HandleConfig.pm
    /usr/lib/perl5/5.8.8/ExtUtils/MakeMaker/Config.pm
    /usr/lib/perl5/5.8.8/Net/Config.pm
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Config.pm
    /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode/Config.pm
    /usr/lib/perl5/site_perl/5.8.8/Module/Build/Config.pm
    /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/Config.pm
    /usr/lib/perl5/vendor_perl/5.8.8/ExtUtils/PkgConfig.pm
    /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk/Config.pm

    Thanks

    AA

  • Sancho

    Administrator
    February 25, 2008 at 01:20
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Did the make install (tried it shortly before your last post) But I am still getting the same message.

    This was my locate Config.pm result:
    /root/pandora/pandora_server/blib/lib/PandoraFMS/Config.pm
    /root/pandora/pandora_server/lib/PandoraFMS/Config.pm

    Let’s try again from the scratch.

    svn co https://pandora.svn.sourceforge.net/svnroot/pandora/branches/pandora_1.3.x/pandora_server

    (as root)

    rm /usr/lib/perl5/site_perl/5.8.8/PandoraFMS/Config.pm
    cd pandora_server
    perl Makefile.pl
    make
    make install

    This week probably freeze code for 1.3.x and make a beta vmware image to test it more easily. I hope if this don’t work for you know, using a vmware image could be able to find the problem, this issue are going crazy all of us 🙂

  • Anonymous

    Guest
    February 27, 2008 at 17:50
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yes!!
    the rm (deleting the Config.pm) seem to do the trick!

    Now I am only left dealing with the reported values in K instead of GB or MB (from Windows agents). I did see your replies on this subject in another thread… cant wait for the normalization to be possible.

    Thank you very much for your outstanding help and such a beautiful product!

  • manu

    Member
    February 27, 2008 at 17:55
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I’m glad it’s working out for you!

    You might want to post your ideas here:
    http://www.openideas.info/phpbb/viewtopic.php?t=960

    Cheers
    Manuel.

Page 2 of 2