Tuesday, June 5, 2018

OS 10013 - Apache Cannot Start



When we going to start the Apache we may receive the below Error message.

The Apache service named  reported the following error:
>>> (OS 10013) An attempt was made to access a socket in a way forbidden by its access permissions.
:make_sock: could not bind to address 0.0.0.0:80.

This means that another Application is using the port 80 and because of that Apache cannot start from port 80.

To find out what application is using the port 80, Please use the below steps.
Enter the following on the command line:
C:\> netstat -ao

The active TCP addresses and ports will be listed — locate the line with local address “0.0.0.0:80” and note the PID value.

By looking at the PID we can find which application is running on port 80.

Either we can Stop this application and start the Apache or we have to change the Apache Running port in HTTPD.conf file.

"WASX7023E: Error creating "SOAP" connection" when try to run "wsadmin" to export the WebSphere profile



1. Open this file:

/usr5/SIR04397/mydomain/properties/wsadmin.properties

2. See what port it's using:

com.ibm.ws.scripting.port=

3. Open this file in a text editor:

/usr5/SIR04397/mydomain/config/cells//nodes//serverindex.xml

4. Find what the SOAP port is. It will look like this (this is from my serverindex.xml):




If this is a Portal installation, you may find this SOAP_CONNECTOR_ADDRESS listed twice. One of them will be the soap port for 'server1', the other will be the soap port for 'WebSphere_Portal'. The point though is the port you find in wsadmin.properties should match a SOAP_CONNECTOR_ADDRESS you see here.

5. If you find they are not the same, edit wsadmin.properties so that it matches whatever the value in serverindex.xml says.