Message ESF7026 Bind failed errno=111. EDC5111I Permission denied is issued at startup of Spool and a DS command displays ESF886 LPD Interface is halted.
In Spool, the LPDSERV statement is configured with TCPPORT=515.
Subsequently, LPR commands will fail with message EZB1051E Failed to Open connection to Port Number = 515.
This problem is likely to happen when port number 515 is reserved to another task.
This is done in the profile dataset allocated to the TCP/IP stack that Spool is connected to.
For example:
PORT ... 515 TCP LPSERVE ; LPD Server ...
Component: Spool-Print Management-Interface for HP Laser
In case multiple TCP/IP stacks are active, you first have to ensure Spool is connected to the appropriate stack.
Instruction on how to establish a stack is found here
Once Spool is connected to the correct stack and the problem is still occurring, the resolution will be to either make LPDSERV point to a different port number or assign port number 515 to the Spool task.
Modifying the TCP/IP profile requires the TCP/IP task to be refreshed following the appropriate procedures.
If the LPDSERV is given a different port number, the LPD interface can be initialized with a SNET,LPD command.
Reference: LPDSERV initialization option
IBM z/OS Communication Server: IP Configuration Reference and z/OS Communication Server: IP System Administrator's Commands manuals for the TCP/IP definitions and operator commands.