Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th November 2006, 01:58
VMartins VMartins is offline
Member
 
Join Date: Aug 2006
Location: Sao Paulo - Brasil
Posts: 70
Thanks: 3
Thanked 1 Time in 1 Post
Default Cacti and ISPConfig: Monitoring Tool

Hello All,

This topic is for anyone that have some questions, suggestions or comments about the How To:
Cacti On An ISPConfig Server Within 10 Easy Steps - http://www.howtoforge.com/cacti_ispconfig.

Thanks,

Vinicius
Reply With Quote
Sponsored Links
  #2  
Old 12th January 2007, 20:47
wmunguiam wmunguiam is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Something is wrong!

Hello,
I use tutorial http://www.howtoforge.com/cacti_ispconfig

On ISPConfig I created a Site CACTI, in OPTIONS I ADDED a Database with database name: web1_db1 and user: web1_u1, then I download Cacti package and Installed and I had a problem in Step 4:

Step 4 - Setup the Cacti database:
Create the MySQL database (If you prefer, you can use the PHPMyAdmin):
sudo mysqladmin --user=root
Import the default cacti database:
sudo mysql web1_db1 < cacti.sql

and it is the response:

noc@manager:/var/www/web1/web$ sudo mysqladmin --user=web1_u1
mysqladmin Ver 8.41 Distrib 5.0.24a, for pc-linux-gnu on i486
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Administration program for the mysqld daemon.
Usage: mysqladmin [OPTIONS] command command....
-c, --count=# Number of iterations to make. This works with -i
(--sleep) only.
.....
.....

--shutdown_timeout=#

Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- -----------------------------
count 0
force FALSE
compress FALSE
character-sets-dir (No default value)
default-character-set (No default value)
host (No default value)
port 3306
relative FALSE
socket /var/run/mysqld/mysqld.sock
sleep 0
ssl FALSE
ssl-ca (No default value)
ssl-capath (No default value)
ssl-cert (No default value)
ssl-cipher (No default value)
ssl-key (No default value)
ssl-verify-server-cert FALSE
user web1_u1
verbose FALSE
vertical FALSE
connect_timeout 43200
shutdown_timeout 3600

Default options are read from the following files in the given order:
/etc/mysql/my.cnf ~/.my.cnf /etc/mysql/my.cnf
The following groups are read: mysqladmin client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
....
....

variables Prints variables available
version Get version info from server
noc@manager:/var/www/web1/web$ sudo mysql web1_db1 < cacti.sql
-bash: cacti.sql: Permission denied
noc@manager:/var/www/web1/web$

What is the problem?? Why I can't import database cacti.sql to web1_db1??
Reply With Quote
  #3  
Old 13th January 2007, 16:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by wmunguiam
noc@manager:/var/www/web1/web$ sudo mysql web1_db1 < cacti.sql
-bash: cacti.sql: Permission denied
noc@manager:/var/www/web1/web$

What is the problem?? Why I can't import database cacti.sql to web1_db1??
Does your MySQL database have a username and password? have a look here: http://www.howtoforge.com/faq/6_4_en.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 26th January 2007, 23:47
wmunguiam wmunguiam is offline
Junior Member
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you right my friend...

I forgot write -u and -p

thanks!!
Reply With Quote
  #5  
Old 18th June 2007, 02:46
ocweb ocweb is offline
Junior Member
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Install on Centos5

Hope I am in the right spot to post questions on the HowTo....

I installed Cacti following the tutorial with the following differences;

Centos5 install as per howto.

1. Installed the repo/yum version of Cacti without downloading the version as described.
2. Copied the contents of Cacti under /var/www to the web folder.
3. Created a sub-domain (co-domain) for xzy.com to give cati.xyz.com.
4. Made permissions for the web folder install (cacti folder) the same as the user.

I followed all the other install directives with db/config/ etc.

The problem I have is the cacti.xzy.com url returns a 403 error. i have a webmail.xyz.com co-domain and it is fine. I have set up Cacti the same way. Permissions are the same.

To test, I have a simple html page and even with a direct request I get the same error.

I am a little bit lost as to repair this issue.

Thanks.
Reply With Quote
  #6  
Old 19th June 2007, 13:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in Apache's error log?
What's the output of
Code:
ls -la /var/www
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.