SpamSnake and Clamav Status

Discussion in 'HOWTO-Related Questions' started by PengHead007, Oct 1, 2008.

  1. PengHead007

    PengHead007 New Member

    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
     
  2. Rocky

    Rocky New Member

    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?
     
  3. PengHead007

    PengHead007 New Member

    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 [email protected] IDENTIFIED BY ‘gld_password’;
    mysql> flush privileges;

    Thanks,
    Terry
     

Share This Page