4 Replies Latest reply: Nov 23, 2012 10:39 AM by sabdelhalim RSS

    Issue with Endeca E-commerce 3.1.0 in Amazon EC2

    User387251
      Hi,

      I have freshly installed MDEX v6.3, PS v6.1.3 & Tools & Framework v3.1.0 IN amazon linux.
      I have started Platform services and Tools & Framework successfully. Now I am trying to deploy reference application but with no success.

      Starting with when I run initialize_services.sh, I am nuber of warnings.

      [08.02.12 02:33:00] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host AuthoringMDEXHost.
      [08.02.12 02:33:00] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-dgraph-input'.
      [08.02.12 02:33:01] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host AuthoringMDEXHost.
      [08.02.12 02:33:01] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-cumulative-partials'.
      [08.02.12 02:33:02] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host AuthoringMDEXHost.
      [08.02.12 02:33:02] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-dgraph-config'.
      [08.02.12 02:33:03] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host AuthoringMDEXHost.
      [08.02.12 02:33:03] INFO: Setting definition for component 'DgraphA1'.
      [08.02.12 02:33:03] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_cumulative-partials'.
      [08.02.12 02:33:05] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
      [08.02.12 02:33:05] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_dgraph-config'.
      [08.02.12 02:33:06] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
      [08.02.12 02:33:06] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_local-dgraph-input'.
      [08.02.12 02:33:07] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
      [08.02.12 02:33:07] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_local-cumulative-partials'.
      [08.02.12 02:33:08] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
      [08.02.12 02:33:08] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_local-dgraph-config'.
      [08.02.12 02:33:10] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA.
      [08.02.12 02:33:10] INFO: Setting definition for script 'PromoteAuthoringToLive'.
      [08.02.12 02:33:10] INFO: Setting definition for custom component 'WorkbenchManager'.
      [08.02.12 02:33:10] INFO: Updating provisioning for host 'ITLHost'.
      [08.02.12 02:33:10] INFO: Updating definition for host 'ITLHost'.
      [08.02.12 02:33:10] INFO: [ITLHost] Starting shell utility 'mkpath_temp'.
      [08.02.12 02:33:11] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_temp' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
      [08.02.12 02:33:11] INFO: Setting definition for custom component 'IFCR'.
      [08.02.12 02:33:11] INFO: Updating provisioning for host 'ITLHost'.
      [08.02.12 02:33:11] INFO: Updating definition for host 'ITLHost'.
      [08.02.12 02:33:11] INFO: [ITLHost] Starting shell utility 'mkpath_temp'.
      [08.02.12 02:33:12] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_temp' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
      [08.02.12 02:33:13] INFO: Setting definition for component 'LogServer'.
      [08.02.12 02:33:13] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:14] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:14] INFO: Setting definition for script 'DaySoFarReports'.
      [08.02.12 02:33:14] INFO: Setting definition for script 'DailyReports'.
      [08.02.12 02:33:14] INFO: Setting definition for script 'WeeklyReports'.
      [08.02.12 02:33:14] INFO: Setting definition for script 'DaySoFarHtmlReports'.
      [08.02.12 02:33:14] INFO: Setting definition for script 'DailyHtmlReports'.
      [08.02.12 02:33:14] INFO: Setting definition for script 'WeeklyHtmlReports'.
      [08.02.12 02:33:14] INFO: Setting definition for component 'WeeklyReportGenerator'.
      [08.02.12 02:33:14] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:16] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:16] INFO: Setting definition for component 'DailyReportGenerator'.
      [08.02.12 02:33:16] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:17] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:17] INFO: Setting definition for component 'DaySoFarReportGenerator'.
      [08.02.12 02:33:17] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:18] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:18] INFO: Setting definition for component 'WeeklyHtmlReportGenerator'.
      [08.02.12 02:33:18] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:20] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:20] INFO: Setting definition for component 'DailyHtmlReportGenerator'.
      [08.02.12 02:33:20] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:21] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:21] INFO: Setting definition for component 'DaySoFarHtmlReportGenerator'.
      [08.02.12 02:33:21] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'.
      [08.02.12 02:33:22] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ReportGenerationHost.
      [08.02.12 02:33:22] INFO: Setting definition for script 'BaselineUpdate'.
      [08.02.12 02:33:23] INFO: Setting definition for script 'PartialUpdate'.
      [08.02.12 02:33:23] INFO: Setting definition for component 'Forge'.
      [08.02.12 02:33:23] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'.
      [08.02.12 02:33:24] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_incoming' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
      [08.02.12 02:33:24] INFO: [ITLHost] Starting shell utility 'mkpath_temp'.
      [08.02.12 02:33:25] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_temp' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
      [08.02.12 02:33:25] INFO: Setting definition for component 'PartialForge'.
      [08.02.12 02:33:25] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'.
      [08.02.12 02:33:27] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_incoming' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
      [08.02.12 02:33:27] INFO: [ITLHost] Starting shell utility 'mkpath_cumulative-partials'.
      [08.02.12 02:33:28] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
      [08.02.12 02:33:28] INFO: Setting definition for component 'Dgidx'.
      [08.02.12 02:33:28] INFO: Definition updated.
      [08.02.12 02:33:28] INFO: Provisioning site from prototype...
      [08.02.12 02:33:28] INFO: Finished provisioning site from prototype.
      [08.02.12 02:33:28] INFO: Uploading config files to Workbench.
      [08.02.12 02:33:28] INFO: [ITLHost] Starting shell utility 'emgr_update_update_mgr_settings'.
      [08.02.12 02:33:30] INFO: Finished uploading config files to Workbench.
      Finished updating EAC.
      Importing sample content...
      [08.02.12 02:33:31] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
      [08.02.12 02:33:31] INFO: Definition has not changed.
      [08.02.12 02:33:31] INFO: Packaging contents for upload...
      [08.02.12 02:33:31] INFO: Finished packaging contents.
      [08.02.12 02:33:31] INFO: Uploading contents to: http://hostname:8006/ifcr/sites/Discover/
      [08.02.12 02:33:32] INFO: Finished uploading contents.
      Finished importing initial content
      Importing editors configuration...
      [08.02.12 02:33:33] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
      [08.02.12 02:33:34] INFO: Definition has not changed.
      [08.02.12 02:33:34] INFO: Packaging contents for upload...
      [08.02.12 02:33:34] INFO: Finished packaging contents.
      [08.02.12 02:33:34] INFO: Uploading contents to: http://hostname:8006/ifcr/sites/Discover/configuration/tools/xmgr
      [08.02.12 02:33:34] INFO: Finished uploading contents.
      Finished importing editors configuration
      Importing templates...
      Removing existing cartridge templates for Discover
      Setting new cartridge templates for Discover
      Finished setting templates
      Finished importing templates

      --- And inside the logs in shell folder,

      Can't locate strict.pm in @INC (@INC contains: /tmp/original_perl_build_dir/lib/5.8.3/i686-linux /tmp/original_perl_build_dir/lib/5.8.3 /tmp/original_perl_build_dir/lib/site_perl/5.8.3/i686-linux /tmp/original_perl_build_dir/lib/site_perl/5.8.3 /tmp/original_perl_build_dir/lib/site_perl .) at -e line 1.
      BEGIN failed--compilation aborted at -e line 1.

      Please let me know how to overcome this issue.

      Thanks in advance,
      RP
        • 1. Re: Issue with Endeca E-commerce 3.1.0 in Amazon EC2
          Brett R-Oracle
          Your Perl environment looks strange - Endeca ships its own Perl installation, you need to use that one. Someone else recently had similar problems, see Re: Strange error when running initialize_services.sh for details of environment variables to check.

          Best
          Brett
          • 2. Re: Issue with Endeca E-commerce 3.1.0 in Amazon EC2
            User387251
            Thanks Brett, below are values for PERLLIB & PERL5LIB in the environment variables

            PERLLIB=

            /home/usr/local/endeca/PlatformServices/6.1.3/lib/perl:/home/usr/local/endeca/PlatformServices/6.1.3/lib/perl/Control:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/site_perl:/home/usr/local/endeca/PlatformServices/6.1.3/lib/perl:/home/usr/local/endeca/PlatformServices/6.1.3/lib/perl/Control:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/site_perl:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/5.8.3:/home/usr/local/endeca/PlatformServices/6.1.3/perl

            PERL5LIB=
            /home/usr/local/endeca/PlatformServices/6.1.3/lib/perl:/home/usr/local/endeca/PlatformServices/6.1.3/lib/perl/Control:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/site_perl:/home/usr/local/endeca/PlatformServices/6.1.3/lib/perl:/home/usr/local/endeca/PlatformServices/6.1.3/lib/perl/Control:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/site_perl:/home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/5.8.3:/home/usr/local/endeca/PlatformServices/6.1.3/perl

            After reading that port I have added both,

            /home/usr/local/endeca/PlatformServices/6.1.3/perl/lib/5.8.3
            /home/usr/local/endeca/PlatformServices/6.1.3/perl

            for PERLLIB & PERL5LIB but I am still getting the same message in shell log.

            Please let me know if I need to do something else.

            Thanks,
            RP
            • 3. Re: Issue with Endeca E-commerce 3.1.0 in Amazon EC2
              Pravin Chikhale
              it looks like the user which you are using to run initialization script don't have write access on server.

              use chown command to assign ownership to the user which you will be using for initialization and baseline update.

              HTH

              - pravin
              • 4. Re: Issue with Endeca E-commerce 3.1.0 in Amazon EC2
                sabdelhalim
                Hi,
                I agree with you,
                it seems to rather be an issue with user rights( to create folder on remote MDEX) than perl issue,
                regards
                Saleh