PDA

View Full Version : SpamSnake and Clamav Status


PengHead007
1st October 2008, 01:35
I followed the instructions and except for the one syntax error page 7 the install was flawless.
Thank You!! SpamSnake is working Great!!

Well - Except the Clamav status. I get the following error. I double checked to verify the the modification made in /var/www/mailscanner/clamav_status.php is correct.

ERROR
Parse error: syntax error, unexpected T_STRING in /var/www/mailscanner/clamav_status.php on line 28

Line 28 from my file clamav_status.php
<?passthru(‘/usr/sbin/clamd –V | awk –f ./clamav.awk’);?>

Any ideas?

Thanks,
Terry

Rocky
1st October 2008, 06:59
Copy the below and check if it works. Might be a format problem.

<?passthru('/usr/sbin/clamd -V | awk -f ./clamav.awk');?>

Out of curiosity, what was the sytax error you came across on page7?

PengHead007
1st October 2008, 14:25
Thanks Rocky. That worked. Not sure why because it looks exactly the same.

Syntax error page 7
There needs to be a semicolon at the end of the first line.

mysql> create database gld_db
mysql> GRANT ALL ON gld_db.* TO gld_user@localhost IDENTIFIED BY ‘gld_password’;
mysql> flush privileges;

Thanks,
Terry