[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
>
Compaq TCP/IP Services for OpenVMS
|
Previous | Contents |
The command procedure SYS$UPDATE:UCX$CLEANUP.COM is typically used to clean up a previous version of the TCP/IP Services product. However, running this command procedure when the new version of TCP/IP Services has been installed removes files that are necessary for the operation of the product.
Do not run the UCX$CLEANUP.COM command procedure after installing the new version of TCP/IP Services on an OpenVMS VAX system. If you run this command procedure, it will corrupt your TCP/IP Services installation. |
Compaq strongly recommends that you remove this command procedure after
installing the new version of TCP/IP Services.
2.6.2 Some UCX Files Remain After Installation
After you install and start the current version of TCP/IP Services, some files with a UCX$ prefix remain. (Most other files provided by this product use the prefix TCPIP$.) The files listed in Table 2-1 are required in order to maintain backward compatibility with previous versions of TCP/IP Services.
.
File | Description |
---|---|
SYS$LIBRARY:UCX$IPC_SHR.EXE | Allows the Compaq C Run-Time Library (CRTL) to use TCP/IP sockets. |
SYS$LIBRARY:UCX$INETDEF.ADA
SYS$LIBRARY:UCX$INETDEF.BAS SYS$LIBRARY:UCX$INETDEF.FOR SYS$LIBRARY:UCX$INETDEF.H SYS$LIBRARY:UCX$INETDEF.MAR SYS$LIBRARY:UCX$INETDEF.PAS SYS$LIBRARY:UCX$INETDEF.PLI SYS$LIBRARY:UCX$INETDEF.R32 |
The INETDEF files are shipped for compatibility with applications developed under TCP/IP Services Version 4.2. These files are identical to the files shipped with Version 4.2 |
SYS$COMMON:[SYSEXE]UCX$UCP.EXE | An empty (zero block) marker file that allows some layered products that use an unsupported test for the presence of the TCP/IP Services to continue to operate. |
SYS$COMMON:[SYSEXE]UCX$SERVICE.DAT | An empty (zero block) marker file may be created if the file does not exist when TCPIP$STARTUP.COM executes. The file specified by the logical name TCPIP$SERVICE (which defaults to SYS$COMMON:[SYSEXE]TCPIP$SERVICE.DAT) contains the actual service information. |
SYS$STARTUP:UCX$STARTUP.COM
SYS$STARTUP:UCX$CONFIG.COM |
These files print an informational message to SYS$OUTPUT, then execute the corresponding TCPIP file. This allows the TCP/IP Services product to continue to operate until the system manager changes command files to use the new TCPIP prefix. |
SYS$SYSTEM:UCX$LPD_SMB.EXE | Maintains backward compatibility for LPD print queues. |
SYS$SHARE:UCX$ESNMP_SHR.EXE
SYS$SHARE:UCX$ACCESS_SHR.EXE SYS$SHARE:UCX$RPCXDR_SHR.EXE |
Shareable images required for user-written programs written under previous versions of the product. |
SYS$COMMON:[SYSEXE]UCX$TELNETSYM.EXE | TELNET print symbiont executable. This file is identical to TCPIP$TELNETSYM.EXE. |
Your LPD startup and shutdown command procedures may contain
site-specific edits. You must preserve these edits manually when you
upgrade to the current version of TCP/IP Services from a previous
version. The procedure for preserving your edits differs for OpenVMS
Alpha systems (see Section 2.6.3.1) and OpenVMS VAX systems (see
Section 2.6.3.2). To preserve your site-specific startup and shutdown
command procedure files, use the procedure that is appropriate to the
type of system.
2.6.3.1 Preserving LPD Behavior (Alpha Systems)
When you install TCP/IP Services over an earlier version of the product, follow the instructions displayed on your screen to preserve your edits in the LPD startup and shutdown command procedures.
The following shows a sample screen display.
The following product will be installed to destination: DEC AXPVMS TCPIP V5.1-9 DISK$ALPHASYS:[VMS$COMMON.] UCX product already installed. *********************************************************************** Another version of TCP/IP is installed. You must execute the following three commands before continuing with this installation: $ BACKUP SYS$COMMON:[SYSMGR]UCX$LPD_STARTUP.COM; - SYS$COMMON:[SYSMGR]TCPIP$LPD_STARTUP.COM; $ BACKUP SYS$COMMON:[SYSMGR]UCX$LPD_SHUTDOWN.COM; - SYS$COMMON:[SYSMGR]TCPIP$LPD_SHUTDOWN.COM; $ PRODUCT REMOVE UCX *********************************************************************** |
After you follow these instructions and complete the installation of TCP/IP Services, your site-specific edits to the LPD startup and shutdown files are found in:
SYS$COMMON:[SYSMGR]TCPIP$LPD_STARTUP.COM_OLD
SYS$COMMON:[SYSMGR]TCPIP$LPD_SHUTDOWN.COM_OLD
Now merge your site-specific edits into:
SYS$COMMON:[SYSMGR]TCPIP$LPD_SYSTARTUP.COM
SYS$COMMON:[SYSMGR]TCPIP$LPD_SYSHUTDOWN.COM
To preserve your site-specific startup and shutdown information, you must install TCP/IP Services, then copy the site-specific edits from:
SYS$COMMON:[SYSMGR]UCX$LPD_STARTUP.COM
SYS$COMMON:[SYSMGR]UCX$LPD_SHUTDOWN.COM
to the following files:
SYS$COMMON:[SYSMGR]TCPIP$LPD_STARTUP.COM
SYS$COMMON:[SYSMGR]TCPIP$LPD_SHUTDOWN.COM
When you merge edits, do not include the commands to start and stop the queue UCX$LPD_QUEUE. This queue has been replaced with TCPIP$LPD_QUEUE. The commands for starting and stopping TCPIP$LPD_QUEUE are in the LPD startup and shutdown command procedure files.
After you merge the edits, modify the value of the /PROCESSOR qualifier in the LPD client queue startup commands that you have just appended, replacing TCPIP$LPD_SMB with UCX$LPD_SMB. For example, enter the following command:
LSE Command> SUBSTITUTE/ALL "ucx$lpd_smb" "tcpip$lpd_smb" |
The new version of SMTP includes control files that are different from previous versions. Before upgrading to the current version of TCP/IP Services, run the ANALYZE utility to pick up any dead letters (SMTP control files that have not been submitted to a print queue), as follows:
$ ANALYZE MAIL/REPAIR |
After you upgrade to the current version of TCP/IP Services, you must perform one of the following actions to ensure correct SNMP startup:
If you have customized versions of the UCX$SNMP_STARTUP.COM and UCX$SNMP_SHUTDOWN.COM command procedures (used to start and stop extension subagents), save your customized files to a different directory before upgrading to the new version of TCP/IP Services. If you do not perform this step, your customized changes will be lost.
Check for versions of these files in the following locations:
After you install TCP/IP Services, manually merge your saved changes into the new files created after installation. For more information, see the Compaq TCP/IP Services for OpenVMS Management manual. >2.7 SNMP Installation and Setup Notes
The following sections describe procedures for installing and setting
up SNMP.
2.7.1 SNMP Messages When You Install TCP/IP Services
For sites where the same version of TCP/IP Services is installed multiple times, informational messages similar to the following may appear in the installation dialog:
Do you want to review the options? [NO] Execution phase starting ... The following product will be installed to destination: DEC AXPVMS TCPIP T5.3-9I DISK$AXPVMSSYS:[VMS$COMMON.] The following product will be removed from destination: DEC AXPVMS TCPIP T5.3-9H DISK$AXPVMSSYS:[VMS$COMMON.] %PCSI-I-RETAIN, file [SYSEXE]TCPIP$ESNMP_SERVER.EXE was not replaced because file from kit does not have higher generation number %PCSI-I-RETAIN, file [SYSEXE]TCPIP$HR_MIB.EXE was not replaced because file from kit does not have higher generation number %PCSI-I-RETAIN, file [SYSEXE]TCPIP$OS_MIBS.EXE was not replaced because file from kit does not have higher generation number %PCSI-I-RETAIN, file [SYSLIB]TCPIP$ESNMP_SHR.EXE was not replaced because file from kit does not have higher generation number %PCSI-I-RETAIN, file [SYSLIB]UCX$ESNMP_SHR.EXE was not replaced because file from kit does not have higher generation number |
You can ignore these messages.
2.7.2 Verifying the SNMP Installation
SNMP has a separate installation verification procedure (IVP). To verify your SNMP configuration, perform these steps:
$ @SYS$MANAGER:TCPIP$CONFIG |
$ RUN SYS$COMMON:[SYSTEST.TCPIP]TCPIP$SNMPIVP.EXE |
The SNMP startup procedure can produce the following error messages in subagent log files:
25-JUL-2001 14:13:32.47 **ERROR ESNMP_INIT.C line 3777: Could not connect to master: connection refused 25-JUL-2001 14:13:32.94 WARNING OS_MIBS.C line 942: Master agent cannot be reached. Waiting to attempt reconnect. |
These messages are the result of a timing problem and can be ignored.
2.8 Setting Up the TCP/IP Services Message Database
At installation, the TCP/IP Services message database is installed at SYS$COMMON:[SYSHLP]TCPIP.MSGHLP$DATA.
To get information about TCP/IP messages, include this database with the OpenVMS message database, as follows:
$ DEFINE/SYSTEM MSGHLP$LIBRARY SYS$COMMON:[SYSHLP]*.MSGHLP$DATA |
$ HELP/MESSAGE FTP SESDCN, FTPD: Session disconnection from 'host' at 'time' Facility: TCPIP, FTP Server Explanation: This message appears when a session is disconnected, stating the name of the client initiating the disconnection and the time of the disconnection. User Action: None. Press RETURN to continue ... |
If SMTP or LPD shutdown generates errors indicating that the queue manager is not running, check your site-specific shutdown command procedure (VMS_SYSHUTDOWN.COM). If this procedure contains the command to stop the queue manager (STOP/QUEUE/MANAGER), make sure this command comes after any invocation of the TCPIP$SHUTDOWN.COM procedure.
You do not have to stop the queue manager explicitly. The queue manager is automatically stopped and started when you restart the system. |
This chapter provides information about problems and restrictions in
the current version of TCP/IP Services.
3.1 Determining the TCP/IP Device Name from a Channel Assignment
OpenVMS provides several ways to determine the name of a device on a channel assignment. Using the SYS$GETDVI/SYS$GETDVIW system services, the DVI$_DEVNAM, DVI$_FULLDEVNAM, and DVI$_UNIT items all return information about the device. While the first two provide the full device name, DVI$_UNIT returns only the unit number of the device. To form the complete device name, a program must prefix the unit number (as a string) with the device name and controller information. In the case of the TCP/IP device name, the programmer could add the string BG or BGA . For example, BG + 1234 would produce the device name BG1234: .
The TCP/IP device name may be altered in a future release. It is good
programming practice to use the DVI$_DEVNAM or DVI$_FULLDEVNAM items to
obtain the full device-name string. Such programs are not based on the
assumption that the TCP/IP device name is BGnnnn or BGA
nnnn
, and would not be affected by any change in the TCP/IP device name
strategy.
3.2 RCP Full Transparent Copy Operations
RCP on OpenVMS is best used for transferring text files. By default, RCP converts any type of OpenVMS file that is not Stream_LF to Stream_LF format using the standard OpenVMS $CONVERT utility with the following conversion specification:
FILE;ORGA SEQU;RECO;CARR CARR;FORM STREAM_LF;SIZE 0;BLOCK YES |
Then RCP sends the converted file using block-mode RMS file I/O (SYS$READ()) and on receive writes the data using block-mode (SYS$WRITE()).
This behavior has been changed so that RCP does not convert Fixed or Undefined files (in addition to Stream_LF files). You can restore the old behavior using with the TCPIP$RCP_SEND_FIX_FORMAT_AS_ASCII logical name. If this logical name is set, the original behavior of converting Fixed and Undefined files is restored. If this logical is set to a number other than 1, the original behavior is restored, except for files with a fixed-length record size that exactly matches the value of this logical name, which are not converted.
For example, if you define this logical to 512, all Fixed and Undefined files are converted except for Fixed files with a fixed-length record size of 512 (such as OpenVMS executable image files).
The receiving peer, if OpenVMS, always creates a file of type Stream_LF. The RCP protocol provides no method of transferring file type information between sender and receiver. Therefore, the receiving peer has no way of knowing anything about file structure.
In an OpenVMS-to-OpenVMS transfer, if the original file was Fixed or Undefined and was not converted, the user can change the attributes on the Stream_LF copy to correspond to the format of the original file. This can be accomplished using the DCL command SET FILE/ATTRIBUTES.
For example, after transferring an OpenVMS executable image file (Fixed with a record-length of 512 bytes), enter the following command to make it an executable again:
$ SET FILE/ATTR=(RFM:FIX,LRL:512) RCP-COPIED-FILE.EXE |
RCP also has file-size limitations. These are due to RCP's dependence on the Compaq C RTL (run-time library). The RCP protocol requires the length of the file to be sent as part of the protocol. The length is interpreted as a signed 32-bit integer. On OpenVMS, the file's length is determined using a Compaq C RTL call to fstat() . Therefore, files transferred using RCP must be less than 2 GB minus 1 byte (2147483647 bytes).
In comparison, FTP does not have any of these limitations, but it
utilizes a different security model.
3.3 BIND Version 9 Does Not Run on VAX Systems
The new BIND Version 9 DNS server does not run on VAX systems. Please
note that future support of BIND 8 on VAX systems will be limited. If
you are running a BIND server on a VAX system, you should upgrade to an
Alpha system.
3.4 NFS Problems and Restrictions
The following sections describe problems and restrictions with NFS.
3.4.1 NFS Server Problems and Restrictions
If the NFS server and the NFS client are in different domains and unqualified host names are used in requests, the lock server (LOCKD) fails to honor the request and leaves the file unlocked.
When the server attempts to look up a host using its unqualified host name (for example, johnws ) instead of the fully qualified host name (for example, johnws.abc com ), and the host is not in the same domain as the server, the request fails.
To solve this type of problem, you can do one of the following:
If you are using IPv6, you must enable the BIND resolver. If you do not
have the BIND resolver configured, you can enable it using the
TCPIP$CONFIG.COM command procedure. From the Core menu, select BIND
Resolver. If you do not have access to a BIND server, specify the node
address 127.0.0.0 as your BIND server. You must specify the BIND server
to enable the BIND resolver.
3.6 TCP/IP Management Command Restrictions
The following restrictions apply to the TCP/IP management commands:
The NTP server has a stratum limit of 15. The server does not
synchronize to any time server that reports a stratum of 15 or greater.
This may cause problems if you try to synchronize to a server running
the UCX NTP server, if that server has been designated as "free
running" (with the
local-master
command). For proper operation, the
local-master
designation must be specified with a stratum no greater than 14.
3.8 SNMP Problems
This section describes restrictions to the SNMP component for this
release.
3.8.1 Incomplete Restart
When the SNMP master and subagents fail or are stopped, TCP/IP Services is often able to restart all processes automatically. However, under certain conditions, subagent processes may not restart; that is, the DCL command SHOW SYSTEM display does not include TCPIP$OS_MIBS and TCPIP$HR_MIB. If this situation occurs, restart SNMP by entering the following commands:
$ @SYS$STARTUP:TCPIP$SNMP_SHUTDOWN $ @SYS$STARTUP:TCPIP$SNMP_STARTUP |
On slow systems, the SNMP Installation Verification Procedure can fail because a subagent does not respond to the test query. The error messages look like this:
... Shutting down the SNMP service... done. Creating temporary read/write community SNMPIVP_153. Enabling SET operations. Starting the SNMP service... done. SNMPIVP: unexpected text in response to SNMP request: "- no such name - returned for variable 1" See file SYS$SYSDEVICE:[TCPIP$SNMP]TCPIP$SNMP_REQUEST.DAT for more details. sysContact could not be retrieved. Status = 0 The SNMP IVP has NOT completed successfully. SNMP IVP request completed. Press Return to continue ... |
These types of messages in the IVP can be safely ignored.
Previous | Next | Contents |