Announcement

Collapse
No announcement yet.

Oreon 1.4 Event Log error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oreon 1.4 Event Log error

    Hi

    Fatal error: Call to a member function query() on a non-object in /usr/local/oreon/www/include/monitoring/mysql_log/viewLog.php on line 98
    If I click "monitoring > Event log" then I get this message.

    What's wrong?

    Thanks for your help.

    BTW: the last oreon version was working correctly. Something wrong in the upgrate process?

    Regards

    rocket
    Last edited by rocket; 30 March 2007, 12:20.

  • #2
    have you follow the step 1.3.3_to_1.4.txt ??

    Code:
    ######################################################
    # How to upgrade your 1.3.3 in 1.4 ?
    ######################################################
    
    
    - Download oreon-1.4.tar.gz and put oreon-1.4.tar.gz on our server. Here we put oreon-1.4.tar.gz in /root
    
    - unzip oreon-1.4.tar.gz :
    
    $> tar -xvzf oreon-1.4.tar.gz
    
    - launch upgrade script :
    
    $> cd /root/oreon-1.4
    $>./upgrade.sh
    
    - Answer to all questions for upgrading your version.
    
    - login to mysql, create ods database and create tables :  
    
    consider : 
    	ods = table for oreon data storage
    	root = login mysql for root
    	mysql-password = mysql password
    	oreon = oreon user mysql
    
    $>mysql -u root -p
    mysql> CREATE DATABASE `ods` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
    mysql> GRANT ALL PRIVILEGES ON `ods` . * TO 'oreon'@'localhost';
    mysql> exit 
    $> mysql -u root -p -B ods < ./www/install/createTablesODS.sql
    
    After all this request, add in oreon.conf.php file in www directory of oreon this line :
    
    $conf_oreon['ods'] = "ods";
    
    juste after 
    
    $conf_oreon['db'] = "oreon";
    
    Now you can go on oreon interface to finish update by web browser.
    
    http://youroreonip/oreon/
    Do you have this line in oreon.conf.php : $conf_oreon['ods'] = "ods";

    ods = ods database name.

    thanks
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

    Comment


    • #3
      Thanks

      I did not find this upgrade txt file.

      seems to work now.

      regards

      rocket

      Comment


      • #4
        The event-log stopped working here too after the upgrade from 1.3.3 to 1.4 but I don't see that error message, there is just no data.
        I followed the instructions closely, also the new ones on the homepage (missing ODS/etc/conf.pm).
        There are some troubles with path-names (/srv is being used instead of /usr/local) and permissions (log dir not writeable by nagios).
        Also my host-extended-info images don't show up anymore and clicking on the graph-symbol in services-detail gives 'no graph associated to this service', have to select the graph manually.
        Chose a bad timing for this upgrade, no time to investigate it. Probably will do a rollback to 1.3.3 and try some other time.

        Regards
        Menno van Bennekom

        Comment


        • #5
          if you want some help about oreon 1.4

          => http://wiki.oreon-project.org/index...._oreon-1.4_%3F
          Julien Mathis
          Centreon Project Leader
          www.merethis.com |

          Comment

          Working...
          X