Perfect solution: Apache startup-(OS 10022) provides an invalid Parameter

Source: Internet
Author: User

Starting apache2 today is always unable to start. I thought it was a port problem. But later I checked that there was no port occupation problem, so I checked the error log.As follows:
[Sat Jun 20 03:12:52 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Sat Jun 20 03:12:52 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sat Jun 20 03:12:52 2009] [notice] Parent: Created child process 2676
[Sat Jun 20 03:12:53 2009] [notice] Child 2676: Child process is running
[Sat Jun 20 03:12:53 2009] [crit] (OS 10022) provides an invalid parameter. : Child 2676: setup_inherited_listeners (), WSASocket failed to open the inherited socket.
[Sat Jun 20 03:12:53 2009] [crit] Parent: child process exited with status 3 -- Aborting.
(Operating system 10022) provides an invalid parameter.
--------------------------------------------------------------------------------
The solution to this error is as follows:
1. network neighbors-> Local Connection-> properties-> internet Protocol (TCP/IP)-> properties-> advanced-> wins tag-> remove the check box before enabling LMhosts query. (This is not on the Windows XP system of my computer ...)
2. choose "Control Panel"> "windows Firewall"> "Advanced tab"> "local connection settings"> "service", and select "Secure Web Server (HTTPS. (I tried this but it didn't work ...)
(The preceding two items are still faulty. Select: Enable NetBOIS on TCI/IP.

I did not solve the problem using the above two methods. I tried the third method below and succeeded!
3. Fix winsock and enter netsh winsock reset in the run.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.