[op5-users] Table does not exist

Mattias Ryrlén mattias.ryrlen at op5.com
Fri Jul 24 22:32:37 CEST 2009


Hi Abhi,

Have you executed ninja_db_init.sh and made sure ninja.sql was
imported into the db?

On Fri, Jul 24, 2009 at 9:48 PM, abhi<abhi at littlewiki.in> wrote:
> I get this error after logging into ninja. Merlin got setup properly.
> Nagios works fine and I have set up apache as mentioned in the README.
>
>
> A database error occurred while performing the requested procedure.
> Please review the database error below for more information.
>
> system/libraries/drivers/Database/Mysql.php *[309]:*
>
> |Table users does not exist in your database.
> |
>
> |Here is the rest of the stack trace:
> |
>
>
>      Stack Trace
>
>    * system/libraries/Database.php *[1181]:*
>
>      Database_Mysql_Driver->list_fields( users )
>
>    * system/libraries/ORM.php *[901]:*
>
>      Database_Core->list_fields( users, 1 )
>
>    * system/libraries/ORM.php *[154]:*
>
>      ORM_Core->reload_columns(  )
>
>    * system/libraries/ORM.php *[104]:*
>
>      ORM_Core->__initialize(  )
>
>    * system/libraries/ORM.php *[82]:*
>
>      ORM_Core->__construct( nagiosadmin )
>
>    * modules/auth/libraries/drivers/Auth/Ninja.php *[11]:*
>
>      ORM_Core::factory( user, nagiosadmin )
>
>    * application/controllers/default.php *[101]:*
>
>      Auth_Ninja_Driver->login( nagiosadmin, XXX )
>
>    *
>
>      Default_Controller->do_login(  )
>
>    * system/core/Kohana.php *[313]:*
>
>      ReflectionMethod->invokeArgs( Default_Controller Object
>      (
>           [csrf_config] =>  Array
>               (
>                   [active] =>
>                   [csrf_token] =>  csrf_token
>                   [csrf_timestamp] =>  csrf_timestamp
>                   [csrf_lifetime] =>  5400
>               )
>
>           [route_config] =>  Array
>               (
>                   [_default] =>  default
>                   [logged_in_default] =>  tac/index
>                   [log_in_form] =>  default/show_login
>               )
>
>           [session] =>  Session Object
>               (
>                   [input:protected] =>  Input Object
>                       (
>                           [use_xss_clean:protected] =>  1
>                           [magic_quotes_gpc:protected] =>  1
>                           [ip_address] =>
>                       )
>
>               )
>
>           [output] =>  Array
>               (
>               )
>
>           [table_prefix] =>
>           [max_attempts] =>
>           [locale] =>  Zend_Locale Object
>               (
>                   [_locale:protected] =>  en_US
>               )
>
>           [registry] =>  Zend_Registry Object
>               (
>               )
>
>           [defaultlanguage] =>  en
>           [translate] =>  Zend_Translate Object
>               (
>                   [_adapter:private] =>  Zend_Translate_Adapter_Gettext Object
>                       (
>                           [_bigEndian:private] =>
>                           [_file:private] =>  Resource id #48
>                           [_adapterInfo:private] =>  Array
>                               (
>                                   [/opt/monitor/op5/ninja-gui/application/languages/en/en.mo] =>  Project-Id-Version: ninja
>      Report-Msgid-Bugs-To:
>      POT-Creation-Date: 2009-02-24 14:50+0100
>      PO-Revision-Date: 2009-02-24 14:50+0100
>      Last-Translator: Per Åsberg<per at op5.com>
>      Language-Team: op5
>      MIME-Version: 1.0
>      Content-Type: text/plain; charset=UTF-8
>      Content-Transfer-Encoding: 8bit
>      X-Poedit-Language: English
>      X-Poedit-Country: UNITED KINGDOM
>      X-Poedit-SourceCharset: utf-8
>      X-Poedit-KeywordsList: _
>      X-Poedit-Basepath: /var/www/ninja/
>      X-Poedit-SearchPath-0: application/controllers
>                               )
>
>                           [_automatic:private] =>  1
>                           [_options:protected] =>  Array
>                               (
>                                   [clear] =>
>                                   [scan] =>
>                                   [locale] =>  en_US
>                                   [ignore] =>  .
>                                   [disableNotices] =>
>                               )
>
>                           [_translate:protected] =>  Array
>                               (
>                                   [en_US] =>  Array
>                                       (
>                                           [Bogus message (not translated): %s] =>  Bogus message (translated): %s
>                                           [Database error: %s] =>  Database error: %s
>                                       )
>
>                               )
>
>                       )
>
>               )
>
>           [template] =>  View Object
>               (
>                   [kohana_filename:protected] =>  /opt/monitor/op5/ninja-gui/application/views/themes/default/template.php
>                   [kohana_filetype:protected] =>  .php
>                   [kohana_local_data:protected] =>  Array
>                       (
>                           [links] =>  Array
>                               (
>                                   [Monitoring] =>  Array
>                                       (
>                                           [Tactical overview] =>  Array
>                                               (
>                                                   [0] =>  tac
>                                                   [1] =>  tac
>                                               )
>
>                                           [Host detail] =>  Array
>                                               (
>                                                   [0] =>  status/host
>                                                   [1] =>  host
>                                               )
>
>                                           [Service detail] =>  Array
>                                               (
>                                                   [0] =>  status/service
>                                                   [1] =>  service
>                                               )
>
>                                           [Hostgroup overview] =>  Array
>                                               (
>                                                   [0] =>  status/hostgroup
>                                                   [1] =>  hostgroup
>                                               )
>
>                                           [Hostgroup grid] =>  Array
>                                               (
>                                                   [0] =>  status/hostgroup_grid
>                                                   [1] =>  hostgroupgrid
>                                               )
>
>                                           [Hostgroup summary] =>  Array
>                                               (
>                                                   [0] =>  status/hostgroup_summary
>                                                   [1] =>  hostgroupsummary
>                                               )
>
>                                           [Servicegroup overview] =>  Array
>                                               (
>                                                   [0] =>  status/servicegroup
>                                                   [1] =>  servicegroup
>                                               )
>
>                                           [Servicegroup grid] =>  Array
>                                               (
>                                                   [0] =>  status/servicegroup_grid
>                                                   [1] =>  servicegroupgrid
>                                               )
>
>                                           [Servicegroup summary] =>  Array
>                                               (
>                                                   [0] =>  status/servicegroup_summary
>                                                   [1] =>  servicegroupsummary
>                                               )
>
>                                           [Network outages] =>  Array
>                                               (
>                                                   [0] =>  outages
>                                                   [1] =>  outages
>                                               )
>
>                                           [Host problems] =>  Array
>                                               (
>                                                   [0] =>  status/host/all/6
>                                                   [1] =>  hostproblems
>                                               )
>
>                                           [Service problems] =>  Array
>                                               (
>                                                   [0] =>  status/service/all?servicestatustypes=14
>                                                   [1] =>  serviceproblems
>                                               )
>
>                                           [Unhandled problems] =>  Array
>                                               (
>                                                   [0] =>  status/service/all/?servicestatustypes=14&hostprops=10&service_props=10&hoststatustypes=71
>                                                   [1] =>  problems
>                                               )
>
>                                           [Comments] =>  Array
>                                               (
>                                                   [0] =>  extinfo/show_comments
>                                                   [1] =>  comments
>                                               )
>
>                                           [Schedule downtime] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/schedule_downtime
>                                                   [1] =>  scheduledowntime
>                                               )
>
>                                           [Process info] =>  Array
>                                               (
>                                                   [0] =>  extinfo/show_process_info
>                                                   [1] =>  processinfo
>                                               )
>
>                                           [Performance info] =>  Array
>                                               (
>                                                   [0] =>  extinfo/performance
>                                                   [1] =>  performanceinfo
>                                               )
>
>                                           [Scheduling queue] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/scheduling_queue
>                                                   [1] =>  schedulingqueue
>                                               )
>
>                                       )
>
>                                   [Reporting] =>  Array
>                                       (
>                                           [Trends] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/trends
>                                                   [1] =>  trends
>                                               )
>
>                                           [Schedule reports] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/schedule_reports
>                                                   [1] =>  schedulereports
>                                               )
>
>                                           [Alert history] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/alert_history
>                                                   [1] =>  alerthistory
>                                               )
>
>                                           [Alert summary] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/alert_summary
>                                                   [1] =>  alertsummary
>                                               )
>
>                                           [Notifications] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/notifications
>                                                   [1] =>  notifications
>                                               )
>
>                                           [Event log] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/event_log
>                                                   [1] =>  eventlog
>                                               )
>
>                                       )
>
>                                   [Configuration] =>  Array
>                                       (
>                                           [View config] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/view_config
>                                                   [1] =>  viewconfig
>                                               )
>
>                                           [Change password] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/change_password
>                                                   [1] =>  password
>                                               )
>
>                                           [Backup/Restore] =>  Array
>                                               (
>                                                   [0] =>  underconstruction/backup_restore
>                                                   [1] =>  backup
>                                               )
>
>                                       )
>
>                               )
>
>                       )
>
>               )
>
>           [user] =>
>           [profiler] =>  Fire_Profiler Object
>               (
>                   [messageIndex:protected] =>  1
>                   [options:protected] =>  Array
>                       (
>                           [maxObjectDepth] =>  10
>                           [maxArrayDepth] =>  20
>                           [useNativeJsonEncode] =>  1
>                           [includeLineNumbers] =>  1
>                       )
>
>                   [objectFilters:protected] =>  Array
>                       (
>                       )
>
>                   [objectStack:protected] =>  Array
>                       (
>                       )
>
>                   [enabled:protected] =>  1
>                   [json_objectStack:private] =>  Array
>                       (
>                       )
>
>               )
>
>           [theme_path] =>  themes/default/
>           [auto_render] =>  1
>           [uri] =>  URI Object
>               (
>               )
>
>           [input] =>  Input Object
>               (
>                   [use_xss_clean:protected] =>  1
>                   [magic_quotes_gpc:protected] =>  1
>                   [ip_address] =>
>               )
>
>      )
>        )
>
>    *
>
>      Kohana::instance(  )
>
>    * system/core/Event.php *[209]:*
>
>      call_user_func( Array
>      (
>           [0] =>  Kohana
>           [1] =>  instance
>      )
>        )
>
>    * system/core/Bootstrap.php *[55]:*
>
>      Event::run( system.execute )
>
>    * index.php *[106]:*
>
>      require( system/core/Bootstrap.php )
>
> _______________________________________________
> op5-users mailing list
> op5-users at lists.op5.com
> http://lists.op5.com/mailman/listinfo/op5-users
>



-- 
Vänliga hälsningar / Best Regards
Mattias Ryrlén

__________________________
op5 AB
Första Långgatan 19
SE-413 27 Göteborg
Mobil: +46 735-17 70 99
Support: +46 31-774 09 24
www.op5.com


More information about the op5-users mailing list