Endpoint Protection

 View Only
  • 1.  sav: command not found

    Posted Jan 11, 2013 09:27 PM

    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.
     



  • 2.  RE: sav: command not found

    Posted Jan 11, 2013 09:51 PM

    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:



  • 3.  RE: sav: command not found
    Best Answer

    Posted Jan 11, 2013 10:24 PM

    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/sav-linux-scanning-best-practices-somewhat-illustrated-guide



  • 4.  RE: sav: command not found

    Posted Jan 12, 2013 03:02 AM

    @ Ashish Sharma

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