Resolving 'SVC-SOCBIND' error
28 April 2015 02:12 PM
A Socket bind error will occur when there are more than two MarkLogic Server instances running simultaneously in the same host. Two simultaneous instances of MarkLogic Server might occur if a MarkLogic Server process did not gracefully shutdown while a new one was spawned.
Example error messages seen in the MarkLogic Server ErrorLog.txt file:
It is dangerous for two instances of the server to be running simultaneously on the same host. Both instances will attempt to operate from the same server configuration files and on the same forest data files. The behavior is unpredictable and, in the worst case, it might lead to inconsistent data.
If you suspect that there are multiple MarkLogic Server instances running at the same time on the same host, you should follow these steps:
1. To get a list of MarkLogic processes running, execute
ps -ef | grep -i mark
kill -9 <pid>
where <pid> is the process id discovered while executing the ps command.
- If that still does not clear the errant MarkLogic process, reboot the host machine.
3. Once there are no more MarkLogic Server processes running, restart MarkLogic Server.