Sunday, 27 April 2014

Unable to start DMGR

 When I start DMGR I got below error

[oracle@websphe bin]$ ./startManager.sh
runConfigActions script execution failed. Exit code: 1
Exception caught while waiting for runConfigActions script to complete: /u02/local/opt/was/was80/profiles/dmgr/bin/runConfigActions.sh

Then I execute  runConfigActions.sh

 [oracle@websphe bin]$ ./runConfigActions.sh

Apr 27, 2014 9:40:32 PM com.ibm.ws.postinstall.runConfigActions.RunConfigActions setLogFile
SEVERE: IOException java.io.FileNotFoundException: /u02/local/opt/was/was80/profiles/dmgr/properties/service/productDir/logs/runConfigActions.log.lck (Permission denied)
java.io.FileNotFoundException: /u02/local/opt/was/was80/profiles/dmgr/properties/service/productDir/logs/runConfigActions.log.lck (Permission denied)
java.io.FileNotFoundException: 
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:190)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:81)
        at java.util.logging.FileHandler.initOutputFiles(FileHandler.java:220)
        at java.util.logging.FileHandler.init(FileHandler.java:190)
        at java.util.logging.FileHandler.<init>(FileHandler.java:440)
        at com.ibm.ws.postinstall.runConfigActions.RunConfigActions.setLogFile(RunConfigActions.java:290)
        at com.ibm.ws.postinstall.runConfigActions.RunConfigActions.main(RunConfigActions.java:64)
Exception in thread "main" java.lang.NullPointerException: The 'handler' parameter is null.
        at java.util.logging.Logger.addHandler(Logger.java:398)
        at com.ibm.ws.postinstall.runConfigActions.RunConfigActions.main(RunConfigActions.java:64)


Again I got Error as a lack of permission.  So I change the permissions

[root@websphe dmgr]# chmod -R 777 *
[root@websphe dmgr]# exit
exit
[oracle@websphe bin]$ pwd
/u02/local/opt/was/was80/profiles/dmgr/bin

Now permission are changed and I  run the runConfigActions.sh.

[oracle@websphe bin]$ ./runConfigActions.sh

runConfigActions.sh successfully run . So I try to start dmgr

[oracle@websphe bin]$ ./startManager.sh
ADMU0116I: Tool information is being logged in file
           /u02/local/opt/was/was80/profiles/dmgr/logs/dmgr/startServer.log
ADMU0128I: Starting tool with the dmgr profile
ADMU3100I: Reading configuration for server: dmgr
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server dmgr open for e-business; process id is 5892

Now dmgr working fine





4 comments:

Unknown said...

I've been facing the issue, Issue resolved after providing appropriate access to wp_profile directory.

Thanks,
Deepak

Wahid said...

It's dangerous to grant all the users read/write privileges with using 777.
You just need to grant the user "oracle" in your case the "appropriate" permissions.
See also: http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/tagt_nd_nonroot.html

Sivanandham Perumalsamy said...

I'm facing same error in windows environment. I have given all the permission but still error is exists. Should I do any other configuration.

Raj Kancherla said...

This issue might come even when there is no space for the wasup user directory.

Check
#df -h

Ensure the file system got enough space ..