Updating Virus Definitions

After installation you will need to download the latest virus definitions from McAfee before you can perform scanning operations. By default, Powertech Antivirus can download the files using CURL. (Default download settings can be overridden using the --path, --ftp, --wget, or --curl options. See avupdate command.)

NOTE: McAfee is removing support for FTP access on May 31, 2019.

McAfee updates virus definitions every day and you should schedule the update process to run daily. To start the update, either change to the product directory or type the full path to the avupdate command:

cd /opt/sgav
./avupdate

or

/opt/sgav/avupdate

The update process must be run by a root user. This is to prevent the product from accidentally (or maliciously) being disabled by deleting its files.

Notes

McAfee updates virus definitions every day and you should run avupdate every day. To schedule using cron, run command crontab -e to edit the crontab file using the vi editor. Position the cursor to the end and type i to insert a line.

Type the following line to schedule the job to run everyday at 6pm (18):

0 18 * * * /opt/sgav/avupdate > /opt/sgav/log/avupdate.out

On AIX, to see the cron log, run tail /var/adm/cron/log.

On Linux, to see the cron log, run tail /var/log/syslog.

For more information about scheduling using cron, run man crontab. See also Scheduling Updates and Scans.

exit status

This command returns the following exit values:

0 Process completed successfully.

1 An error occurred.

 

 

Copyright © HelpSystems, LLC.
All trademarks and registered trademarks are the property of their respective owners.