Technical data
Configuring TCP/IP Services
3.10 Starting and Stopping TCP/IP Services by Command
3.10.1 Automatically Starting and Stopping TCP/IP Services
To allow TCP/IP Services software to start automatically when the system
starts up, and to stop automatically when the system shuts down, edit the
SYS$COMMON:[SYSMGR]SYSTARTUP_VMS.COM file and include the following
command:
@SYS$STARTUP:TCPIP$STARTUP
If your system had earlier versions of TCP/IP Services, UCX$STARTUP.COM and
UCX$SHUTDOWN.COM files might be present. These are no longer applicable;
delete any definition of them from SYS$MANAGER:SYSTARTUP_VMS.COM.
If you want TCP/IP Services to start after you log in to your
OpenVMS account, the OpenVMS systemwide login procedure (typically
SYS$MANAGER:SYLOGIN.COM) must have world read and execute protections
(W:RE).
To display the current protections, enter the following command:
$ DIR/PROTECTION SYS$MANAGER:SYLOGIN.COM
For information about protections, refer to the OpenVMS documentation.
3.10.2 Starting and Stopping TCP/IP Services Manually
To start TCP/IP Services manually, enter the following command:
$ @SYS$STARTUP:TCPIP$STARTUP
To stop TCP/IP Services manually, enter the following command:
$ @SYS$STARTUP:TCPIP$SHUTDOWN
3.10.3 Starting and Stopping Individual Services
On a system already running TCP/IP Services, you can configure an individual
server or client component without affecting the other TCP/IP Services
components running on your system and without having to restart TCP/IP
Services.
Most services can be shut down and started independently. This is useful when
you change parameters or logical names that require the service to be restarted.
The following files are provided:
• SYS$STARTUP:TCPIP$service_STARTUP.COM allows you to start the service
service.
• SYS$STARTUP:TCPIP$service_SHUTDOWN.COM allows you to shut down
the service service.
To preserve site-specific parameter settings and commands, create the following
files. These files are not overwritten when you reinstall TCP/IP Services:
• SYS$STARTUP:TCPIP$service_SYSTARTUP.COM can be used as a repository
for site-specific definitions and parameters to be invoked when service is
started.
• SYS$STARTUP:TCPIP$service_SYSHUTDOWN.COM can be used as a
repository for site-specific definitions and parameters to be invoked when
service is shut down.
In these file names, service is the name of the service to be started or shut down.
For example, use TCPIP$NTP_SHUTDOWN to shut down the NTP service.
Configuring TCP/IP Services 3–21