PDA

View Full Version : cacti



juc1
2012-07-16, 12:57 PM
Hi all,

I am thinking of installing cacti (http://www.cacti.net/) on my Debian 5 - any views on this?

Thanks

suwunk
2012-07-17, 12:53 AM
Check this out!
[HOW-TO]Install cacti 0.8.7d on debian 5.|Cacti Official Forums and Support (http://forums.cacti.net/viewtopic.php?f=6&t=31631)

juc1
2012-07-18, 11:45 AM
Check this out!
[HOW-TO]Install cacti 0.8.7d on debian 5.|Cacti Official Forums and Support (http://forums.cacti.net/viewtopic.php?f=6&t=31631)
Ok thanks. Also more here...
Cacti Installation and configuration in Debian (http://www.debianhelp.co.uk/cacti.htm)

peleus
2012-07-20, 03:35 PM
How about CentOS? This is the one that I most certainly trust. https://imagicon.info/cat/15-33/smile.png

greenmatter
2012-07-22, 09:05 PM
Cent OS is good




http://www.imgsnatch.com/img/n/9.jpg

juc1
2012-07-28, 05:07 PM
When installing cacti in Debian 6 it asks


Please provide the password for the administrative account with which this package should create its MySQL database and user. Password of the database's administrative user:

94

I interpret this to mean the password of the MySQL root user but after entering this I get

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).

95

So does this mean that Cacti is looking for a user called 'root' as opposed to the root user (who might go by a different name)? If so maybe this won't work because Plesk has renamed my user 'root' to 'admin'. So maybe I need to rename the user 'admin' back to 'root'.

Thanks

suwunk
2012-07-29, 09:03 AM
Try this, If you have root password:

$ mysql --user=root -p
Enter password:

You can do the following to reset your root password:

/etc/init.d/mysqld stop
mysqld_safe --skip-grant-tables &
mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD("newrootpassword") where User='root';
mysql> flush privileges;
mysql> quit
/etc/init.d/mysqld stop
/etc/init.d/mysqld start


Edit include/config.php and specify the database type, name, host, user and password for your Cacti configuration.

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "yourusername";
$database_password = "yourpassword";

Change yourusername on $database_username with your sql username.

Cheers

jeremya
2012-07-30, 09:38 AM
Hi Juc,

I'm not sure what Cacti is looking for particularly, but i would recommend creating a second user of the db called root before renaming it back. Plesk can be a finicky beast.

juc1
2012-07-30, 01:36 PM
Hi Juc,

I'm not sure what Cacti is looking for particularly, but i would recommend creating a second user of the db called root before renaming it back. Plesk can be a finicky beast.
OK thanks. Anyway if I mess something up can I restore the VPS to its original state?

jeremya
2012-07-30, 04:33 PM
Hi Juc,

Yes, Linux VPS can use Virtuozzo Power Panel to restore a VPS back the template original. You would need to purchase backups if you want state backups.

juc1
2012-08-12, 12:16 PM
Hi Juc,

Yes, Linux VPS can use Virtuozzo Power Panel to restore a VPS back the template original.
I have tried this but it does not seem to work - I get 'Please wait while Parallels Plesk Panel is being configured inside your VPS' but then it seems that my VPS has not been restored to its original state. Can I find a record of this in any log ie that re-initialisation has succeeded or failed?


Thanks

jeremya
2012-08-13, 09:24 AM
Hi Juc,

Unfortunately, there's not much troubleshooting we can do for re-initialization issues from onCloud in this forum. Please contact the myhosting.com support team for help they should have a proper and timely solution for you.

juc1
2012-08-15, 01:58 PM
Hi Juc,

Unfortunately, there's not much troubleshooting we can do for re-initialization issues from onCloud in this forum. Please contact the myhosting.com support team for help they should have a proper and timely solution for you.
Ok but a more general question without getting into the details of this case - does my Parallel Plesk Panel 10 have a log of significant events somewhere?

Thanks

jeremya
2012-08-16, 09:15 AM
Ok but a more general question without getting into the details of this case - does my Parallel Plesk Panel 10 have a log of significant events somewhere?

Thanks

Yes, there are numerous log files at:

/usr/local/psa/admin/logs/

including:
-------------
panel.log
sitebuilder.log
httpsd_access_log
httpsd_access_log.processed


Probably more if you have activated additional plesk panel services.