Troubleshooting
Problem
Applications that need port 5000 or 5001 should use a port restriction for the desired port(s).
Resolving The Problem
Problem Description
A BPICS application fails to start because ports 5000 or 5001 are in use. NETSTAT shows port 5001 being used by job QCSTCTRMCD. This job is commonly associated with RMC.
Problem Resolution
QCSTCTRMCD requests the next available user port during its startup. The start of the ephemeral port range for IBM i5/OS is 5000. Depending on the system configuration, the jobs started at system startup, and the timing of the startup, a job such as QCSTCTRMCD might be assigned port 5001. To prevent the problem from occurring again, enter a port restriction for the application. To free up the port immediately, end and restart the QCSTCTRMCD jobs.
| 1. | Enter the port restriction. Type the following command: CFGTCP Select Option 4. Work with TCP/IP port restrictions. Add a port restriction for the desired ports and user profile. The user profile is the user profile of the job that will use this port or range of ports: --Port Range--- User Opt Lower Upper Protocol Profile 1 5000 5001 *TCP <profile> Note: If BPICS is installed, the user profile will show up as BPICS user profile. |
| 2. | End the RMC daemon jobs (including QCSTCTRMCD). Type the following command: V5Rx ENDJOB JOB(QCSTSRCD) OPTION(*IMMED) DUPJOBOPT(*SELECT) Press the Enter key. If the Select Job screen is displayed, type 1 on the active job, and press the Enter key. V6R1 and later ENDJOB JOB(QRMCSRCD) OPTION(*IMMED) DUPJOBOPT(*SELECT) Press the Enter key. If the Select Job screen is displayed, type 1 on the active job, and press the Enter key. |
| 3. | Restart the RMC daemon. Type the following command: V5Rx SBMJOB CMD(CALL PGM(QSYS/QCSTCTSRCD)) JOBD(QSYS/QCSTSRCD) PRTDEV(*JOBD) OUTQ(*JOBD) USER(*JOBD) PRTTXT(*JOBD) RTGDTA(RUNPTY50) V6R1 and later SBMJOB CMD(CALL PGM(QSYS/QRMCCTSRCD)) JOBD(QSYS/QRMCSRCD) PRTDEV(*JOBD) OUTQ(*JOBD) USER(*JOBD) PRTTXT(*JOBD) RTGDTA(RUNPTY50) |
Historical Number
391583772
Was this topic helpful?
Document Information
Modified date:
22 September 2021
UID
nas8N1015370