1885-Failed to connect to monitor socket for process (LMID = 1, LPN = WQS, LPI = 1). Socket error (Unknown error code: 0) on port number nnnnn.
book
Article ID: KB0094135
calendar_today
Updated On:
Products
Versions
TIBCO iProcess Engine (SQL)
-
Not Applicable
-
Description
Description: Starting the TIBCO iProcess Engine (iPE) starts the processes BG, DLMGR, RPC_TCP_LI and RPC_UDP_LI but does not start the WQS process which reports a status of SUSPENDED.
Symptoms: When iPE is started, the processes BG, DLMGR, RPC_TCP_LI and RPC_UDP_LI start but the WQS process reports a status of SUSPENDED.
Adding WQS debug does not produce a wqs01.log.
Setting debug for all processes or PROCMGR will produce a procmgr02.log which will contain lines similar to the following: [T=01538]150820151128.584030:T032: start_and_monitor_process(): About to fork1 and execv, cmd = E:\swserver\tib_mcca_dev2\rpc\wqsrpc.exe -- -m 1 -p WQS -i 1 -r 391875 -s 59895 -b ALL=255 [T=01538]150820151128.584216:T064: start_and_monitor_process(3): locked ProcessTreeMutex (write) [T=01538]150820151128.584400:T004: start_and_monitor_process (): starting 'E:\swserver\tib_mcca_dev2\rpc\wqsrpc.exe -- -m 1 -p WQS -i 1 -r 391875 -s 59895 -b ALL=255' [T=01538]150820151128.584602:T004: CreateProcessEnvironment : Getting current environment [T=01538]150820151128.584796:T004: CreateProcessEnvironment : Found PATH= entry in environment [Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Imaging\] [T=01538]150820151128.584979:T004: CreateProcessEnvironment : Prependeding PATH with [E:\swserver\tib_mcca_dev2\java\bin\client;] [T=01538]150820151128.585256:T001: start_and_monitor_process <E:\swserver\tib_mcca_dev2\rpc\wqsrpc.exe -- -m 1 -p WQS -i 1 -r 391875 -s 59895 -b ALL=255> Failed, Err=00000005 [T=01538]150820151128.585435:T064: start_and_monitor_process(3): unlocked ProcessTreeMutex (write) [T=0175c]150820151128.643760:T064: start_and_monitor_process(1): locked ProcessTreeMutex (read)
The Err=00000005 is a windows API error, which means 0x00000005 Access is denied. ERROR_ACCESS_DENIED Cause: Permissions are not correctly set on the WQS binary: %SWDIR%\rpc\wqsrpc.exe
Issue/Introduction
1885-Failed to connect to monitor socket for process (LMID = 1, LPN = WQS, LPI = 1). Socket error (Unknown error code: 0) on port number nnnnn.
Resolution
Run the fixperms utility to correct any file permission problems:
1). Log in as the IPEADMIN user.
2). Take ownership of all files in and below the SWDIR folder. 3). Give Full Control to Everyone for all files in and below the SWDIR folder. 4). Run the SWDIR\bin\fixperms utility %SWDIR%\bin\fixperms -r -y %SWDIR% or %SWDIR%\bin\fixperms -r -y <Full path of SWDIR>