Sunday, September 26, 2010

Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0

Problem Description
Whenever you login to your gnome GUI window to your linux machine several pop ups appear. If you click on details you will notice following same messages across all windows.

Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0
Adding client to server's list failed, CORBA error: IDL:omg.org/CORBA/COMM_FAILURE:1.0

Problem Investigation
If you look for OS log message entry inside /var/log/messages you will see following entries.

Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23060): Failed to get lock for daemon,
exiting: Directory /tmp/gconfd-oracle has a problem, gconfd can't use it
Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23062): starting (version 2.14.0), pid 2
3062 user 'oracle'
Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23062): Bad permissions 777 on directory
/tmp/gconfd-oracle
Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23062): Failed to get lock for daemon,
exiting: Directory /tmp/gconfd-oracle has a problem, gconfd can't use it
Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23064): starting (version 2.14.0), pid 2
3064 user 'oracle'
Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23064): Bad permissions 777 on directory
/tmp/gconfd-oracle
Sep 23 12:34:44 DC-DB-01 gconfd (oracle-23064): Failed to get lock for daemon,
exiting: Directory /tmp/gconfd-oracle has a problem, gconfd can't use it
Sep 23 12:35:26 DC-DB-01 pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0
Not Found
Sep 23 12:35:26 DC-DB-01 last message repeated 4 times
Sep 23 12:35:26 DC-DB-01 gconfd (oracle-23229): starting (version 2.14.0), pid 2
3229 user 'oracle'
Sep 23 12:35:26 DC-DB-01 gconfd (oracle-23228): starting (version 2.14.0), pid 2
3228 user 'oracle'

Cause of the Problem
From OS log message, we see the problem happened due to wrong permission on the file /tmp/gconfd-oracle. It is needed to lock the directory /tmp/gconfd-oracle exclusively but because of 777 permission linux can't lock the file and so gconfd can't use it.

Solution of the Problem
The solution of the problem is give 700 permission and change ownership on the folder /tmp/gconfd-$USER.
If user is root then just do following,
#chmod 700 /tmp/gconfd-root/
#chown -R root:root /tmp/gconfd-root/
Now exit the window and re-login.

You can also try by removing /tmp/orbit- and then restarting X window.
#rm /tmp/orbit-root

No comments:

Post a Comment