Setting Up Tools And Frameworks
Error encounter while making Tools and Framework up and running
Following are some of the errors and there fixes we got for Tool And Framework setup.
[root@endeca bin]# sh deploy.sh --app /endeca/ToolsAndFrameworks/3.1.0/reference/discover-data/deploy.xml Can't locate strict.pm in @INC (@INC contains: ./../lib /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 ./../lib/deploy.pl line 13. BEGIN failed--compilation aborted at ./../lib/deploy.pl line 13.
Run following command to remove these error if occur, these setup the environment
export ENDECA_ROOT=/endeca/PlatformServices/6.1.3 export ENDECA_CONF=/endeca/PlatformServices/workspace export ENDECA_TOOLS_ROOT=/endeca/Workbench/2.1.2 export ENDECA_TOOLS_CONF=/endeca/Workbench/workspace export PERLLIB=$ENDECA_ROOT/lib/perl:$ENDECA_ROOT/lib/perl/Control:$ENDECA_ROOT/perl/lib:$ENDECA_ROOT/perl/lib/site_perl export PERL5LIB=$ENDECA_ROOT/lib/perl:$ENDECA_ROOT/lib/perl/Control:$ENDECA_ROOT/perl/lib:$ENDECA_ROOT/perl/lib/site_per
Rerunning the deployment command will run smoothly.
[root@endeca bin]# sh deploy.sh --app /endeca/ToolsAndFrameworks/3.1.0/reference/discover-data/deploy.xml ------------------------------------------------------------------------------ Found version 6.1 of the Endeca IAP installed in directory /endeca/PlatformServices/6.1.3. If either the version or location are incorrect, type 'Q' to quit and adjust your ENDECA_ROOT environment variable. Press enter to continue with these settings. Continue? Y ------------------------------------------------------------------------------ Deployment Template installation script. This script creates the directory structure for your deployment and installs configuration files and scripts into the directory structure. 11/09/2012 23:55:02 [deploy.pl] INFO: Starting deployment template installation. ------------------------------------------------------------------------------ The following app modules were specified on the command line argument: /endeca/ToolsAndFrameworks/3.1.0/reference/discover-data/deploy.xml Modules may be deployed standalone or on top of a base deployment type. Do you want to install a base deployment with the specified module(s)? Install base deployment? [Y/N]: Y 11/09/2012 23:55:44 [AppDescriptorReader] INFO: Parsing application descriptor file /endeca/ToolsAndFrameworks/3.1.0/reference/discover-data/deploy.xml. 11/09/2012 23:55:44 [AppDescriptorReader] INFO: Parsing application descriptor file /endeca/ToolsAndFrameworks/3.1.0/deployment_template/lib/../app-templates/base_descriptor.xml. ------------------------------------------------------------------------------ Enter a short name for your application. Note: The name must conform to this regular expression: ^[a-zA-Z0-9]+$ [default: Discover] Choosing a different application name may require additional configuration on your web application. Application name: Discover ------------------------------------------------------------------------------ Specify the path into which the application will be deployed. The specified directory must exist and cannot contain spaces. For example, to deploy into /localdisk/apps/Discover, specify the path as /localdisk/apps. Deployment directory: /endeca/apps ------------------------------------------------------------------------------ Specify the port on which the Endeca Application Controller is running. This is configured in the server.xml file in the workspace of the Endeca software install and should be the same for all applications deployed in this environment. Ports must be in the range 1024-65535 [default: 8888]. EAC port: 8888 11/09/2012 23:56:30 [deploy.pl] INFO: Deploying application into /endeca/apps/Discover ------------------------------------------------------------------------------ What port is the Workbench running? [Default: 8006] 8006 ------------------------------------------------------------------------------ What port should be used for the Live Dgraph? [Default: 15000] 13000 ------------------------------------------------------------------------------ What port should be used for the Authoring Dgraph? [Default: 15002] 13002 ------------------------------------------------------------------------------ What port should be used for LogServer? [Default: 15010] 13010 11/09/2012 23:57:07 [AppDescriptorReader] INFO: Parsing application descriptor file /endeca/ToolsAndFrameworks/3.1.0/deployment_template/lib/../app-templates/base_descriptor.xml. 11/09/2012 23:57:07 [deploy.pl] INFO: Processing install with id 'Dgraph' 11/09/2012 23:57:07 [AppDescriptorReader] INFO: Parsing application descriptor file /endeca/ToolsAndFrameworks/3.1.0/reference/discover-data/deploy.xml. 11/09/2012 23:57:07 [deploy.pl] INFO: Processing install with id 'DefaultTemplateManagerApp' 11/09/2012 23:57:08 [deploy.pl] INFO: Application successfully deployed.
Running initialize will generate error, you need to fix some hostname in Appconfig.xml and other xml files if deployment process pulls machine name as host name, you need to make it IP for working properly in some cases.
[root@endeca control]# sh initialize_services.sh [11.09.12 00:00:47] SEVERE: Caught exception while querying for defined application list. Occurred while executing line 18 of valid BeanShell script: [[ 15| 16| // If the application is already defined 17| // log an error and exit with code 1 18| if (app.isDefined()) { 19| log.severe("An application already exists with the name, "" + provObj.getAppName() + "". " + 20| "Please use the '--force' option if you want to replace all existing configuration."); 21| System.exit(1); ]] [11.09.12 00:00:47] SEVERE: Caught an exception while invoking method 'run' on object 'AssertNotDefined'. Releasing locks. Caused by java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl invoke0 - null Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script. Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException com.endeca.soleng.eac.toolkit.application.Application isDefined - Caught exception while querying for defined application list. Caused by org.apache.axis.AxisFault org.apache.axis.AxisFault makeFault - ; nested exception is: java.net.ConnectException: Connection refused Caused by java.net.ConnectException java.net.PlainSocketImpl socketConnect - Connection refused
Following command will help you find out where to change.
[root@endeca script]# find /root/apps/Discover/ -type f -exec grep -i "endeca.local" {} ; -print "host": "endeca.local", /endeca/apps/Discover/config/editors_config/services/dataservice.json <property name="workbenchHost" value="endeca.local" /> <property name="repositoryUrl" value="http://endeca.local:8006/ifcr" /> /endeca/apps/Discover/config/script/WorkbenchConfig.xml <host id="ITLHost" hostName="endeca.local" port="8888" /> /endeca/apps/Discover/config/script/DataIngest.xml <host id="ReportGenerationHost" hostName="endeca.local" port="8888" /> <host id="WorkbenchHost" hostName="endeca.local" port="8888" > /endeca/apps/Discover/config/script/ReportGeneration.xml <host id="LiveMDEXHostA" hostName="endeca.local" port="8888" /> /endeca/apps/Discover/config/script/LiveDgraphCluster.xml <host id="AuthoringMDEXHost" hostName="endeca.local" port="8888" /> /endeca/apps/Discover/config/script/AuthoringDgraphCluster.xml <app appName="Discover" eacHost="endeca.local" eacPort="8888" /endeca/apps/Discover/config/script/AppConfig.xml emgr_update --host "endeca.local:8006" --app_name "${ENDECA_PROJECT_NAME}" --action remove_templates emgr_update --host "endeca.local:8006" --app_name "${ENDECA_PROJECT_NAME}" --action set_templates --dir "${WORKING_DIR}/../config/cartridge_templates" /endeca/apps/Discover/control/set_templates.sh emgr_update --host "endeca.local:8006" --action get_templates --prefix "${ENDECA_PROJECT_NAME}" --app_name "${ENDECA_PROJECT_NAME}" --dir "${WORKING_DIR}/../config/cartridge_templates" /endeca/apps/Discover/control/get_templates.sh
Change “endeca.local” to IP of the machine ex: “23.232.325.323”
Make sure that the Tools and Framework is running properly and required directories are given permission and access for “endeca” user.
[root@endeca control]# sh initialize_services.sh Setting EAC provisioning and performing initial setup... [11.09.12 00:16:59] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 00:16:59] INFO: Setting definition for application 'Discover'. [11.09.12 00:16:59] INFO: Setting definition for host 'AuthoringMDEXHost'. [11.09.12 00:16:59] INFO: Setting definition for host 'LiveMDEXHostA'. [11.09.12 00:17:00] INFO: Setting definition for host 'ReportGenerationHost'. [11.09.12 00:17:00] INFO: Setting definition for host 'WorkbenchHost'. [11.09.12 00:17:00] INFO: Setting definition for host 'ITLHost'. [11.09.12 00:17:00] INFO: Setting definition for component 'AuthoringDgraph'. [11.09.12 00:17:00] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgraphs/AuthoringDgraph could not be created for component Discover:AuthoringDgraph. [11.09.12 00:17:00] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgraphs/AuthoringDgraph could not be created for component Discover:AuthoringDgraph. [11.09.12 00:17:00] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/dgraphs/AuthoringDgraph/dgraph_input could not be created for component Discover:AuthoringDgraph. [11.09.12 00:17:00] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/dgraphs/AuthoringDgraph/dgraph_input/updates could not be created for component Discover:AuthoringDgraph. [11.09.12 00:17:00] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgraphs/AuthoringDgraph could not be created for component Discover:AuthoringDgraph. [11.09.12 00:17:00] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_dgidx-output'. [11.09.12 00:17:00] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgidx-output' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host AuthoringMDEXHost. [11.09.12 00:17:00] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_forge-output'. [11.09.12 00:17:00] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_forge-output' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host AuthoringMDEXHost. [11.09.12 00:17:01] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_cumulative-partials'. [11.09.12 00:17:02] 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 AuthoringMDEXHost. [11.09.12 00:17:02] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_dgraph-config'. [11.09.12 00:17:03] 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. [11.09.12 00:17:03] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-dgraph-input'. [11.09.12 00:17:04] 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. [11.09.12 00:17:04] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-cumulative-partials'. [11.09.12 00:17:05] 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. [11.09.12 00:17:05] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-dgraph-config'. [11.09.12 00:17:06] 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. [11.09.12 00:17:06] INFO: Setting definition for component 'DgraphA1'. [11.09.12 00:17:07] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgraphs/DgraphA1 could not be created for component Discover:DgraphA1. [11.09.12 00:17:07] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgraphs/DgraphA1 could not be created for component Discover:DgraphA1. [11.09.12 00:17:07] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/dgraphs/DgraphA1/dgraph_input could not be created for component Discover:DgraphA1. [11.09.12 00:17:07] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/dgraphs/DgraphA1/dgraph_input/updates could not be created for component Discover:DgraphA1. [11.09.12 00:17:07] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgraphs/DgraphA1 could not be created for component Discover:DgraphA1. [11.09.12 00:17:07] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_dgidx-output'. [11.09.12 00:17:08] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgidx-output' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA. [11.09.12 00:17:08] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_forge-output'. [11.09.12 00:17:09] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_forge-output' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host LiveMDEXHostA. [11.09.12 00:17:09] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_cumulative-partials'. [11.09.12 00:17:10] 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. [11.09.12 00:17:10] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_dgraph-config'. [11.09.12 00:17:11] 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. [11.09.12 00:17:12] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_local-dgraph-input'. [11.09.12 00:17:12] 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. [11.09.12 00:17:12] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_local-cumulative-partials'. [11.09.12 00:17:13] 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. [11.09.12 00:17:13] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_local-dgraph-config'. [11.09.12 00:17:14] 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. [11.09.12 00:17:14] INFO: Setting definition for script 'PromoteAuthoringToLive'. [11.09.12 00:17:14] INFO: Setting definition for custom component 'WorkbenchManager'. [11.09.12 00:17:14] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 00:17:14] INFO: Updating definition for host 'ITLHost'. [11.09.12 00:17:14] INFO: [ITLHost] Starting shell utility 'mkpath_temp'. [11.09.12 00:17:16] 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. [11.09.12 00:17:16] INFO: Setting definition for custom component 'IFCR'. [11.09.12 00:17:16] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 00:17:16] INFO: Updating definition for host 'ITLHost'. [11.09.12 00:17:16] INFO: [ITLHost] Starting shell utility 'mkpath_temp'. [11.09.12 00:17:17] 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. [11.09.12 00:17:17] INFO: Setting definition for component 'LogServer'. [11.09.12 00:17:17] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/logservers/LogServer could not be created for component Discover:LogServer. [11.09.12 00:17:17] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/logserver_output could not be created for component Discover:LogServer. [11.09.12 00:17:17] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17: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. [11.09.12 00:17:18] INFO: Setting definition for script 'DaySoFarReports'. [11.09.12 00:17:18] INFO: Setting definition for script 'DailyReports'. [11.09.12 00:17:18] INFO: Setting definition for script 'WeeklyReports'. [11.09.12 00:17:18] INFO: Setting definition for script 'DaySoFarHtmlReports'. [11.09.12 00:17:18] INFO: Setting definition for script 'DailyHtmlReports'. [11.09.12 00:17:18] INFO: Setting definition for script 'WeeklyHtmlReports'. [11.09.12 00:17:18] INFO: Setting definition for component 'WeeklyReportGenerator'. [11.09.12 00:17:18] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/report_generators/WeeklyReportGenerator could not be created for component Discover:WeeklyReportGenerator. [11.09.12 00:17:18] WARNING: Provisioning warning: Directory /endeca/apps/Discover/reports/weekly could not be created for component Discover:WeeklyReportGenerator. [11.09.12 00:17:18] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17: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. [11.09.12 00:17:20] INFO: Setting definition for component 'DailyReportGenerator'. [11.09.12 00:17:20] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/report_generators/DailyReportGenerator could not be created for component Discover:DailyReportGenerator. [11.09.12 00:17:20] WARNING: Provisioning warning: Directory /endeca/apps/Discover/reports/daily could not be created for component Discover:DailyReportGenerator. [11.09.12 00:17:20] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17: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. [11.09.12 00:17:21] INFO: Setting definition for component 'DaySoFarReportGenerator'. [11.09.12 00:17:21] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/report_generators/DaySoFarReportGenerator could not be created for component Discover:DaySoFarReportGenerator. [11.09.12 00:17:21] WARNING: Provisioning warning: Directory /endeca/apps/Discover/reports/daysofar could not be created for component Discover:DaySoFarReportGenerator. [11.09.12 00:17:21] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17: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. [11.09.12 00:17:22] INFO: Setting definition for component 'WeeklyHtmlReportGenerator'. [11.09.12 00:17:23] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/report_generators/WeeklyHtmlReportGenerator could not be created for component Discover:WeeklyHtmlReportGenerator. [11.09.12 00:17:23] WARNING: Provisioning warning: Directory /endeca/apps/Discover/reports/weekly could not be created for component Discover:WeeklyHtmlReportGenerator. [11.09.12 00:17:23] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17:24] 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. [11.09.12 00:17:24] INFO: Setting definition for component 'DailyHtmlReportGenerator'. [11.09.12 00:17:24] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/report_generators/DailyHtmlReportGenerator could not be created for component Discover:DailyHtmlReportGenerator. [11.09.12 00:17:24] WARNING: Provisioning warning: Directory /endeca/apps/Discover/reports/daily could not be created for component Discover:DailyHtmlReportGenerator. [11.09.12 00:17:24] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17:25] 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. [11.09.12 00:17:25] INFO: Setting definition for component 'DaySoFarHtmlReportGenerator'. [11.09.12 00:17:25] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/report_generators/DaySoFarHtmlReportGenerator could not be created for component Discover:DaySoFarHtmlReportGenerator. [11.09.12 00:17:25] WARNING: Provisioning warning: Directory /endeca/apps/Discover/reports/daysofar could not be created for component Discover:DaySoFarHtmlReportGenerator. [11.09.12 00:17:25] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:17:25] 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. [11.09.12 00:17:25] INFO: Setting definition for script 'BaselineUpdate'. [11.09.12 00:17:26] INFO: Setting definition for script 'PartialUpdate'. [11.09.12 00:17:26] INFO: Setting definition for component 'Forge'. [11.09.12 00:17:26] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/forges/Forge could not be created for component Discover:Forge. [11.09.12 00:17:26] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/processing could not be created for component Discover:Forge. [11.09.12 00:17:26] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/forge_output could not be created for component Discover:Forge. [11.09.12 00:17:26] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/processing could not be created for component Discover:Forge. [11.09.12 00:17:26] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/temp could not be created for component Discover:Forge. [11.09.12 00:17:26] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'. [11.09.12 00:17: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. [11.09.12 00:17:27] INFO: [ITLHost] Starting shell utility 'mkpath_temp'. [11.09.12 00:17:28] 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. [11.09.12 00:17:28] INFO: Setting definition for component 'PartialForge'. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/forges/PartialForge could not be created for component Discover:PartialForge. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/partials/processing could not be created for component Discover:PartialForge. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/partials/forge_output could not be created for component Discover:PartialForge. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/partials/processing could not be created for component Discover:PartialForge. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/temp could not be created for component Discover:PartialForge. [11.09.12 00:17:29] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'. [11.09.12 00:17:29] 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. [11.09.12 00:17:29] INFO: [ITLHost] Starting shell utility 'mkpath_cumulative-partials'. [11.09.12 00:17:29] 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. [11.09.12 00:17:29] INFO: Setting definition for component 'Dgidx'. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/logs/dgidxs/Dgidx could not be created for component Discover:Dgidx. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/forge_output could not be created for component Discover:Dgidx. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/dgidx_output could not be created for component Discover:Dgidx. [11.09.12 00:17:29] WARNING: Provisioning warning: Directory /endeca/apps/Discover/data/temp could not be created for component Discover:Dgidx. [11.09.12 00:17:29] INFO: Definition updated. [11.09.12 00:17:29] INFO: Provisioning site from prototype... [11.09.12 00:17:30] SEVERE: Precondition Failed (412): Cannot copy JcrNodeResource, type=endeca/site, superType=null, path=/prototype/default to /sites/Discover: destination exists Occurred while executing line 3 of valid BeanShell script: [[ 1| 2| 3| IFCR.provisionSite(); 4| WorkbenchManager.updateWsConfig(); 5| 6| ]] [11.09.12 00:17:30] SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. Releasing locks. Caused by java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl invoke0 - null Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script. Caused by com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException com.endeca.soleng.eac.toolkit.utility.IFCRUtility execute - Precondition Failed (412): Cannot copy JcrNodeResource, type=endeca/site, superType=null, path=/prototype/default to /sites/Discover: destination exists
Make sure entries in set_template.sh are correct regarding the host and port for the below error
[root@endeca control]# sh initialize_services.sh --force Removing existing application provisioning... [11.09.12 00:56:22] INFO: Removing application. Any active components will be forced to stop. [11.09.12 00:56:22] INFO: Removing Workbench config files. [11.09.12 00:56:22] INFO: [ITLHost] Starting shell utility 'emgr_update_remove_all_settings'. [11.09.12 00:56:24] INFO: Removing definition for custom component 'WorkbenchManager'. [11.09.12 00:56:24] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 00:56:24] INFO: Updating definition for host 'ITLHost'. [11.09.12 00:56:24] INFO: Removing definition for custom component 'IFCR'. [11.09.12 00:56:24] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 00:56:24] INFO: Updating definition for host 'ITLHost'. [11.09.12 00:56:24] INFO: Removing site Discover from IFCR... [11.09.12 00:56:25] INFO: Node did not exist, no deletion necessary: sites-live/Discover [11.09.12 00:56:25] INFO: Finished removing site from IFCR. [11.09.12 00:56:25] INFO: Removing definition for application 'Discover'. [11.09.12 00:56:25] INFO: Application 'Discover' removed. Setting EAC provisioning and performing initial setup... [11.09.12 00:56:28] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 00:56:28] INFO: Setting definition for application 'Discover'. [11.09.12 00:56:28] INFO: Setting definition for host 'AuthoringMDEXHost'. [11.09.12 00:56:29] INFO: Setting definition for host 'LiveMDEXHostA'. [11.09.12 00:56:29] INFO: Setting definition for host 'ReportGenerationHost'. [11.09.12 00:56:29] INFO: Setting definition for host 'WorkbenchHost'. [11.09.12 00:56:29] INFO: Setting definition for host 'ITLHost'. [11.09.12 00:56:29] INFO: Setting definition for component 'AuthoringDgraph'. [11.09.12 00:56:29] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_dgidx-output'. [11.09.12 00:56:30] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_forge-output'. [11.09.12 00:56:32] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_cumulative-partials'. [11.09.12 00:56:32] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_dgraph-config'. [11.09.12 00:56:32] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-dgraph-input'. [11.09.12 00:56:33] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-cumulative-partials'. [11.09.12 00:56:34] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_local-dgraph-config'. [11.09.12 00:56:35] INFO: Setting definition for component 'DgraphA1'. [11.09.12 00:56:36] INFO: Setting definition for script 'PromoteAuthoringToLive'. [11.09.12 00:56:36] INFO: Setting definition for custom component 'WorkbenchManager'. [11.09.12 00:56:36] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 00:56:36] INFO: Updating definition for host 'ITLHost'. [11.09.12 00:56:36] INFO: [ITLHost] Starting shell utility 'mkpath_temp'. [11.09.12 00:56:37] INFO: Setting definition for custom component 'IFCR'. [11.09.12 00:56:37] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 00:56:37] INFO: Updating definition for host 'ITLHost'. [11.09.12 00:56:38] INFO: Setting definition for component 'LogServer'. [11.09.12 00:56:38] INFO: [ReportGenerationHost] Starting shell utility 'mkpath_input'. [11.09.12 00:56:39] INFO: Setting definition for script 'DaySoFarReports'. [11.09.12 00:56:39] INFO: Setting definition for script 'DailyReports'. [11.09.12 00:56:39] INFO: Setting definition for script 'WeeklyReports'. [11.09.12 00:56:39] INFO: Setting definition for script 'DaySoFarHtmlReports'. [11.09.12 00:56:39] INFO: Setting definition for script 'DailyHtmlReports'. [11.09.12 00:56:39] INFO: Setting definition for script 'WeeklyHtmlReports'. [11.09.12 00:56:39] INFO: Setting definition for component 'WeeklyReportGenerator'. [11.09.12 00:56:40] INFO: Setting definition for component 'DailyReportGenerator'. [11.09.12 00:56:40] INFO: Setting definition for component 'DaySoFarReportGenerator'. [11.09.12 00:56:40] INFO: Setting definition for component 'WeeklyHtmlReportGenerator'. [11.09.12 00:56:40] INFO: Setting definition for component 'DailyHtmlReportGenerator'. [11.09.12 00:56:40] INFO: Setting definition for component 'DaySoFarHtmlReportGenerator'. [11.09.12 00:56:41] INFO: Setting definition for script 'BaselineUpdate'. [11.09.12 00:56:41] INFO: Setting definition for script 'PartialUpdate'. [11.09.12 00:56:41] INFO: Setting definition for component 'Forge'. [11.09.12 00:56:41] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'. [11.09.12 00:56:42] INFO: Setting definition for component 'PartialForge'. [11.09.12 00:56:42] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'. [11.09.12 00:56:43] INFO: Setting definition for component 'Dgidx'. [11.09.12 00:56:43] INFO: Definition updated. [11.09.12 00:56:43] INFO: Provisioning site from prototype... [11.09.12 00:56:44] INFO: Finished provisioning site from prototype. [11.09.12 00:56:44] INFO: Uploading config files to Workbench. [11.09.12 00:56:44] INFO: [ITLHost] Starting shell utility 'emgr_update_update_mgr_settings'. [11.09.12 00:56:45] INFO: Finished uploading config files to Workbench. Finished updating EAC. Importing sample content... [11.09.12 00:56:46] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 00:56:47] INFO: Definition has not changed. [11.09.12 00:56:47] INFO: Packaging contents for upload... [11.09.12 00:56:47] INFO: Finished packaging contents. [11.09.12 00:56:47] INFO: Uploading contents to: http://23.232.325.323:8006/ifcr/sites/Discover/ [11.09.12 00:56:49] INFO: Finished uploading contents. Finished importing initial content Importing editors configuration... [11.09.12 00:56:51] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 00:56:51] INFO: Definition has not changed. [11.09.12 00:56:51] INFO: Packaging contents for upload... [11.09.12 00:56:51] INFO: Finished packaging contents. [11.09.12 00:56:51] INFO: Uploading contents to: http://23.232.325.323:8006/ifcr/sites/Discover/configuration/tools/xmgr [11.09.12 00:56:52] INFO: Finished uploading contents. Finished importing editors configuration Importing templates... Removing existing cartridge templates for Discover ERROR: <head> ERROR: Failed to acquire lock. ERROR: Failed to remove app config. Make sure you can connect to http://23.232.325.323.
Clean Run
[endeca@endeca control]$ sh initialize_services.sh --force Removing existing application provisioning... [11.09.12 19:45:06] INFO: Removing application. Any active components will be forced to stop. [11.09.12 19:45:06] INFO: Removing Workbench config files. [11.09.12 19:45:06] INFO: [ITLHost] Starting shell utility 'emgr_update_remove_all_settings'. [11.09.12 19:45:08] INFO: Removing definition for custom component 'WorkbenchManager'. [11.09.12 19:45:08] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 19:45:08] INFO: Updating definition for host 'ITLHost'. [11.09.12 19:45:08] INFO: Removing definition for custom component 'IFCR'. [11.09.12 19:45:08] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 19:45:08] INFO: Updating definition for host 'ITLHost'. [11.09.12 19:45:08] INFO: Removing site Discover from IFCR... [11.09.12 19:45:09] INFO: Node did not exist, no deletion necessary: sites-live/Discover [11.09.12 19:45:09] INFO: Finished removing site from IFCR. [11.09.12 19:45:09] INFO: Removing definition for application 'Discover'. [11.09.12 19:45:09] INFO: Application 'Discover' removed. Setting EAC provisioning and performing initial setup... [11.09.12 19:45:12] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 19:45:12] INFO: Setting definition for application 'Discover'. [11.09.12 19:45:12] INFO: Setting definition for host 'AuthoringMDEXHost'. [11.09.12 19:45:13] INFO: Setting definition for host 'LiveMDEXHostA'. [11.09.12 19:45:13] INFO: Setting definition for host 'ReportGenerationHost'. [11.09.12 19:45:13] INFO: Setting definition for host 'WorkbenchHost'. [11.09.12 19:45:13] INFO: Setting definition for host 'ITLHost'. [11.09.12 19:45:13] INFO: Setting definition for component 'AuthoringDgraph'. [11.09.12 19:45:13] INFO: Setting definition for component 'DgraphA1'. [11.09.12 19:45:14] INFO: Setting definition for script 'PromoteAuthoringToLive'. [11.09.12 19:45:14] INFO: Setting definition for custom component 'WorkbenchManager'. [11.09.12 19:45:14] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 19:45:14] INFO: Updating definition for host 'ITLHost'. [11.09.12 19:45:14] INFO: Setting definition for custom component 'IFCR'. [11.09.12 19:45:14] INFO: Updating provisioning for host 'ITLHost'. [11.09.12 19:45:14] INFO: Updating definition for host 'ITLHost'. [11.09.12 19:45:15] INFO: Setting definition for component 'LogServer'. [11.09.12 19:45:15] INFO: Setting definition for script 'DaySoFarReports'. [11.09.12 19:45:15] INFO: Setting definition for script 'DailyReports'. [11.09.12 19:45:15] INFO: Setting definition for script 'WeeklyReports'. [11.09.12 19:45:15] INFO: Setting definition for script 'DaySoFarHtmlReports'. [11.09.12 19:45:15] INFO: Setting definition for script 'DailyHtmlReports'. [11.09.12 19:45:15] INFO: Setting definition for script 'WeeklyHtmlReports'. [11.09.12 19:45:15] INFO: Setting definition for component 'WeeklyReportGenerator'. [11.09.12 19:45:16] INFO: Setting definition for component 'DailyReportGenerator'. [11.09.12 19:45:16] INFO: Setting definition for component 'DaySoFarReportGenerator'. [11.09.12 19:45:16] INFO: Setting definition for component 'WeeklyHtmlReportGenerator'. [11.09.12 19:45:16] INFO: Setting definition for component 'DailyHtmlReportGenerator'. [11.09.12 19:45:16] INFO: Setting definition for component 'DaySoFarHtmlReportGenerator'. [11.09.12 19:45:17] INFO: Setting definition for script 'BaselineUpdate'. [11.09.12 19:45:17] INFO: Setting definition for script 'PartialUpdate'. [11.09.12 19:45:17] INFO: Setting definition for component 'Forge'. [11.09.12 19:45:17] INFO: Setting definition for component 'PartialForge'. [11.09.12 19:45:17] INFO: Setting definition for component 'Dgidx'. [11.09.12 19:45:18] INFO: Definition updated. [11.09.12 19:45:18] INFO: Provisioning site from prototype... [11.09.12 19:45:18] INFO: Finished provisioning site from prototype. [11.09.12 19:45:18] INFO: Uploading config files to Workbench. [11.09.12 19:45:18] INFO: [ITLHost] Starting shell utility 'emgr_update_update_mgr_settings'. [11.09.12 19:45:19] INFO: Finished uploading config files to Workbench. Finished updating EAC. Importing sample content... [11.09.12 19:45:21] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 19:45:21] INFO: Definition has not changed. [11.09.12 19:45:21] INFO: Packaging contents for upload... [11.09.12 19:45:21] INFO: Finished packaging contents. [11.09.12 19:45:21] INFO: Uploading contents to: http://23.232.325.323:8006/ifcr/sites/Discover/ [11.09.12 19:45:22] INFO: Finished uploading contents. Finished importing initial content Importing editors configuration... [11.09.12 19:45:24] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 19:45:24] INFO: Definition has not changed. [11.09.12 19:45:24] INFO: Packaging contents for upload... [11.09.12 19:45:24] INFO: Finished packaging contents. [11.09.12 19:45:24] INFO: Uploading contents to: http://23.232.325.323:8006/ifcr/sites/Discover/configuration/tools/xmgr [11.09.12 19:45:25] 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 [endeca@endeca control]$ ================================================================================================================================================ Running baseline [endeca@endeca control]$ sh load_baseline_test_data.sh Setting flag 'baseline_data_ready' in the EAC. [endeca@endeca control]$ sh baseline_update.sh [11.09.12 19:46:56] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 19:46:57] INFO: Definition has not changed. [11.09.12 19:46:57] INFO: Starting baseline update script. [11.09.12 19:46:57] INFO: Acquired lock 'update_lock'. [11.09.12 19:46:57] INFO: [ITLHost] Starting shell utility 'move_-_to_processing'. [11.09.12 19:46:57] INFO: [ITLHost] Starting copy utility 'fetch_config_to_input_for_forge_Forge'. [11.09.12 19:46:58] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_Forge'. [11.09.12 19:47:00] INFO: [ITLHost] Starting component 'Forge'. [11.09.12 19:47:05] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_Dgidx'. [11.09.12 19:47:06] INFO: [ITLHost] Starting component 'Dgidx'. [11.09.12 19:47:29] INFO: [AuthoringMDEXHost] Starting copy utility 'copy_index_to_host_AuthoringMDEXHost_AuthoringDgraph'. [11.09.12 19:47:30] INFO: Applying index to dgraphs in restart group 'A'. [11.09.12 19:47:30] INFO: [AuthoringMDEXHost] Starting shell utility 'mkpath_dgraph-input-new'. [11.09.12 19:47:31] INFO: [AuthoringMDEXHost] Starting copy utility 'copy_index_to_temp_new_dgraph_input_dir_for_AuthoringDgraph'. [11.09.12 19:47:32] INFO: [AuthoringMDEXHost] Starting shell utility 'move_dgraph-input_to_dgraph-input-old'. [11.09.12 19:47:32] INFO: [AuthoringMDEXHost] Starting shell utility 'move_dgraph-input-new_to_dgraph-input'. [11.09.12 19:47:34] INFO: [AuthoringMDEXHost] Starting backup utility 'backup_log_dir_for_component_AuthoringDgraph'. [11.09.12 19:47:35] INFO: [AuthoringMDEXHost] Starting component 'AuthoringDgraph'. [11.09.12 19:47:41] INFO: Publishing Workbench 'authoring' configuration to MDEX 'AuthoringDgraph' [11.09.12 19:47:41] INFO: Pushing authoring content to dgraph: AuthoringDgraph [11.09.12 19:47:42] INFO: Finished pushing content to dgraph. [11.09.12 19:47:42] INFO: [AuthoringMDEXHost] Starting shell utility 'rmdir_dgraph-input-old'. [11.09.12 19:47:42] INFO: [LiveMDEXHostA] Starting shell utility 'cleanDir_local-dgraph-input'. [11.09.12 19:47:43] INFO: [LiveMDEXHostA] Starting copy utility 'copy_index_to_host_LiveMDEXHostA_DgraphA1'. [11.09.12 19:47:44] INFO: Applying index to dgraphs in restart group '1'. [11.09.12 19:47:44] INFO: [LiveMDEXHostA] Starting shell utility 'mkpath_dgraph-input-new'. [11.09.12 19:47:44] INFO: [LiveMDEXHostA] Starting copy utility 'copy_index_to_temp_new_dgraph_input_dir_for_DgraphA1'. [11.09.12 19:47:46] INFO: [LiveMDEXHostA] Starting shell utility 'move_dgraph-input_to_dgraph-input-old'. [11.09.12 19:47:46] INFO: [LiveMDEXHostA] Starting shell utility 'move_dgraph-input-new_to_dgraph-input'. [11.09.12 19:47:47] INFO: [LiveMDEXHostA] Starting backup utility 'backup_log_dir_for_component_DgraphA1'. [11.09.12 19:47:49] INFO: [LiveMDEXHostA] Starting component 'DgraphA1'. [11.09.12 19:47:55] INFO: Publishing Workbench 'live' configuration to MDEX 'DgraphA1' [11.09.12 19:47:55] INFO: Pushing live content to dgraph: DgraphA1 [11.09.12 19:47:55] INFO: Finished pushing content to dgraph. [11.09.12 19:47:55] INFO: [LiveMDEXHostA] Starting shell utility 'rmdir_dgraph-input-old'. [11.09.12 19:47:55] INFO: [ITLHost] Starting copy utility 'fetch_post_forge_dimensions_to_ws_temp_dir_-root-data-endeca-apps-Discover-data-workbench-temp'. [11.09.12 19:47:55] INFO: Uploading post-Forge Dimensions to Workbench. [11.09.12 19:47:55] INFO: [ITLHost] Starting shell utility 'emgr_update_set_post_forge_dims'. [11.09.12 19:47:56] INFO: [ITLHost] Starting backup utility 'backup_state_dir_for_component_Forge'. [11.09.12 19:47:58] INFO: [ITLHost] Starting backup utility 'backup_index_Dgidx'. [11.09.12 19:47:59] INFO: [ReportGenerationHost] Starting backup utility 'backup_log_dir_for_component_LogServer'. [11.09.12 19:48:00] INFO: [ReportGenerationHost] Starting component 'LogServer'. [11.09.12 19:48:01] INFO: Released lock 'update_lock'. [11.09.12 19:48:01] INFO: Baseline update script finished. [endeca@endeca control]$
Running promote script
[endeca@endeca control]$ sh promote_content.sh [11.09.12 19:48:53] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.09.12 19:48:54] INFO: Definition has not changed. [11.09.12 19:48:54] INFO: Promoting IFCR content... [11.09.12 19:48:55] INFO: Finished promoting IFCR content.
Connect kubernetes pod to a GCS bucket using JS
To connect from a Kubernetes pod to a Google Cloud Storage (GCS)…Easiest way to run an LLM locally on your Mac
I recently sought an efficient method for local experimentation with Language Model…EKS cluster using an existing VPC
The eksctl command line tool can create a cluster by either command-line options or…kubectl Unable to connect to the server
When working with Kubernetes if you are getting Unable to conntect to…