MySql Table Crashed.
Moderators: Developers, Moderators
MySql Table Crashed.
Dear All,
I have installed and use Cacti version 0.8.7a. It was working for long time, but recently I have one problem with it. When I click on User Management in the left panel of Admin, I don't see any users in the list but actually, it has 4 users in it. And then I have checked further, I click on System Utilities -->Technical Support. I found one error in MySql Table Information Section that said, "user_log | Unknown | Unknown | Table './cacti/user_log' is marked as crashed and should be repaired ". I don't know how to repair user_log table. I think may be coz of this that make all the users are hidden when I clicked on User Management.
I have attached the files that related to my problem in this also.
Anybody can help me to fix it. All your help are very much appreciated.
thanks,
I have installed and use Cacti version 0.8.7a. It was working for long time, but recently I have one problem with it. When I click on User Management in the left panel of Admin, I don't see any users in the list but actually, it has 4 users in it. And then I have checked further, I click on System Utilities -->Technical Support. I found one error in MySql Table Information Section that said, "user_log | Unknown | Unknown | Table './cacti/user_log' is marked as crashed and should be repaired ". I don't know how to repair user_log table. I think may be coz of this that make all the users are hidden when I clicked on User Management.
I have attached the files that related to my problem in this also.
Anybody can help me to fix it. All your help are very much appreciated.
thanks,
- Attachments
-
- Table Crashed.JPG (142.88 KiB) Viewed 2168 times
-
- No Users Displayed.JPG (102.79 KiB) Viewed 2168 times
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
Thanks
Dear All,
Thanks for your kindly help. Now problem was gone away from me.
But I face one problem that I try to find solution to do but still no solution.
My problem is I want to remove graph that were not use from Graph Tree but not delete graph from Graph Management. I don't see any way to remove only graph that I don't need anymore in Graph Tree but still keep it in Graph Management.
Could you please advice me the way to do this?
Thanks,
Borin
Thanks for your kindly help. Now problem was gone away from me.
But I face one problem that I try to find solution to do but still no solution.
My problem is I want to remove graph that were not use from Graph Tree but not delete graph from Graph Management. I don't see any way to remove only graph that I don't need anymore in Graph Tree but still keep it in Graph Management.
Could you please advice me the way to do this?
Thanks,
Borin
Same issue, but different observations
Hello,
Like i said in my previous post, i have inherited some cacti servers.
On one of them i have the same problem stated here. In User Management tab i see no users listed but i have 6 lines that are not showed, just like the picture posted in the original complaint of my forum colleague.
But when i go to System Utilities -> Technical Support
there is no "user_log" line in the "MySQL Table Information" part of the report.
from "user_auth_realm" line it jumps to "version" lline and all the lines show as OK.
I would very much appreciate any help with this issue since i do not have MySQL skills.
Thank you
Like i said in my previous post, i have inherited some cacti servers.
On one of them i have the same problem stated here. In User Management tab i see no users listed but i have 6 lines that are not showed, just like the picture posted in the original complaint of my forum colleague.
But when i go to System Utilities -> Technical Support
there is no "user_log" line in the "MySQL Table Information" part of the report.
from "user_auth_realm" line it jumps to "version" lline and all the lines show as OK.
I would very much appreciate any help with this issue since i do not have MySQL skills.
Thank you
You can try this coz this is the solution I found while I met this problem too and it is really work for me
[root@ns2 /]# mysqlcheck --user=root --password=xxxx -r cacti
[root@ns2 /]# mysqlcheck --user=root --password=xxxx --auto-repair=TRUE cacti user_log
Note: I deploy it on Fedora 9. So this CLI I applied on Terminal of Fedora.
Hope this help you.
[root@ns2 /]# mysqlcheck --user=root --password=xxxx -r cacti
[root@ns2 /]# mysqlcheck --user=root --password=xxxx --auto-repair=TRUE cacti user_log
Note: I deploy it on Fedora 9. So this CLI I applied on Terminal of Fedora.
Hope this help you.
Who is online
Users browsing this forum: No registered users and 3 guests