This KB addresses scenarios where the UIM spooler probe turns red and fails to start due to port exhaustion.
The controller.log shows the below:
Nov 17 09:53:57:005 [] 0 spooler: sockServer: requested port 48001 is already in use (for host=)
Nov 17 09:53:57:005 [] 0 spooler: nimSession - failed to create server session on port 48001, error code 22
Nov 17 09:53:57:005 [] 0 spooler: nimCreateServer session failed.
Nov 17 09:53:58:005 [] Controller: Max. restarts reached for probe 'spooler' (command = spooler)
CA DX Unified Infrastructure Management (Nimsoft / UIM): all supported versions
Port 48001 (default spooler listening port) is actively occupied by another competing application or process on the host.
Identify the Conflicting Process
Windows: Open Command Prompt as Administrator and run:
netstat -ano | findstr :48001
Note the PID (process ID) in the rightmost column, then find the process using tasklist | findstr <PID> or Task Manager.
Linux / Unix: Run:
netstat -tulnp | grep 48001
# or
ss -tulnp | grep 48001Clear Orphaned Nimsoft Processes
Stop the Nimsoft Robot Watcher service (Nimsoft Robot Watcher on Windows or niminit stop on Linux).
Ensure all related processes (e.g., controller, spooler, hdb) have stopped completely. Kill any lingering process manually if needed.
Restart the Nimsoft service.
Option A: Free Up Port 48001
If another application is using port 48001, stop or reconfigure that third-party service so UIM can claim its default port.
Option B: Reconfigure UIM to Use Different Ports
If the robot is accessible from IM:
Select Controller Section: Ensure the main controller section is highlighted in the configuration tree.
Add Custom Port Key: Click New Key and define a new port mapping to bypass the conflict:
Key Name: spooler_port
Key Value: 48004 (or any available port within the 48000s range)
Apply and Restart: Click Apply and OK. The robot will automatically restart the probe hierarchy.
Verify Status: Confirm in IM that the spooler probe turns green and successfully binds to the new port and PID.
If the robot is not accessible from IM:
Edit the robot.cfg file located in the Nimsoft installation folder:
controller_port = 48005
spooler_port = 48001
first_probe_port = 48004
Save the changes and restart the robot service.