[mapserver-users] mapserver.log (was Re: malformed PNGs)
Puneet Kishor
pkishor at GeoAnalytics.com
Tue Aug 13 21:23:55 PDT 2002
slowly slowly we progress...
I am finally able to get mapserver.log to generate. I added the $ENV
line immediately after the shebang line, and chown-ed the tmp directory
to nobody. Works!
ok. so I am now watching the log file with
tail -f ...
and I see the following...
Tue Aug 13 23:10:51 2002 - msSearchDiskTree(): Unable to access file.
Tue Aug 13 23:10:51 2002 - msSearchDiskTree(): Unable to access file.
Tue Aug 13 23:11:46 2002 - msSearchDiskTree(): Unable to access file.
Tue Aug 13 23:11:46 2002 - msSearchDiskTree(): Unable to access file.
the problem is, I can't figure out what is causing the above error. My
map file is fairly complicated, and as far as I can see, everything is
being drawn the way I want it. So, what is it that is inaccessible? Is
there a way the log can append (or prefix) the line number in the source
that caused the error? Is there a way to determine where it is failing?
Tia as always.
pk/
On Tuesday, August 13, 2002, at 11:58 AM, Lowell.Filak wrote:
> The LOG is for logging requests whereas the ERRORFILE is for logging
> errors. Does the user that the webserver is running as have permission
> to
> write to /var/www/html/bims/tmp/mapserver.log or alternately
> /var/www/html/bims/tmp/error.log? There should at least be a log file
> with
> a record of the request.
> Lowell
>
> On Tue, 13 Aug 2002, Puneet Kishor wrote:
>
>> well, I already had a line in my map file like so...
>>
>> LOG "/var/www/html/bims/tmp/mapserver.log"
>>
>> I added
>>
>> $ENV{MS_ERRORFILE} = "/var/www/html/bims/tmp/mapserver.log"
>>
>> to my perl script. I don't get any log files written out. Do I have to
> set
>> this ENV variable in the Apache conf file? or at the shell prompt
> using
>> setenv?
>>
>> Tia,
>>
>> pk/
>>
More information about the MapServer-users
mailing list