<br><font size=2 face="sans-serif">You don't need to create a daemon user.</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br><font size=2 face="sans-serif">Also, if it was working before and your
network admin didn't change anything, you might have changed something
in your mapfile?</font>
<br><font size=2 face="sans-serif">Other suggestions</font>
<br><font size=2 face="sans-serif">- Check in the Apache logs if you find
something interesting</font>
<br><font size=2 face="sans-serif">- Add this in the MAP section of your
mapfiles. You can modify the path of the log file</font>
<br><font size=2 face="sans-serif">&nbsp; DEBUG 5 &nbsp; &nbsp; &nbsp;
&nbsp;</font>
<br><font size=2 face="sans-serif">&nbsp; CONFIG MS_ERRORFILE &quot;/ms4w/logs/mapserver.log&quot;</font>
<br>
<br><font size=2 face="sans-serif">Steve</font>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
</font><font size=3 color=#0066ff><i>Steve Toutant, M. Sc.</i></font><font size=3><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size=3>Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size=3 color=blue><u><br>
</u></font><a href=mailto:steve.toutant@inspq.qc.ca><font size=3 color=blue><u>steve.toutant@inspq.qc.ca</u></font></a><font size=3 color=blue><u><br>
</u></font><a href=http://www.inspq.qc.ca/><font size=3 color=blue><u>http://www.inspq.qc.ca</u></font></a>
<p><font size=3>&nbsp; </font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Suman Chatterjee&quot;
&lt;schatterjee@addisontx.gov&gt;</b> </font>
<p><font size=1 face="sans-serif">29/06/2009 03:32 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">&lt;Steve.Toutant@inspq.qc.ca&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">&lt;mapserver-users@lists.osgeo.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">RE: [mapserver-users] unable to access
the map file</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=2 color=#000080 face="Arial">Hi Steve,</font>
<br><font size=2 color=#000080 face="Arial">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</font>
<br><font size=2 color=#000080 face="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Group daemon</font>
<br><font size=2 color=#000080 face="Arial">All the permissions have been
given to the SYSTEM account . But there is no user like Daemon.</font>
<br><font size=2 color=#000080 face="Arial">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.</font>
<br><font size=2 color=#000080 face="Arial">So do I require to create a
user &#8216;daemon&#8217; or create a user &#8216;Local System&#8217; . But a System account
is already there.</font>
<br><font size=2 color=#000080 face="Arial">Thanks</font>
<br><font size=2 color=#000080 face="Arial">Suman </font>
<br><font size=2 color=#000080 face="Arial">&nbsp;</font>
<br><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> Steve.Toutant@inspq.qc.ca [mailto:Steve.Toutant@inspq.qc.ca]
<b><br>
Sent:</b> Monday, June 29, 2009 2:17 PM<b><br>
To:</b> Suman Chatterjee<b><br>
Cc:</b> mapserver-users@lists.osgeo.org; mapserver-users-bounces@lists.osgeo.org<b><br>
Subject:</b> RE: [mapserver-users] unable to access the map file</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 face="sans-serif"><br>
Suman,</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
The Apache service is run as the local system user or another user defined
in the Connexion properties of your Apache service.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Once you know this user make sure he has the authorization to read the
mapfile and the parent directories.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Steve</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
</font><font size=3 color=#0066ff face="Times New Roman"><i><br>
Steve Toutant, M. Sc.</i></font><font size=3 face="Times New Roman"><br>
Analyste en géomatique<br>
Secteur environnement<br>
Direction des risques biologiques, environnementaux et occupationnels<br>
Institut national de santé publique du Québec<br>
945, avenue Wolfe<br>
Québec, Qc G1V 5B3 </font>
<p><font size=3 face="Times New Roman">Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144</font><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=mailto:steve.toutant@inspq.qc.ca><font size=3 color=blue face="Times New Roman"><u>steve.toutant@inspq.qc.ca</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=http://www.inspq.qc.ca/><font size=3 color=blue face="Times New Roman"><u>http://www.inspq.qc.ca</u></font></a><font size=3 face="Times New Roman">
</font>
<p><font size=3 face="Times New Roman">&nbsp; </font>
<p><font size=3 face="Times New Roman"><br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=61%><font size=1 face="sans-serif"><b>&quot;Suman Chatterjee&quot;
&lt;schatterjee@addisontx.gov&gt;@lists.osgeo.org</b> <br>
Envoyé par : mapserver-users-bounces@lists.osgeo.org</font><font size=3 face="Times New Roman">
</font>
<p><font size=1 face="sans-serif">29/06/2009 01:01 PM</font><font size=3 face="Times New Roman">
</font>
<td width=38%>
<br>
<table width=100%>
<tr valign=top>
<td width=9%>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td width=90%><font size=1 face="sans-serif">&quot;Alan Boudreault&quot;
&lt;aboudreault@mapgears.com&gt;</font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">mapserver-users@lists.osgeo.org</font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">RE: [mapserver-users] unable to access
the map file</font></table>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<p>
<br>
<table width=100%>
<tr valign=top>
<td width=50%><font size=3 face="Times New Roman">&nbsp;</font>
<td width=50%><font size=3 face="Times New Roman">&nbsp;</font></table>
<br></table>
<p><font size=3 face="Times New Roman"><br>
<br>
<br>
<br>
</font><font size=2 face="Courier New"><br>
Hi Alan,<br>
My map file cannot be read by the web application user. But how to<br>
correct it? I am using IE 7. What is the user account for web<br>
application user in case of Apache?<br>
I am looking forward for your reply.<br>
Thanks<br>
Suman<br>
-----Original Message-----<br>
From: Alan Boudreault [mailto:aboudreault@mapgears.com] <br>
Sent: Monday, June 29, 2009 10:22 AM<br>
To: mapserver-users@lists.osgeo.org<br>
Cc: Suman Chatterjee<br>
Subject: Re: [mapserver-users] unable to access the map file<br>
<br>
Hi,<br>
<br>
If you are sure that the path is good, did you check the file<br>
permissions? <br>
Does the mapfile can be read by your web application user ?<br>
<br>
Alan<br>
<br>
On June 29, 2009 11:13:04 am Suman Chatterjee wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have just started using mapserver. It was running well till last<br>
week.<br>
&gt; The Itasca application was also running. But all of a sudden the<br>
&gt; application is not working. Although the maps are being created in
the<br>
&gt; temp folder but it is not being displayed in the browser. I tried
with<br>
&gt; typing<br>
&gt;<br>
&gt;<br>
http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver<br>
&gt; demo\workshop\itasca.map&amp;mode=map<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; But it is displaying the error message<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; msLoadMap(): Unable to access file.<br>
&gt; (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I tried by changing the backslash to forward slash in the path but
I<br>
am<br>
&gt; still getting the same error message.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I don't know what is going wrong.<br>
&gt;<br>
&gt; Any help in this regard will be highly appreciated. I require to solve<br>
&gt; it urgently.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Suman<br>
&gt;<br>
&gt;<br>
&gt;<br>
************************************************************************<br>
***<br>
&gt;**************************************** This e-mail and any files
or<br>
&gt; attachments transmitted with it contains Information that is<br>
confidential<br>
&gt; and privileged. This document may contain Protected Health Information<br>
&gt; (PHI) or other information that is intended only for the use of the<br>
&gt; individual(s) and entity(ies) to whom it is addressed. If you are
the<br>
&gt; intended recipient, further disclosures are prohibited without proper<br>
&gt; authorization. If you are not the intended recipient, any disclosure,<br>
&gt; copying, printing, or use of this information is strictly prohibited<br>
and<br>
&gt; possibly a violation of federal or state law and regulations. If you<br>
have<br>
&gt; received this information in error, please delete it and notify Hamid<br>
&gt; Khaleghipour at 972-450-2868 immediately. Thank you.<br>
&gt;<br>
&gt;<br>
************************************************************************<br>
***<br>
&gt;****************************************<br>
<br>
-- <br>
Alan Boudreault<br>
Mapgears<br>
http://www.mapgears.com<br>
<br>
*******************************************************************************************************************<br>
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.<br>
<br>
*******************************************************************************************************************<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users</font><font size=3 face="Times New Roman"><br>
<br>
</font>
<br>
<br>
<br>