Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: cacti

  1. #1
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    47

    Default cacti

    Hi all,

    I am thinking of installing cacti on my Debian 5 - any views on this?

    Thanks

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,083

  3. #3
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    47

  4. #4
    peleus is offline Gold Member
    Join Date
    Jun 2012
    Posts
    55

    Default

    How about CentOS? This is the one that I most certainly trust.

  5. #5
    greenmatter is offline Master Member
    Join Date
    Jan 2010
    Posts
    307

    Default

    Cent OS is good




    I provide SEO Services…pm me

  6. #6
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    47

    Default

    When installing cacti in Debian 6 it asks

    Code:
    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:
    4.jpg

    I interpret this to mean the password of the MySQL root user but after entering this I get
    Code:
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES).
    6.jpg

    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

  7. #7
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,083

    Default

    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
    Last edited by suwunk; 2012-07-29 at 09:10 AM.

  8. #8
    jeremya is offline Administrator
    Join Date
    Jun 2008
    Posts
    270

    Default

    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.
    -Jeremya

  9. #9
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    47

    Default

    Quote Originally Posted by jeremya View Post
    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?

  10. #10
    jeremya is offline Administrator
    Join Date
    Jun 2008
    Posts
    270

    Default

    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.
    -Jeremya


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts