Previous | Contents | Index |
This appendix contains information that can help you determine the
cause of some common problems that you might encounter while using
DECwindows. Section C.1 contains general troubleshooting techniques.
Section C.2 lists problems by category.
C.1 General Troubleshooting Techniques
This section discusses some actions that you can take to diagnose and to help prevent the problems discussed in the previous sections. The items listed here are intended as general techniques for troubleshooting.
$ SET MESSAGE SYS$MESSAGE:DECW$DWTMSG |
SYS$MESSAGE:DECW$LOGINMSG
SYS$MESSAGE:DECW$TRANSPORTMSG
SYS$MESSAGE:DECW$TERMINALMSG
$! DECW$LOGINLOG == "SYS$MANAGER:DECW$LOGIN.LOG" |
$ @SYS$MANGER:DECW$STARTUP RESTART |
$ DECW$LOGINLOG == "SYS$MANAGER:DECW$LOGIN.LOG" |
$ @SYS$MANGER:DECW$STARTUP RESTART |
$ ACCOUNTING/SINCE |
$ EXIT %x000187DC |
$ RENAME DECW$USER_DEFAULTS:DECW*.DAT - _$ SYS$LOGIN:DECW*.OLD_DAT |
Rename DECW$USER_DEFAULTS:*.VUE$DAT files and try again, as follows:
$ RENAME SYS$LOGIN:*.VUE$DAT SYS$LOGIN:*.OLD_VUE$DAT
Rename the SYS$LOGIN:DECW$LOGIN.COM file or the system file and try to run the application again, as follows:
$ RENAME SYS$LOGIN:DECW$LOGIN.COM - _$ SYS$LOGIN:DECW$LOGIN.OLD
Rename the SYS$LOGIN:LOGIN.COM file or the system file and try to run the application again, as follows:
$ RENAME SYS$LOGIN:LOGIN.COM SYS$LOGIN:LOGIN.OLD
Compare the values with those of working accounts and make adjustments to find the problem.
$ RUN DECW$EXAMPLES:ICO.EXE |
$ DEFINE DECW$DECTERM_OUTPUT DECTERM.LOG |
$ SET MESSAGE SYS$MESSAGE:DECW$TRANSPORTMSG $ WRITE SYS$OUTPUT F$MESSAGE(P1) $ SET MESSAGE SYS$MESSAGE:DECW$XLIBMSG $ WRITE SYS$OUTPUT F$MESSAGE(P1) |
$ @DECWMSG %X02DBA002 %DECW-E-CNXABORT, connection aborted %NONAME-E-NOMSG, Message number 02DBA002 |
This section lists common problems in the following categories:
After each topic heading, one or more problem statements appear in
boldface italic type. Each problem statement
is followed by a brief list of possible causes and solutions.
C.2.1 Start Session Dialog Box
The Start Session dialog box does not appear when the system reboots after an installation.
- Check the SYS$SPECIFIC directories [SYSLIB], [SYSMGR], and [SYSEXE] for DECW$*.* files and delete any that you find. There should be no DECW$*.* files in any of those directories unless a user placed them there. The installation procedure does not place any DECW$*.* files in the SYS$SPECIFIC directories.
- Make sure that the protection code on all DECwindows shareable images is set to world read and world execute (W:RE). This is the default protection used during the installation of DECwindows files. See the DECwindows Motif Version 1.2 for OpenVMS Installation Guide for a list of files provided by DECwindows. See the OpenVMS DCL Dictionary for information about setting protection with the DCL command SET FILE/PROTECTION or SET PROTECTION. The following commands might help you identify a file protection problem. Execute the commands from a privileged account.
The first command causes file access failures to be logged in the operator log file. The second command requests OPCOM to display security violation messages on your screen. The last command restarts DECwindows Motif. See the OpenVMS DCL Dictionary, the OpenVMS System Management Utilities Reference Manual, and the security guide for more information about auditing.
$ SET AUDIT/ALARM/ENABLE=FILE=FAILURE $ REPLY/ENABLE=SECURITY $ @SYS$MANAGER:DECW$STARTUP RESTART- Check the server error log file SYS$MANAGER:DECW$SERVER_0_ERROR.LOG for error messages that might give more details about the problem.
- Check the SYS$MANAGER:NETSERVER.LOG file for error messages that relate to a DECnet transport problem. See the DECnet for OpenVMS Networking Manual for information about error messages contained in the NETSERVER.LOG file.
- See Section C.1 for more help in diagnosing the problem.
When you try to start a new session, the dialog box indicates that "No license is active for this software product."
- A license on your workstation is invalid. If a new license is available, reboot the operating system by performing a conversational boot using minimum startup. (See the installation and operations guide for your VAX computer for information about performing a conversational boot using minimum startup.) Log in at the console and issue the LICENSE DISABLE command to disable the expired license. Register a new license using the License Management Facility (LMF). See the OpenVMS License Management Utility Manual for information about using LMF.
When you start FileView, you receive a message indicating that your directory does not exist.
- If your system manager has recently moved your directory, follow these steps to instruct FileView to use the new directory specification:
- Start the FileView application.
- Type in your new directory specification.
- Choose Save Startup (FileView) from FileView's Options menu.
You cannot iconify any windows. The command buttons are missing from the top of the windows.
- The Motif Window Manager has stopped working. Choose either of the following options to restart the Motif Window Manager program:
- Use the following commands to restart the Motif Window Manager program:
Enter these commands from a DECterm window, from a FileView DCL command window, or from another node by setting host to that workstation. You will be unable to use the window for any other operation.
$ SET DISPLAY/CREATE/TRANSPORT=LOCAL $ RUN SYS$SYSTEM:DECW$MWM- Add the Window Manager menu item to Session Manager's Applications menu using the Menu dialog box from Session Manager's Options menu. Then choose Window Manager from Session Manager's Applications menu. See Using DECwindows Motif for OpenVMS for more information about adding a menu item to a menu.
Your program can neither access nor find a font.
- The fonts are located in the wrong directory. Make sure that layered-product fonts are in one of the following disk directories:
The USER_75DPI directory is for fonts displayed on 75-dpi monitors, the USER_100DPI directory is for fonts displayed on 100-dpi monitors, and the USER_COMMON directory is for fonts that can be displayed on either 75-dpi or 100-dpi monitors. The USER_CURSOR16 directory is for 16x16 pixel cursors, and the USER_CURSOR32 directory is for 32x32 pixel cursors.
SYS$COMMON:[SYSFONT.DECW.USER_75DPI] SYS$COMMON:[SYSFONT.DECW.USER_100DPI] SYS$COMMON:[SYSFONT.DECW.USER_COMMON] SYS$COMMON:[SYSFONT.DECW.USER_CURSOR16] SYS$COMMON:[SYSFONT.DECW.USER_CURSOR32]- The font directory files are not updated. To update the font directories, enter the following command from a privileged account:
This command creates new font directories for all layered-product fonts and runs automatically when DECwindows is installed. The command might not have been run by a layered product that supplies its own fonts.
$ @SYS$UPDATE:DECW$MKFONTDIR- A third-party font is being used. Choose any of the following options:
- Obtain the font source in bitmap distribution format (BDF) format. Compile the font with the FONT command. The VMS DECwindows Guide to Xlib (Release 4) Programming: MIT C Binding provides a full description of the FONT command. <vax_PS_section> <vax_br_section>
On VAX systems, copy the resulting *.DECW$FONT file to either the SYS$COMMON:[SYSFONT.DECW.USER_75DPI] directory or the SYS$COMMON:[SYSFONT.DECW.USER_100DPI] directory, as appropriate.<endsection> <alpha_PS_section> <alpha_br_section>
On AXP systems, copy the resulting *.PCF file to either the SYS$COMMON:[SYSFONT.DECW.USER_75DPI] directory or the SYS$COMMON:[SYSFONT.DECW.USER_100DPI] directory, as appropriate.<endsection>
Then create new font directories using the following command:
You must end the current session and start a new session in order for the new font to become available.
$ @SYS$UPDATE:DECW$MKFONTDIR- A file name is used instead of a standard font name.
- For fixed-width fonts, such as 6x10, copy the file DECW$EXAMPLES:DECW$FONT_ALIAS_ FILENAMES.DAT to the SYS$COMMON:[SYSFONT.DECW.USER_COMMON] directory. You must end the current session and start a new session for the change to take effect.
- Modify your program to use standard font names. See the VMS DECwindows Guide to Xlib (Release 4) Programming: MIT C Binding for standard DECwindows font names.
- If your program requires either the Charter or Lucida family of fonts and they do not exist on your system, use the example font alias files provided by DECwindows to give the font name aliases to existing DECwindows font names. For 75-dpi monitors, copy the following files to the SYS$COMMON:[SYSFONT.DECW.USER_75DPI] directory:
For 100-dpi monitors, copy the following files to the SYS$COMMON:[SYSFONT.DECW.USER_100DPI] directory:
DECW$EXAMPLES:DECW$FONT_ALIAS_CHARTER.DAT DECW$EXAMPLES:DECW$FONT_ALIAS_LUCIDA.DAT
DECW$EXAMPLES:DECW$FONT_ALIAS_CHARTER_100DPI.DAT DECW$EXAMPLES:DECW$FONT_ALIAS_LUCIDA_100DPI.DAT<endsection>- Give the third-party font name an alias to an existing DECwindows font name. The third party font must be an ISO Latin1 font. Create the file DECW$FONT_ALIAS.DAT in either the SYS$COMMON:[SYSFONT.DECW.USER_75DPI] directory or the SYS$COMMON:[SYSFONT.DECW.USER_100DPI] directory, depending on whether the third party font is 75 dpi or 100 dpi. The format of the font alias file is:
alias-font-name actual-font-name If the font names contain embedded spaces, enclose the names in double quotes (" "). The alias-font-name value is the third-party font name, and the actual-font-name value is a DECwindows font name. See the VMS DECwindows Guide to Xlib (Release 4) Programming: MIT C Binding for DECwindows font names.
The spacing and fonts look fine on screen 0 but not on screen 1.
- You might be using monitors with different densities. Edit the SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM file and define DECW$MONITOR_DENSITY so that the dpi values are the same for both screens, as in the following example:
If you do not have that file, copy the SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.TEMPLATE file to SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM, and edit the .COM file. Enter the following command to restart the display server:
$ DECW$MONITOR_DENSITY == "100,100"
This command stops all applications and restarts DECwindows. Both screens should now use the same dpi values. All clustered workstations also do so when they are restarted. See Chapter 3 for more information about the private server setup file and for information about how to change individual workstations in a cluster.
$ @SYS$MANAGER:DECW$STARTUP RESTART
You cannot compose characters on OpenVMS workstations.
- If you are using an LK201 keyboard, the Compose Character key functions as the Alt function key. Hold down the Compose Character key and press the space bar. The Compose indicator lights up. Then enter the compose character sequence (for example, a ' to produce á).
- If you are using an LK401 keyboard, choose one of these options:
- Pull down Session Manager's Options menu and choose the Keyboard menu item. A dialog box is displayed. From the Keyboard Type list, choose LK401, then click on OK.
- Use the SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM file to tell the server to default to the LK401 keyboard, as in the following example:
If you do not have that file, copy the SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.TEMPLATE file to SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM. Add the following line to the .COM file:
$ DECW$DEFAULT_KEYBOARD_MAP == "US_LK401AA"
$ DECW$DEFAULT_KEYBOARD_MAP == "US_LK401AA"
See Section 3.1 for an example. Enter the following command to restart the DECwindows server:
This command stops all applications and restarts DECwindows. The server now treats the keyboard as an LK401 keyboard. All clustered workstations also do so when they are restarted. See the Chapter 3 for more information on the private server setup file and for information about how to change individual workstations in a cluster.
$ @SYS$MANAGER:DECW$STARTUP RESTART
The arrow keys move the mouse pointer instead of working with the application.
- If you pressed Shift+Ctrl+F3 to enter pseudomouse mode, you must press Shift+Ctrl+F3 to exit pseudomouse mode.
- Click with any mouse button to exit pseudomouse mode.
You cannot dismiss the Pseudo Mouse Mode dialog box without exiting pseudomouse mode.
- To dismiss the dialog box without exiting pseudomouse mode, position the cursor over the OK button in the Pseudo Mouse Mode dialog box and then press the Return key.
The top part of the screen goes black and some text messages are visible.
- If you pressed Ctrl+F2 to enter console display mode, you must press Ctrl+F2 to exit console display mode.
- If OPCOM wrote a message to the console, either press Ctrl+F2 to exit console display mode, or disable OPCOM messages to the console.
To disable OPCOM messages, log in to a privileged account and enter the following commands:
You might want to add those commands to the SYS$MANAGER:SYSTARTUP_V5.COM file so that OPCOM messages are disabled after a system reboot.
$ SET TERMINAL/PERMANENT/NOBROADCAST OPA0: $ DEFINE/USER SYS$COMMAND OPA0: $ REPLY/DISABLE
Previous | Next | Contents | Index |