9 Replies Latest reply on Jul 11, 2019 10:17 AM by Bill Robinson

    Getting error while doing patch analysis for HP-UX

    Vipin Tripathi
      Share This:

      Hi All,

       

      While trying to do patch analysis for HP-UX server getting error. Console log attached.

       

      Error 07/05/2019 10:25:56 ERROR:   Invalid command line:

      Error 07/05/2019 10:25:56          - Cannot read extended options file "/data/Patch/swa.conf.tmpl".

      Error 07/05/2019 10:25:56          - Unknown extended option "hp_id".

      Error 07/05/2019 10:25:56          - Unknown extended option "hp_pw".

      Error 07/05/2019 10:25:58 ERROR:   Invalid command line:

      Error 07/05/2019 10:25:58          - Cannot read extended options file "/data/Patch/swa.conf.tmpl".

      Error 07/05/2019 10:25:58          - Unknown extended option "hp_id".

      Error 07/05/2019 10:25:58          - Unknown extended option "hp_pw".

      Error 07/05/2019 10:25:58 Error while downloading swa catalog file, command returned [1]

      Error 07/05/2019 10:25:58 If Proxy is set, please confirm the proxy parameters

      Error 07/05/2019 10:25:59 The job 'HP-UX Patch Analysis Job' has failed

       

      I did till now.

       

      1. Installed VPC

      2. Copy the SWA_External_HPDownloader.zip file from the patch/SupportFiles directory to a location on the SWA Server.

      3. Edited downloader.conf file in SWA server with JAVA_PATH and PROXY_URL=user:password@yourproxyserver:proxyport .

      4. Edited swa.conf file (/etc/opt/swa) in SWA server with download_cmd=perl /data/SWA_External_HPDownloader/downloader.pl /data/SWA_External_HPDownloader and catalog_source=https://xxxxxxxxxxx/wpsl/bin/getFile.pl?Path=/export/patches/swa_catalog.xml.gz

      5. Executed job.

       

      Below attached Patch analysis job parameter

       

       

       

       

      Thanks,

      Vipin Tripathi

        • 1. Re: Getting error while doing patch analysis for HP-UX
          Bill Robinson

          what version of swa is installed on the hpux helper ?

          • 2. Re: Getting error while doing patch analysis for HP-UX
            Vipin Tripathi

            SWA Vesion -- C.01.05

            BSA App Version -- 8.9 Patch 4

            • 3. Re: Getting error while doing patch analysis for HP-UX
              Bill Robinson

              i believe the min version C.02.75

              • 4. Re: Getting error while doing patch analysis for HP-UX
                Vipin Tripathi

                So, Is the SWA Vesion -- C.01.05 not supported?

                Is there any documented for this, as i didn't find in TSSA documents

                • 5. Re: Getting error while doing patch analysis for HP-UX
                  Bill Robinson

                  ?I don't think HP supports that version as i don't believe it can handle the credentials you need to access hp patches now.

                  • 6. Re: Getting error while doing patch analysis for HP-UX
                    Vipin Tripathi

                    So is this error just because of SWA version or can we troubleshoot something else?

                    • 7. Re: Getting error while doing patch analysis for HP-UX
                      Bill Robinson

                      yes, the vpc is trying to pass the args for the user and password to login to the hp site and this version of swa doesn't support those args.  i mean, have you used this version of swa recently to patch your hpux servers ?

                      • 8. Re: Getting error while doing patch analysis for HP-UX
                        Vipin Tripathi

                        SWA version upgraded to C.02.95

                         

                        Now i am getting different error. Please find below log

                         

                        Info 07/10/2019 10:56:38 JobRun Log Settings: JobRun Limit = 1000000, Per Target Log Limit = 1000, Per Target Log Level = AllInfo

                        Info 07/10/2019 10:56:38 Started running the job 'HP-UX Patch Analysis Job' with priority 'NORMAL' on application server 'srvazchtsaapvm'(1)

                        Info 07/10/2019 10:56:39 Executing work item NSH Script Job:HP-UX Patch Analysis Job;  on application server: <TSA App server Name>

                        Info 07/10/2019 10:56:39 -h []

                        Info 07/10/2019 10:56:39 -d [0]

                        Info 07/10/2019 10:56:39 -x [1]

                        Info 07/10/2019 10:56:39 -f [F:/TSSA/NSH/tmp/application_server/scripts/job__46f2f790-2272-4af1-a87b-a1ea603d566e/hosts_bd71a574-210e-47e7-b003-39b63491ba6f]

                        Info 07/10/2019 10:56:39 -w [F:/TSSA/NSH/patch/hppu/Scripts]

                        Info 07/10/2019 10:56:39 -a [CRIT]

                        Info 07/10/2019 10:56:39 -n []

                        Info 07/10/2019 10:56:39 -o []

                        Info 07/10/2019 10:56:39 -v []

                        Info 07/10/2019 10:56:39 -t [/data/Patch]

                        Info 07/10/2019 10:56:39 -u [<HPUX helper server>]

                        Info 07/10/2019 10:56:39 -i [/opt/swa/bin/swa]

                        Info 07/10/2019 10:56:39 -D [/Patch Analysis Items/HP-UX Patch Analysis/Patches]

                        Info 07/10/2019 10:56:39 -J [/Patch Analysis Jobs/HP-UX Patch Analysis/Patch Deploy Jobs]

                        Info 07/10/2019 10:56:39 -m [ad]

                        Info 07/10/2019 10:56:39 -P [HP-UX Patch Analysis]

                        Info 07/10/2019 10:56:39 -T [AGENT_COPY_AT_STAGING]

                        Info 07/10/2019 10:56:39 -U [/F/TSSA/NSH/patch/hppu/Scripts/Patches]

                        Info 07/10/2019 10:56:41 Proxy not set.

                        Info 07/10/2019 10:56:41 Reports DB Server not defined, reports generation will be skipped.

                        Info 07/10/2019 10:56:41 Debug : 

                        Info 07/10/2019 10:56:41 Acquiring lock, process may wait till it is released by other instance of hpc...

                        Info 07/10/2019 10:56:41 Checking existance of working directory on swa server, if not present creating it

                        Info 07/10/2019 10:56:42 Checking SWA version..

                        Info 07/10/2019 10:56:44 SWA version found is: C.02.95

                        Info 07/10/2019 10:56:44 No custom catalog found.  Downloading one using SWA.

                        Info 07/10/2019 10:56:53 Exit Code 1

                        Info 07/10/2019 10:56:53 Execution Override not enabled for job 'HP-UX Patch Analysis Job' .

                        Info 07/10/2019 10:56:53 Full path to job 'HP-UX Patch Analysis Job' : 'Jobs/Patch Analysis Jobs/HP-UX Patch Analysis/Patch Analysis Jobs'

                        Info 07/10/2019 10:56:53 Job 'HP-UX Patch Analysis Job' was manually executed by User:Role 'BLAdmin':'BLAdmins'.

                        Info 07/10/2019 10:56:53 Debug mode is enabled for job 'HP-UX Patch Analysis Job' .  Check appserver log(s) for file location.

                        Error 07/10/2019 10:56:53 =======  07/10/19 16:26:48 IST  BEGIN Run "catalog" Step (user=root)  (jobid=bmctsaux)

                        Error 07/10/2019 10:56:53 ERROR:   Unable to find class "com/hp/swa/util/HPUXMessageLogger".

                        Error 07/10/2019 10:56:53 *** Exception Handling Failure (exc):Calling terminate()

                        Error 07/10/2019 10:56:53 0x60000000cae28e10  _ZN5OSAPI10stackTraceEv + 0x310 at lib/OSAPI_basic.cc:870 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x60000000caec16e0  _ZN10SMDprivate17FatalEventHandler12handleSignalEi + 0x120 at logmgmt/FatalEventHandler.cc:59 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x60000000caec5170  _ZN10SMDprivate13SignalHandler10dispatcherEi + 0x190 at logmgmt/SignalHandler.cc:594 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0xe0000001201cb480  ---- Signal 6 (SIGABRT) delivered ----

                        Error 07/10/2019 10:56:53 0x60000000c020fb30  __lwp_kill + 0x30 [/usr/lib/hpux32/libpthread.so.1]

                        Error 07/10/2019 10:56:53 0x60000000c0174ec0  __pthread_kill + 0x9f0 at /ux/core/libs/threadslibs/src/common/pthreads/signal.c:207 [/usr/lib/hpux32/libpthread.so.1]

                        Error 07/10/2019 10:56:53 0x60000000c04036a0  _raise + 0xe0 at ../../../../../core/libs/libc/shared_em_32_perf/../core/gen/raise.c:33 [/usr/lib/hpux32/libc.so.1]

                        Error 07/10/2019 10:56:53 0x60000000c05286a0  abort + 0x220 at ../../../../../core/libs/libc/shared_em_32_perf/../core/gen/abort_em.c:72 [/usr/lib/hpux32/libc.so.1]

                        Error 07/10/2019 10:56:53 0x60000000c0da9a10  _ZSt9terminatev + 0x50 at ../terminate.C:73 [/usr/lib/hpux32/libCsup.so.1]

                        Error 07/10/2019 10:56:53 0x60000000c0dbdc20  __cxa_end_catch + 0x220 at ../NewExceptionHandling.C:998 [/usr/lib/hpux32/libCsup.so.1]

                        Error 07/10/2019 10:56:53 0x60000000cab39740  _ZN10SMDprivate11SWAUserTask14doRunJavaStepsEv + 0x13da0 at usertasks/SWAUserTask.cc:1015 [/opt/swa/lib/libswa.1]

                        Error 07/10/2019 10:56:53 0x60000000caafcfa0  _ZN10SMDprivate11SWAUserTask12stateMachineEv + 0x3420 at usertasks/SWAUserTask.cc:2743 [/opt/swa/lib/libswa.1]

                        Error 07/10/2019 10:56:53 0x60000000cb168100  _ZN10SMDprivate8UserTask7runTaskEv + 0x320 at usertasks/UserTask.cc:294 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x60000000cafb3020  _ZN10SMDprivate4Task3runEv + 0x820 at jobtask/Task.cc:214 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x60000000cafab6b0  _ZN3SMD13SMDJobManager3runESs + 0x770 at jobtask/SMDJobManager.cc:1351 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x60000000caf63390  _ZN3SMD3CLI3runEPSt4listIPNS_8TaskDataESaIS3_EE + 0x12d0 at cli/CLI.cc:1474 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x0000000004007070  _Z7smdmainiPPc + 0xbc0 at main.cc:260 [/opt/swa/bin/swa]

                        Error 07/10/2019 10:56:53 0x60000000cb2c3750  _ZN3SMD7SMDinit7smdinitEPFiiPPcEiS2_ + 0x1690 at main/SMDinit.cc:293 [/opt/swa/lib/libcommon.1]

                        Error 07/10/2019 10:56:53 0x00000000040061b0  main + 0x50 at main.cc:323 [/opt/swa/bin/swa]

                        Error 07/10/2019 10:56:53 0x60000000c008c520  main_opd_entry + 0x50 [/usr/lib/hpux32/dld.so]

                        Error 07/10/2019 10:56:53 Error while downloading swa catalog file, command returned [1]

                        Error 07/10/2019 10:56:53 If Proxy is set, please confirm the proxy parameters

                        Error 07/10/2019 10:56:53 The job 'HP-UX Patch Analysis Job' has failed

                        • 9. Re: Getting error while doing patch analysis for HP-UX
                          Bill Robinson

                          looks swa isn't working.  can you confirm that swa works outside of bsa ?