Endpoint Protection

 View Only

Liveupdate failed due JAVA problem

  • 1.  Liveupdate failed due JAVA problem

    Posted Jan 03, 2017 09:29 AM

    Hello all,

    I have an problem with my SEP 12.1 for linux that after installation the liveupdate didn't get update from Liveupdate server. The issue that i found probably the JAVA failed to encrypt the liveupdate.conf. Below debug output when i run debugging for by using this command :java -classpath jlu.jar com.symantec.liveupdate.LiveUpdate -d

    ============================================================================================================

    Using character set UTF-8
    Command-line Product Selections to update:
    (ProdName, Version, Lang, ItemSeqName, SeqNum)
    Debug - output[nIdx] = uid=0(root) gid=0(root) groups=0(root)
    Adding JLU to the current command line
      JLU Linux, 3.10.2, English, LiveUpdateSeq, 13
    Trying to load jar file from null/LiveUpdate/bcprov-jdk15on-148.jar
    Trying to load jar file from current directory or mentioned in classpath
    JLUException [
    Nested Exception is:
     [ java.lang.ClassNotFoundException ] org.bouncycastle.jce.provider.BouncyCastleProvider

    java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at jlucn.a(Unknown Source)
        at jlucn.load(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.c(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.b(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.main(Unknown Source)
    ]
        at jlucn.a(Unknown Source)
        at jlucn.load(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.c(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.b(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.main(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        ... 7 more

    java.io.IOException: org.bouncycastle.jce.provider.BouncyCastleProvider
        at jlucn.load(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.c(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.b(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.main(Unknown Source)

    An error was encountered when reading in the liveupdate.conf file /etc/liveupdate.conf
    Checking to see if JLU can connect to its own listener thread.
    Checking to see if a session of JLU is running at port 56598.
    An active JLU session has been detected.
    JLU was able to successfully connect to its own listener thread.
    createConfiguration failed.

    The Java LiveUpdate session did not complete successfully.
    Return code = -1

    ProductInventory: parsed default inventory file: /etc/Product.Catalog.JavaLiveUpdate
    Inventory File Product Selections to update:
    (ProdName, Version, Lang, ItemSeqName, SeqNum)
    ProductInventory.save: Saving updates to product inventory file
    Trying to load jar file from null/LiveUpdate/bcprov-jdk15on-148.jar
    Trying to load jar file from current directory or mentioned in classpath
    JLUException [
    Nested Exception is:
     [ java.lang.ClassNotFoundException ] org.bouncycastle.jce.provider.BouncyCastleProvider

    java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at jlucn.a(Unknown Source)
        at jlucn.load(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.c(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.d(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.c(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.<init>(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.a(Unknown Source)
        at jlufo.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.b(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.main(Unknown Source)
    ]
        at jlucn.a(Unknown Source)
        at jlucn.load(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.c(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.d(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.c(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.<init>(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.a(Unknown Source)
        at jlufo.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.b(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.main(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        ... 11 more

    java.io.IOException: org.bouncycastle.jce.provider.BouncyCastleProvider
        at jlucn.load(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.c(Unknown Source)
        at com.symantec.liveupdate.config.JluConfiguration.d(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.c(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.<init>(Unknown Source)
        at com.symantec.liveupdate.event.EventTransporterFactory.a(Unknown Source)
        at jlufo.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.a(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.b(Unknown Source)
        at com.symantec.liveupdate.LiveUpdate.main(Unknown Source)

    An error was encountered when reading in the liveupdate.conf file /etc/liveupdate.conf

    ====================================================================================================

    Below is some of output that running

    =====================================================================================================

    Using character set UTF-8
    Command-line Product Selections to update:
    (ProdName, Version, Lang, ItemSeqName, SeqNum)
    Debug - output[nIdx] = uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
    Adding JLU to the current command line
      JLU Linux, 3.10.2, English, LiveUpdateSeq, 13
    Trying to load jar file from /opt/Symantec/LiveUpdate/bcprov-jdk15on-148.jar
    Initializing the log file: /opt/Symantec/LiveUpdate/liveupdt.log
    trying to write into log file
    Java Version 1.8.0_101.
    Linux 2.6.32-642.6.1.el6.x86_64
    Java LiveUpdate version 3.10.2 Build 13.
    Checking location of jlu.jar ...
    Java LiveUpdate directory is /opt/Symantec/LiveUpdate
    Found /opt/Symantec/LiveUpdate/jlu-3.10.2.13.jar
    ProductInventory: parsed default inventory file: /etc/Product.Catalog.JavaLiveUpdate
    Inventory File Product Selections to update:
    (ProdName, Version, Lang, ItemSeqName, SeqNum)
      Avenge MicroDefs25 SavCorp10 Linux, MicroDefsB.CurDefs, SymAllLanguages, HubDefs, 0
      Avenge MicroDefs25 SavCorp10 Linux, MicroDefsB.CurDefs, SymAllLanguages, CurDefs, 161128001
    The property maxZipFileSize in config file is 614,400
    The property maxTriFileSize in config file is 10,485,760
    The property maxPackageSize in config file is 1,073,741,824
    The property maxPackageContentSize in config file is 1,342,177,280
    The property enableIPv4Preference is not set in config file
    Checking to see if JLU can connect to its own listener thread.
    Checking to see if a session of JLU is running at port 33925.
    An active JLU session has been detected.
    JLU was able to successfully connect to its own listener thread.
    Downloading minitri.flg to /opt/Symantec/LiveUpdate/tmp/1483414578885/minitri.flg ...
    Connecting to [IP Address]:7070 via HTTP ...
    Connected to [IP Address] sending request ...
    pleaseResume is false
    resumeSupported is null
    Waiting for response ...
    HTTP/1.1 200 OK
    Server: Apache-Coyote/1.1
    Pragma: public
    Cache-Control: max-age=0
    Content-Disposition: attachment;filename="minitri.flg"
    Content-Type: application/octet-stream
    Content-Length: 1

    ===========================================================================================

    I found this is some of the computers. All java JRE including JCE has been installed and read successfully when pre-check step in agent installation.

    Kindly help to share the solution to fix.

    Thanks

    Giovanni