Hi team
,
I’m running into an issue while trying to start SailPoint IQService on a Windows EC2 instance. I’m using the following command: .\IQService.exe -t
And getting this error:
Error occured while starting the service : IQService-Instance1
Please check the EventLog for detailed error occured
Unhandled Exception: System.InvalidOperationException: Cannot start service IQService-Instance1 on computer ‘.’.
—> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
The account has “Log on as a service” rights (manually verified via secpol.msc
)
Account is a member of Local Administrators
Required ports (TCP 5050-5052) are allowed in firewall
Did you try checking the logs after enabling tracing in IQService?
Yes I got this one, please help me check it
04/25/2025 06:52:17 : ServiceEntryPoints [ Thread-1 ] INFO : "Listening on port 5050"
04/25/2025 06:52:17 : RpcServer [ Thread-1 ] INFO : "TCP Listener createdSystem.Net.Sockets.TcpListener"
04/25/2025 06:52:17 : RpcServer [ Thread-1 ] INFO : "Listening Non - TLS thread created"
04/25/2025 06:52:17 : RpcServer [ Thread-1 ] INFO : "Upgrade Thread Started"
04/25/2025 06:52:47 : RpcServer [ Thread-4 ] INFO : "Check 1: Associated service : IQService-Instance1-Secondary is down. Skipping the check for upgrade."
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "Listening Port: [5050]"
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "Connection Read Timeout: [15]"
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "TraceLevel: [3]"
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "TraceFile: [C:\SailPoint\IQService\IQTrace.log]"
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "Running As: [*********\**********]"
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "CommandLine Arguments"
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "Argument[0] ==>'-d'"
04/25/2025 06:58:42 : UpgradeServiceClient [ Thread-1 ] DEBUG : "ENTER GetUpgradeServiceDetails"
04/25/2025 06:58:42 : UpgradeServiceClient [ Thread-1 ] DEBUG : "Executing the request..."
04/25/2025 06:58:42 : ServiceMain [ Thread-1 ] INFO : "ServiceName : IQService-Instance1
Display Name : SailPoint IQService-Instance1
Configured Port : 5050
Connection Read Timeout : 15
Update Interval : 30
Build version : IQService-Feb-2025
Build timestamp : 02/06/2025 03:31 AM -0600
Build location : master
Build builder : jenkins
Build Number : 778
Executable : C:\SailPoint\IQService\IQService.exe
File Size : 78520
File Date : 2/6/2025 3:32:22 AM
Trace Level : 3 [ debug ]
Connection to port 5050 uses default encryption keys.
Note: SailPoint recommends to configure Client Authentication and TLS Communication between IdentityNow and IQService to appropriately secure the communication with the IQService!
Secondary Service : IQService-Instance1-Secondary
Secondary Service Port : 5051
Secondary Service Status : STOPPED
UpdateService Host : EC2AMAZ-E0KLV8M.ENERGYTEST.LOCAL
UpdateService Port : 5052
UpdateService Status : STOPPED
UpdateService Version : UNKNOWN
"
04/25/2025 06:58:42 : ServiceEntryPoints [ Thread-1 ] INFO : "Listening on port 5050"
04/25/2025 06:58:42 : RpcServer [ Thread-1 ] ERROR : "Exception while listening:System.Net.Sockets.SocketException (0x80004005): Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at sailpoint.rpcserver.RpcServer.Start(Boolean createUpgradeThread)"
If you see this error “04/25/2025 06:58:42 : ServiceEntryPoints [ Thread-1 ] INFO : “Listening on port 5050”
04/25/2025 06:58:42 : RpcServer [ Thread-1 ] ERROR : “Exception while listening:System.Net.Sockets.SocketException (0x80004005): Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at sailpoint.rpcserver.RpcServer.Start(Boolean createUpgradeThread)””
it implies that there is already a service running on port 5050.
Can you check if any other service is running on this port using netstat -ano or open resource monitor using Run resmon.exe → Network tab → Listening Ports section → sort by Port and look for 5050
netstat -ano | findstr :5050