<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";}
tt
        {font-family:"Courier New";}
span.EmailStyle19
        {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'>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></p>

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

<p class=MsoNormal><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></p>

<p class=MsoNormal><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></p>

<p class=MsoNormal><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></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks</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 2:17
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; mapserver-users-bounces@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'>Suman,</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>The
Apache service is run as the local system user or another user defined in the
Connexion properties of your Apache service.</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Once
you know this user make sure he has the authorization to read the mapfile and
the parent directories.</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Steve</span></font>
<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;@lists.osgeo.org</span></font></b><font
  size=1 face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'> </span></font><br>
  <font size=1 face=sans-serif><span style='font-size:7.5pt;font-family:sans-serif'>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="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'>&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'>&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-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>
<br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Hi
Alan,</span></font></tt><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><br>
<tt><font face="Courier New">My map file cannot be read by the web application
user. But how to</font></tt><br>
<tt><font face="Courier New">correct it? I am using IE 7. What is the user
account for web</font></tt><br>
<tt><font face="Courier New">application user in case of Apache?</font></tt><br>
<tt><font face="Courier New">I am looking forward for your reply.</font></tt><br>
<tt><font face="Courier New">Thanks</font></tt><br>
<tt><font face="Courier New">Suman</font></tt><br>
<tt><font face="Courier New">-----Original Message-----</font></tt><br>
<tt><font face="Courier New">From: Alan Boudreault
[mailto:aboudreault@mapgears.com] </font></tt><br>
<tt><font face="Courier New">Sent: Monday, June 29, 2009 10:22 AM</font></tt><br>
<tt><font face="Courier New">To: mapserver-users@lists.osgeo.org</font></tt><br>
<tt><font face="Courier New">Cc: Suman Chatterjee</font></tt><br>
<tt><font face="Courier New">Subject: Re: [mapserver-users] unable to access
the map file</font></tt><br>
<br>
<tt><font face="Courier New">Hi,</font></tt><br>
<br>
<tt><font face="Courier New">If you are sure that the path is good, did you
check the file</font></tt><br>
<tt><font face="Courier New">permissions? </font></tt><br>
<tt><font face="Courier New">Does the mapfile can be read by your web
application user ?</font></tt><br>
<br>
<tt><font face="Courier New">Alan</font></tt><br>
<br>
<tt><font face="Courier New">On June 29, 2009 11:13:04 am Suman Chatterjee
wrote:</font></tt><br>
<tt><font face="Courier New">&gt; Hi all,</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; I have just started using mapserver. It was
running well till last</font></tt><br>
<tt><font face="Courier New">week.</font></tt><br>
<tt><font face="Courier New">&gt; The Itasca application was also running. But
all of a sudden the</font></tt><br>
<tt><font face="Courier New">&gt; application is not working. Although the maps
are being created in the</font></tt><br>
<tt><font face="Courier New">&gt; temp folder but it is not being displayed in
the browser. I tried with</font></tt><br>
<tt><font face="Courier New">&gt; typing</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\mapserver</font></tt><br>
<tt><font face="Courier New">&gt; demo\workshop\itasca.map&amp;mode=map</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; But it is displaying the error message</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; msLoadMap(): Unable to access file.</font></tt><br>
<tt><font face="Courier New">&gt; (C:\ms4w\Apache\htdocs\mapserverdemo\workshop\itasca.map).</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; I tried by changing the backslash to forward
slash in the path but I</font></tt><br>
<tt><font face="Courier New">am</font></tt><br>
<tt><font face="Courier New">&gt; still getting the same error message.</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; I don't know what is going wrong.</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; Any help in this regard will be highly
appreciated. I require to solve</font></tt><br>
<tt><font face="Courier New">&gt; it urgently.</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; Thanks</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt; Suman</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">************************************************************************</font></tt><br>
<tt><font face="Courier New">***</font></tt><br>
<tt><font face="Courier New">&gt;**************************************** This
e-mail and any files or</font></tt><br>
<tt><font face="Courier New">&gt; attachments transmitted with it contains
Information that is</font></tt><br>
<tt><font face="Courier New">confidential</font></tt><br>
<tt><font face="Courier New">&gt; and privileged. This document may contain
Protected Health Information</font></tt><br>
<tt><font face="Courier New">&gt; (PHI) or other information that is intended
only for the use of the</font></tt><br>
<tt><font face="Courier New">&gt; individual(s) and entity(ies) to whom it is
addressed. If you are the</font></tt><br>
<tt><font face="Courier New">&gt; intended recipient, further disclosures are
prohibited without proper</font></tt><br>
<tt><font face="Courier New">&gt; authorization. If you are not the intended
recipient, any disclosure,</font></tt><br>
<tt><font face="Courier New">&gt; copying, printing, or use of this information
is strictly prohibited</font></tt><br>
<tt><font face="Courier New">and</font></tt><br>
<tt><font face="Courier New">&gt; possibly a violation of federal or state law
and regulations. If you</font></tt><br>
<tt><font face="Courier New">have</font></tt><br>
<tt><font face="Courier New">&gt; received this information in error, please
delete it and notify Hamid</font></tt><br>
<tt><font face="Courier New">&gt; Khaleghipour at 972-450-2868 immediately.
Thank you.</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">&gt;</font></tt><br>
<tt><font face="Courier New">************************************************************************</font></tt><br>
<tt><font face="Courier New">***</font></tt><br>
<tt><font face="Courier New">&gt;****************************************</font></tt><br>
<br>
<tt><font face="Courier New">-- </font></tt><br>
<tt><font face="Courier New">Alan Boudreault</font></tt><br>
<tt><font face="Courier New">Mapgears</font></tt><br>
<tt><font face="Courier New">http://www.mapgears.com</font></tt><br>
<br>
<tt><font face="Courier New">*******************************************************************************************************************</font></tt><br>
<tt><font face="Courier New">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.</font></tt><br>
<br>
<tt><font face="Courier New">*******************************************************************************************************************</font></tt><br>
<br>
<br>
<tt><font face="Courier New">_______________________________________________</font></tt><br>
<tt><font face="Courier New">mapserver-users mailing list</font></tt><br>
<tt><font face="Courier New">mapserver-users@lists.osgeo.org</font></tt><br>
<tt><font face="Courier New">http://lists.osgeo.org/mailman/listinfo/mapserver-users</font></tt><br>
</span></font><br>
<br>
</p>

</div>

</body>

</html>