SavillTechDownload areaServicesProductsLinksSearch

line VMS FAQ

Also see the Digital FAQ or ask the Wizard






Bootup Options

b/1 Conversational Bootup
b/e0000000 Standalone Bootup
startup_p1 Minimum startup
startup_p2 Log everything to screen on bootup

L.A.T. not started on machine

$ mc sysman

set env/node=<node>

%SYSMAN-I-ENV, current command environment:

Individual nodes: <node>

do @sys$common:[sysmgr] "<node>" "FASTWIRE dev"

%SYSMAN-I-OUTPUT, command execution on node <node>


Using accounting

$ show accounting to see state of accounting

$ set account/enable=(image,subprocess) enable elements of accounting

$ account/since=today see accounting for today


Setting port charactistics

$ set host/mop <server>


Enter User> xxx

Local> set priv


Local> set port <port no> <command>

To exit



Starting diskquotas on a new disk

$ run sys$system:diskquota

diskquota> use <new disk>

diskquota> create

diskquota> rebuild


Process States


RWAST is a Resource Wait for and AST-related event (AST Asyncronus Type)

Reasons for going into state are

  1. Process is waiting for the deletion of a sub-process
  2. AST Limit has been exhausted (ASTLM)
  3. Direct I/O Limit has been exhausted (DIOLM)
  4. Buffered I/O Limit has been exhausted (BIOLM)
  5. Process is waiting for outstanding I/O to complete

Rebuild disk quotas

$ run sys$system:diskquota

diskquota> use <disk>

diskquota> rebuild

Ethernet Port

For general information, enter the command

ncl> show csma-cd station * all



Creating and Deleting

$ telnet <ip address> <listener>/create/timeout=30/log=temp

The tna device name cannot be specified and the device is given

$ deallocate <device> To delete a nta device


Initial Configuration

@sys$manager:ucx$config all enable Will have to enter domain, ip address and subnet mask


To show all hosts

UCX> show hosts (/local) /local will only show hosts in host table

To add a host

UCX> set host "<name>"/addr=<name>

To remove a host

UCX> set nohost "<name>"

Address Resolution Protocol

ARP is used to translate an ip-address to a physical ethernet address. It keeps a cache for twenty minutes

To show the ARP table

UCX> show arp


Remove ARP table entry

UCX> set noarp ‘ip-address’



First ensure all hosts that will be a NFS client are entered in the host database

UCX> set host "galactus"/addr=

Ensure that the NFS and PCNFS services are enabled

UCX> show service

If the services are not enabled run @sys$manager:ucx$config and enable NFS and PCNFS.

Add the default proxies and one for the user logon
UCX> add proxy ucx$nfs/uid=0/gid=1/host=*

UCX> add proxy ucx$nobody/uid=-2/gid=-2/host=*

UCX> add proxy john_s/uid=5/gid=5/host=*

Setup up the maps for devices

UCX> map "/dka200" dka200: (and set config map to make perm)

Create Exports for directories on the disk
UCX> add export "/dka200/john_s"/host=*

Should now be able to NFS from a client


Use the TCPIPTRACE to see what is happening, e.g. to trace the PCNFS server
TCPIPTRACE <client ip address>/full/port=local=5151

Domain Name Server

Convert the local host file to a name resolution table

forward translation

UCX> convert/ultrix bind/

reverse translation

UCX> convert/ultrix bind/domain=""

the first three bytes of the IP address are given in reverse, i.e. the correct ip address is


UCX> show service bind/full

Create the bind boot file for primary

UCX> set config bind/primary=domain=""

UCX> set config bind/primary=domain=""

UCX> set config bind/primary=(domain="",file=named.local)

UCX> set config bind/cache allow caching


For secondary

UCX> set config bind/secondary=(domain="",host=<primary>)

UCX> set config bind/secondary=(domain="",host=<primary>)

UCX> set config bind/secondary=(domain="",file=named.local)

UCX> set config bind/cache


For the clients and server to tell about the server

UCX> set config /domain=""

UCX> set config /server=bart

UCX> set name/system/enable


To add a new host

UCX> set host galactus/addr=

UCX> convert/ultrix bind/

UCX> convert/ultrix bind/domain=""

UCX> set name/init


Real devices are ge0,ze0 and se0. It is possible to create pseudo devices that enable a UCX host to have more than 1 IP address. A pseudo device is created which has a letter between the 2nd and 3rd character, e.g.

sea0 is a pseudo device for se0.

Could have sea1, sea2 etc. The a means it relates to physical device 0, b means 1 etc.

To create a pseudo device

UCX> set init sea0/host=

Also would need to do config to make addition permanent

To make a machine a router

UCX> set protoco ip/forward

UCX> stop routing

UCX> start routing/supply


UCX> set config start routing/supply

UCX> set config ip/forward


To configure a gateway

