Applicable to WebCenter 11.1.1.6.0
Recently, I was not able to access Weblogic server console and when I checked the Server logs, found below mentioned error domain logs.
Error 1: found in WebCenter Collaboration Server log & WLS Domain log
<Dec 3, 2013 12:53:11 PM CST> <Error> <com.jivesoftware.Jive-ERR> <BEA-000000> <Permission denied java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.java:363)
at org.apache.lucene.store.Lock.obtain(Lock.java:51)
at org.apache.lucene.store.Lock$With.run(Lock.java:98)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:141)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:136)
at com.jivesoftware.forum.database.DbSearchManager.getReader(DbSearchManager.java:1169)
at com.jivesoftware.forum.database.DbSearchManager$UpdateTask.run(DbSearchManager.java:1662)
The error stack did not provide any details about folder/file path and was not able to identify the root cause for this error. When I executed grep command, all the Admin & Managed server processes are showing status as Running, but not responding.
And when I tried to shutdown the Managed/Admin servers using stopManagedWebLogic.sh/stopWebLogic.sh, I got following error in the CLI console.
Error 2:
Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
*sys-package-mgr*: can't create package cache dir, '/tmpWLSTTemp<user>/packages'
Cause: Some how the /tmp folder permissions changed to 755.
Fix: executed chmod 1777 /tmp to reset permissions. (1 refers to Sticky bit)
After changing /tmp folder permissions, both Error 1 & 2 resolved.
Recently, I was not able to access Weblogic server console and when I checked the Server logs, found below mentioned error domain logs.
Error 1: found in WebCenter Collaboration Server log & WLS Domain log
<Dec 3, 2013 12:53:11 PM CST> <Error> <com.jivesoftware.Jive-ERR> <BEA-000000> <Permission denied java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.java:363)
at org.apache.lucene.store.Lock.obtain(Lock.java:51)
at org.apache.lucene.store.Lock$With.run(Lock.java:98)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:141)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:136)
at com.jivesoftware.forum.database.DbSearchManager.getReader(DbSearchManager.java:1169)
at com.jivesoftware.forum.database.DbSearchManager$UpdateTask.run(DbSearchManager.java:1662)
The error stack did not provide any details about folder/file path and was not able to identify the root cause for this error. When I executed grep command, all the Admin & Managed server processes are showing status as Running, but not responding.
And when I tried to shutdown the Managed/Admin servers using stopManagedWebLogic.sh/stopWebLogic.sh, I got following error in the CLI console.
Error 2:
Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
*sys-package-mgr*: can't create package cache dir, '/tmpWLSTTemp<user>/packages'
Cause: Some how the /tmp folder permissions changed to 755.
Fix: executed chmod 1777 /tmp to reset permissions. (1 refers to Sticky bit)
After changing /tmp folder permissions, both Error 1 & 2 resolved.
Thanks!!! It worked..
ReplyDelete