centreon / centreon-dsm

Dynamic Service Monitoring
4 stars 7 forks source link

'centreon_storage.mod_dsm_cache' doesn't exist #6

Closed centreon closed 9 years ago

centreon commented 11 years ago

Author Name: Stephane Duret (Stephane Duret) Original Redmine Issue: 4530, https://forge.centreon.com/issues/4530 Original Date: 2013-06-11 Original Assignee: Julien Mathis


Hello,

I just install centeon DSM 2.0, so when I test this command: @/usr/share/centreon/bin/dsmclient.pl -H 127.0.0.1 -t 1370953344 -i @{enterprises.78.5.7.9.5.4.8.99.1} -o ""@

This error is returned: @DBD::mysql::db do failed: Table 'centreon_storage.mod_dsm_cache' doesn't exist at /usr/share/centreon/bin/dsmclient.pl line 229.@

Thanks,

centreon commented 11 years ago

Original Redmine Comment Author Name: Simon Bomm (Simon Bomm) Original Date: 2013-07-15T10:00:26Z


Hi,

I have the same issue, actually problem should be that the install.sh does not replace macro in sql files.

Table aren't create in centstorage DB :

CREATE TABLE IF NOT EXISTS @DB_CENTSTORAGE@.mod_dsm_cache

centreon-dsm.log then show :

2013-07-13 14:43:19 - [EE] [Daemon] Table 'centreon_storage.mod_dsm_locks' doesn't exist 2013-07-13 14:43:19 - [II] [Daemon] Error:Table 'centreon_storage.mod_dsm_cache' doesn't exist

Regards,