GRASS lock problem

>/usr/local/grass42/etc/GIS.sh: /usr/local/grass42/etc/lock: No such file
> or directory
>Unable to properly access /home/hamannj/.gislock
>Please notify system personel.
>[hamannj@ren hamannj]$ =
>I installed the grass binaries exactly as instructed from the web site and
>still get this problem. =

Several of us are getting that exact error message ( with our own machine n=
ame,
of course). I don't know what to try next, but I believe Markus is
looking into it (see quote below).
> > We will find a solution!

Hi friends,

just now I have installed GRASS 4.2.1 (V.21) on a "fresh" Linux System
running SuSe6.0-Linux.
But I could not reproduce your error message. I downloaded the current
Linux binaries and strickly followed my instructions (without extra
knowledge!).
So we have to proceed stepwise to locate the problem. You may post
personally to me, I will send the solution to the list then, when
(not if) we find it:

1. Are you all running *Redhat* Linux? Which version?

2. Is there existing the file
    /usr/local/grass42/etc/lock

   Execute it, it should say
   
      /usr/local/grass42/etc > lock
      usage: lock file pid

3. Check the permissions for /usr/local/grass42/locks
   /usr/local/grass42 > ls -la locks/
   total 3
   drwxrwxrwt 4 root root 1024 Apr 14 15:40 .
   drwxr-xr-x 13 root root 1024 Apr 14 15:38 ..
   drwxrwxrwt 2 root root 1024 Apr 14 15:43 ifbo22

  It should look like this (with different machine's name certainly)

BTW: Valid are the online instructions. I changed this part of
    locks permission settings recently, so it may not be correct in
    the instructions included in the Linux package.

4. Check the permissions of your home directory:
   cd $HOME
   akk@ifbo22:~ > ls -la .
   drwxr-xr-x 17 akk users 2048 Apr 14 15:49 .
   drwxr-xr-x 8 root root 1024 Feb 10 19:03 ..
   
   Here it belongs user "akk", certainly he needs write/read/execute
   permissions (first drwx in line containing ".").

   This should be o.k.

   Test it in your home with
    touch .gislock
    rm .gislock

   This should work.

-----------------------------
Is there any other user in the list having an idea? I haven't seen
this problem yet in my "GRASS life".

With regards

   Markus Neteler

Dear collegues!
We need some information about
GRASS training courses,
GRASS user conference
training materials,
any summer school and etc
Thanks.

| Vitali Ababi |
| Physical Technical Department |
| Tomsk Polytechnic University |
| 634004 Tomsk, Russia |

Hallo!

I an quite new to the GRASS 4.2 and espessially to sites and rim.

And i also appologise for my long letter. Sorry but i tried to be
understoodable ..

i got slackware, g77, grass4.2 and rim supposedly set up and working. I
teached also to myself how to use rim separately. And also i read the seeds
tutorial and practically went thru the exercises. So i have a humble
experience :slight_smile:

What i am trying to do is like this:

Now, i entered grass with spearfish sampledata and tired figure out how to
use database (with s.db.rim).

First i found out that there isnt any rim databases (s.db.rim -> 2) included
eith spearfish so i decides to create one :slight_smile:

I prepared a file 'db1':

.make
~sSite~~~~~~~~~~~~~~~~~~~~
~xX~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~yY~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.end

(last line ends with Return)

and issued at the grass prompt command to make database 'first':

Mapset <root> in Location <spearfish>
GRASS-GRID > s.db.rim first

s.db.rim version 1.4 6/11/91.

The database first does not currently exist.
You must make (.make) it before executing any other commands.

and then:

s.db>.input db1

Input file is changing to file 'db1'.
.make
~sSite~~~~~~~~~~~~~~~~~~~~
~xX~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~yY~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.end

Form Definition Accepted.
Building the RIM database in directory
/usr/local/grass42/data/spearfish/root/rim/sites
sh: data: command not found

Database is now 'made'.

Mapset <root> in Location <spearfish>
GRASS-GRID >

I am worried why it complains about 'data'. should i have that kind of a
shell program, i guess not?

But all right, i continued:

GRASS-GRID > s.db.rim first

s.db.rim version 1.4 6/11/91.
The database first has 0 records.

s.db>.add
add>Site 1
Unknown field name: site.

and here i am stuck :frowning:

I checked the structure:

s.db>.show

~sSite~~~~~~~~~~~~~~~~~~~~
~xX~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~yY~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

s.db>

And it seem to be all roght, right?

So, i am very interested in getting most out of the grass because the
program feels great. I like this batch mode it supports and the fact that i
got 10 fingers and i can use them in linux :slight_smile: Not just fiddling with mouse.

Is there any tutorial or source where i can learn espessially about using
grass vector and sites (inluded rim) capabilities? Like the seeds with lakes
sample database.

Best Regards, Imre Oolberg

PS I confess i haven't yet got the idea what to do with the database if it existed
but it mustnt to be so hard.

BTW, i printed out the Markus Neteler tutorial and several other materials
(like manuals on commands) from the other german site. Did i miss something?

To Whom It May Concern:

I have been receiving your email for quite some time. I don't know if this
information being passed is confidential or not. I just wanted you to be
aware of this.

Regards,

Tanya

-----Original Message-----
From: grass@pandora.cecer.army.mil
[mailto:grass@pandora.cecer.army.mil]On Behalf Of Vitaliy Ababiy
Sent: April 19, 1999 6:55 PM
To: grass@cecer.army.mil
Subject: Re: GRASS lock problem

Dear collegues!
We need some information about
GRASS training courses,
GRASS user conference
training materials,
any summer school and etc
Thanks.

| Vitali Ababi |
| Physical Technical Department |
| Tomsk Polytechnic University |
| 634004 Tomsk, Russia |