|
|
| Author |
Message |
lawrenceasus
Joined: 30 Jun 2009 Posts: 5
|
Posted: Tue Jun 30, 2009 8:06 pm Post subject: |
|
|
I tried to follow your instrucctions, however with the first instruction I got this error:
*** WARNING: ucf was run from a maintainer script that uses debconf, but
the script did not pass --debconf-ok to ucf. The maintainer
script should be fixed to not stop debconf before calling ucf,
and pass it this parameter. For now, ucf will revert to using
old-style, non-debconf prompting. Ugh!
and the process stops,
I got ubuntu 9.04 with nagios working, php5 and snmp working too. but no luck with cacti,
thanks for any advice, |
|
| Back to top |
|
 |
disH
Joined: 22 May 2008 Posts: 33
|
|
| Back to top |
|
 |
lawrenceasus
Joined: 30 Jun 2009 Posts: 5
|
Posted: Sat Jul 04, 2009 9:21 am Post subject: |
|
|
I did it the long way in an asus with ubuntu 9.04 desktop, however i found the following problem:
when I run:
sudo php /var/www/cacti2/poller.php
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/wddx.so - /etc/php.d/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/gd.so - /etc/php.d/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/mysql.so - /etc/php.d/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/mysqli.so - /etc/php.d/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/pdo.so - /etc/php.d/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/pdo_mysql.so - /etc/php.d/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library /etc/php.d/snmp.so- /etc/php.d/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
to the file, /etc/php5/apache2/php.ini, I added the file:
extension_dir='dir /usr/lib/php5/20060613+lfs'
the files are there:
dir /usr/lib/php5/20060613+lfs/
gd.so mysqli.so mysql.so pdo_mysql.so pdo.so snmp.so wddx.la wddx.so
and if I add:
extension=wddx.so
extension=mysql.so
extension=snmp.so
the log of apache gives the warning:
[Sat Jul 04 08:13:25 2009] [notice] caught SIGTERM, shutting down
PHP Warning: Module wddx already loaded in Unknown on line 0
PHP Warning: Module mysql already loaded in Unknown on line 0
PHP Warning: Module snmp already loaded in Unknown on line 0
[Sat Jul 04 08:13:26 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations
I think cacti is searching in the wrong address but I can,t find where is apache2 or php5 or cacti is defining the directory, if I found something else I will post the advances. |
|
| Back to top |
|
 |
lawrenceasus
Joined: 30 Jun 2009 Posts: 5
|
Posted: Sun Jul 05, 2009 7:59 am Post subject: |
|
|
I found the file to configurate the php for the cron and the prompt:
/etc/php5/cli/php.ini |
|
| Back to top |
|
 |
lawrenceasus
Joined: 30 Jun 2009 Posts: 5
|
Posted: Tue Jul 07, 2009 11:37 am Post subject: |
|
|
At last I got cacti working in ubuntu 9.04 desktop, I was getting problem running the cron until I found these instructions:
http://tuxtraining.com/2008/10/11/how-to-install-cacti-on-debian
They instructions are in the second part, they tell how create the user and cron for that user.
I give the link so other users can find it easy. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|