[mapserver-users] unable to access the map file
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Mon Jun 29 13:00:09 PDT 2009
You don't need to create a daemon user.
I'm a bit confused. If the images are created in the temp folder that
means that the web application can call mapserver, read and execute the
mapfile. I suggest you delete the contents of your temp folder and try
again.
Also, if it was working before and your network admin didn't change
anything, you might have changed something in your mapfile?
Other suggestions
- Check in the Apache logs if you find something interesting
- Add this in the MAP section of your mapfiles. You can modify the path of
the log file
DEBUG 5
CONFIG MS_ERRORFILE "/ms4w/logs/mapserver.log"
Steve
Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca
"Suman Chatterjee" <schatterjee at addisontx.gov>
29/06/2009 03:32 PM
A
<Steve.Toutant at inspq.qc.ca>
cc
<mapserver-users at lists.osgeo.org>
Objet
RE: [mapserver-users] unable to access the map file
Hi Steve,
Yes, It is running as a local system as found in the SERVICES. But in the
httpd.conf file the following entry is also there: User daemon
Group daemon
All the permissions have been given to the SYSTEM account . But there is
no user like Daemon.
Now the problem is the application was working earlier. But all of a
sudden it is not able to access the map file. So although the temporary
images are getting generated in the temp folder but the mapserver is not
able to read those.
So do I require to create a user ?daemon? or create a user ?Local System?
. But a System account is already there.
Thanks
Suman
-----Original Message-----
From: Steve.Toutant at inspq.qc.ca [mailto:Steve.Toutant at inspq.qc.ca]
Sent: Monday, June 29, 2009 2:17 PM
To: Suman Chatterjee
Cc: mapserver-users at lists.osgeo.org;
mapserver-users-bounces at lists.osgeo.org
Subject: RE: [mapserver-users] unable to access the map file
Suman,
The Apache service is run as the local system user or another user defined
in the Connexion properties of your Apache service.
Once you know this user make sure he has the authorization to read the
mapfile and the parent directories.
Steve
Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.toutant at inspq.qc.ca
http://www.inspq.qc.ca
"Suman Chatterjee" <schatterjee at addisontx.gov>@lists.osgeo.org
Envoyé par : mapserver-users-bounces at lists.osgeo.org
29/06/2009 01:01 PM
A
"Alan Boudreault" <aboudreault at mapgears.com>
cc
mapserver-users at lists.osgeo.org
Objet
RE: [mapserver-users] unable to access the map file
Hi Alan,
My map file cannot be read by the web application user. But how to
correct it? I am using IE 7. What is the user account for web
application user in case of Apache?
I am looking forward for your reply.
Thanks
Suman
-----Original Message-----
From: Alan Boudreault [mailto:aboudreault at mapgears.com]
Sent: Monday, June 29, 2009 10:22 AM
To: mapserver-users at lists.osgeo.org
Cc: Suman Chatterjee
Subject: Re: [mapserver-users] unable to access the map file
Hi,
If you are sure that the path is good, did you check the file
permissions?
Does the mapfile can be read by your web application user ?
Alan
On June 29, 2009 11:13:04 am Suman Chatterjee wrote:
> Hi all,
>
> I have just started using mapserver. It was running well till last
week.
> The Itasca application was also running. But all of a sudden the
> application is not working. Although the maps are being created in the
> temp folder but it is not being displayed in the browser. I tried with
> typing
>
>
http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver
> demo\workshop\itasca.map&mode=map
>
>
>
> But it is displaying the error message
>
>
>
> msLoadMap(): Unable to access file.
> (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map).
>
>
>
> I tried by changing the backslash to forward slash in the path but I
am
> still getting the same error message.
>
>
>
> I don't know what is going wrong.
>
> Any help in this regard will be highly appreciated. I require to solve
> it urgently.
>
>
>
> Thanks
>
> Suman
>
>
>
************************************************************************
***
>**************************************** This e-mail and any files or
> attachments transmitted with it contains Information that is
confidential
> and privileged. This document may contain Protected Health Information
> (PHI) or other information that is intended only for the use of the
> individual(s) and entity(ies) to whom it is addressed. If you are the
> intended recipient, further disclosures are prohibited without proper
> authorization. If you are not the intended recipient, any disclosure,
> copying, printing, or use of this information is strictly prohibited
and
> possibly a violation of federal or state law and regulations. If you
have
> received this information in error, please delete it and notify Hamid
> Khaleghipour at 972-450-2868 immediately. Thank you.
>
>
************************************************************************
***
>****************************************
--
Alan Boudreault
Mapgears
http://www.mapgears.com
*******************************************************************************************************************
This e-mail and any files or attachments transmitted with it contains
Information that is confidential and privileged. This document may contain
Protected Health Information (PHI) or other information that is intended
only for the use of the individual(s) and entity(ies) to whom it is
addressed. If you are the intended recipient, further disclosures are
prohibited without proper authorization. If you are not the intended
recipient, any disclosure, copying, printing, or use of this information
is strictly prohibited and possibly a violation of federal or state law
and regulations. If you have received this information in error, please
delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank
you.
*******************************************************************************************************************
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090629/e342bd1c/attachment.htm>
More information about the MapServer-users
mailing list