AppWorx, Dollar Universe and Sysload Community

Expand all | Collapse all

How to remove Apache that comes with the AM Installtion from an Automation Engine. .

  • 1.  How to remove Apache that comes with the AM Installtion from an Automation Engine. .

    Posted May 19, 2017 10:20 AM

    Greetings;

    I installed a new Automation engine and used the Apache version that comes with the AM install. Now, we are unable to start the Automation Engine due to an Apache library error. The Apache version installed with the AM version is 32 bits and the Linux OS server where the Automation agent was installed is 64 bits. Is there any option(s) in the awinstall script to uninstall the Apache 32 bits version? If so, which is the option(s) OR would the solution be to uninstall the automation engine and rerun a new installation?

    Please advise.

    Regards, Juan 



  • 2.  How to remove Apache that comes with the AM Installtion from an Automation Engine. .

    Posted May 22, 2017 05:51 PM
    Hello Juan,

    There is no option to uninstall Apache from awinstall. The easiest way to uninstall Apache is to delete the Apache directory. Once you install an Apache version of your liking, rerun awinstall. When you are prompted "Is everything correct?", enter No and you will have to chance to change the Apache Home directory. This parameter is necessary so awinstall can find and write to the httpd.conf file. Once you reach the point in the awinstall process where the database password is prompted, go ahead and cancel out of the awinstall process (Ctrl + c). The httpd.conf and awenv.ini files should already be updated with your new values.

    Below is a example of my test instance. I've selected No, changed the Apache home value, and then selected Yes to the prompt "Is everything correct?". You will see both awenv.ini and httpd.conf files being written to(since I put a fake directory, the error "Could not find apache httpd.conf file" is seen).

    Is the above correct [Yes]?
    Writing awenv.ini values
      Setting value AW_HOME=/home/qa4/user_tests/phm/PHM {NuLl}
    Checking for distribution files
        skipping  extract files from AWhelp.zip
        skipping  extract files from AWjars.zip
        skipping  extract files from AWutil.zip
        skipping  extract files from winjre.zip
    URL
    ************************************************************
    To install the Applications Manager client, you will need to access the following URL:
               http//123.456.789/PHM/Intro.html
    Please write down this URL for future reference!
    ************************************************************

      Setting value APACHE_HOME=/etc {/etc/httpd}
    Could not find apache httpd.conf file - /etc/conf/httpd.conf
    Writing Option.properties
    Applications Manager Oracle Password               [] ?


    Hope this help,
    Phearith Mao


  • 3.  How to remove Apache that comes with the AM Installtion from an Automation Engine. .

    Posted May 29, 2017 03:39 PM

    Hi Phearith:

    We followed-up on your advices and resolved issue.

    Thanks, Juan