kapil12
asked on
Not able to start the server with Websphere 8 failing with error
Hi,
I'm trying to start the Websphere 8 on solaris 10 64 bit machine , it is throwing -
./startServer.sh server1
Failed to invoke runConfigActions script, /opt/IBM/WebSphere/AppServ er/profile s/AppSrv01 /bin/runCo nfigAction s.sh
If I run the runConfigActions.sh from AppServer/bin - it is giving
java.io.IOException: Cannot run program "chmod": error=12, Not enough space
at java.lang.ProcessBuilder.s tart(Proce ssBuilder. java:460)
at java.lang.Runtime.exec(Run time.java: 593)
at java.lang.Runtime.exec(Run time.java: 466)
at com.ibm.ws.postinstall.Lau nchUnified PostInstal ler.update Permission sForNonWin dows(Launc hUnifiedPo stInstalle r.java:111 )
at com.ibm.ws.postinstall.Lau nchUnified PostInstal ler.getLog Name(Launc hUnifiedPo stInstalle r.java:105 1)
at com.ibm.ws.postinstall.Lau nchUnified PostInstal ler.runPos tinstaller (LaunchUni fiedPostIn staller.ja va:133)
at com.ibm.ws.postinstall.Lau nchUnified PostInstal ler.mainFo rInProcess Callers(La unchUnifie dPostInsta ller.java: 1095)
at com.ibm.ws.postinstall.run ConfigActi ons.RunCon figActions .runConfig Actionsfor OneProduct (RunConfig Actions.ja va:208)
at com.ibm.ws.postinstall.run ConfigActi ons.RunCon figActions .main(RunC onfigActio ns.java:11 9)
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.fork AndExec(Na tive Method)
at java.lang.UNIXProcess.<ini t>(UNIXPro cess.java: 53)
at java.lang.ProcessImpl.star t(ProcessI mpl.java:6 5)
at java.lang.ProcessBuilder.s tart(Proce ssBuilder. java:453)
... 8 more
java.io.IOException: Cannot run program "chmod": error=12, Not enough space
at java.lang.ProcessBuilder.s tart(Proce ssBuilder. java:460)
at java.lang.Runtime.exec(Run time.java: 593)
at java.lang.Runtime.exec(Run time.java: 466)
at com.ibm.ws.postinstall.run ConfigActi ons.RunCon figActions .updatePer missionsFo rNonWindow s(RunConfi gActions.j ava:180)
at com.ibm.ws.postinstall.run ConfigActi ons.RunCon figActions .main(RunC onfigActio ns.java:14 6)
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.fork AndExec(Na tive Method)
at java.lang.UNIXProcess.<ini t>(UNIXPro cess.java: 53)
at java.lang.ProcessImpl.star t(ProcessI mpl.java:6 5)
at java.lang.ProcessBuilder.s tart(Proce ssBuilder. java:453)
Please suggest some way to resolve this.
I'm trying to start the Websphere 8 on solaris 10 64 bit machine , it is throwing -
./startServer.sh server1
Failed to invoke runConfigActions script, /opt/IBM/WebSphere/AppServ
If I run the runConfigActions.sh from AppServer/bin - it is giving
java.io.IOException: Cannot run program "chmod": error=12, Not enough space
at java.lang.ProcessBuilder.s
at java.lang.Runtime.exec(Run
at java.lang.Runtime.exec(Run
at com.ibm.ws.postinstall.Lau
at com.ibm.ws.postinstall.Lau
at com.ibm.ws.postinstall.Lau
at com.ibm.ws.postinstall.Lau
at com.ibm.ws.postinstall.run
at com.ibm.ws.postinstall.run
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.fork
at java.lang.UNIXProcess.<ini
at java.lang.ProcessImpl.star
at java.lang.ProcessBuilder.s
... 8 more
java.io.IOException: Cannot run program "chmod": error=12, Not enough space
at java.lang.ProcessBuilder.s
at java.lang.Runtime.exec(Run
at java.lang.Runtime.exec(Run
at com.ibm.ws.postinstall.run
at com.ibm.ws.postinstall.run
Caused by: java.io.IOException: error=12, Not enough space
at java.lang.UNIXProcess.fork
at java.lang.UNIXProcess.<ini
at java.lang.ProcessImpl.star
at java.lang.ProcessBuilder.s
Please suggest some way to resolve this.
ASKER
Yes Websphere installed as a root.
Files are owned by root and after running versionInfo.sh -
reinevm01: # ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.40, dated 3/20/11
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
IBM WebSphere Product Installation Status Report
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Report at date and time July 10, 2012 11:09:38 AM EDT
Installation
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Product Directory /opt/IBM/WebSphere/AppServ er
Version Directory /opt/IBM/WebSphere/AppServ er/propert ies/versio n
DTD Directory /opt/IBM/WebSphere/AppServ er/propert ies/versio n/dtd
Log Directory /var/ibm/InstallationManag er/logs
Product List
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
BASE installed
Installed Product
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Name IBM WebSphere Application Server
Version 8.0.0.0
ID BASE
Build Level n1118.03
Build Date 5/3/11
Architecture SPARC (64 bit)
Installed Features IBM 64-bit SDK for Java, Version 6
EJBDeploy tool for pre-EJB 3.0 modules
Embeddable EJB container
Stand-alone thin clients and resource adapters
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
End Installation Status Report
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Files are owned by root and after running versionInfo.sh -
reinevm01: # ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.40, dated 3/20/11
--------------------------
IBM WebSphere Product Installation Status Report
--------------------------
Report at date and time July 10, 2012 11:09:38 AM EDT
Installation
--------------------------
Product Directory /opt/IBM/WebSphere/AppServ
Version Directory /opt/IBM/WebSphere/AppServ
DTD Directory /opt/IBM/WebSphere/AppServ
Log Directory /var/ibm/InstallationManag
Product List
--------------------------
BASE installed
Installed Product
--------------------------
Name IBM WebSphere Application Server
Version 8.0.0.0
ID BASE
Build Level n1118.03
Build Date 5/3/11
Architecture SPARC (64 bit)
Installed Features IBM 64-bit SDK for Java, Version 6
EJBDeploy tool for pre-EJB 3.0 modules
Embeddable EJB container
Stand-alone thin clients and resource adapters
--------------------------
End Installation Status Report
--------------------------
and you were "root" when you tried to start it, right?
- from the AppServer/bin directory, what is the output of:
./manageprofiles.sh -listProfiles
and then
./manageprofiles.sh -getDefaultName
Thanks!
- from the AppServer/bin directory, what is the output of:
./manageprofiles.sh -listProfiles
and then
./manageprofiles.sh -getDefaultName
Thanks!
By the way, did you know that some fixes exist for 8.0 already?
Did you know that you can use the Installation Manager to update the AppServer to 8.0.0.3?
http://www.ibm.com/support/docview.wss?uid=swg27009661
Did you know that you can use the Installation Manager to update the AppServer to 8.0.0.3?
http://www.ibm.com/support/docview.wss?uid=swg27009661
ASKER
okay.
Since today morning, server starts working and able to create profile
but got another error -
Error occurred during initialization of VM
Could not reserve enough space for object heap
For you reference, I had attached the screen shot of my total disk
space and swap -l to know total swap space used. Could you please
suggest how much to allocate the swap space to WAS and how to do ?
It seems error is related to out of swap space.
Kindly let me know if you need any other information
Since today morning, server starts working and able to create profile
but got another error -
Error occurred during initialization of VM
Could not reserve enough space for object heap
For you reference, I had attached the screen shot of my total disk
space and swap -l to know total swap space used. Could you please
suggest how much to allocate the swap space to WAS and how to do ?
It seems error is related to out of swap space.
Kindly let me know if you need any other information
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
okay thanks. Could you please help me in knowing the values of Intial and Max heap sizes need to set in console. Since these fields are blank and nothing is present.
I'm attaching server.xml, which will help you in knowing the adequate amount in setting up heap.
Also I forget to attach swap space and total disk space. Let me know if you need any other info.
server.xml
Swap.doc
I'm attaching server.xml, which will help you in knowing the adequate amount in setting up heap.
Also I forget to attach swap space and total disk space. Let me know if you need any other info.
server.xml
Swap.doc
ASKER
I had set Intial heap size to 256 and Max heap size to 512 MB. Is it correct according to configuration I attached in previous comments ?
Secondly On th same panel there is Runtime tab ,there Max heap size mentioned by default is 227 and Current heap size mentioned is 216, so these heap sizes need to be change or it should be the same.
Please suggest. Let me know if you need any other info.
Secondly On th same panel there is Runtime tab ,there Max heap size mentioned by default is 227 and Current heap size mentioned is 216, so these heap sizes need to be change or it should be the same.
Please suggest. Let me know if you need any other info.
When the fields are blank, then WebSphere uses the default values.
Your choice of Initial and Max heapsize should be made based upon your specific environment.
When you changed the values to 256 & 512 MB, did you see any improvement in the symptoms when you started your application server?
How many applications have you deployed?
How long running is your application server?
How long running is your application?
How much physical memory do you have on your machine?
Your choice of Initial and Max heapsize should be made based upon your specific environment.
When you changed the values to 256 & 512 MB, did you see any improvement in the symptoms when you started your application server?
How many applications have you deployed?
How long running is your application server?
How long running is your application?
How much physical memory do you have on your machine?
ASKER
Yes I tried in updating even more than 256 & 512. I specified 512 as Intial and max as 1024.
Except WAS no other App is deployed on this machine.
App server is running for more than 12 hours but it has been restarted several times
Physical memory -
# /usr/sbin/prtconf | grep Memory
prtconf: devinfo facility not available
Memory size: 130848 Megabytes
Since now I haven't face any heap error since morning. But will these sizes are recommended to use. What you say ?
Except WAS no other App is deployed on this machine.
App server is running for more than 12 hours but it has been restarted several times
Physical memory -
# /usr/sbin/prtconf | grep Memory
prtconf: devinfo facility not available
Memory size: 130848 Megabytes
Since now I haven't face any heap error since morning. But will these sizes are recommended to use. What you say ?
ASKER
One more question since you really put your efforts to resolve the above issue. I got struck while Installing web server plugin as to set proxy with WAS 8.0
I downloaded the WAS 7.0 plugin for WIN 2K8 32 bit - C1G0RML and installed on WIN2K8 32 bit machine using the GUI wizard. At the end while finishing I'm getting partial success error and plugin-cfg file is not getting generated on profile_install_root /config/cells/cell_name /nodes/node_name /servers/Web_server_name
Error -
(Jul 12, 2012 11:32:23 AM), Process, com.ibm.ws.install.ni.ismp .installto olkitbridg e.ISMPInst allToolkit BridgeForN IFramework , wrn, Config action failed: 99SBootStrapPluginsIIS7 - C:\Program Files\IBM\WebSphere\Plugin s\properti es\version \nif\confi g\install\ 99SBootStr apPluginsI IS7.ant
Please suggest what should I do ?
I downloaded the WAS 7.0 plugin for WIN 2K8 32 bit - C1G0RML and installed on WIN2K8 32 bit machine using the GUI wizard. At the end while finishing I'm getting partial success error and plugin-cfg file is not getting generated on profile_install_root /config/cells/cell_name /nodes/node_name /servers/Web_server_name
Error -
(Jul 12, 2012 11:32:23 AM), Process, com.ibm.ws.install.ni.ismp
Please suggest what should I do ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
okay I will keep same value - Intial and Max heap.
I'm getting partial success error -
I'm trying to install plugin using IIS 7 as web server on windows 2k8 32 bit. However WAS 8.0 has been installed successfully. I'm trying to use WAS 7 plugin module to generate xml file on APP Server machine having WAS 8 installed.
Attached logs -
C:\Program Files\IBM\WebSphere\Plugin s1\logs\in stall\log. txt
log.txt
I'm getting partial success error -
I'm trying to install plugin using IIS 7 as web server on windows 2k8 32 bit. However WAS 8.0 has been installed successfully. I'm trying to use WAS 7 plugin module to generate xml file on APP Server machine having WAS 8 installed.
Attached logs -
C:\Program Files\IBM\WebSphere\Plugin
log.txt
Looking at the log file,
line 149 can / should be ignored. IIS doesn't exist on your OS
The reason for the INSTCONFPARTIALSUCCESS is identified in lines 151-155, which identify that some manual steps are required in order to update your web server configuration file and point to the "appropriate" plugin-cfg.xml file to be used by the web server WebSphere Application Server plugin module.
line 149 can / should be ignored. IIS doesn't exist on your OS
The reason for the INSTCONFPARTIALSUCCESS is identified in lines 151-155, which identify that some manual steps are required in order to update your web server configuration file and point to the "appropriate" plugin-cfg.xml file to be used by the web server WebSphere Application Server plugin module.
ASKER
Thanks, I was able to install Plugin using Apache, as IIS needs some patch.
Come back again to same question - Again while starting the Server - I was getting
./startServer.sh server1
Failed to invoke runConfigActions script, /opt/IBM/WebSphere/AppServ er/profile s/AppSrv01 /bin/runCo nfigAction s.sh
Memory Values -
# swap -l
swapfile dev swaplo blocks free
/dev/swap 0,0 16 8405360 8405360
reinevm42: # prtconf
System Configuration: Sun Microsystems sun4v
Memory size: 130848 Megabytes
System Peripherals (Software Nodes):
# swap -l
swapfile dev swaplo blocks free
/dev/swap 0,0 16 8405360 8405360
# df -h
Filesystem size used avail capacity Mounted on
/ 275G 96G 177G 36% /
/dev 275G 96G 177G 36% /dev
/lib 12G 10G 1.6G 87% /lib
/platform 12G 10G 1.6G 87% /platform
/sbin 12G 10G 1.6G 87% /sbin
/usr 12G 10G 1.6G 87% /usr
proc 0K 0K 0K 0% /proc
ctfs 0K 0K 0K 0% /system/contract
mnttab 0K 0K 0K 0% /etc/mnttab
objfs 0K 0K 0K 0% /system/object
swap 2.9G 384K 2.9G 1% /etc/svc/volatile
/platform/SUNW,T5240/lib/l ibc_psr/li bc_psr_hwc ap2.so.1
12G 10G 1.6G 87% /platform/sun4v/lib/libc_p sr.so.1
/platform/SUNW,T5240/lib/s parcv9/lib c_psr/libc _psr_hwcap 2.so.1
12G 10G 1.6G 87% /platform/sun4v/lib/sparcv 9/libc_psr .so.1
fd 0K 0K 0K 0% /dev/fd
swap 2.9G 40K 2.9G 1% /tmp
swap 2.9G 48K 2.9G 1% /var/run
I have kept Max and Intial heap size to 1024 MB but still getting the errors. Please suggest.
Come back again to same question - Again while starting the Server - I was getting
./startServer.sh server1
Failed to invoke runConfigActions script, /opt/IBM/WebSphere/AppServ
Memory Values -
# swap -l
swapfile dev swaplo blocks free
/dev/swap 0,0 16 8405360 8405360
reinevm42: # prtconf
System Configuration: Sun Microsystems sun4v
Memory size: 130848 Megabytes
System Peripherals (Software Nodes):
# swap -l
swapfile dev swaplo blocks free
/dev/swap 0,0 16 8405360 8405360
# df -h
Filesystem size used avail capacity Mounted on
/ 275G 96G 177G 36% /
/dev 275G 96G 177G 36% /dev
/lib 12G 10G 1.6G 87% /lib
/platform 12G 10G 1.6G 87% /platform
/sbin 12G 10G 1.6G 87% /sbin
/usr 12G 10G 1.6G 87% /usr
proc 0K 0K 0K 0% /proc
ctfs 0K 0K 0K 0% /system/contract
mnttab 0K 0K 0K 0% /etc/mnttab
objfs 0K 0K 0K 0% /system/object
swap 2.9G 384K 2.9G 1% /etc/svc/volatile
/platform/SUNW,T5240/lib/l
12G 10G 1.6G 87% /platform/sun4v/lib/libc_p
/platform/SUNW,T5240/lib/s
12G 10G 1.6G 87% /platform/sun4v/lib/sparcv
fd 0K 0K 0K 0% /dev/fd
swap 2.9G 40K 2.9G 1% /tmp
swap 2.9G 48K 2.9G 1% /var/run
I have kept Max and Intial heap size to 1024 MB but still getting the errors. Please suggest.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Done attach the contents as zip. Please look in to. let me know if you need any other info.
Logs.zip
Logs.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Got the cause of the problem with regard to communication error and other related memory issues. Thanks so much for the help. I'm closing this .. Will reopen it if I need any help in future for this issue again.
Great news.
Thanks for the grade & points.
Good luck & have a great day.
Thanks for the grade & points.
Good luck & have a great day.
Are you trying to start it using a non-root userid?
- Open a command prompt
- "cd" to the AppServer bin directory
i.e., something like:
> cd /opt/IBM/WebSphere/AppServ
- Who "owns" the files?
>ls -lA *.sh
- Can you execute the versionInfo.sh script?
>./versionInfo.sh