pdinitports utility: initializes ports in InfoPrint Manager for AIX or InfoPrint Manager for Linux
Syntax
pdinitports [-n NumberOfPorts| MinimumPortNumber MaximumPortNumber] pdinitports {-h | -?}
Description
For InfoPrint Manager for AIX, use the pdinitports utility to set up InfoPrint Manager to use a specific range or number of port numbers on this system for interprocess communication. By initializing a specific range of port numbers, you can avoid using port numbers that are used by or reserved for other programs.
- Note:
- See the /etc/services file for reserved port numbers. Because InfoPrint does not use the port numbers in /etc/services, you do not have to run this utility if all reserved port numbers are listed there.
- Avoid conflicting with any of the port numbers that AIX clients use to send requests to the InfoPrint server; and avoid conflicting with any of the port numbers used by the InfoPrint communications daemons. For example, a port number that clients use to send requests to the InfoPrint server is 6874 by default. If you do not modify this value, when you use the pdinitports utility to specify a range of port numbers for interprocess communication, the range must exclude 6874.
- Because InfoPrint automatically initializes port numbers when it is started, you should not normally have to run this utility.
- Before using this utility, you must shut down all the servers on this system.
Flags
The pdinitports utility uses these flags:
- -nNumberOfPorts
- Specifies that InfoPrint is to find the first available block of num-ports port numbers and use them. If you do not specify either this flag or a range of port numbers, pdinitports finds and uses the first available block of 10 port numbers.
- -h
- Displays help for the pdinitports utility.
- -?
- Displays help for the pdinitports utility.
Arguments
Valid argument values for the pdinitports utility are:
- MinimumPortNumber
- The minimum port number that the InfoPrint will use on this system.
- MaximumPortNumber
- The maximum port number that the InfoPrint will use on this system.
If you do not specify either a range of port numbers or the -n flag, pdinitports finds and uses the first available block of 10 port numbers.
Examples
- To initialize InfoPrint to use the first available range of 12 ports, enter:
pdinitports -n 12
- To initialize InfoPrint to use ports 6001 through 6010, enter:
pdinitports 6001 6010