Pages: [1] 2 3   Go Down
Author Topic: Problem after installing using *.rpm  (Read 1668 times)
0 Members and 1 Guest are viewing this topic.
anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« on: January 13, 2007, 07:00:29 AM »

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?

Quote
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.
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #1 on: January 13, 2007, 09:20:02 AM »

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 :)

Quote
/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.

« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #2 on: January 13, 2007, 11:00:51 PM »

Quote from: "anak_emak"
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 :)

Quote
/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 /[/code]

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
« Last Edit: January 01, 1970, 01:00:00 AM by raul » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #3 on: January 14, 2007, 01:24:31 AM »

Hi raul,

Thanks a lot for giving me the solution  :D 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.

Quote
/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.  :?:
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #4 on: January 14, 2007, 01:14:11 PM »

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[/code]

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

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 :-D

Raul
« Last Edit: January 01, 1970, 01:00:00 AM by raul » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #5 on: January 15, 2007, 11:03:36 PM »

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...
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #6 on: January 16, 2007, 09:38:44 AM »

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
« Last Edit: January 01, 1970, 01:00:00 AM by manu » Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #7 on: January 16, 2007, 09:40:30 AM »

Quote from: "anak_emak"
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?

Quote
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 :)
« Last Edit: January 01, 1970, 01:00:00 AM by manu » Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #8 on: January 16, 2007, 01:32:05 PM »

Fixed.

Pandora_Server package has been already rebuild on my reposistory
« Last Edit: January 01, 1970, 01:00:00 AM by manu » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #9 on: January 17, 2007, 10:46:01 PM »

guess i have to reinstall the rpm package back :D 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

Quote
There are no servers configured into the database


and that's all...
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

Manuel Arostegui
Global Moderator
Expert member
*****

Karma: 50
Offline Offline

Posts: 853



View Profile
« Reply #10 on: January 19, 2007, 09:20:56 AM »

http://software.opensuse.org/download/home:/marostegui/Fedora_Extras_5/noarch/
« Last Edit: January 01, 1970, 01:00:00 AM by manu » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #11 on: January 19, 2007, 02:07:21 PM »

manu,

can you edit your pandora_agents so that it detect openssh-clients not openssh-client coz when i tried to install it shows
Quote
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:

Quote
[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:

Quote
[root@supportsvr /]# rpm -qa pandora_* PandoraFMS_*
pandora_server-1.2.0-9.1
PandoraFMS_Console-1.2.0-9.1
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #12 on: January 19, 2007, 05:36:39 PM »

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

Quote
[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...)

Quote
/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
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #13 on: January 19, 2007, 09:33:32 PM »

Quote from: "anak_emak"
i'm currently installing Pandora Server using tar.gz file and currently got this error...can anyone help me...

Quote
[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.

Quote

another problem..(man so many...)

Quote
/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
« Last Edit: January 01, 1970, 01:00:00 AM by raul » Logged

anak_emak
Jr. Member
**

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #14 on: January 19, 2007, 11:53:27 PM »

For the PATH...below is where i put it...

Quote
[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...
« Last Edit: January 01, 1970, 01:00:00 AM by anak_emak » Logged

Pages: [1] 2 3   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST