<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Steve,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I got my application running. I did 2 things,
I entered the user and group name with all the privileges in the httpd.conf
file. But even then it was not able to read the images from the folder. Then I
deleted the folder and created another folder with a different name. It did the
trick. But I don&#8217;t know how the folder got corrupted for reading although
images were written in the folder.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your suggestions.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Suman</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Steve.Toutant@inspq.qc.ca
[mailto:Steve.Toutant@inspq.qc.ca] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, June 29, 2009 3:00
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Suman Chatterjee<br>
<b><span style='font-weight:bold'>Cc:</span></b>
mapserver-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapserver-users]
unable to access the map file</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
</span></font><font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family:sans-serif'>You don't need to create a daemon user.</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family: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.</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Also,
if it was working before and your network admin didn't change anything, you
might have changed something in your mapfile?</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Other
suggestions</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>-
Check in the Apache logs if you find something interesting</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>-
Add this in the MAP section of your mapfiles. You can modify the path of the
log file</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>&nbsp;
DEBUG 5 &nbsp; &nbsp; &nbsp; &nbsp;</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>&nbsp;
CONFIG MS_ERRORFILE &quot;/ms4w/logs/mapserver.log&quot;</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Steve</span></font>
<br>
<br>
<br>
<br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'><br>
</span></font><i><font color="#0066ff"><span style='color:#0066FF;font-style:
italic'>Steve Toutant, M. Sc.</span></font></i><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 </p>

<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144<u><font color=blue><span style='color:blue'><br>
</span></font></u><a href="mailto:steve.toutant@inspq.qc.ca">steve.toutant@inspq.qc.ca</a><u><font
color=blue><span style='color:blue'><br>
</span></font></u><a href="http://www.inspq.qc.ca/">http://www.inspq.qc.ca</a> </span></font></p>

<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp; </span></font></p>

<p style='margin-right:0in;margin-bottom:12.0pt;margin-left:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
</span></font></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%;margin-left:.5in'>
 <tr>
  <td width="39%" valign=top style='width:39.98%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><font size=1 face=sans-serif><span style='font-size:
  7.5pt;font-family:sans-serif;font-weight:bold'>&quot;Suman Chatterjee&quot;
  &lt;schatterjee@addisontx.gov&gt;</span></font></b><font size=1
  face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'> </span></font></p>
  <p><font size=1 face=sans-serif><span style='font-size:7.5pt;font-family:
  sans-serif'>29/06/2009 03:32 PM</span></font> </p>
  </td>
  <td width="58%" valign=top style='width:58.98%;padding:.75pt .75pt .75pt .75pt'>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><font size=1
    face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>A</span></font></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=1 face=sans-serif><span style='font-size:
    7.5pt;font-family:sans-serif'>&lt;Steve.Toutant@inspq.qc.ca&gt;</span></font>
    </p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><font size=1
    face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>cc</span></font></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=1 face=sans-serif><span style='font-size:
    7.5pt;font-family:sans-serif'>&lt;mapserver-users@lists.osgeo.org&gt;</span></font>
    </p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><font size=1
    face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>Objet</span></font></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=1 face=sans-serif><span style='font-size:
    7.5pt;font-family:sans-serif'>RE: [mapserver-users] unable to access the
    map file</span></font></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>&nbsp;</span></font></p>
  <table class=MsoNormalTable border=0 cellpadding=0>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'>&nbsp;</span></font></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'>&nbsp;</span></font></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal></p>
  </td>
 </tr>
</table>

