AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  Automic Upgrade from Version 10 to 12.2

    Posted Jul 18, 2019 07:28 AM
    Hi Team,


    We have upgraded the agent and servicemanager. We are facing the below issue when we try to start the agent. It looks the agents are not able to start due to unavailable of uc4.smc file.

    Find the log details as below

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




    20190718/120122.336 - U00022044 Real user '10002' and effective user '10002'.

    20190718/120122.337 - U00022025 The file 'uc4.ori.smd' containing the definitions will be opened and interpreted.

    20190718/120122.337 - U00022027 The sub-service 'UC4 WP1' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 WP2' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 WP3' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 WP4' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 WP5' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 JWP' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 JCP' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 CP1' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 CP2' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 UNIX01' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 DATABASE-AGENT01' was installed.

    20190718/120122.337 - U00022027 The sub-service 'UC4 DATABASE-SERVICE01' was installed.

    20190718/120122.337 - U00022026 The command file 'uc4.smc' containing the statements will be opened and interpreted.

    20190718/120122.337 - U00022028 Unable to open file 'uc4.smc', error code: '2'

    20190718/120122.337 - No such file or directory

    20190718/120122.357 - U00022032 'TCP' socket with port '8871' successfully created.

    20190718/120122.357 - U00022032 'UDP' socket with port '8871' successfully created.

    20190718/120122.357 - U00022017 Automic Service Manager Version '12.2.3+build.1558155036560' ready.


    When i checked the automation manager path, i dont find that uc4.smc files. I could able to see only UC4.ORI.SMD file.
    $ ls
    automicsm libssp.so libstdc++.so libsysapi.so uc4.ori.smd ucybsmgr ucybsmgr.ori_certificate.pem ucybsmgr.ori.lck
    libgcc_s.so libssp.so.0 libstdc++.so.6 libzu00132.so uc.msl ucybsmgr_certificate.pem ucybsmgr.ori.ini
    libgcc_s.so.1 libssp.so.0.0.0 libstdc++.so.6.0.3 nohup.out ucybsmcl ucybsmgr.lck ucybsmgr.ori_key.pem
    $

    Can you please let us know why uc4.smc files are not found?  What we need to do for resolve this issue?

    Thanks
    V Manikandan


  • 2.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 19, 2019 03:23 AM
    Dear Mankinandan,

    I guess you mean you upgraded the automic engine. Usually the uc4.smc file is located in the same directoy as the smd-file is.
    It is referenced from the ini-file of the servicemanager, ucybsmgr.ini, located in the bin-folder of the servicemanager installation.

    It is always helpful to check the documentation, search for smc. :-)

    Regards, Nicole

    ------------------------------
    Regards, Nicole
    ------------------------------



  • 3.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 19, 2019 06:24 AM
    > ​I could able to see only UC4.ORI.SMD file

    Well, I guess that's your problem right there. The ucybsmgr.ini defines what smc (and smd) files to load for your given "Destination". Those need to exist. Files with ".ori" are merely templates and shipped for inspiration for creating your own files off of.


  • 4.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 19, 2019 07:00 AM

    Dear Mankinandan​,

    Please kindly refrain from sending me personal messages as follow-ups when it's concerning matters that really should be discussed on the forums for all other participants to be able to give input, too.

    As for the matter at hand, what database are you on? If you're not on DB2, you can probably ignore the error message about not finding the libdb2.so.1, my own 12.2.3 also doesn't provide this file, so Automic presumably tries to load this but works fine without:

    # ldd /opt/ae/server_12.2.3/bin/ucucli.so
            linux-vdso.so.1 =>  (0x00007fff45cba000)
            libsysapi.so => not found
            libzu00132.so => not found
            libuc001.so => not found
            libdb2.so.1 => not found (...)

    If you ARE using db2 as the backend however, maybe you need to provide the file from your db2 client installation. I don't know about db2 since we don't use it, if in doubt the manual should probably contain the information.

    Ultimately, your worker process appears to have a problem with the datasource, meaning the backend database. See if a "trace file" (*trc* or something, the name pattern is configured in your ucsrv.ini) has been created and if it contains any info. Double check your SQL connection string in the ucsrv.ini for correctness, and ensure your database is available, can be reached from the Automic server, and has been created as per the documentation (also regarding specific codepage requirements for your chosen database system etc.).

    Hth,




  • 5.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 19, 2019 08:44 AM
    Hi Team,

       At present I am getting the below error while starting the agent.

    20190719/131446.765 - U00021604 UCUMESS: Frequency: '000000000001000000', start at tick: '001563538486765962'.
    20190719/131446.766 - U00029120 UCUDB: Function LoadLibrary failed. Library 'ucuoci.so' error 'libclntsh.so.12.1: cannot open shared object file: No such file or directory'.
    20190719/131446.767 - U00003611 DB OPEN executed. Return Code = '0000003531'
    20190719/131446.767 - U00003620 Routine 'UCMAIN_R' forces trace because of error.
    20190719/131446.767 - U00003531 UCUDB: Error while checking data source (e.g. code conversion or driver problem, see log file).
    20190719/131446.815 - U00003531 UCUDB: Error while checking data source (e.g. code conversion or driver problem, see log file).
    20190719/131446.815 - U00003410 Server 'AUTOMIC#WP' version '12.2.3+hf.1.build.1559856619235' ended abnormally.

    When I checked the 3rd party oracle  library path ..i Dont fine this library.

    /3rdparty/lib/oracle/11.2/client64/lib
    $ ls
    adrci genezi libclntsh.so libnnz11.so libocci.so.11.1 libocijdbc11.so libsqlplus.so ojdbc6.jar SQLPLUS_README xstreams.jar
    BASIC_README glogin.sql libclntsh.so.11.1 libocci.so libociei.so libsqlplusic.so ojdbc5.jar sqlplus uidrvci
    $ ls libclntsh.so.12*
    ls: libclntsh.so.12*: No such file or directory
    $ ls libclntsh*
    libclntsh.so libclntsh.so.11.1


    But I could able to see that libclntsh.so.11.1 version.  Can you please advice whether Do I need to install the 12.1 client verions?  Where I could able to find the installer for this library setting?  

    Thanks
    V Manikandan








  • 6.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 22, 2019 02:25 AM
    We had the same Problem.
    We are Setting a softlink in Utility/bin Directory to  the Oracle 11.1-Library and it works

    ​ln -s /ORACLE/u01/app/oracle/product/client/client11g/lib/libclntsh.so libclntsh.so.12.1

    It seems, that only Oracle 12c-Clients will be supported by AE12.2


  • 7.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 22, 2019 04:44 AM
    > ​We are Setting a softlink in Utility/bin Directory to  the Oracle 11.1-Library and it works

    Jepp, that works. Until that one day where it spectacularily, surprisingly and excitingly-hard-to-debugly won't ...

    I really wouldn't recommend symlinking shared objects between software releases.


  • 8.  RE: Automic Upgrade from Version 10 to 12.2

    Posted Jul 25, 2019 10:15 AM
    Hi,

        We have installed the oracle client library 12.1 and the library issue got resolved.
        When we start the agent, we are getting the below error in log.
    ===========================================
    20190725/134332.773 - U00003535 DB INFO: 'LOCK-TYPES ='
    20190725/134332.773 - U00003535 DB INFO: 'ODBC_TRACE = 0'
    20190725/134332.796 - U00003526 UCUDB: Database version ('10.140720308486144.0') does not match your program version ('140720308486156.2.4294967299').
    20190725/134332.796 - U00003594 UCUDB Ret: '3526' opcode: 'OPEN' SQL Stmnt: ''
    20190725/134332.796 - U00003611 DB OPEN executed. Return Code = '0000003526'
    20190725/134332.796 - U00003620 Routine 'UCMAIN_R' forces trace because of error.
    20190725/134332.796 - U00003526 UCUDB: Database version ('10.140720308486144.0') does not match your program version ('140720308486156.2.4294967299').
    20190725/134359.667 - U00003524 UCUDB: ===> Time critical DB call! OPC: 'CLAL' time: '26:829.710.999'
    20190725/134359.669 - U00003526 UCUDB: Database version ('10.140720308486144.0') does not match your program version ('140720308486156.2.4294967299').
    20190725/134359.669 - U00003410 Server 'AUTOMIC#WP' version '12.2.3+hf.1.build.1559856619235' ended abnormally.
    ================================================================================================

    Can you please help me to understand what caused this issue/error?

    Thanks in advance.