Automic Workload Automation

Expand all | Collapse all

Error occured while installing Automation Engine on Linux in Unattended mode

Srujan_Pathuri_9871

Srujan_Pathuri_9871Feb 05, 2018 09:03 AM

Srujan_Pathuri_9871

Srujan_Pathuri_9871Feb 05, 2018 02:04 PM

  • 1.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 07:12 AM
    Hi All,

    I am trying to install AE on RHEL6 using the shell script(install.sh) in Unattended mode. I have given the Var file and the installation directory as parameters but while running the script it is throwing JAVA "ConcurrentModificationException" error. The screenshot is attached regarding the same. Could anyone please tell me the root cause of this exception.
    08btapng2zgf.jpghttps://us.v-cdn.net/5019921/uploads/editor/lz/08btapng2zgf.jpg" width="1123">

    Regards,
    Srujan.


  • 2.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 08:56 AM
    Hello Srujan_Pathuri_9871

    Are there more details in the mentioned logfile?

    Best Regards
    Christian Glaser



  • 3.  Error occured while installing Automation Engine on Linux in Unattended mode



  • 4.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 10:34 AM
      |   view attached
    Hi Christian_Glaser_7453

    Thanks for the quick response. Here I am attaching the complete installation log file. Please check and let me know if I am doing anything wrong.

    Regards,
    Srujan.

    Attachment(s)



  • 5.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 10:39 AM
    Bobby Tamayo said:
    Srujan_Pathuri_9871

    Does the issue occur if you use the "Command Line Mode"  instead of unattended mode as explained below?

    https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/12.1/AWA%20Guides/help.htm#Installation_Common/install_ONE_installer_new.htm%3FTocPath%3DInstallation%2520Guide%7CNew%2520Installation%7CInstallation%2520Types%7C_____1


    Thanks
    Bob
    Hi bobby_tamayo_automic

    Sorry for the confusion. I am trying to install AE in Unattended mode,not in command line mode and I have followed the same steps that are mentioned in the link posted by you. 

    Regards,
    Srujan.


  • 6.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 11:07 AM
    Srujan_Pathuri_9871

    Can you please upload the .varfile with the installation parameters.
    Please remove all the environment information like hostname, username, etc.

    Another question would be - Does it work in COMMAND LINE mode?

    Best Regards
    Christian Glaser



  • 7.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 01:09 PM
      |   view attached
    Christian_Glaser_7453

    No I never tried it in Command Line mode. Please check the attached Varfile here.

    Regards,
    Srujan.

    Attachment(s)

    txt
    Varfile.txt   694 B 1 version


  • 8.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 29, 2018 06:32 PM
    Did the license you're using expire? Just open the 35015.txt and make sure you do not see an entry like 20171231.


  • 9.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 30, 2018 03:50 AM
    Alexander_Trenker_120

    No I think the license file looks fine. It's valid upto 20221231.

    Regards,
    Srujan.


  • 10.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 31, 2018 10:32 AM
    Srujan_Pathuri_9871
    The VARFILE looks good to me. Does the user have sufficient privileges?

    Best Regards
    Christian Glaser


  • 11.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 31, 2018 12:00 PM
    Christian_Glaser_7453
     
    Privileges for AE Database? 

    Regards,
    Srujan.


  • 12.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Jan 31, 2018 12:03 PM
    Dear Srujan_Pathuri_9871
    For database and file system.

    Best Regards
    Christian Glaser



  • 13.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 01, 2018 09:00 AM
    Christian_Glaser_7453

    Yes the user has all privileges to both DB and file system. I have accessed the DB using SQL plus and it worked perfect.
    One more update is that I tried to install in command line mode but again I got a different exception this time. Could you please go through the attached log file and provide us the solution. It's a blocker for us.
    dpbaux78abog.jpghttps://us.v-cdn.net/5019921/uploads/editor/7b/dpbaux78abog.jpg" width="713">

    Regards,
    Srujan.


  • 14.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 02, 2018 08:45 AM
    Dear Srujan_Pathuri_9871

    The log show this error:

    SEVERE: Check the installation log for more details. The installation log is located in /fs0/automic/installation_dir/install.log
    java.io.IOException: Unexpected exception while copying files
    -----
    Caused by: java.nio.file.FileAlreadyExistsException: /fs0/automic/installation_dir/Automation.Platform/Utility/bin/libgcc_s.so


    It seems that the OneInstaller did not remove all files.
    Can you please make sure that there are not folders/files left from a former installation and then please try again.

    Best Regards
    Christian Glaser



  • 15.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 02, 2018 01:32 PM
    Christian_Glaser_7453

    Thanks for your time. I did remove all the files in the installation directory and tried reinstalling for about three times but still I am getting the same "DB LOAD FAILED" error. I feel like I am missing out on something.  :(
    u0f8tn61n20v.jpghttps://us.v-cdn.net/5019921/uploads/editor/68/u0f8tn61n20v.jpg" width="996">
    Regards,
    Srujan.


  • 16.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 02, 2018 03:42 PM
    Srujan_Pathuri_9871  have you gotten the chance to to take a look at the dbload utility logs ? Maybe there will be some more obvious errors to see? 



  • 17.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 07:50 AM
      |   view attached
    Marcin_Uracz_10341  Thanks for the great idea.I have checked the db utility log file and it says that table or view doesn't exist?. I must tell you that I have mentioned Service ID (SID) in Automic.var file instead of db schema. So do I need to modify tnsname.ora. I'm bit confused. Please find the attached log file.

    Regards,
    Srujan.

    Attachment(s)

    txt
    ucybdbld_log_00.txt   28 KB 1 version


  • 18.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 08:36 AM
    Srujan_Pathuri_9871  It looks like you have an empty db with no table space:
    ORA-00959: tablespace 'UC4_DATA' does not exist'
    Take a look at the documentation for setting up the Oracle db.


  • 19.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 08:52 AM
    Marcin_Uracz_10341
    Yeah the db is empty. I thought the script would create everything if we give empty db. It was easy for me to install AWA in Windows, even there I have just created empty DB and it did install perfectly. I wonder why isn't the same with Linux.

    Regards,
    Srujan.


  • 20.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 09:02 AM
    Srujan_Pathuri_9871 , was this installation on Windows also with an Oracle DB?




  • 21.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 09:03 AM
    Marcin_Uracz_10341
     Nope. It was MS SQL Server. :)


  • 22.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 09:05 AM
    So there is your answer, with Oracle nothing can be easy ;) 


  • 23.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 09:20 AM
    Marcin_Uracz_10341

    Yeah true  :# . And once again thanks for your time. Now I will set up Oracle DB and start installation. 

    Regards,
    Srujan.


  • 24.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 01:20 PM
    Marcin_Uracz_10341

    What does "Path to uc4_data.ora" mean in the following screenshot? As per my knowledge Datafile ends with .DBF extension but why is it showing .ORA here. ?

    qlaspk0ae36c.jpghttps://us.v-cdn.net/5019921/uploads/editor/on/qlaspk0ae36c.jpg" width="525">


  • 25.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 01:52 PM
    Please create a tablespace called uc4_data.ora and another one called uc4_index.ora . The tablespace extension can be anything in Oracle, it doesn't have to be dbf.


  • 26.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 05, 2018 02:04 PM
    That's cool. Thanks Alexander_Trenker_120



  • 27.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 06, 2018 08:33 AM
      |   view attached
    Alexander_Trenker_120 Marcin_Uracz_10341 Christian_Glaser_7453

    I think the DB load utility issue has been fixed but then I am getting the following error while installing Service manager. Could you please go through the attached installation and db utility logs.

    gavdnpulm78x.jpghttps://us.v-cdn.net/5019921/uploads/editor/9w/gavdnpulm78x.jpg" width="603">

    Many Regards,
    Srujan.

    Attachment(s)

    txt
    ucybdbld_log_00 (1).txt   213 KB 1 version


  • 28.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 06, 2018 05:13 PM
         Line 3511: java.io.IOException: Cannot run program "chkconfig" (in directory "/etc/init.d"): error=2, No such file or directory

         Line 3548: java.io.IOException: Cannot run program "chkconfig" (in directory "/fs0/automic/installation_dir/Automation.Platform/ServiceManager/bin"): error=2, No such file or directory




  • 29.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 07, 2018 06:08 AM
    Thanks Alexander_Trenker_120 

    Will look into it.

    Many Regards,
    Srujan.


  • 30.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 09, 2018 06:05 AM
    Alexander_Trenker_120 Marcin_Uracz_10341 Christian_Glaser_7453

    At last the installation is done successfully.Thank you all so much for your support.  :#  

    Many Regards,
    Srujan.


  • 31.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 13, 2018 06:01 AM
      |   view attached
    Hi Alexander_Trenker_120 Marcin_Uracz_10341 Christian_Glaser_7453

    Need your help again. Since I have successfully installed AWA on Linux in unattended mode, I am trying to do the same in other data center and on a different Linux machine, but unfortunately I am getting error while installing "Analytics Datastore". Even though the installation setup is new, I don't understand why it is showing "UPGRADE" in the log file (attached screenshot).

    0lulwcc7y8b4.jpghttps://us.v-cdn.net/5019921/uploads/editor/j9/0lulwcc7y8b4.jpg" width="591">

    Please find the attached complete log file.

    Many Regards,
    Srujan.

    Attachment(s)



  • 32.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 13, 2018 02:57 PM
    I have to take a look how to fix this issue:

    Feb 12, 2018 11:37:53 AM com.automic.installer.api.common.Installer createInstallerException
    SEVERE: Could not initialize Analytics Datastore
    com.automic.installer.api.common.InstallerException: Could not initialize Analytics Datastore
         at com.automic.installer.api.ae.components.ia.PostgreSQL.installAnalyticsDatastore(PostgreSQL.java:129)
         at com.automic.installer.api.actions.ia.InstallIADatastore.run(InstallIADatastore.java:14)
         at com.automic.installer.api.common.engine.InstallerAction.start(InstallerAction.java:44)
         at com.automic.installer.api.common.engine.InstallerEngine$2.run(InstallerEngine.java:97)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at java.lang.Thread.run(Thread.java:745)


  • 33.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 13, 2018 03:12 PM
    Srujan_Pathuri_9871 , I think that the "upgrade" message is normal even during a fresh install, never took much notice of that, paid more attention to the current version / status  :) 

    As for the datastore. Did you install it on the other node also ? While doing manual installs, even when I used the binaries provided in the AWA Installation package,  I needed additional postgres libraries / rpms to make it work. Maybe this is the problem? 


  • 34.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 14, 2018 08:28 AM
    Alexander_Trenker_120

    Please look into it and let me know if you get any idea to resolve this.

    Many Regards,
    Srujan.


  • 35.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 14, 2018 08:42 AM
    Marcin_Uracz_10341
    I have just compared both installation log files(generated in two nodes) and I don't see any UPGRADE message in the successful installation log file which was also a fresh install. Any possible reason for this difference?

    And regarding datastore, yes I did install datastore in the first node along with other components using ONE installer. I am just running the shell script from the same package. I wonder why it didn't need any additional libraries in the earlier installation. 

    However, could you please mention those additional libraries. Will give it a try.

    Many Regards,
    Srujan. 


  • 36.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 15, 2018 10:36 AM
    Hmm, I don't remember now by heart. I think these where the libs and contrib packages for the 9.6 Postgres (as the is the one I used)
     


  • 37.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 19, 2018 12:53 PM
    Marcin_Uracz_10341

    I'm sorry. I didn't understand that. Could you please explain it in a different way?


  • 38.  Error occured while installing Automation Engine on Linux in Unattended mode

    Posted Feb 20, 2018 02:36 PM
    Actually after some thought, if it worked on one node it should on the others. So it really should not be necessary to add anything.  So there has to be something else wrong. 

    Anyhow if you want to give it a go, the packages can be found on the postgres download site