On Ubuntu Feisty, default GRASS6.0.2, was working fine.
Following http://les-ejk.cz/ubuntu/ I upgraded to GRASS6.2
I worked fine once, but later on invoking it gave following problem:
----------
LOCATION_NAME not set.
/usr/lib/grass/etc/init.sh:573:/usr/lib/grass/etc/lock: permission
denied
Unable to properly access ///.gislock
-------------
In my own wisdom(?) I deleted lock file and created with 777
permission. This did not solve problem.
I uninstalled GRASS6.2, and installed GRASS6.0.2 from default Ubuntu
repositories, but found it still gives lock problem.
How to get rid of this LOCKED problem.
--
H.S.Rai
--
http://www.fastmail.fm - IMAP accessible web-mail
Hardeep Singh Rai wrote:
On Ubuntu Feisty, default GRASS6.0.2, was working fine.
Following http://les-ejk.cz/ubuntu/ I upgraded to GRASS6.2
I worked fine once, but later on invoking it gave following problem:
----------
LOCATION_NAME not set.
/usr/lib/grass/etc/init.sh:573:/usr/lib/grass/etc/lock: permission
denied
Unable to properly access ///.gislock
-------------
In my own wisdom(?) I deleted lock file and created with 777
permission. This did not solve problem.
I uninstalled GRASS6.2, and installed GRASS6.0.2 from default Ubuntu
repositories, but found it still gives lock problem.
How to get rid of this LOCKED problem.
--
H.S.Rai
Is it possible that you tried to install 64bit binaries on a 32bit machine?
Please post the results of:
uname -a
file /usr/lib/grass/etc/lock
Markus
--
View this message in context: http://www.nabble.com/Lock-problem-tf4046859.html#a11497435
Sent from the Grass - Users mailing list archive at Nabble.com.
This also can happen if you made a location, set GRASS to point at that
location, then deleted the location from the OS.
Check in your ~/.grassrc6 file to see if it is pointing to a location and or
mapset that doesn't exist. If so, you can set it to a valid location/mapset
or simply delete the location and mapset lines (make sure that you get rid
of any empty lines too.)
Michael
On 7/8/07 7:35 PM, "Hardeep Singh Rai" <hardeep@eml.cc> wrote:
On Ubuntu Feisty, default GRASS6.0.2, was working fine.
Following http://les-ejk.cz/ubuntu/ I upgraded to GRASS6.2
I worked fine once, but later on invoking it gave following problem:
----------
LOCATION_NAME not set.
/usr/lib/grass/etc/init.sh:573:/usr/lib/grass/etc/lock: permission
denied
Unable to properly access ///.gislock
-------------
In my own wisdom(?) I deleted lock file and created with 777
permission. This did not solve problem.
I uninstalled GRASS6.2, and installed GRASS6.0.2 from default Ubuntu
repositories, but found it still gives lock problem.
How to get rid of this LOCKED problem.
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On 7/9/07, Markus Neteler <neteler@itc.it> wrote:
Is it possible that you tried to install 64bit binaries on a 32bit machine?
It may be otherway round, trying to run 32bit application on 64bit OS.
I am thankful to many and good responses to my problem. However, I
could not verify that, as my impatient colleague reinstalled OS on
that PC. However using same procedure GRASS is working fine on 17 PCs.
I was trying to setup a lab.
Once again thanks to all who tried to help me. Your answer will surely
help me or other readers in similar situation.
--
H.S.Rai