Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I installed IP Messenger (GNOME 2) from Ubuntu software center but its not working. It's always showing an error message on Ubuntu 12.04.

FileName:ipmsg.c
Function:create_lock_file
Line:157
Can not setup lock file:/tmp/g2ipmsg.lock errno : -11 (Resource temporarily unavailable)
share|improve this question
    
To add to it, if anyone sends a message, g2ipmessenger crashes –  Ubuntuser Feb 22 '13 at 8:40
    
@Madhu K. Did you got any solution for this problem so far? As i am having the same issue with Ubuntu 13.10 –  mohit_rocks Dec 14 '13 at 6:54
1  
did you try this askubuntu.com/a/321085/202806 –  Avinash Raj Dec 14 '13 at 7:03
    
@AvinashRaj I tried but it doesn't work. –  mohit_rocks Dec 14 '13 at 9:33
    
@mohit_rocks That answer had an obvious typo/error in it. But I guess you all noticed the missing rm. (If not, then try that again.) –  falconer Dec 14 '13 at 20:00

1 Answer 1

Try to check first about /tmp/ directory and that it is writeable by all users.

Also try this solution :

  1. Type on terminal below command - gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

  2. Restart and click gnome ip messenger still it may give create lock file error but it will be viewable in notification panel.

  3. If still this doesn't work make sure that you can write to /tmp, try touch /tmp/foo to make sure you can write in it

  4. Next, see whether there is a lock file in /tmp: ls -l /tmp/g2ipmsg.lock if you can't see try with sudo ls -a /tmp/

  5. You can see know who owns the lock file. If there is a lock file, check whether the process is running with pgrep ipmsg. If not, remove it: rm /tmp/g2ipmsg.lock or sudo rm /tmp/g2ipmsg.lock

Let us know if it worked

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.