-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, August 24, 2004 12:10, Ranggi said:
> hi, say mau coba install cacti di debian...
> saya install apache , mysql-sever, php4 baru install cacti
>
> pas install cacti muncul tulisan :
>
>
> Setting up cacti (0.6.7-2.1) ...
> ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
> ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
> dpkg: error processing cacti (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> cacti
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> sudah di utak atik dan cari di google... ntak bisa juga
>
> mohon pencerahannya
>
> terima kasih
udah baca dokumen INSTALL nya?
Chapter 2. Installing Under Unix
1. Extract the distribution tarball.
shell> tar xzvf cacti-version.tar.gz
2. Create the MySQL database:
shell> mysqladmin --user=root create cacti
3. Import the default cacti database:
shell> mysql cacti < cacti.sql
4. Optional: Create a MySQL username and password for Cacti.
shell> mysql --user=root mysql
mysql> GRANT ALL ON cacti.* TO [EMAIL PROTECTED] IDENTIFIED BY
'somepassword';
mysql> flush privileges;
5. Edit include/config.php and specify the MySQL user, password and
database for your Cacti configuration.
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
6. Set the appropriate permissions on cacti's directories for graph/log
generation. You should execute these commands from inside cacti's
directory to change the permissions.
shell> chown -R cactiuser rra/ log/
(Enter a valid username for cactiuser, this user will also be used in
the next step for data gathering.)
7. Add a line to your /etc/crontab file similar to:
*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Replace cactiuser with the valid user specified in the previous step.
Replace /var/www/html/cacti/ with your full Cacti path.
8. Point your web browser to:
http://your-server/cacti/
Log in the with a username/password of admin. You will be required to
change this password immediately. Make sure to fill in all of the path
variables carefully and correctly on the following screen.
salam,
Oeban Poetih.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBKtA0PDSs59ssLWIRApD0AJ4u2CSvs3utg1+JyU2bC6qWpkhzZwCeKFRg
w/nnf/RPzCjYfY8Kkh3923A=
=DK3Y
-----END PGP SIGNATURE-----
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis.php
Tidak bisa posting? Baca:
http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi
http://linux.or.id/wiki/index.php?pagename=TataTertibMilis