Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by msfz751 (registered user) on Sat, 2008-01-05 20:24.

This how-to allowed me to have xampp and cacti working, at last, in Ubuntu Dapper, very clear instructions. Thanks.

I found a typo in crontab. Instead of this line:

/5 * * * * deadwait /opt/lampp/bin/php /opt/lampp/htdocs/cacti/poller.php > /dev/null 2>&1

you may want to use this (I added the asterisk):

*/5 * * * * deadwait /opt/lampp/bin/php /opt/lampp/htdocs/cacti/poller.php > /dev/null 2>&1

Even better if you use www-data instead of deadwait. www-data is already a user in Ubuntu.

 */5 * * * * www-data /opt/lampp/bin/php /opt/lampp/htdocs/cacti/poller.php > /dev/null 2>&1

 Now, in order to enable cacti to write, we should change some rights on a couple of folders:

sudo chown -R www-data:www-data /opt/lampp/htdocs/cacti/log

and:

sudo chown -R www-data:www-data /opt/lampp/htdocs/cacti/rra 

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.