Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

sav: command not found

Created: 11 Jan 2013 • Updated: 12 Jan 2013 | 3 comments
This issue has been solved. See solution.

Hi guys,

I'm running Ubuntu 12.10, kernel version 3.5.0.21-generic, 64-bit, US English.

According to the KnowledgeBase articles on SAV for Linux, Ubuntu is a supported distribution; however the kernel of my OS is unsupported. But not to worry, I managed to install SAV for Linux version 1.0.14-13 successfully on the abovementioned OS with the help of friends on this forum.

I encounter a problem trying to scan a file located in my home directory. I am a practised Microsoft Windows user and I was under the impression in Ubuntu that I could just right-click the file that I wish to scan and SAV for Linux will start scanning. To my horror I discovered there was no such option as "SAV for Linux" or "Scan for viruses" when I right-clicked the file to be scanned under Ubuntu.

Hence I brought up a terminal window and below is the output of the error message. Please note the file to be scanned is called test.iso which is located in /home/sharon/ directory.

======================================start of quote of error message=======================================

sharon@sharon:~$ sav manualscan --scan test.iso
No command 'sav' found, did you mean:
 Command 'savr' from package 'sdcc-ucsim' (universe)
 Command 'savi' from package 'savi' (universe)
 Command 'save' from package 'atfs' (universe)
 Command 'dav' from package 'dav-text' (universe)
 Command 'gav' from package 'gav' (universe)
 Command 'sac' from package 'sac' (universe)
 Command 'say' from package 'gnustep-gui-runtime' (universe)
 Command 'sar' from package 'sysstat' (main)
 Command 'sar' from package 'atsar' (universe)
 Command 'sv' from package 'runit' (universe)
 Command 'sa' from package 'acct' (main)
sav: command not found

sharon@sharon:~$ sav info --autoprotect
No command 'sav' found, did you mean:
 Command 'savr' from package 'sdcc-ucsim' (universe)
 Command 'savi' from package 'savi' (universe)
 Command 'save' from package 'atfs' (universe)
 Command 'dav' from package 'dav-text' (universe)
 Command 'gav' from package 'gav' (universe)
 Command 'sac' from package 'sac' (universe)
 Command 'say' from package 'gnustep-gui-runtime' (universe)
 Command 'sar' from package 'sysstat' (main)
 Command 'sar' from package 'atsar' (universe)
 Command 'sv' from package 'runit' (universe)
 Command 'sa' from package 'acct' (main)
sav: command not found

sharon@sharon:~$ cd /opt/Symantec/symantec_antivirus/
sharon@sharon:/opt/Symantec/symantec_antivirus$ sav manualscan --scan /home/sharon/test.iso
No command 'sav' found, did you mean:
 Command 'savr' from package 'sdcc-ucsim' (universe)
 Command 'savi' from package 'savi' (universe)
 Command 'save' from package 'atfs' (universe)
 Command 'dav' from package 'dav-text' (universe)
 Command 'gav' from package 'gav' (universe)
 Command 'sac' from package 'sac' (universe)
 Command 'say' from package 'gnustep-gui-runtime' (universe)
 Command 'sar' from package 'sysstat' (main)
 Command 'sar' from package 'atsar' (universe)
 Command 'sv' from package 'runit' (universe)
 Command 'sa' from package 'acct' (main)
sav: command not found
sharon@sharon:/opt/Symantec/symantec_antivirus$

==========================================end of quote of error message====================================

Thank you in advance for your help.

P.S.: I did search for solutions to "sav: command not found" on Google as well as on this forum and could not find the solutions to my issue. Hence this post.
 

Comments 3 CommentsJump to latest comment

Brɨan's picture

You won't have a right click - scan for viruses.. option

Do you have root privleges?

cd to /opt/Symantec/symantec_antivirus and initiate the command from there.

Per admin guide:

Please click the "Mark as solution" link at bottom left on the post that best answers your question. This will benefit admins looking for a solution to the same problem.

Ashish-Sharma's picture

HI,

To initiate a manual scan of the home directory from /opt/Symantec/symantec_antivirus, here's the correct command line: 

sudo ./sav manualscan -s /home

Reference

https://www-secure.symantec.com/connect/articles/s...

Thanks In Advance

Ashish Sharma

SOLUTION
Be Creative. Be IT's picture

@ Ashish Sharma

Thanks for your reply. I confirm that your solution worked.