<FONT face="Times New Roman" size=3> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Ehm… hello,</div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">Thanks. Yes it worked, I was able to delete the Apache2 service using the command:<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">httpd -k uninstall -n "Apache2"<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">(I used to try without double quotes) <o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB">However, the main problem is still there. I have reinstalled the software, but I cannot start the service Apache MS4W Web Server<SPAN style="mso-spacerun: yes"> </SPAN>using apache-install.bat<SPAN style="mso-spacerun: yes"> </SPAN>. The service is set to start automatically but as it start it fails immediately with this message (from the error logs):<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[Sat Oct 21 16:42:38 2006] [notice] Apache/2.2.3 (Win32) configured -- resuming normal operations<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[Sat Oct 21 16:42:38 2006] [notice] Server built: Jul 27 2006 16:49:49<o:p></o:p></SPAN></div> <div
class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[Sat Oct 21 16:42:38 2006] [notice] Parent: Created child process 2744<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[Sat Oct 21 16:42:38 2006] [notice] Child 2744: Child process is running<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[Sat Oct 21 16:42:38 2006] [crit] (OS 10022) invalid argument<SPAN style="mso-spacerun: yes"> </SPAN>: Child 2744: setup_inherited_listeners(), WSASocket failed to open the inherited socket.<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">[Sat Oct 21 16:42:38 2006] [crit] Parent: child process exited with status 3 -- Aborting.<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB
style="mso-ansi-language: EN-GB"><o:p> </o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">The same error occurs when trying from the command line:<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">C:\ms4w\Apache\bin>httpd -k install -n "Apache MS4W Web Server"<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">Installing the Apache MS4W Web Server service<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">The Apache MS4W Web Server service is successfully installed.<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
lang=EN-GB style="mso-ansi-language: EN-GB">Testing httpd.conf....<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">Errors reported here must be corrected before the service can be started. <o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">I also tried, unsuccessfully, to change the listening port (it was 80) in the file http.conf , to prevent conflicts.<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB"><o:p> </o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-language: EN-GB">What else can I try?<o:p></o:p></SPAN></div> <div class=MsoNormal style="MARGIN: 0cm 0cm
0pt"></FONT> </div> <div class=MsoNormal style="MARGIN: 0cm 0cm 0pt">Thanks</div> <div>Bill</div> <div><BR><BR><B><I>"Bart van den Eijnden (OSGIS)" <bartvde@osgis.nl></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Bill,<BR><BR>what is your second Apache, is it an old MS4W install?<BR><BR>What happens if you deinstall both, and then only install the new one.<BR><BR>httpd -k -uninstall -n Apache2<BR>httpd -k -uninstall -n Apache MS4W Web Server<BR>httpd -k -install -n Apache MS4W Web Server<BR><BR>?<BR><BR>Best regards,<BR>Bart<BR><BR>bill smith schreef:<BR>> Well….<BR>> Problem installing MapServer for Windows - MS4W.<BR>> Installation procedure:<BR>> MS4W PHP5 Base Installer v2.2<BR>> Unzip and Installed in C:\ms4w<BR>> RUN C:\ms4w\apache-install.bat<BR>> rebooting PC<BR>> Problem: can’t load page http://localhost/<BR>> When looking in Start > Run
'services.msc',<BR>> two apache services are listed: Apache MS4W Web Server, Apache2.<BR>> Problem: Both services are automatic but appear in stopped status, <BR>> there’s no way to start them . Tried either double click and command <BR>> line with<BR>> httpd -k -uninstall -n Apache2<BR>> httpd -k -uninstall -n Apache MS4W Web Server<BR>> httpd -k -install -n Apache2<BR>> httpd -k -install -n Apache MS4W Web Server<BR>> when trying to restart always get the same error logs<BR>> [Fri Oct 20 18:54:15 2006] [notice] Apache/2.2.3 (Win32) configured -- <BR>> resuming normal operations<BR>> [Fri Oct 20 18:54:15 2006] [notice] Server built: Jul 27 2006 16:49:49<BR>> [Fri Oct 20 18:54:15 2006] [notice] Parent: Created child process 2700<BR>> [Fri Oct 20 18:54:15 2006] [notice] Child 2700: Child process is running<BR>> [Fri Oct 20 18:54:15 2006] [crit] (OS 10022)Invalid argument. : Child <BR>> 2700: setup_inherited_listeners(),
WSASocket failed to open the <BR>> inherited socket.<BR>> [Fri Oct 20 18:54:16 2006] [crit] Parent: child process exited with <BR>> status 3 -- Aborting.<BR>> Already verified in service properties the path to the executable is <BR>> correct.<BR>> In addition could not find the way to uninstall completely the MS4W <BR>> package, could not uninstall Apache 2 service.<BR>> Welcome any suggestion about how to start Apache services.<BR>> John<BR>><BR>> ------------------------------------------------------------------------<BR>> Do you Yahoo!?<BR>> Everyone is raving about the all-new Yahoo! Mail. <BR>> <HTTP: evt="42297/*http://advision.webevents.yahoo.com/mailbeta" us.rd.yahoo.com><BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> ms4w-users mailing list<BR>> ms4w-users@lists.maptools.org<BR>>
http://lists.maptools.org/mailman/listinfo/ms4w-users<BR>> <BR><BR><BR>-- <BR>Bart van den Eijnden<BR>OSGIS, Open Source GIS<BR>bartvde@osgis.nl<BR>http://www.osgis.nl<BR><BR></BLOCKQUOTE><BR><p> 
                <hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com"> Great rates starting at 1¢/min.