How To Guides for UNIX System Services on z/OS

Make sure the inetd process is running

If you have access to all processes on the system, the following command can be used to determine if the inetd process is running:

ps -ef | grep inetd

The DISPLAY OMVS,A command can also be used.

Set up inetd to start Telnet processes

If the inetd process is not running, or if you get a Connection refused error, check the configuration.

  1. Make sure Telnet is defined in the /etc/services file: grep -i telnet /etc/services
    otelnet 2222/tcp
  2. Make sure Telnet is defined in the /etc/inetd.conf file: grep -i telnet /etc/inetd.conf
    otelnet stream tcp nowait OMVSKERN /usr/sbin/otelnetd otelnetd -l
    After changing inetd.conf, simply kill the inetd process to restart it with the changes to the inetd.conf file. If it does not restart automatically, it can be restarted manually.
  3. Make sure inetd is configured to start automatically when the system is IPLed: grep -i inetd /etc/rc
    _BPX_JOBNAME='INETD' /usr/sbin/inetd /etc/inetd.conf &

inetd can also be started by entering the command in /etc/rc on the command line.

Prev: UNIX User Next: telnet 

Home > Computers > Operating Systems > IBM z/OS > UNIX Services > Telnet > inetd

Viewing mobile website page. Switch to WML or Full HTML