UCX> set route <addr with 0 where appropriate>/gateway=<addr>/perm

UCX> set route

Creating and Deleting

$ telnet/create <ip address> <listener> <number of tna>

e.g. $ telnet/create 2004 11

would create tna11: on ip using listener 2004

$ telnet/delete <number of tna>

e.g. $ telnet/delete 11

TCP/IP trace

$ tcpiptrace/full /port=remote=<listener> /protocol=ip /packets=100

By default 100 buffers are used, but if more are needed can use /buffers=200

Also when using trace need to increase WSQuota to 2048, and may need to logout if a trace fails as it does not free up resources.

On trace CR is 0A(10), LF is 0D(13)



@sys$ "<node>" "<service comment>"


latcp> set node/state=off

Errors with VMS

system-f-gbtfull Global Page Table Full

Global sections are needed to map the Global Pages and the ratio should be around 1:150

$ mc sysgen

sysgen> use current

sysgen> show gblpages

sysgen> show gblsections

$ install list/global/sum

Problems with a process

Can issue command

$ show proc/quota/id=xxxxxx

which will show the quotas of a process. A more advanced mechanism is to use the system analyser

$ analyze/system

SDA> show summary same as a show system

SDA> set process <process name>

SDA> show process/pcb show all quotas and states

SDA> show process/channel show all images used and devices

VMSinstal alternate working directory

To perform VMSinstal using another temporary area use the following command

$ @sys$update:vmsinstal fswire90b mkb700: options awd=$disk:[temp]

Break into a VAX

  1. Halt the VAX
  2. Perform a conversational bootup
  3. From the prompt set the UAF file to an alternate
    SYSBOOT> set uafalternate 1
    SYSBOOT> continue
  4. Now enter anything for system password
  5. Change UAF to point back to original
    $ define/system/exec sysuaf sys$system:sysuaf.dat
  6. Change normal system account password
    $ set def sys$system
    $ mc authorize
    UAF> modify system/pass=xxx/nopwdexpired
    UAF> <ctrl-Z>
  7. Now reset the systems UAF to default for reboot
    $ mc sysgen
    SYSGEN> set uafalternate 0
    SYSGEN> write current
    SYSGEN> <ctrl-Z>
  8. Reboot

The above attack can be stopped if the system manager creates a file called SYSUAFALT.DAT which is the file used when uafalternate is set to 1.

A more general break in is to perform a conversational bootup, and type set startup opa0: , and type spawn which will then allow you to have the SYSUAF file before anything else starts.

Harware address of Vax

Phase IV

$ mc ncp show line xxx-0 char

Phase V

$ mc ncl show CSMA-CD station * ALL STATUS

Connecting to Terminal Servers

Defined in the file sys$manager:dsv$

To connect

$ set host/mop <server name>

Versions of software


To get version for decnet phase IV

$ write sys$output f$getsyi("decnet_version")

To get version for decnet phase V (O.S.I.)

$ mc ncl show implementation

Printer LA75 setup

  1. Hold down the setup key and power on, will now be in setup mode
  2. Use the Line Feed to scroll down, and Form Feed to scroll up
  3. When at the item to be changed press the "Value" key to change to value mode, the Line Feed and Form Feed keys will now increase/decrease the chosen menu item value
  4. When finished with the menu item press the feature key to return to menu item scroll mode
  5. When finished the setup press the setup key


Changes to modparams.dat

To enable changes to modparams.dat

$ @sys$update:autogen getdata reboot nofeedback

To create autogen report

$ @sys$update:autogen savparams testfiles

generates a file sys$system:agen$ which new recommendations

View files open on a disk

$ show dev $1$dia0:/files

Adding queues

Batch queue

$ init/queue/autostart_on=(node::)/base=3/cpumax=08:00:00/job_limit=3/-

_$ owner=[system] /port=(s:e,o:d,g:r,w:w)/wsdefulat=500/wsextent=2000/ -

_$ wsquota=1000/batch/start node_batch

Spawning out a process for a user

$ spawn/out=<term>/in=<term>/nowait

Setting a MSMAIL forward

mail> set forward/user=<user> "MX%"""""

Disabling Event Dispatcher on a node

$ mc ncl

NCL> disable event disp out stream *

NCL> disable event disp sink *

NCL> delete event disp out stream *

NCL> delete event disp sink *

How do I change the default protections for files in a directory?

$ set security/acl=(default_protection,s:rwed,o:rwed,g:rwed,w:rwed)/log <directory>

How do I stop users from logging on to the console?

The best option is to edit sys$ and add the following to check the terminal name and then if opa0: check against a list of authorized users:

$ TERMINAL=F$TRNLNM("TT") - "_" - ":"
$ WRITE SYS$OUTPUT "You can't use this terminal"

Last Update: Friday, December 28, 1998
Copyright ©1998 SavillTech Ltd. All rights reserved. Terms of use