Discussion:
googleearth complains about file instance-running-lock
Yuri
2009-12-11 01:39:12 UTC
Permalink
Hi,

I am getting this fatal error:
Unable to create symlink for lock
'/home/yuri/.googleearth/instance-running-lock'. File exists.

google-earth-5.1.3509.4636
8.0-STABLE

Thanks,
Yuri
Glen Barber
2009-12-11 01:42:53 UTC
Permalink
Post by Yuri
Hi,
Unable to create symlink for lock
'/home/yuri/.googleearth/instance-running-lock'.  File exists.
Remove the file? Or rename it?
--
Glen Barber
Yuri
2009-12-11 01:46:47 UTC
Permalink
Post by Glen Barber
Remove the file? Or rename it?
I wouldn't ask this question if it was that easy.
There is even no such directory: /home/yuri/.googleearth

Yuri
Glen Barber
2009-12-11 01:50:01 UTC
Permalink
Post by Yuri
Remove the file?  Or rename it?
I wouldn't ask this question if it was that easy.
There is even no such directory: /home/yuri/.googleearth
Could you provide possibly important information such as this in
future questions?

Have you tried creating the directory?
--
Glen Barber
Yuri
2009-12-11 01:55:21 UTC
Permalink
Post by Glen Barber
Have you tried creating the directory?
Creating it doesn't help.
But I solved the problem: when it talks about /home/yuri/~.googleearth
it actually means /compat/linux/home/yuri/.googleearth/
Deleting file there fixes the problem.

I guess it's a good idea to have a link /compat/linux/home ->/home

Yuri
Matthew Seaman
2009-12-11 06:44:26 UTC
Permalink
Post by Yuri
Post by Glen Barber
Remove the file? Or rename it?
I wouldn't ask this question if it was that easy.
There is even no such directory: /home/yuri/.googleearth
Check /compat/linux/home/yuri/

Cheers,

Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
Boris Samorodov
2009-12-11 07:46:00 UTC
Permalink
Post by Matthew Seaman
Post by Yuri
Post by Glen Barber
Remove the file? Or rename it?
I wouldn't ask this question if it was that easy.
There is even no such directory: /home/yuri/.googleearth
Check /compat/linux/home/yuri/
...and remove /compat/linux/home if it exists.
--
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Yuri
2009-12-11 19:34:51 UTC
Permalink
Post by Boris Samorodov
...and remove /compat/linux/home if it exists.
You should make sure that installer doesn't create /compat/linux/home.
Because I never created it myself, must have been installer.

Yuri
Boris Samorodov
2009-12-11 19:41:02 UTC
Permalink
Post by Yuri
Post by Boris Samorodov
...and remove /compat/linux/home if it exists.
You should make sure that installer doesn't create /compat/linux/home.
Because I never created it myself, must have been installer.
Please show me how can I repeat that case. Or at least show
# ls -l /compat/linux
--
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Yuri
2009-12-11 23:17:19 UTC
Permalink
Post by Boris Samorodov
Please show me how can I repeat that case. Or at least show
# ls -l /compat/linux
The problem is actually a bug (?) in googleearth, that it leaves the
lock file when it finishes ungracefully, and after it is restarted it
complains about this file without understanding that the previous
process is dead.

But it talks about /home/.... files, and it's confusing since it really
talks about /compat/linux/home/... files.

Now I found who creates /compat/linux/home. It's skype. After I delete
/compat/linux/home and relaunch skype it recreates it.

So maybe to prevent such things link /compat/linux/home -> /home should
be created by installer?

Yuri
Boris Samorodov
2009-12-12 07:38:06 UTC
Permalink
Post by Yuri
Now I found who creates /compat/linux/home. It's skype. After I delete
/compat/linux/home and relaunch skype it recreates it.
That's possible only if you are root. That's the most essential info.
Please, annouce it everytime you have any error at the very beginning
of an e-mail with capital letters.

Never work as root. Never-never work as root under X.
--
WBR, bsam
Yuri
2009-12-12 07:58:05 UTC
Permalink
Post by Boris Samorodov
That's possible only if you are root. That's the most essential info.
Please, annouce it everytime you have any error at the very beginning
of an e-mail with capital letters.
Never work as root. Never-never work as root under X.
I don't work as root. /compat/linux diectory is owned by my user, not
root, not sure why. This is a very, very old system. Upgraded many
times. That's how /compat/linux/home could get created. I can't
understand why skype would create it instead of using /home.

I guess that's a side effect of /compat/linux not being owned by root.

Yuri
Boris Samorodov
2009-12-12 08:08:51 UTC
Permalink
Post by Yuri
I guess that's a side effect of /compat/linux not being owned by root.
Yes, you've found the root of the problem. Chown it to root:wheel and
all should be fine.
--
WBR, bsam
Loading...