oracle / docker-images

Official source of container configurations, images, and examples for Oracle products and projects
https://developer.oracle.com/use-cases/#containers
Universal Permissive License v1.0
6.56k stars 5.43k forks source link

Fails at [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers] #2855

Open shanmugaraj09 opened 2 months ago

shanmugaraj09 commented 2 months ago

Hi , I am trying to run OAS container from Image built (OAS 6.4) as mentioned in this github repo. my container fails to run at end [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:46:23.185+0000 Starting all Servers ... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:46:23.185+0000 See log file: /u01/oracle/config2024-08-28_07-35-26AM/startallservers.log [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.624+0000 Failed single shot step: Start all Servers with: Execution of /u01/oracle/user_projects/domains/bi/bitools/bin/start.sh failed with exit value 3 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.624+0000 Current log files for failed step Start all Servers [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.624+0000 -------------------- [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.624+0000 Log file: /u01/oracle/config2024-08-28_07-35-26AM/startallservers.log [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.624+0000 -------------------- [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Starting domain; Using domainHome: /u01/oracle/user_projects/domains/bi ... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 /u01/oracle/bi/modules/oracle.bi.sysman/scripts/start.sh: line 107: hostname: command not found

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Initializing WebLogic Scripting Tool (WLST) ...

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Welcome to WebLogic Server Administration Scripting Shell

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Type help() for help on available commands

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Requesting credentials ... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Enter Weblogic login details at prompt [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Weblogic Username: Weblogic Password: <Aug 28, 2024 7:46:29 AM GMT> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.> [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 <Aug 28, 2024 7:46:29 AM GMT> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.> [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 <Aug 28, 2024 7:46:29 AM GMT> <Using the configured custom SSL Hostname Verifier implementation: weblogic.security.utils.SSLWLSHostnameVerifier$NullHostnameVerifier.> [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 Node manager not running. Starting it... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 NMProcess: NODEMGR_HOME is already set to /u01/oracle/user_projects/domains/bi/nodemanager [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 NMProcess: CLASSPATH=/u01/jdk/lib/tools.jar:/u01/oracle/wlserver/server/lib/weblogic.jar:/u01/oracle/wlserver/../oracle_common/modules/thirdparty/ant-contrib-1.0b3.jar:/u01/oracle/wlserver/modules/features/oracle.wls.common.nodemanager.jar::/u01/jdk/lib/tools.jar:/u01/oracle/wlserver/modules/features/wlst.wls.classpath.jar:/u01/oracle/wlserver/..:/u01/oracle/wlserver/modules/features/oracle.wls.common.grizzly.jar [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 NMProcess: + /u01/jdk/bin/java -server -Djava.security.egd=file:/dev/./urandom -Djdk.tls.ephemeralDHKeySize=2048 -Dcoherence.home=/u01/oracle/wlserver/../coherence -Dbea.home=/u01/oracle/wlserver/.. -DNodeManagerHome=/u01/oracle/user_projects/domains/bi/nodemanager -DLogToStderr=false -DQuitEnabled=true -Dweblogic.RootDirectory=/u01/oracle/user_projects/domains/bi -Doracle.security.jps.config=/u01/oracle/user_projects/domains/bi/config/fmwconfig/jps-config-jse.xml -Dcommon.components.home=/u01/oracle/oracle_common -Dopss.version=12.2.1.3 -Dweblogic.RootDirectory=/u01/oracle/user_projects/domains/bi -Doracle.bi.home.dir=/u01/oracle/bi -Doracle.bi.config.dir=/u01/oracle/user_projects/domains/bi/config/fmwconfig/biconfig -Doracle.bi.environment.dir=/u01/oracle/user_projects/domains/bi/config/fmwconfig/bienv -Doracle.bi.12c=true -Ddomain.home=/u01/oracle/user_projects/domains/bi -Dfile.encoding=utf-8 -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -Djava.security.policy=/u01/oracle/wlserver/server/lib/weblogic.policy -Dweblogic.nodemanager.JavaHome=/u01/jdk weblogic.NodeManager -v [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 NMProcess: Aug 28, 2024 7:46:30 AM oracle.security.jps.internal.config.xml.XmlConfigurationFactory validateFileLocation [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.625+0000 NMProcess: INFO: JPS Config: /u01/oracle/user_projects/domains/bi/config/fmwconfig/jps-config-jse.xml [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NMProcess: Aug 28, 2024 7:46:31 AM oracle.security.opss.internal.runtime.ServiceContextManagerImpl getContext [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NMProcess: WARNING: Bootstrap services are used by OPSS internally and clients should never need to directly read/write bootstrap credentials. If required, use Wlst or configuration management interfaces. [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Storing encrypted NodeManager credentials: /u01/oracle/user_projects/domains/bi/nodemanager/nmUserConfig.properties [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Creating new key... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NodeManager started

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Reading domain... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 /Servers/AdminServer/ListenPort=9500 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Accessing admin server using URL t3://:9500 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Starting AdminServer ... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NMProcess: Aug 28, 2024 7:46:55 AM oracle.bi.cam.obis.plugin.nodemanager.OBISSystemComponentManager getOBISCamProperties [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NMProcess: WARNING: Could not open file: /u01/oracle/user_projects/domains/bi/config/fmwconfig/biconfig/OBIS/cam.properties [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NMProcess: Aug 28, 2024 7:46:55 AM oracle.bi.cam.obis.plugin.nodemanager.OBISSystemComponentManager initStaticMembers [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 NMProcess: INFO: Seconds between OBIS service port checks: 5 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 nmStart(AdminServer) succeeded [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Start Admin Server connect Exception caught Error occurred while performing connect : Error getting the initial context. There is no server running at t3://:9500 : Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms. [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 no host: t3://:9500 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Use dumpStack() to view the full stacktrace : [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Unable to connect to AdminServer on host:

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.626+0000 Fatal: Failed to start one or more Servers (return 3)

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Domain status; Using domainHome: /u01/oracle/user_projects/domains/bi ... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 /u01/oracle/bi/modules/oracle.bi.sysman/scripts/status.sh: line 59: hostname: command not found

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Initializing WebLogic Scripting Tool (WLST) ...

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Welcome to WebLogic Server Administration Scripting Shell

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Type help() for help on available commands

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 <Aug 28, 2024 7:47:48 AM GMT> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.> [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 <Aug 28, 2024 7:47:48 AM GMT> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG128 to HMACDRBG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.> [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 <Aug 28, 2024 7:47:48 AM GMT> <Using the configured custom SSL Hostname Verifier implementation: weblogic.security.utils.SSLWLSHostnameVerifier$NullHostnameVerifier.> [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 /Servers/AdminServer/ListenPort=9500 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Accessing admin server using URL t3://:9500 [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Requesting credentials ... [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Enter Weblogic login details at prompt [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Weblogic Username: Weblogic Password: Status of Domain: /u01/oracle/user_projects/domains/bi [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 NodeManager (:9506:SSL): RUNNING

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.627+0000 Name Type Machine Restart Int Max Restart Status [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 ---- ---- ------- ----------- ----------- ------ [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 AdminServer Server unknown unknown Unknown [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 bi_server1 Server 05c9fc1662b2 unknown unknown Unknown [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 obips1 OBIPS 05c9fc1662b2 3600 2 Unknown [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 obijh1 OBIJH 05c9fc1662b2 3600 2 Unknown [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 obiccs1 OBICCS 05c9fc1662b2 3600 2 Unknown [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 obisch1 OBISCH 05c9fc1662b2 3600 2 Unknown [CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 obis1 OBIS 05c9fc1662b2 3600 2 Unknown

[CONFIG] [Oracle_Analytics_Configuration] [Start all Servers]:2024-08-28T07:47:49.628+0000 --------------------

[CONFIG] [Oracle_Analytics_Configuration]:Zipping up config assistant log files to /u01/oracle/user_projects/domains/bi/bilogs/bieeconfiglogs_2024-08-28_07-35-26AM.zip [CONFIG] [Oracle_Analytics_Configuration]:Zipping up the following log files and directories: /u01/oracle/install2024-08-28_07-35-26AM.log /u01/oracle/config2024-08-28_07-35-26AM

[CONFIG] [Oracle_Analytics_Configuration]:Completed zipping up log files to /u01/oracle/user_projects/domains/bi/bilogs/bieeconfiglogs_2024-08-28_07-35-26AM.zip on host 05c9fc1662b2 [CONFIG] [Oracle_Analytics_Configuration]:Run /u01/oracle/user_projects/domains/bi/bitools/bin/diagnostic_dump.sh to get full diagnostics Configuration:Oracle_Analytics_Configuration failed Error while running Configuration. The configuration of Oracle Fusion Middleware 12c Infrastructure failed.

shanmugaraj09 commented 2 months ago

i feel this is the actual error start.sh: line 107: hostname: command not found

shanmugaraj09 commented 2 months ago

@padambengani can you help here ? i am facing this issue while building the OAS image