Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 8:33 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: problem with my cacti
PostPosted: Tue Nov 13, 2007 7:34 pm 
Offline

Joined: Thu Sep 20, 2007 1:10 am
Posts: 14
when power cut, the cacti server reboot unusual,

the cacti can't work, may be some problem with mysql,

here is the cacti log file,help me.........

11/14/2007 08:30:12 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) "
11/14/2007 08:30:12 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:12 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:12 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:12 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:11 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
11/14/2007 08:30:10 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
11/14/2007 08:30:10 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:09 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:09 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:09 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
11/14/2007 08:30:09 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:09 AM - CACTID: Poller[0] Host[149] DS[4744] WARNING: Result from SNMP not valid. Partial Result: ...
11/14/2007 08:30:09 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)
11/14/2007 08:30:08 AM - CACTID: Poller[0] ERROR: Problem with MySQL: Can't open file: 'poller_output.MYI'. (errno: 145)




Host Information

Cacti Version 0.8.6j
Plugin Architecture 1.1
Poller Type Cactid v0.8.6f
Server Info Linux 2.4.20-8
Web Server Apache/2.0.54 (Unix) PHP/4.4.0
PHP Version 4.4.0
PHP Extensions xml, tokenizer, standard, sockets, session, posix, pcre, overload, mysql, gd, ctype, zlib, apache2handler
MySQL Version 4.0.18
RRDTool Version 1.2.11
SNMP Version 5.2.1.1
Plugins Global Plugin Settings (settings - v0.2)
SuperLinks (superlink - v0.3)
Simple Links page (links - v0.3)
Thresholds (thold - v0.3.5.2)
Device Tracking (mactrack - v1.0)
report it! (report it! - v0.3.2)
Uptime (uptime - v0.3)
Update Checker (update - v0.3)
Host Info (hostinfo - v0.1)
Network Discovery (discovery - v0.7)
FlowView (flowview - v0.3)
Network Tools (tools - v0.2)
Device Monitoring (monitor - v0.7)
PHP Network Weathermap (weathermap - v0.92)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 1:42 am 
Offline
Cacti User

Joined: Wed May 26, 2004 10:49 am
Posts: 56
Location: Russia: Saint Petersburg
netswords
It is usual situation with mysql that corrupt tables after crash.
Run repair from cli, with command:
Code:
mysql -uroot -p -e'repair table cacti.poller_output'


Developers
Perhaps that would be not bad idea to add option to repair DB through cacti interface in "system utilities" menu, since we are using mysql...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 2:41 am 
Offline

Joined: Thu Sep 20, 2007 1:10 am
Posts: 14
thank u very much, I solve it with your method.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 12:05 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 20544
Location: Muenster, Germany
idle wrote:
netswords
It is usual situation with mysql that corrupt tables after crash.
Run repair from cli, with command:
Code:
mysql -uroot -p -e'repair table cacti.poller_output'


Developers
Perhaps that would be not bad idea to add option to repair DB through cacti interface in "system utilities" menu, since we are using mysql...
Please post a feature request as giben in http://www.cacti.net/bugs.php
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group