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 Problem after installing using *.rpm

  • Problem after installing using *.rpm

    Posted by anak_emak on January 13, 2007 at 10:00

    Hope someone can help me with my problem wher i dl and install Pandora FMS using rpm package create by Manuel Arostegui. I receive error as below when i try to run pandora_server and unable to find any solution. Anybody have any ideas?

    Can’t locate pandora_config.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/bin/pandora_server line 35.

    manu replied 17 years, 2 months ago 3 Members · 33 Replies
  • 33 Replies
  • anak_emak

    Member
    January 13, 2007 at 12:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ok the above problem is solve (…i think) but then as i run to start the pandora_server…it prompt an error shown below but the i’ve put the correct path as i edit the pandora_config.pm file. Is it the correct way or the wrong way coz i really don’t know how to specify a valid path in command line. Please help me. Thanks 🙂

    /usr/bin/pandora_server start

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

    [ERROR] Cannot open configuration file at start/etc/pandora/conf/pandora_server.conf.
    Please specify a valid Pandora Home Directory in command line.

  • raul

    Member
    January 14, 2007 at 02:00
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ok the above problem is solve (…i think) but then as i run to start the pandora_server…it prompt an error shown below but the i’ve put the correct path as i edit the pandora_config.pm file. Is it the correct way or the wrong way coz i really don’t know how to specify a valid path in command line. Please help me. Thanks 🙂

    /usr/bin/pandora_server start

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

    [ERROR] Cannot open configuration file at start/etc/pandora/conf/pandora_server.conf.
    Please specify a valid Pandora Home Directory in command line.

    As I can see, you use the command line “/usr/bin/pandora_server start” which is not correct, as the pandora_server scripts needs that you have to specify a valid Pandora Home Directory, as the error says, that is you have to include the dicrectory into the command line: [code:1]/usr/bin/pandora_server /

    As you can see, I have included the “/” at the end of the line.

    I think this should be changed to have the pandora_server script included that directory.

    Raul

  • anak_emak

    Member
    January 14, 2007 at 04:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi raul,

    Thanks a lot for giving me the solution 😀 as you can see below is the result of the problem. As you can see also there’s an error in Date::Manip which it cannot determine the Timezone, is there anything i should do to recover it.

    /usr/bin/pandora_server /

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or lat er.
    You can download latest versions and documentation at http://pandora.sourceforge .net.

  • Server basepath is /
  • Server logfile at /var/log/pandora/pandora_server.log
  • Server errorlogfile at /var/log/pandora/pandora_server.error
  • Server incoming directory at /var/spool/pandora/data_in
  • Server keepalive 60
  • Server threshold 5
  • You are running Pandora Data Server.
  • This server is running in MASTER mode.
  • ERROR: Date::Manip unable to determine TimeZone.
    at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 3637
    Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/5.8.8/Da te/Manip.pm line 678
    Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/5.8.8/Date /Manip.pm line 801
    Date::Manip::ParseDateString(‘today’) called at /usr/lib/perl5/vendor_pe rl/5.8.8/Date/Manip.pm line 1793
    Date::Manip::UnixDate(‘today’, ‘%Y/%m/%d %H:%M:%S’) called at /usr/lib/p erl5/site_perl/5.8.8/i386-linux-thread-multi/pandora_tools.pm line 142
    pandora_tools::logger(‘HASH(0x87b8e3c)’, ‘Launching Pandora Data Server 1.2 PS061123’, 0) called at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-mul ti/pandora_config.pm line 263
    pandora_config::pandora_loadconfig(‘HASH(0x87b8e3c)’, 0) called at /usr/ bin/pandora_server line 48
    [pandora@supportsvr2 ~]$

    Ohh and by the way, the pandora console is up but i don’t know how to add any server, is it because i didn’t install the agent. after i start pandora_server then i do the same for pandora_network and pandora_snmpconsole but seems nothing happen. Should i install agent in all server in order to add that server in web console. ❓

  • raul

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

    I think the problem should be that you haven’t set the TZ (timezone) variable into the shell, which is needed by the Date::Manip perl module.

    Try
    [code:1]export TZ=WET

    Well, WET is Western European Time :-d, you should use your TimeZone 😀

    About the servers: The first time an agent sends information to the server and the server insert its data into the database, the server will be automatically created and you’ll see it into the console.

    I think nil can explain much than me about the Network Servers 😀

    Raul

  • anak_emak

    Member
    January 16, 2007 at 02:03
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    well the pandora server been live since it’s up like 3 days and still no server is being added to it. Even more i cannot manually add any server from the console using “Manage Server” tab from the console. I’m very lost in setting this Pandora FMS. I’m not sure what i missed coz i’m using the *.rpm coz if i used the tar.gz file, i couldn’t follow it’s install manual. Is it really stable in FC5…

  • manu

    Member
    January 16, 2007 at 12:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Did you install the console by using the rpm? Is it working, I mean, can you log into the console succesfully?
    With those question I’d like to find out if the problems come from the rpm (i don’t think so) or you’re missing something when working with the console

  • manu

    Member
    January 16, 2007 at 12:40
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hope someone can help me with my problem wher i dl and install Pandora FMS using rpm package create by Manuel Arostegui. I receive error as below when i try to run pandora_server and unable to find any solution. Anybody have any ideas?

    Can’t locate pandora_config.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/bin/pandora_server line 35.

    My bad, I’m going to solve that as soon as possible 🙂

  • manu

    Member
    January 16, 2007 at 16:32
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Fixed.

    Pandora_Server package has been already rebuild on my reposistory

  • anak_emak

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

    guess i have to reinstall the rpm package back 😀 but anyhow answering you previous question, yes i can view and log in to the console page but the thing is can i manually add server or the local server itself will search for any server it detected via agent installed in each of it. Because currently there’s no server being added and it’s not monitoring as it should be….and why ❓

    p/s: is the new rpm can be download via the same link as before… ❓

    and by the way…i’ve notice something from Pandora on Slackware 11 thread where it says that under Pandora server section is would show running process in green…coz mine just show

    There are no servers configured into the database

    and that’s all…

  • manu

    Member
    January 19, 2007 at 12:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
  • anak_emak

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

    manu,

    can you edit your pandora_agents so that it detect openssh-clients not openssh-client coz when i tried to install it shows

    error: Failed dependencies:
    openssh-client is needed by pandora_agents-1.2.0-5.1.noarch

    and by the way, are you sure you’ve fix pandora_server rpm package coz i’m still receiving this error in a fresh new installation:

    [pandora@supportsvr /]$ /usr/bin/pandora_server /etc/pandora
    Can’t locate pandora_config.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/bin/pandora_server line 35.
    BEGIN failed–compilation aborted at /usr/bin/pandora_server line 35.

    below is rpm package i’ve install in my FC5:

    [root@supportsvr /]# rpm -qa pandora_* PandoraFMS_*
    pandora_server-1.2.0-9.1
    PandoraFMS_Console-1.2.0-9.1

  • anak_emak

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

    i’m currently installing Pandora Server using tar.gz file and currently got this error…can anyone help me…

    [pandora@supportsvr pandora_server]$ pandora_server start

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

  • Server basepath is /opt/pandora_server
  • Server logfile at /opt/pandora_server/log/pandora_server.log
  • Server errorlogfile at /opt/pandora_server/log/pandora_server.error
  • Server incoming directory at /opt/pandora_server/data_in
  • Server keepalive 60
  • Server threshold 5
  • You are running Pandora Data Server.
  • This server is running in MASTER mode.
  • [FATAL] Cannot open logfile at /opt/pandora_server/log/pandora_server.log at pandora_tools.pm line 143.
    Cannot start Pandora Data Server. Aborted

    another problem..(man so many…)

    /opt/pandora_server/pandora_network start
    Can’t locate SNMP.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./pandora_network.pl line 31.
    BEGIN failed–compilation aborted at ./pandora_network.pl line 31.
    Cannot start Pandora Network Server. Aborted

    can anyone tell me where to get this perl-Net-Ping-External for FC5? I’ve install perl-Net-Ping-External but it was made for perl 5.6.1…how to get for 5.8.4 and above file…am i the only one having this issue

  • raul

    Member
    January 20, 2007 at 00:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i’m currently installing Pandora Server using tar.gz file and currently got this error…can anyone help me…

    [pandora@supportsvr pandora_server]$ pandora_server start

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

  • Server basepath is /opt/pandora_server
  • Server logfile at /opt/pandora_server/log/pandora_server.log
  • Server errorlogfile at /opt/pandora_server/log/pandora_server.error
  • Server incoming directory at /opt/pandora_server/data_in
  • Server keepalive 60
  • Server threshold 5
  • You are running Pandora Data Server.
  • This server is running in MASTER mode.
  • [FATAL] Cannot open logfile at /opt/pandora_server/log/pandora_server.log at pandora_tools.pm line 143.
    Cannot start Pandora Data Server. Aborted

    Well ,the fist thing to verify is if the PATH fo the file (/opt/pandora_server/log/pandora_server.log) exists. I suppose you have tested it, but verify if you have the /opt/pandora_server/log/ directory created.

    another problem..(man so many…)

    /opt/pandora_server/pandora_network start
    Can’t locate SNMP.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./pandora_network.pl line 31.
    BEGIN failed–compilation aborted at ./pandora_network.pl line 31.
    Cannot start Pandora Network Server. Aborted

    can anyone tell me where to get this perl-Net-Ping-External for FC5? I’ve install perl-Net-Ping-External but it was made for perl 5.6.1…how to get for 5.8.4 and above file…am i the only one having this issue

    This is very strange, I know Manu tests all the builds. The problem is with SNMP.pm. This module IS NOT Net::SNMP (http://www.openideas.info/phpbb/viewtopic.php?t=262) but SNMP (also read last post in http://forums.fedoraforum.org/archive/index.php/t-89271.html):
    That’s is, you have to install net-snmp-perl.

    Raul

  • anak_emak

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

    For the PATH…below is where i put it…

    [root@supportsvr ~]# cd /opt/pandora_server/
    [root@supportsvr pandora_server]# ls
    AUTHORS conf doc pandora_network README var
    bin COPYING INSTALL pandora_server specs
    ChangeLog data_in log pandora_snmpconsole util
    [root@supportsvr pandora_server]# ll
    total 88
    -rw-r–r– 1 1000 1000 33 Dec 1 01:03 AUTHORS
    drwxr-xr-x 2 1000 1000 4096 Jan 20 00:36 bin
    -rw-r–r– 1 1000 1000 1654 Dec 1 01:03 ChangeLog
    drwxr-xr-x 2 1000 1000 4096 Dec 4 07:25 conf
    -rw-r–r– 1 1000 1000 14875 Dec 1 01:03 COPYING
    drwxr-xr-x 2 1000 1000 4096 Dec 1 01:04 data_in
    drwxr-xr-x 2 1000 1000 4096 Dec 4 07:26 doc
    -rw-r–r– 1 1000 1000 13960 Dec 1 01:03 INSTALL
    drwxr-xr-x 2 pandora 1000 4096 Jan 20 00:42 log
    -rwxr-xr-x 1 1000 1000 1547 Dec 1 01:03 pandora_network
    -rwxr-xr-x 1 1000 1000 1511 Dec 1 01:03 pandora_server
    -rwxr-xr-x 1 1000 1000 2862 Dec 1 01:03 pandora_snmpconsole
    -rw-r–r– 1 1000 1000 2789 Dec 1 01:03 README
    drwxr-xr-x 4 1000 1000 4096 Dec 1 01:04 specs
    drwxr-xr-x 2 1000 1000 4096 Dec 1 01:14 util
    drwxr-xr-x 2 1000 1000 4096 Jan 20 01:29 var
    [root@supportsvr pandora_server]# pwd
    /opt/pandora_server
    [root@supportsvr pandora_server]#

    And for the second part…i’ll do it later and will inform of any result and also problems….thanks raul…

  • manu

    Member
    January 20, 2007 at 13:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    manu,

    can you edit your pandora_agents so that it detect openssh-clients not openssh-client coz when i tried to install it shows

    error: Failed dependencies:
    openssh-client is needed by pandora_agents-1.2.0-5.1.noarch

    and by the way, are you sure you’ve fix pandora_server rpm package coz i’m still receiving this error in a fresh new installation:

    [pandora@supportsvr /]$ /usr/bin/pandora_server /etc/pandora
    Can’t locate pandora_config.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/bin/pandora_server line 35.
    BEGIN failed–compilation aborted at /usr/bin/pandora_server line 35.

    below is rpm package i’ve install in my FC5:

    [root@supportsvr /]# rpm -qa pandora_* PandoraFMS_*
    pandora_server-1.2.0-9.1
    PandoraFMS_Console-1.2.0-9.1

    Pandora_agents openssh-clients: done.
    Download it at the usual link

    Well, about your Pandora server, it’s so so strange what’s happeningto you, let’s see

    [root@Arbusto ~]# rpm -i /home/manu/Desktop/pandora_server
    pandora_server/ pandora_server_1.2-Beta2.tar.gz
    pandora_server-1.2.0-9.1.noarch.rpm pandora_server_15-01-07.tar.gz
    [root@Arbusto ~]# rpm -i /home/manu/Desktop/pandora_server-1.2.0-9.1.noarch.rpm
    Pandora Server binarys has been placed under /usr/bin/
    Pandora Server configuration is /etc/pandora/conf
    Pandora Server data has been placed under /var/spool/data_in/
    Pandora Server logs has benn placed under /var/log/pandora
    For further information please: man pandora or man pandora_server
    [root@Arbusto ~]# rpm -ql pandora_server | grep .pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_config.pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_db.pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_tools.pm
    /usr/share/pandora/util/pandora_config.pm
    /usr/share/pandora/util/pandora_db.pm
    /usr/share/pandora/util/pandora_tools.pm
    [root@Arbusto ~]# pandora_server /usr/share/pandora

    Pandora Server 1.2 Beta2 Build PS60629 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

    [W] It is not a good idea running Pandora Server as root user, please DON’T DO IT!

  • Server basepath is /usr/share/pandora
  • Server logfile at /var/log/pandora/pandora_server.log
  • Server errorlogfile at /var/log/pandora/pandora_server.error
  • Server incoming directory at /var/spool/pandora/data_in
  • Server keepalive 60
  • Server threshold 5
  • You are running Pandora Data Server.
  • This server is running in MASTER mode.
  • ——-

    Please, dude, could you paste me the output of:
    rpm -qa | grep -i perl
    In addition, what’s the output of:
    ls /usr/lib/perl5/site_perl/5.8.5/Pandora/
    ?
    That’s mine.
    As you can see, the rpm put there all the .pm, and as you can seen on your error,
    /usr/lib/perl5/site_perl/5.8.5/ is valid PATH
    [root@Arbusto ~]# ls -l /usr/lib/perl5/site_perl/5.8.5/Pandora/
    total 84
    -rwxr-xr-x 1 pandora pandora 12249 ene 20 09:58 pandora_config.pm
    -rwxr-xr-x 1 pandora pandora 58362 ene 20 09:58 pandora_db.pm
    -rwxr-xr-x 1 pandora pandora 5373 ene 20 09:58 pandora_tools.pm

    By the way, i have update the pandora_server rpm in order to fix some nosenses related with a symlink between /usr/share/pandora and the /etc, download it in the same location

    Cheers

  • manu

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

    Doing exactly the same as you:

    [root@Arbusto ~]# pandora_server /etc/pandora/

    Pandora Server 1.2 Beta2 Build PS60629 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

    [W] It is not a good idea running Pandora Server as root user, please DON’T DO IT!

  • Server basepath is /etc/pandora/
  • Server logfile at /var/log/pandora/pandora_server.log
  • Server errorlogfile at /var/log/pandora/pandora_server.error
  • Server incoming directory at /var/spool/pandora/data_in
  • Server keepalive 60
  • Server threshold 5
  • You are running Pandora Data Server.
  • This server is running in MASTER mode.
  • raul

    Member
    January 20, 2007 at 22:42
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Doing exactly the same as you:

    [root@Arbusto ~]# pandora_server /etc/pandora/

    Pandora Server 1.2 Beta2 Build PS60629 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.

    Beta 2?

    From http://www.openideas.info/phpbb/viewtopic.php?t=262:

    PERL has two main modules to manage SNMP: Net_SNMP and SNMP. Pandora needs “SNMP” module, doesn’t work with Net_SNMP (this module was used in beta2 instead SNMP and we get several problems with it, so we changed to SNMP).

    Raul

  • anak_emak

    Member
    January 21, 2007 at 01:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    first of all…i’m off from work 😀 and secondly…i’ll do what you post before with the grep command and the last thing is which one to use perl-Net-SNMP or Net-SNMP-perl…i’m confuse now…coz for perl-Net-SNMP and perl-Net-SNMP-External…it’s hard o find it’s rpm and it will be put under perl 5.6.1 not 5.8.* or later version of it…any way i’ll post once i’ve resume the work… 😀

  • anak_emak

    Member
    January 23, 2007 at 07:35
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    [root@supportsvr2 ~]# rpm -ql pandora_server | grep .pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_config.pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_db.pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_tools.pm
    /usr/share/pandora/util/pandora_config.pm
    /usr/share/pandora/util/pandora_db.pm
    /usr/share/pandora/util/pandora_tools.pm
    [root@supportsvr2 ~]# rpm -qa | grep -i perl
    perl-BSD-Resource-1.28-1.fc6.1
    newt-perl-1.08-9.2.2
    perl-DBD-MySQL-3.0007-1.fc6
    perl-Digest-SHA1-2.11-1.2.1
    perl-HTML-Parser-3.55-1.fc6
    perl-XML-Parser-2.34-6.1.2.2.1
    perl-Digest-MD2-2.03-3.fc6
    perl-Net-Ping-2.31-8
    perl-5.8.8-10
    perl-String-CRC32-1.4-2.fc6
    perl-URI-1.35-3
    mod_perl-2.0.2-6.1
    perl-Digest-HMAC-1.01-15
    perl-HTML-Tagset-3.10-2.1.1
    perl-Crypt-DES-2.05-3.fc6
    perl-libwww-perl-5.805-1.1.1
    perl-IO-Socket-SSL-1.01-1.fc6
    perl-TimeDate-1.16-3.2.1
    perl-DateManip-5.44-2.fc6
    perl-Net-Ping-External-0.11-8
    perl-Socket6-0.19-3.fc6
    perl-IO-Socket-INET6-2.51-2.fc6
    perl-DBI-1.52-1.fc6
    perl-Net-SSLeay-1.30-4.fc6
    perl-Compress-Zlib-1.42-1.fc6
    perl-Net-SNMP-5.2.0-1.fc6
    perl-XML-Simple-2.14-4.fc6
    [root@supportsvr2 ~]# ls /usr/lib/perl5/site_perl/5.8.5/Pandora/
    pandora_config.pm pandora_db.pm pandora_tools.pm
    [root@supportsvr2 ~]#

    Above is what you ask from me…from the previous post is ther anything wrong…currently installing the latest rpm from your source manu for both server and agents

  • anak_emak

    Member
    January 23, 2007 at 07:57
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Here is the result after i’ve install you new fix version of rpm together with the one you ask me to do before, please review it as below

    [pandora@supportsvr2 pandora_server]$ rpm -qa pandora_* PandoraFMS*
    PandoraFMS_Console-1.2.0-9.1
    pandora_server-1.2.0-11.1
    [pandora@supportsvr2 pandora_server]$ rpm -qa pandora* PandoraFMS*
    PandoraFMS_Console-1.2.0-9.1
    pandora_server-1.2.0-11.1
    [pandora@supportsvr2 pandora_server]$ rpm -ql pandora_server | grep .pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_config.pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_db.pm
    /usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_tools.pm
    /usr/share/pandora/util/pandora_config.pm
    /usr/share/pandora/util/pandora_db.pm
    /usr/share/pandora/util/pandora_tools.pm
    [pandora@supportsvr2 pandora_server]$ rpm -qa | grep -i perl
    perl-BSD-Resource-1.28-1.fc6.1
    newt-perl-1.08-9.2.2
    perl-DBD-MySQL-3.0007-1.fc6
    perl-Digest-SHA1-2.11-1.2.1
    perl-HTML-Parser-3.55-1.fc6
    perl-XML-Parser-2.34-6.1.2.2.1
    perl-Digest-MD2-2.03-3.fc6
    perl-Net-Ping-2.31-8
    perl-5.8.8-10
    perl-String-CRC32-1.4-2.fc6
    perl-URI-1.35-3
    mod_perl-2.0.2-6.1
    perl-Digest-HMAC-1.01-15
    perl-HTML-Tagset-3.10-2.1.1
    perl-Crypt-DES-2.05-3.fc6
    perl-libwww-perl-5.805-1.1.1
    perl-IO-Socket-SSL-1.01-1.fc6
    perl-TimeDate-1.16-3.2.1
    perl-DateManip-5.44-2.fc6
    perl-Net-Ping-External-0.11-8
    perl-Socket6-0.19-3.fc6
    perl-IO-Socket-INET6-2.51-2.fc6
    perl-DBI-1.52-1.fc6
    perl-Net-SSLeay-1.30-4.fc6
    perl-Compress-Zlib-1.42-1.fc6
    perl-Net-SNMP-5.2.0-1.fc6
    perl-XML-Simple-2.14-4.fc6
    [pandora@supportsvr2 pandora_server]$ ls /usr/lib/perl5/site_perl/5.8.5/Pandora/
    pandora_config.pm pandora_db.pm pandora_tools.pm
    [pandora@supportsvr2 pandora_server]$ /usr/bin/pandora_server /usr/share/pandora

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

  • Server basepath is /usr/share/pandora
  • Server logfile at /var/log/pandora/pandora_server.log
  • Server errorlogfile at /var/log/pandora/pandora_server.error
  • Server incoming directory at /var/spool/pandora/data_in
  • Server keepalive 60
  • Server threshold 5
  • You are running Pandora Data Server.
  • This server is running in MASTER mode.
  • [FATAL] Cannot open logfile at /var/log/pandora/pandora_server.log at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/pandora_tools.pm line 143.
    [pandora@supportsvr2 pandora_server]$

    and this is what is get from

    [pandora@supportsvr2 pandora_server]$ pwd
    /opt/pandora_server
    [pandora@supportsvr2 pandora_server]$ pandora_server /opt/pandora_server

    Pandora Server 1.2 Build PS061123 Copyright (c) 2004-2006 ArticaST
    This program is Free Software, licensed under the terms of GPL License v2 or later.
    You can download latest versions and documentation at http://pandora.sourceforge.net

    [ERROR] Cannot open configuration file at /opt/pandora_server/conf/pandora_server.conf.
    Please specify a valid Pandora Home Directory in command line.
    [pandora@supportsvr2 pandora_server]$

    If you can notice there’s 2 different file being place and i think your’s is at /usr/bin location…

    And for easier view of pandora_server location…see as below

    [pandora@supportsvr2 pandora_server]$ locate pandora_server
    /etc/pandora/conf/pandora_server.conf
    /opt/pandora_server
    /opt/pandora/pandora_server-1.2.0-11.1.noarch.rpm
    /opt/pandora_server/AUTHORS
    /opt/pandora_server/COPYING
    /opt/pandora_server/ChangeLog
    /opt/pandora_server/INSTALL
    /opt/pandora_server/README
    /opt/pandora_server/bin
    /opt/pandora_server/conf
    /opt/pandora_server/data_in
    /opt/pandora_server/doc
    /opt/pandora_server/log
    /opt/pandora_server/pandora.1
    /opt/pandora_server/pandora_network
    /opt/pandora_server/pandora_server
    /opt/pandora_server/pandora_server.1
    /opt/pandora_server/pandora_snmpconsole
    /opt/pandora_server/specs
    /opt/pandora_server/var
    /opt/pandora_server/bin/pandora_DBI_test.pl
    /opt/pandora_server/bin/pandora_SNMP_test.pl
    /opt/pandora_server/bin/pandora_dbstress.README
    /opt/pandora_server/bin/pandora_dbstress.pl
    /opt/pandora_server/doc/gpl.LICENSE
    /opt/pandora_server/doc/pandora_agent.LICENSE
    /opt/pandora_server/specs/fedoracore5
    /opt/pandora_server/specs/rhel
    /opt/pandora_server/specs/fedoracore5/perl-Pandora-1.2-beta3.spec
    /opt/pandora_server/specs/rhel/perl-Pandora-1.2-beta3.spec
    /usr/bin/pandora_server
    /usr/share/man/man1/pandora_server.1.gz
    /usr/share/pandora/conf/pandora_server.conf
    [pandora@supportsvr2 pandora_server]$

  • Page 1 of 2