Endpoint Protection

 View Only
  • 1.  SAVFL - Java LiveUpdate Error

    Posted May 30, 2013 07:42 AM
      |   view attached

    We are running SAV for Linux on various different servers but have one or two machines that have a problem.  After seeing the client definitions were not updating, I attempted to clean and rebuid the virus definitions using a similar process to those shown here...

    http://www.symantec.com/business/support/index?page=content&id=TECH93435&profileURL=https%3A%2F%2Fsymaccount-profile.symantec.com%2FSSO%2Findex.jsp%3FssoID%3D1369912819927oBa9NrFG1o08ipCeD8oy54Sk7M7d4vHMZYLeI

     

    I recreated my liveupdate.conf file which contains only the following line...

    hosts/0/url=http://192.168.xxx.xxx:7070/clu-prod

     

    To check the server's client definitions I ran...

    ssh user@servername /opt/Symantec/symantec_antivirus/sav info -d

    ...which on one server returns...

    00/00/00 rev. 0

     

    When I manually update the definitions using...

    java -classpath /opt/Symantec/LiveUpdate/jlu.jar com.symantec.liveupdate.LiveUpdate -d

    ...I get the following output in the logs (full output is in attachment)...

    28-May-2013 16:10:37   Avenge MicroDefs25 SavCorp10 Linux, MicroDefsB.CurDefs, SymAllLanguages, HubDefs, 0
    28-May-2013 16:10:37   Avenge MicroDefs25 SavCorp10 Linux, MicroDefsB.CurDefs, SymAllLanguages, CurDefs, 130527004
     
    28-May-2013 16:10:38 Making /tmp/1369753837204/1369753837886/navuphub.dis executable ...
    28-May-2013 16:10:38 Running /tmp/1369753837204/1369753837886/navuphub.dis ...
    28-May-2013 16:10:38 Disk space check for 1368709656jtun_sav10ennful25.lin failed. Requested free space was 1,210.361 (in MB).
    28-May-2013 16:10:38
    28-May-2013 16:10:38 The Java LiveUpdate session did not complete successfully.
    28-May-2013 16:10:38 Return code = 246
    28-May-2013 16:10:38
     

     

    On checking my disk space I can see I have ample disk space...

    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda7              17G   12G  4.3G  74% /
    /dev/sda5             2.0G   36M  1.9G   2% /tmp
    /dev/sda3             9.7G  3.8G  5.5G  41% /logs
    /dev/sda2             9.7G  6.0G  3.3G  65% /oracle
    /dev/sda1              31M   20M  9.6M  67% /boot
    tmpfs                 9.8G     0  9.8G   0% /dev/shm
     
    I found the following thread which shows that the author managed to output further debugging detail to his log - I am unsure how to do this.
     
    Any suggestions are welcome.
     
    Thanks
     
    Chris

     

    Attachment(s)

    txt
    liveupdt.txt   19 KB 1 version


  • 2.  RE: SAVFL - Java LiveUpdate Error

    Posted May 30, 2013 08:01 AM

    hi,

    How many disk space available

    Check this

    Java LiveUpdate fails with return code 246

    Article:TECH162256  |  Created: 2011-06-14  |  Updated: 2012-07-28  |  Article URL http://www.symantec.com/docs/TECH162256

    Edit###

    Check same problem releated

    https://www-secure.symantec.com/connect/forums/savfl-update-failed-due-large-update-size#comment-8706301



  • 3.  RE: SAVFL - Java LiveUpdate Error

    Posted May 30, 2013 09:25 AM

    Hi,

    As shown in my initial question the server has 1.9GB available on the /tmp/ partition.

    The log is saying... Requested free space was 1,210.361 (in MB).

    So there should be enough disk space should there not?

    Chris



  • 4.  RE: SAVFL - Java LiveUpdate Error

    Posted May 30, 2013 10:04 AM

    I have changed the working directory to a partition with 4GB available and I still get the same error in the log...

    30-May-2013 14:53:26 Inventory File Product Selections to update:
    30-May-2013 14:53:26 (ProdName, Version, Lang, ItemSeqName, SeqNum)
    30-May-2013 14:53:26   Avenge MicroDefs25 SavCorp10 Linux, MicroDefsB.CurDefs, SymAllLanguages, HubDefs, 0
    30-May-2013 14:53:26   Avenge MicroDefs25 SavCorp10 Linux, MicroDefsB.CurDefs, SymAllLanguages, CurDefs, 130529003
     
    30-May-2013 14:53:27 Making /opt/Symantec/tmp/1369922006752/1369922007437/navuphub.dis executable ...
    30-May-2013 14:53:27 Running /opt/Symantec/tmp/1369922006752/1369922007437/navuphub.dis ...
    30-May-2013 14:53:27 Disk space check for 1368709656jtun_sav10ennful25.lin failed. Requested free space was 1,210.361 (in MB).
    30-May-2013 14:53:27
    30-May-2013 14:53:27 The Java LiveUpdate session did not complete successfully.
    30-May-2013 14:53:27 Return code = 246
    30-May-2013 14:53:27
     
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda7              17G   13G  4.1G  76% /
     
     

     



  • 5.  RE: SAVFL - Java LiveUpdate Error
    Best Answer

    Posted May 30, 2013 12:29 PM

    Hi Chris,

    Can I propose either of two solutions....

    From the log, you're running an older release of SAVFL.  Java LiveUpdate 3.5 is the version running.  In Java LiveUpdate 3.5.x, the default downloadCacheSize is 1,024 MB.  As the size currently needed is larger, that's likely the source of the trouble.

    Solution 1: upgrade to SAVFL MR14 (latest available)... this has a newer JLU with a larger default downloadCacheSize.

    Solution 2: Increase the size of your current default downloadCacheSize.  The following article has details on how to use tools that change that to 2048...

    SAV for Linux: A (Somewhat) Illustrated Guide Part 2
    https://www-secure.symantec.com/connect/articles/sav-linux-somewhat-illustrated-guide-part-2

    Please let me know if this is successful!

    Mick



  • 6.  RE: SAVFL - Java LiveUpdate Error

    Posted May 31, 2013 05:32 PM

    Hi Chris.

    Just a ping to see if you were successful in resolving this?  And if so, what steps did you take?  Other Linux admins in the same situation may benefit from any advice or feedback you can give.

    All the best!

    Mick 



  • 7.  RE: SAVFL - Java LiveUpdate Error

    Posted Jun 03, 2013 04:50 AM
      |   view attached

    The error in the log appears to have disappeared.

    However, the definitions still do not seem up-to-date.

    When I run this command though it shows no definition date...

    >ssh virchk@onsppwdpapp03 /opt/Symantec/symantec_antivirus/sav info -d

    00/00/00 rev. 0

     

    Attachment(s)

    txt
    liveupdt_5.txt   18 KB 1 version


  • 8.  RE: SAVFL - Java LiveUpdate Error

    Posted Jun 03, 2013 10:59 AM

    Hi,

    Just a quick update - Solution 2 (above) worked after deleting some temp files and recreating some folders and permissions.

    Many thanks for your help.

    Chris



  • 9.  RE: SAVFL - Java LiveUpdate Error

    Posted Jun 04, 2013 04:27 PM

    Many thanks for the update- Cheers Chris! &: )

    Be on the lookout for some big improvements to SAVFL in 2014. &: )



  • 10.  RE: SAVFL - Java LiveUpdate Error

    Posted Jun 07, 2013 04:29 AM

    Just adding a link to this article for anyone else who runs into this issue:

    Symantec AntiVirus for Linux's Java LiveUpdate (JLU) fails with return code 246 after "Disk space check"
    http://www.symantec.com/docs/TECH196129