Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

36 Chapter2
Internet Daemon
Starting and Stopping inetd
Starting and Stopping inetd
On the HP 3000, the instructions for starting the Internet daemon are
contained in the job file JINETD.NET.SYS. When you stream JINETD, it
invokes the daemon and reads the inetd configuration file to determine
what services have been configured, and listens for connection requests
for those services. Any messages relating to inetd are sent either to the
console or to $STDLIST for JINETD, which is a spool file. The Internet
daemon will continue to run, responding to requests for any of the
configured services, until you stop it. The Internet daemon only
terminates in an error state if there are no valid services listed in the
configuration file.
Starting inetd From a Job
To start inetd, you stream the JINETD job. You may do this manually,
by entering the STREAM command when the system is running, or you
may include the STREAM JINETD command in the SYSSTART file to have
inetd automatically started at system startup.
To start inetd manually:
1. Log onto your system as MANAGER.SYS,NET.
2. Check to make sure that inetd has not already been started by
entering at the CI prompt:
:SHOWJOB JOB=@J
Look for the job logged on as JINETD.NET.SYS and, if it is not listed,
continue with the next step.
3. At the CI prompt, enter STREAM JINETD.NET.SYS.
If you attempt to start inetd when it is already running, you'll see the
following error message and the job will not be started:
An inetd is already running.
Starting JINETD Automatically
If you want to have the Internet daemon started automatically when
your system starts up, add the STREAM JINETD command to the
SYSSTART file. When you do, be sure that the stream command follows
the network startup command NETCONTROL START.