Closed rssh22 closed 7 years ago
can you do it for wls_machine first.
security is always tricky , did you change something which requires a restart of the adminserver.
Hi,
I didn't make any change on the domain. I just create the domain from scratch.
I've tried wls_machine first with a similar error:
Debug: Prefetching simple resources for wls_machine
Debug: index wls_machine
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Dynamically-bound server lookup failed, falling back to server setting
Debug: Dynamically-bound port lookup failed; falling back to masterport setting
Debug: Closing connection for https://vm-lab-linux-1.msc.es:8140
Debug: Creating new connection for https://vm-lab-linux-1.msc.es:8140
Debug: Starting connection for https://vm-lab-linux-1.msc.es:8140
Debug: Caching connection for https://vm-lab-linux-1.msc.es:8140
Debug: Executing: wlstScript with action index
Debug: domain found wld-pro-04
Prepare to run: /tmp/wlstScript20170309-23570-1qpfem4.py,bea,wld-pro-04,/middleware/wld-pro-04/wl1036/wlserver,weblogic,welcome1,t3://puppet-pil00.msc.es:10400
vvv===================================================================
m = ls('/Machines',returnMap='true')
f = open_file("name;machinetype;nmtype;listenaddress;listenport;domain")
for token in m:
print '___'+token+'___'
cd('/Machines/'+token)
type = get('Type')
cd('NodeManager/'+token)
listenAddress = get('ListenAddress')
if not (listenAddress):
listenAddress = ''
add_index_entry(f, [domain+'/'+token,type,get('NMType'),listenAddress,str(get('ListenPort')),domain])
f.close()
report_back_success()
^^^====================================================================
Debug: no custom trust
Info: Starting the wls daemon for domain wld-pro-04
Debug: Defining common methods...
Debug: Dynamically-bound server lookup failed, falling back to server setting
Debug: Dynamically-bound port lookup failed; falling back to masterport setting
Debug: Using cached connection for https://vm-lab-linux-1.msc.es:8140
Debug: Caching connection for https://vm-lab-linux-1.msc.es:8140
Info: Executing wls-script /tmp/wlstCommonScript.py20170309-23570-5tkr6d
Info: Executing wls-script /tmp/wlstScript20170309-23570-1qpfem4.py with timeout = 120
Debug: Passing domain wld-pro-04
Debug: Passing use_default_value_when_empty False
Debug: Passing credentials to WLST
Info: Connecting to wls on url t3://puppet-pil00.msc.es:10400
Debug: Oracle Corporation SunOS 5.11 11.2 June 2014 [00]
Debug: CLASSPATH=/middleware/wld-pro-04/wl1036/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/middleware/wld-pro-04/wl1036/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/jdk/instances/jdk1.7.0/lib/tools.jar:/middleware/wld-pro-04/wl1036/wlserver/server/lib/weblogic_sp.jar:/middleware/wld-pro-04/wl1036/wlserver/server/lib/weblogic.jar:/middleware/wld-pro-04/wl1036/modules/features/weblogic.server.modules_10.3.6.0.jar:/middleware/wld-pro-04/wl1036/wlserver/server/lib/webservices.jar:/middleware/wld-pro-04/wl1036/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/middleware/wld-pro-04/wl1036/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:
Debug:
Debug: PATH=/middleware/wld-pro-04/wl1036/wlserver/server/bin:/middleware/wld-pro-04/wl1036/modules/org.apache.ant_1.7.1/bin:/usr/jdk/instances/jdk1.7.0/jre/bin:/usr/jdk/instances/jdk1.7.0/bin:/usr/bin:/usr/sbin
Debug:
Debug: Your environment has been set.
Debug:
Debug: Initializing WebLogic Scripting Tool (WLST) ...
Debug:
Debug: Welcome to WebLogic Server Administration Scripting Shell
Debug:
Debug: Type help() for help on available commands
Debug:
Debug: wls:/offline> wls:/offline> wls:/offline> wls:/offline> wls:/offline> wls:/offline> Connecting to t3://puppet-pil00.msc.es:10400 with userid weblogic ...
Debug: Successfully connected to Admin Server 'wls-pro-04-sa-adm-n0' that belongs to domain 'wld-pro-04'.
Debug:
Debug: Warning: An insecure protocol was used to connect to the
Debug: server. To ensure on-the-wire security, the SSL port or
Debug: Admin port should be used instead.
Debug:
Debug: wls:/wld-pro-04/serverConfig> dr-- puppet-pil00
Debug:
Debug: Storing state
Debug: Stored state in 3.87 seconds
Error: Failed to apply catalog: timeout on reading expected output from daemon process.
Debug: Dynamically-bound server lookup failed, falling back to report_server setting
Debug: Dynamically-bound port lookup failed; falling back to report_port setting
Debug: Closing connection for https://vm-lab-linux-1.msc.es:8140
Debug: Creating new connection for https://vm-lab-linux-1.msc.es:8140
Debug: Starting connection for https://vm-lab-linux-1.msc.es:8140
Debug: Caching connection for https://vm-lab-linux-1.msc.es:8140
Debug: Closing connection for https://vm-lab-linux-1.msc.es:8140
ok but this helps
so it can be that it cannot write this output file .
what you can do is adding debug statements to wls_index of wls_machines https://github.com/biemond/biemond-orawls/blob/master/files/providers/wls_machine/index.py.erb
or run this yourself in wlst.sh
m = ls('/Machines',returnMap='true')
f = open_file("name;machinetype;nmtype;listenaddress;listenport;domain")
for token in m:
print '___'+token+'___'
cd('/Machines/'+token)
type = get('Type')
cd('NodeManager/'+token)
listenAddress = get('ListenAddress')
if not (listenAddress):
listenAddress = ''
add_index_entry(f, [domain+'/'+token,type,get('NMType'),listenAddress,str(get('ListenPort')),domain])
f.close()
Hi Biemond,
YES!!! I haven't set the log_dir parameter of the orawls::domain class.
Thanks again!!!
Raúl
Hi,
I've followed the next sequence of creation events:
in step 6. create a wls_user i'm getting a timeout error.
Nodemanager and admin server are up & running properly: root@puppet-pil00:/domains/wld-pro-04/config# netstat -na |grep 10400 ::ffff:10.15.7.104.10400 . 0 0 128000 0 LISTEN root@puppet-pil00:/domains/wld-pro-04/config# netstat -na |grep 5104 ::ffff:10.15.7.104.5104 . 0 0 128000 0 LISTEN
I need assistance to trace this error.
Thanks in advance,
Raúl