Cacti error on Plesk Ubuntu 6.06 server

OS: Ubuntu 6.06
Cacti 0.8.7e
Plesk 9

Setting up cacti went fine until trying to run the poller:

# sudo -u cacti /opt/psa/bin/php-cli /var/www/vhosts/hostname/httpdocs/poller.php
sh: /php-cli: No such file or directory
sh: /php-cli: No such file or directory
sh: /rrdtool: No such file or directory

Had to modify the php.ini (/etc/php5/cli/php.ini) for the php-cli binary:

;safe_mode = On
safe_mode = Off

The cacti poller did not like safe mode being enabled on CLI PHP binary.  After this was changed, cacti started polling properly.

Plesk 9.2.1 greylisting not working

Situation: System was upgraded to Plesk for Linux 9.2.1 and tried configuring greylisting.  The following error came up:

Failed to exec glmng cli. file does not exist or is not executable: /usr/local/psa/admin/bin/glmng

0: GreyListManager.php:1099
GreyListManager->_exec(string ‘enable-checking’)
1: GreyListManager.php:87
GreyListManager->enableChecking()
2: SpamFilterPropertiesUIPointer.php:23
SpamFilterPropertiesUIPointer->accessItem(string ‘POST’, NULL null)
3: UIPointer.php:596
UIPointer->access(string ‘POST’)
4: plesk.php:38

Basically the file /usr/local/psa/admin/bin/glmng did not exist as it hadn’t been installed properly during upgrade.

Via the command line we manually called: /usr/local/psa/admin/bin/autoinstaller

And proceeded to install the updates that were needing installing.  After this had completed, the glmng file existed!

URLs: