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 problems upgrading from 2.1 to trunk – revision 1751

  • problems upgrading from 2.1 to trunk – revision 1751

    Posted by suzdal on June 15, 2009 at 11:11

    I have these errors on startup

    Undefined subroutine &main::pandora_loadconfig called at /usr/local/bin/pandora_network line 62.
    Undefined subroutine &main::pandora_loadconfig called at /usr/local/bin/pandora_recon line 77.
    Undefined subroutine &main::pandora_loadconfig called at /usr/local/bin/pandora_snmpconsole line 51.
    Undefined subroutine &main::pandora_loadconfig called at /usr/local/bin/pandora_prediction line 61.
    Undefined subroutine &main::pandora_loadconfig called at /usr/local/bin/pandora_plugin line 69.
    Undefined subroutine &main::pandora_loadconfig called at /usr/local/bin/pandora_wmi line 67.

    and many other with console (lost alerts, modules wmi and net)

    any idea?

    raul replied 15 years, 8 months ago 4 Members · 12 Replies
  • 12 Replies
  • getnetworks

    Member
    June 15, 2009 at 17:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    We had a similar problem, but since we are still just testing, we decided to purge all remnants of Pandora and perform a clean install of the latest SVN (1751) build. No errors this time, but the server installer only installed pandora_server. There is no sign of pandora_network, pandora_recon, etc. Additionally, the other big issue we had was that the index.php page wasn’t showing a login screen after the console install. We hoped the clean install would fix that as well, but that problem still persists. Viewing source of the index.php at generation time definitely shows that something is just aborting as the page looks very much incomplete.

    Needless to say, we had a functioning v2.1 install (but had problems with alerts; thus the upgrade to the new alerting system), but now, we have nothing at all that is usable. Not a good sign at this point.

  • manu

    Member
    June 17, 2009 at 03:16
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Trunk version has only one script, pandora_server, which includes all past servers, we simplified this in order to have just one script.

    Upgrading from 2.1 to trunk can be hard, specially due to database schema changes, but a fresh install from trunk version runs just fine (I installed one two days ago, and yesterday we installed another one in the office and it is working properly).

  • suzdal

    Member
    June 17, 2009 at 09:31
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    the other big issue we had was that the index.php page wasn’t showing a login screen after the console install

    i think it’s a problem with cookies, i tried on firefox and doesn’t work, because i used it before to check my pandora 2.1, but i tried again with iexplorer with no cookies of pandora, and shows this :p

  • suzdal

    Member
    June 17, 2009 at 09:33
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    try to add a parameter to cookies (ex. Build version) to check a previous login and do a fresh login.

  • suzdal

    Member
    June 17, 2009 at 10:15
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i’m again…
    :p

    i installed (2 hours ago) a 3.0 trunk on fresh vmware ubuntu.

    when i make network components like wmi (to check mcafee prgs) and put into a template, when i add that template to a test agent (made by me on console – not recon) it dosn’t work but if a go to manage agent and edit modules / create a new one wmi module / check from combo box wmi and use it, great it WORK.

    i checked it twice and when i try to configure a module (anyone) a message show “There was a problem updating module” with a exclamation signal on left.

    one more:

    help on FF threshold blue signal open a window with error:
    Help system error
    No help section
    Pandora FMS help system has been called with a help reference that currently don’t exist. There is no help content to show.

    do you need something to help you with this problem?

  • manu

    Member
    June 17, 2009 at 10:20
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    The help text it normal, we haven’t started to write the new documentation yet, and the FF (Flip-Flop) is new, therefore, no help regarding this issue yet 🙁

    The template stuff, it’s a bug,

    Would you open it here with priority 8?
    http://sourceforge.net/tracker/?atid=794852&group_id=155200&func=browse

    “Add new” 🙂

  • getnetworks

    Member
    June 17, 2009 at 16:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    We get no login page using the trunk build (on a fresh install) using either Firefox or IE. All we get is the top of the white login box that says “Pandora FMS Web Console” and the box ends immediately after that.

  • raul

    Member
    June 17, 2009 at 18:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    [cite]Posted By: getnetworks[/cite]
    We get no login page using the trunk build (on a fresh install) using either Firefox or IE. All we get is the top of the white login box that says “Pandora FMS Web Console” and the box ends immediately after that.

    It looks like as an PHP error. Could you please enable the PHP errors, warnings and notices and create an php.error file?
    You can do that by adding into the include/config.php file the next lines:

    error_reporting(E_ALL);
    ini_set(“log_errors”, 1);
    ini_set(“error_log”, “/PATH_TO_PANDORA_CONSOLE/php.error”);

    Be sure, the apache user (usually www-data) can write in that directory.

    Go to the page, reproduce the error and after that, check /PATH_TO_PANDORA_CONSOLE/php.error.

    This file will give you/us the key to solve the issue.

    Raul

  • suzdal

    Member
    June 18, 2009 at 02:32
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    [cite]Posted By: manu[/cite]
    Hi,

    The help text it normal, we haven’t started to write the new documentation yet, and the FF (Flip-Flop) is new, therefore, no help regarding this issue yet 🙁

    The template stuff, it’s a bug,

    Would you open it here with priority 8?
    http://sourceforge.net/tracker/?atid=794852&group_id=155200&func=browse

    “Add new” 🙂

    done
    https://sourceforge.net/tracker/?func=detail&aid=2808211&group_id=155200&atid=794852

    need something more?

    if I have enough time, I’ll look for the code error of the modules.

  • manu

    Member
    June 18, 2009 at 03:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks!
    We’ll solve it as soon as possible!

  • getnetworks

    Member
    June 22, 2009 at 13:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    [cite]Posted By: raul[/cite]error_reporting(E_ALL);
    ini_set(“log_errors”, 1);
    ini_set(“error_log”, “/PATH_TO_PANDORA_CONSOLE/php.error”);

    Here’s the output:

    [22-Jun-2009 14:25:46] PHP Fatal error: Call to undefined function mb_check_encoding() in /var/www/html/pandora_console/include/functions.php on line 43

  • raul

    Member
    June 23, 2009 at 05:37
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    That function is part of the php-mbstring package. Look for it depending on your distro. I don’t know if it is included in any other package.

    Tell us your distro and I’ll try to find the correct package.

    Raúl