Can't monitor Partitions

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Viperb0y
Posts: 5
Joined: Sun Oct 02, 2005 5:43 pm
Contact:

Can't monitor Partitions

Post by Viperb0y »

Hi,

I can't monitor any of my mounted partitions! I can't select them and add them to my Host. (They are not shown).

There isn't anything in the manual that helps me... does somebody know what this mean?

Thanks for your help!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There have been several post related to that. Please make sure, that you are using the latest ss_host_disk.php (there has been a patch for cacti 0.8.6g). And there's a bug in the docu: When upgrading, do NOT copy the old scripts over! Always you the new scripts provided by the distro.
Reinhard
Viperb0y
Posts: 5
Joined: Sun Oct 02, 2005 5:43 pm
Contact:

Post by Viperb0y »

Hi,

It was my first install of Cacti ;)

I fixed the problem, the files where owned by root and apache user can't access them :)

It's the default gentoo setting to use chown root:root for webapps.

I changed permissions to apache:apache and everything works fine!

Thanks :)
enash
Posts: 25
Joined: Tue Oct 04, 2005 9:41 am
Location: Clearwater, FL
Contact:

Post by enash »

I seem to be having similar problems.. Even after i chown apache:apache I still get permission denied for /var/www/html/cacti/scripts/ss_host_disk.php

if I chmod 777 to test it runs but I get lots of errors...


Here is a clip after running php poller.php

/var/www/html/cacti/scripts/ss_host_disk.php: line 4: /bin: is a directory
Cannot find module (NONE): At line 0 in (none)
/var/www/html/cacti/scripts/ss_host_disk.php: line 5: syntax error near unexpected token `E_ERROR'
/var/www/html/cacti/scripts/ss_host_disk.php: line 5: `error_reporting(E_ERROR);'
/var/www/html/cacti/scripts/ss_host_disk.php: line 2: =: command not found
/var/www/html/cacti/scripts/ss_host_disk.php: line 4: /bin: is a directory
/var/www/html/cacti/scripts/ss_host_disk.php: line 5: syntax error near unexpected token `E_ERROR'
/var/www/html/cacti/scripts/ss_host_disk.php: line 5: `error_reporting(E_ERROR);'
/var/www/html/cacti/scripts/ss_host_disk.php: line 1: ?php: No such file or directory
/var/www/html/cacti/scripts/ss_host_disk.php: line 2: =: command not found
/var/www/html/cacti/scripts/ss_host_disk.php: line 1: ?php: No such file or directory
/var/www/html/cacti/scripts/ss_host_disk.php: line 2: =: command not found
/var/www/html/cacti/scripts/ss_host_disk.php: line 4: /bin: is a directory
/var/www/html/cacti/scripts/ss_host_disk.php: line 5: syntax error near unexpected token `E_ERROR'
/var/www/html/cacti/scripts/ss_host_disk.php: line 5: `error_reporting(E_ERROR);'
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest