[mapserver-users] Can't create Mapsewrver's log file on Linux

Yu-Hsin Chen ychen at yorktel.com
Tue May 21 12:06:37 EDT 2002


Double check to see if both the permission for temp directory is 'drwxrwxrwx' and for your log file is -rw-rw-rw- (it won't hurt if it is -rwxrwxrwx).  You'll need full write permission for them when the web server send in request most likely as nobody.

Yu-Hsin

-----Original Message-----
From: Hisaji ONO [mailto:hi-ono at mn.xdsl.ne.jp]
Sent: Tuesday, May 21, 2002 9:10 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Can't create Mapsewrver's log file on Linux 



Hello.

 This is my first question in this mailing list.

 Now I've tried to use mapserver 3.6 with PostGIS 0.7.1 and Apache on Red
Hat Linux 7.2.

 I've created following map file.

NAME EX1
EXTENT -159.6 28.77 -71.4667 70.5
SIZE 400 300
SHAPEPATH "../data"

WEB
 LOG "/var/www/temp/mapserver.log"
END

LAYER
  NAME "mines"
  DATA abnminx020
  STATUS DEFAULT
  TYPE POINT
  CLASS
    COLOR 120 120 220
    OUTLINECOLOR 100 10 0
  END
END
END

 Using this Map file, Map images were displayed. However MapServer couldn't
create log file.

 This "temp" directory's permission was  "u+x".

 Could you tell me any suggestion?

 Best Regards.

Hisaji ONO






More information about the mapserver-users mailing list