<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<br>
<br>
<br>
</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Hi Steve,</span></font> <br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>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</span></font> <br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Group daemon</span></font>
<br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>All the permissions have been given to the SYSTEM account .
But there is no user like Daemon.</span></font> <br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>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.</span></font> <br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>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.</span></font> <br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Thanks</span></font> <br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Suman </span></font><br>
<font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;</span></font> <br>
<font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-----Original
Message-----<b><span style='font-weight:bold'><br>
From:</span></b> Steve.Toutant@inspq.qc.ca [mailto:Steve.Toutant@inspq.qc.ca] <b><span
style='font-weight:bold'><br>
Sent:</span></b> Monday, June 29, 2009 2:17 PM<b><span style='font-weight:bold'><br>
To:</span></b> Suman Chatterjee<b><span style='font-weight:bold'><br>
Cc:</span></b> mapserver-users@lists.osgeo.org;
mapserver-users-bounces@lists.osgeo.org<b><span style='font-weight:bold'><br>
Subject:</span></b> RE: [mapserver-users] unable to access the map file</span></font>
<br>
&nbsp; <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'><br>
Suman,</span></font> <font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family: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.</span></font> <font size=2
face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'><br>
Once you know this user make sure he has the authorization to read the mapfile
and the parent directories.</span></font> <font size=2 face=sans-serif><span
style='font-size:10.0pt;font-family:sans-serif'><br>
Steve</span></font> <font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family:sans-serif'><br>
</span></font><i><font color="#0066ff"><span style='color:#0066FF;font-style:
italic'><br>
Steve Toutant, M. Sc.</span></font></i><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 </p>

<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Tél.: (418) 650-5115 #5281<br>
Fax.: (418) 654-3144<u><font color=blue><span style='color:blue'><br>
</span></font></u><a href="mailto:steve.toutant@inspq.qc.ca">steve.toutant@inspq.qc.ca</a><u><font
color=blue><span style='color:blue'><br>
</span></font></u><a href="http://www.inspq.qc.ca/">http://www.inspq.qc.ca</a> </span></font></p>

<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp; </span></font></p>

<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%;margin-left:.5in'>
 <tr>
  <td width="60%" valign=top style='width:60.98%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><font size=1 face=sans-serif><span style='font-size:
  7.5pt;font-family:sans-serif;font-weight:bold'>&quot;Suman Chatterjee&quot;
  &lt;schatterjee@addisontx.gov&gt;@lists.osgeo.org</span></font></b><font
  size=1 face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'> <br>
  Envoyé par : mapserver-users-bounces@lists.osgeo.org</span></font> </p>
  <p><font size=1 face=sans-serif><span style='font-size:7.5pt;font-family:
  sans-serif'>29/06/2009 01:01 PM</span></font> </p>
  </td>
  <td width="37%" valign=top style='width:37.98%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>&nbsp;</span></font></p>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="9%" valign=top style='width:9.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><font size=1
    face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>A</span></font></p>
    </td>
    <td width="90%" valign=top style='width:90.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=1 face=sans-serif><span style='font-size:
    7.5pt;font-family:sans-serif'>&quot;Alan Boudreault&quot;
    &lt;aboudreault@mapgears.com&gt;</span></font> </p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><font size=1
    face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>cc</span></font></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=1 face=sans-serif><span style='font-size:
    7.5pt;font-family:sans-serif'>mapserver-users@lists.osgeo.org</span></font>
    </p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><font size=1
    face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>Objet</span></font></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=1 face=sans-serif><span style='font-size:
    7.5pt;font-family:sans-serif'>RE: [mapserver-users] unable to access the
    map file</span></font></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'><br>
  &nbsp; </span></font></p>
  <p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="50%" valign=top style='width:50.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'>&nbsp; </span></font></p>
    </td>
    <td width="50%" valign=top style='width:50.0%;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><font size=3 face="Times New Roman"><span
    style='font-size:12.0pt'>&nbsp;</span></font></p>
    </td>
   </tr>
  </table>
  <p></p>
  </td>
 </tr>
</table>

<p style='margin-right:0in;margin-bottom:12.0pt;margin-left:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
<br>
<br>
</span></font><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"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</span></font><br>
<br>
<br>
<br>
</p>

</div>

</body>

</html>