Wednesday, December 4, 2013

WebCenter: Issue with /tmp directory permission

Applicable to WebCenter

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 Permission denied
        at Method)

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, 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.

1 comment:

Provide your thoughts !