Pandora FMS Community

Pandora Server Installation

kram · 28 oct 2008, 14:37 · 8 mensajes · 96 visitas

  1. Inicio del debate

    Hi, Im trying to install the latest pandora FMS server by following the instructions in: (Link not available anymore) Since I wont be using SNMP, all the dependencies except SNMP were resolved before I started the Pandora Server installation. But, when I try the command: Pandora_server start I get the output:

    /etc/init.d/pandora_server: line 32: pidof: command not found
    
    Pandora FMS Data Server 2.0 Build PS081014 Copyright (c) 2004-2008 ArticaST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at http://www.pandorafms.org
    
      Server basepath is /etc/pandora/pandora_server.conf
    
      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 45
    
      Server threshold 5
    
      You are running Pandora FMS Data Server.
    
      This server is running in MASTER mode.
    
      Pandora FMS Server [penguin_Data] is running and operative
    
    DBD::mysql::db do failed: Unknown column 'utimestamp' in 'field list' at /usr/lib/perl5/site_perl/5.8.5/PandoraFMS/DB.pm line 2235.
    DBD::mysql::db do failed: Unknown column 'utimestamp' in 'field list' at /usr/lib/perl5/site_perl/5.8.5/PandoraFMS/DB.pm line 2235.
    /etc/init.d/pandora_server: line 44: pidof: command not found
    Cannot start Pandora FMS Data Server. Aborted.
    bash-3.00# pidof
    bash: pidof: command not found
    

    Can somebody help me with this? Thanks in advance!

  2. You need to install pidof. In debian distros it's in the sysvutils package Besides, which pandora are you using? Where did you get it from?

  3. Thanks Manu, I tried searching for 'pidof'. I finally found a link and got the pidof source code:

    [#!/bin/sh
    ps axc|awk "{if ($5=="$1") print $1}"|tr 'n' ' '
    echo
    /code]

    But I still find that the pandora_server start command is not working. I get this output now:

    [/bash-3.00# /etc/init.d/pandora_server start

    Pandora FMS Data Server 2.0 Build PS081014 Copyright (c) 2004-2008 ArticaST
    This program is OpenSource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at http://www.pandorafms.org

    • Server basepath is /etc/pandora/pandora_server.conf

    • 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 45

    • Server threshold 5

    • You are running Pandora FMS Data Server.

    • This server is running in MASTER mode.

    • Pandora FMS Server [penguin_Data] is running and operative

    DBD::mysql::db do failed: Unknown column 'utimestamp' in 'field list' at /usr/lib/perl5/site_p erl/5.8.5/PandoraFMS/DB.pm line 2235.
    DBD::mysql::db do failed: Unknown column 'utimestamp' in 'field list' at /usr/lib/perl5/site_p erl/5.8.5/PandoraFMS/DB.pm line 2235.
    Cannot start Pandora FMS Data Server. Aborted.
    code]

    I downloaded the Pandora from: https://pandora.svn.sourceforge.net/svnroot/pandora/trunk. I assume it is the 2.0 beta version. I am following the instructions for installing the 1.3 server as written in: (Link not available anymore)

    Please help.

  4. Did you install the console from the trunk as well?

  5. I have not installed the console yet. Is that part of the problem?

  6. Yes, you should install it first cause you'll get the database installed along. If you don't want to install the console but the database only You might want to do: mysql -u root -p (if you have a password) mysql> create database pandora; mysql> create user pandora; mysql> grant all on pandora.* to 'pandora'@'localhost' identified by 'pandora'; mysql> exit cat pandoradb.sql | mysql -u pandora -ppandora -D pandora cat pandoradb_data.sql | mysql -u pandora -ppandora -D pandora (The pandoradb.sql can be found in the trunk/pandora_console) Now, make sure your dbuser is pandora and dbpass is pandora (you can change this in the future) in the pandora_server.conf Now, start your pandora_server again

  7. From: (Link not available anymore) "Pandora FMS database is created and populated when installing the Pandora FMS Web Console, follow the steps in Install Pandora FMS Web Console." The link goes to the page where you can find the steps given by Manu: (Link not available anymore)

  8. I have updated both pages, to make the process clearer, I think. If any one have ideas to improve it, please contribute :-D Raúl

Entra en tu cuenta para publicar.