Entries Tagged 'unix' ↓
September 10th, 2010 — unix
One day, I started seeing an odd pop up every time I started google chrome on my linux box at work. If I just click the ‘OK’ button, chrome would work just fine. The pop up is quite annoying though.

After some research, I found that this is caused by NFS server locking your profile. My home directory on my linux box is located on an NFS mounted partition (part of an NIS infrastructure). Its quite known that for some reasons an NFS server can lock SQLLite files and never reqlinquish the lock. That’s precisely what happened to my chrome profile.
To remove the lock, you would need to, kind of, relocate the file nodes. You can do the following to achieve that:
- cd ~/.config/google-chrome
- mv Default Default.bak
- cp -r Default.bak Default
- restart your google chrome browser
- then you can remove the old Default.bak directory
March 26th, 2010 — unix
Problem:
I have a directory structure from one server that I need to mirror onto another server. The directory structure/tree is deep and contains hundreds of subdirectories. I do not want to spend hours manually creating the directory structure on the other server. I also do not want to have to back up and restore the content in the subdirectories.
Continue reading →
October 1st, 2009 — mac, unix, windows
My job requires that I maintain a lot of ssh sessions to various servers for a long time. It is very annoying when you leave a session idle for 5 minutes or so and come back to find that the sessions is dead because it has timed out. The time out is controlled by the server itself or firewall. The time out value can vary. If you are lucky, you ssh session can stay up for hours but if you are unlucky, you can get booted out every 5 minutes. The bottom line, you need a mechanism to beat that unpredictable time out.
Continue reading →