[ms4w-users] cannot start apache services

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Sat Oct 21 11:40:43 EDT 2006


This is a not an MS4W problem, but an Apache/Windows XP problem, see 
also here:

http://apache2triad.net/forums/archive/o_t__t_2718__wsasocket-failed-to-open-the-inherited-socket..html

Check if you can get it working using this thread.

Best regards,
Bart

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


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl



More information about the ms4w-users mailing list