Unable to start the Domino 8.5 server as a service and run the Java Cont...
Problem
Domino Administrator has installed a Domino 8.5.2 server on a Windows 2008 R2 machine. However, the service for the "Lotus Domino Server" does not start up either manually by clicking "start" service or automatically when the Operating System is rebooted.
It gives the below error, when trying to start the service manually.
Also, when the administrator tries to start the Lotus Domino Console i.e. the Java Controller for Domino, it gives the below error message.
"Either the Server Controller is not running on the host INMAIL01/Acme or is not listening on port 2050"
In the java controller log, it shows the below errors. The log for the java controller will be located in Domino\data\dcntrlrdcntrlr201010051228.out.The numbers indicate the date and time when the file was created.
createServerSocket=Unrecognized Windows Sockets error: 0: JVM_Bind
Unable to open listener socket: Unrecognized Windows Sockets error: 0: JVM_Bind
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:384)
at java.net.ServerSocket.bind(ServerSocket.java:331)
at java.net.ServerSocket.<init>(ServerSocket.java:197)
at com.ibm.jsse2.qc.<init>(qc.java:31)
at com.ibm.jsse2.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:5)
at lotus.domino.console.SSL.createServerSocket(SSL.java:113)
at lotus.domino.console.ClientAcceptor.Init(ClientAcceptor.java:52)
at lotus.domino.console.ClientAcceptor.run(ClientAcceptor.java:85)
Domino Server Controller exiting: Listener startup timed out. Please check if another Server Controller instance is running in the same data directory.
Further, when the administrator issues the command, "netstat -a" from the command prompt, it doesn't show that port 2050 is listening.
Resolving the problem
In one case, the issue was resolved by following the below steps:
1) Add the port 2050 in the windows firewall.
(From the windows, run type "firewall" and enter Windows Firewall with Advanced Security ->Inbound Rules)
2) Add the entry for the IP address which is mapped to server name in the local host file (e.g 10.10.10.5 INMAIL01/Acme).
3) Enable the below notes.ini parameter in the Domino server's notes.ini.
ServerController=1
TCPIP_ControllerTcpIpAddress=10.10.10.5:2050
Note: 10.10.20.5 is the IP address of the Domino server.
4) With the above settings done, restart the Operating System (OS).
You will see "Lotus Domino Server" service will be launched successfully when the OS is up and also administrator will be able to connect to Domino server using the Lotus Domino Console i.e Java Controller for Domino.
本文转自 高文龙 51CTO博客,原文链接:http://blog.51cto.com/gaowenlong/1323230,如需转载请自行联系原作者