Installing Symantec Antivirus on Linux Centos-6

ocpshehzad
ocpshehzad used Ask the Experts™
on
Dear Experts,

Background:
a. I have run RPM to install symantec antivirus on my centos server in this way:
rpm -Uhv /var/www/vhosts/abcxyz.com/httpdocs/SAVLINUX/rpm/sav-1.0.13-16.i386.rpm

b. executing above command shown me two line output
preparing ..... [100%]
1:sav.... [100%]

c. here is the doc of what i have installed and how it works
ftp://ftp.symantec.com/public/english_us_canada/products/symantec_antivirus/symantec_antivirus_corp/10.1/manuals/SAV_Linux_Impl.pdf

Questions:
01. how i make sure that antivirus is installed on my server, because executing sav command is giving me error:
-bash: sav: command not found
i have checked file system symantec files exist on the system and sav command resides at:
/opt/Symantec/symantec_antivirus


Kindly Help.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Sudeep SharmaTechnical Designer

Commented:
CentOS 6 is not supported by Symantec SAV. Also check for the kernel version if that is also not supported.

From the document that you have referred, below are the supported system for SAV

Software system requirements
Symantec AntiVirus supports the following Linux distributions:
Red Hat® Enterprise Linux 3.0 ES (RHEL3ES)
SuSE™ LINUX Enterprise Server 9 (SLES9)
Novell® Linux Desktop 9 (NLD9)
These distributions are supported on computers using Intel 486-, 586-, and 686- compatible CPUs.
Warning: Auto-Protect functionality is available only on supported kernels.
Refer to the Readme file that accompanied your Symantec AntiVirus for Linux software for a list of the supported kernels.

Thanks,
Sudeep

Author

Commented:
- i have checked the kernal(2.6.32) is supported
- and centos is also almost a clone of redhat

thanks for your reply,
Julian ParkerSenior Systems Administrator

Commented:
Centos is certainly a version of RHEL but RHEL 3 and RHEL/CentOS 6 are completely different.

If you want to know what files to execute you might get some information from the package itself, running from the command line would require that the path to the executables was in the PATH environment.

Use `rpm -qvil sav | more` to list the files in the package, you might need to go to /opt/ something and then run ./sav but as suggested, it might not work unless you have a supported version.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
01. i got the clue that AV software is 32-bit.  i installed 32-bit support package on server, and then reinstalled the AV... now commands are working
(not directly but with prefix like: /opt/Symantec/symantec_antivirus/sav info -t)

Question
02. now the problem is that i am not able to enable aut-protect (this package is installed)

a. this command shows the status of auto-protect as 'disabled'
sav info -a

b. this command should enable the auto-protect
sav autoprotect -e

c. but after running the enable command status is still showing 'disabled'

Kindly help!
Julian ParkerSenior Systems Administrator
Commented:
I did mention you may need to use the full path, if you want to do this from anywhere add the /opt/Symantec/symantec_antivirus to your PATH in your profile.

Have you tried `sav autoprotect --enable` granted they should be the same but the example on p33 uses the full syntax.

Have you read the document yet? Are there any bits that arent working when you try them?

Author

Commented:
- i tried full syntax 'sav autoprotect --enable'

- but autoprotect status is still showing as 'disabled'


(...and thanks to everyone who is participating and helping in this thread)
Technical Designer
Commented:
@ocpshehzad,

From the document that you have provided, from page 20  .... "

You would need savap package for Symantec Anti-Virus Auto Protect.
Package - savap
Dependencies - kernel version
Description -
Symantec AntiVirus Auto-Protect features.
Optional.
Only specific kernel versions are supported.
Refer to the Readme file that accompanied your
Symantec AntiVirus for Linux software for a list of
the supported kernel versions.
Note: If you are using an unsupported kernel
version, Auto-Protect will not function. However, if
you install the savap package on a computer and
then later load a supported kernel, Auto-Protect will
function.

From page 21:
You have a supported distribution and a supported kernel version, but do not use X11

If you use a supported distribution and a supported kernel version, but you do not run X11 in your environment, the Symantec AntiVirus user interface is not available on your Linux computers. You can use the sav command line tool to update definitions. You can use sav command line tool and the computer’s syslog to access status and alert messages.
You should install the following packages:
¦ sav
¦ savap
¦ savjlu

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial