[solved] Users managment blank

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
zain
Posts: 16
Joined: Sun Mar 16, 2008 5:15 pm

[solved] Users managment blank

Post by zain »

Hello;
i have just faced an issue with cacti regarding the user management, when i select User management it doesn't display any users at all only the banner. i added a new user and when it directed me back to the list of users there is nothing.
please see attached file

can anyone help please

thanks a lot
Attachments
Img.JPG
Img.JPG (49.58 KiB) Viewed 1996 times
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can you please run the reapair script in the CLI directory. Also, what is your PHP memory set to?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
zain
Posts: 16
Joined: Sun Mar 16, 2008 5:15 pm

Users managment

Post by zain »

Hello;
i run the cacti under Microsoft windows, IIS webserver. i didnt manage to find the repair script there. the PHP memory in the PHP.ini file is set to 32 and i increased it to 64 but the same issue.

Please help

thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Double posting doesn't get you help any faster.

What version of windows, cacti, php, etc?
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I can't seem to figure this one out.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
zain
Posts: 16
Joined: Sun Mar 16, 2008 5:15 pm

Post by zain »

Hello;
i have double posted because i didnt know if it should be under general problems or Windows specific. anyways, below is the setup.

cacti-0.8.6j
php 5.2.1
MySQL 4.1

windows 2000
IIS Webserver


thanks alot
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

There have been so many bugs fixed since cacti-0.8.6j, I suggest you upgrade.

I highly doubt your user accounts no longer exist. To verify logon to the database and check. Post the results.

Code: Select all

mysql -u root -p cacti
select username from user_auth;
As a last resort, you can look in \cacti\cacti.sql and manually re-run the sql commands to import the default user accounts/passwords.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Re: Users managment

Post by mcutting »

zain wrote:Hello;
i run the cacti under Microsoft windows, IIS webserver. i didnt manage to find the repair script there. the PHP memory in the PHP.ini file is set to 32 and i increased it to 64 but the same issue.

Please help

thanks
Open a command prompt on the server, and issue IISRESET. If you've changed anything in php.ini, this won't be reflected until you restart the web services.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
zain
Posts: 16
Joined: Sun Mar 16, 2008 5:15 pm

Post by zain »

Hello;
i have restarted tyhe server it self with no luck. anyways, i have logged in the Mysql database and the users still exist but it seems that the users_log table is corrupted as shown below.

mysql> select * from user_log;
ERROR 145 (HY000): Table '.\cacti\user_log' is marked as crashed and should be r
epaired


Please advize
zain
Posts: 16
Joined: Sun Mar 16, 2008 5:15 pm

Post by zain »

Hello;
i have repaired the user_log table and everything worked fine.
if anyone is interested please check the below link on how to maintain MySql databases.

http://felipecruz.com/repair-mysql-database.php


Thanks alot
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) The cacti technical support page would've told you the tables were crashed.

2) You should've used the script \cacti\cli\rebuild_poller_cache.php to repair the database.
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I think the first thing I asked was for him to run the repair script...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests