[GRASS5] Cannot run GRASS in CGI under nobody account
Alex Shevlakov
sixote at yahoo.com
Mon Aug 12 03:44:24 EDT 2002
The answer may be the following:
check if apache runs as 'nobody';
if really so check permissions on your install grass
directory
to see if the write permissions for nobody are there.
SY,
--alex
--- Ping Liu <pingl at hawaii.edu> wrote:
> Good afternoon, everyone,
>
> I'm trying to use CGI to dynamically post GIF maps
> processed by GRASS to
> the webpage. I'm doing this in Linux using Perl and
> Shell programming
> languages.
>
> The basic idea is that in my CGI-Perl program, I try
> to start GRASS
> (grass5) to create a GIF map, and then copy the map
> to Apache2 'icons'
> directory. By doing this, it should be able to show
> the map online.
>
> I can do this in my own Linux account. I can see
> this (in text in X
> windows) by directly executing the CGI-Perl program.
>
> However, I cannot see it by only using browser to
> trigger the program. I
> was told that to test this, I need to use 'nobody'
> account. When I changed
> to nobody account, I found the CGI-Perl program
> really doesnot work.
>
> The error message I got is as follows.
>
> bash$ grass5
> /usr/local/grass5/etc/lock: //.gislock5: Permission
> denied
> Unable to properly access //.gislock5
> Please notify system personel.
> bash$ exit
>
> Could anybody help me for this problem? Thank you
> very much for your help
> in advance.
>
>
> Ping
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
More information about the grass-dev
mailing list