内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (2592 KB)
Appendix A Solaris TroubleshootingThis appendix provides help with some of the problems you may experience when using Solaris. It is recommended that you read this entire appendix for information on these problems. The troubleshooting sections in this appendix are listed by DeskSet, OpenWindows and Workspace Properties categories and are in alphabetical order within each category for ease of reference. Some of the information in this troubleshooting section requires a basic understanding of the UNIX operating system. If you do not understand how to diagnose or correct problems related to the UNIX operating system, see your system administrator or someone who is familiar with UNIX for assistance. DeskSet TroubleshootingThis section provides information about tools in the DeskSet. Binder TroubleshootingYou can only run one Binder at a time because your user database locks while the Binder is running. If you cannot start up the Binder, and you receive a message in your console telling you that you do not have permission to write to your user database, it's probably because you have another Binder currently running. If a File Type entry that you think is associated with a Binder entry is not showing up, it's probably because the Binder read in a duplicate of that File Type entry before it read the Binder entry in question. When there are duplicate File Type entries, the Binder only uses the first one it reads. The first File Type entry that the Binder reads does not necessarily correspond to the first Binder entry in the base window scrolling list. Therefore, you should use caution when using the Copy button to copy a File Type entry. If a File Type entry does not show up for a particular Binder entry, try to find and delete the duplicate File Type entry. Calculator TroubleshootingIf the Calculator detects an error, such as division by zero, the word Error is displayed. The Calculator must then be cleared with the Clr key before any further calculations can take place. Calendar Manager TroubleshootingThis section describes basic Calendar Manager troubleshooting. RPC Problems and Calendar Manager InstallationThe Calendar Manager consists of two parts:
The Calendar Manager application cannot function without the Calendar Manager service. If your Calendar Manager does not display appointments, or if you get RPC timeout messages in the console window, rpc.cmsd may not be running. To check your configuration, use these steps:
Upgrading SunOS and Calendar ManagerIf you are upgrading the SunOS, you need to back up the following directory, to preserve the information there:/var/spool/calendar Use whatever backup medium is available to you, and restore the directory when the operating system upgrade is complete. Missing Calendar Data or NO NAME in HeaderIf your appointments are not displayed, make sure you have run the installation script, as necessary. See "RPC Problems and Calendar Manager Installation" for information. Before trying the following procedure, try restarting Calendar Manager first. If your appointments are still not displayed, and you see the string NO NAME in your Calendar Manager header, the permissions are probably wrong for the /usr/spool/calendar directory and files. Make sure they are exactly as described in the following steps.
Remote Access ProblemsThere are two basic symptoms of remote Calendar Manager access problems:
There are three things you can check to try to fix these access problems:
Adding a Second Calendar on your WorkstationIf you'd like to add a second calendar on your workstation, you need to create a dummy user for that calendar. For example, you might want to add a second calendar for appointments for your entire work group. To create the dummy user and new calendar, use the following steps. These steps assume a basic understanding of UNIX system administration, so you may need to get some assistance. This assumes you are root.
Sharing Calendars Across WorkstationsIf you move around from workstation to workstation, and you want to always be able to access your real Calendar, you need to have Calendar Manager running on each workstation. Use the following steps to set up access to your calendar from multiple workstations:
Running Different Versions of OpenWindows and Calendar ManagerIf you run an older version of OpenWindows after running the current version of OpenWindows, the older version of Calendar Manager will not be able to read your appointment data file. To avoid this problem, back up the following file before starting the current version of Calendar Manager: usr/spool/calendar/callog.<user>. Before you return to an older version of Calendar Manager, restore your old file making sure you maintain the permissions on the directory and file. If you browse a calendar that is running a different version from your own, it should work. Clock TroubleshootingDisplaying seconds for the clock may have a negative effect on system performance. If your Workspace color is black, your clock is invisible when it is an icon on the Workspace. See the man page for clock to learn how to have the clock icon painted with the Window Background color instead of the Workspace color. Drag and Drop TroubleshootingThe section describes some of the error messages you may get while attempting a drag and drop from on deskset application to another.
This can occur if the server is unable to connect with the receiving application within a certain time. The default timeout value for an XView application is three seconds. You can change this value by adding a line to your ~/.Xdefaults file. If you wanted to change this to five seconds, add the line:
to ~/.Xdefaults file and then type xrdb ~/.Xdefaults from a command line to setup the server with the new timeout value. Drag and Drop: Illegal TargetThe receiving application does not support drag and drop operations. This message may also appear if the receiving application's drag and drop targets are not responding to the sender. If this is the case, restarting the receiving application may clear up the problem. Drag and Drop: Root WindowThe dragged object was dropped onto the root window. Normally, this is considered an error by the sending application, though File Manager assumes in this case that the item is to be opened. Drag and Drop: FailedAn unknown, internal error occurred while trying to establish a drag and drop connection. DND: Bad TimeAn unknown, internal error occurred while trying to establish a drag and drop connection. Try the drag and drop operation again. File Manager TroubleshootingThis section describes the solutions to common File Manager questions and problems. Cannot Format a Floppy Using the File Manager Format OptionIf you try to format a floppy using Format from the File Manager File menu and it does not work, your system may not be set up to run the format program. Contact your system administrator for assistance. Custom Icons Not DisplayedIf you think you changed a file's icon with the Binder, but you do not see the change in the File Manager, make sure that you restarted the File Manager after you saved the Binder changes. If you have already restarted the File Manager, recheck your changes with the Binder. Make sure the entry you changed was saved to your user database with the Binder Save button. Also, make sure the file displayed really falls into the class of files changed with the Binder. If your File Manager displays only the three generic types of icons (folders, applications, and documents), the File Manager was unable to connect with the Binder database. Check your Console window for error messages indicating where the problem occurred. Deleting Floppy and CD WindowsIf you delete a window for a floppy disk or CD, you can bring it back by selecting them from the Go To menu button. They are always displayed within the application specific section of the Go To menu. For information on using the Go To menu refer to Chapter 2, File Manager. Drag and Drop ProblemsIf you use File Manager to drag and drop a file to another application, but you get the error message
in the File Manager footer, the file was dropped in a place that does not recognize the file type or that does not support drop operations. File Manager Does Not Display Some or All of Your FilesIf files you expect to see in the file pane are not being displayed, make sure you have not specified a view filter pattern from the File Manager Properties window which can suppress the display of those files. When a filter is specified, it is always displayed in the header of the File Manager window. To clear this up try selecting View Icon by Name. Remote File Copy ProblemsIf you have trouble transferring files between remote systems, you may not have the correct permissions to access the file, directory, or system, or the remote system may not be accessible through the network. Contact the person who owns the files (or the person who asked you to transfer the files) to change permissions so the transfer will work. To find out if the remote system is available on your network, contact your system administrator. View By Content Takes Too Much TimeWhen the File Manager is viewing files by content, it needs to read and compress the first screen of files so they can be displayed. For Sun icons, X Bitmap, and X Pixmap files, this should work fairly quickly. However, compressing large Sun raster images can take some time. Therefore, if you only need to look at icon files, be sure to only have Monochrome Icons and Color Icons set on the Properties: Current Folder or New Folder window for the Files to View setting. Image Tool TroubleshootingIf you try to run Image Tool and you receive the following message:
You need to have the XIL packages installed. Contact your system administrator for assistance. Mail Tool TroubleshootingIf you run multiple versions of mail programs, Mail Tool may become confused about the state of your In-Box. If Mail Tool takes a long time to open the In-Box, it's possible that a Mail Tool lock file needs to be removed. If there is not enough disk space for the Save Changes operation, you will need to remove messages from the current mail file. This section describes how to recognize and correct these problems. In addition, it describes where you can find your Mail Tool In-Box and where you can find mail messages you were composing that were cleared or lost during a Mail Tool or window system crash. Running Multiple Versions of MailIf you run multiple versions of Mail Tool at the same time (or the Mail Tool application and the Mail program), you may receive notices from your Mail Tool application advising you to Save Changes or Quit one of the Mail Tool applications. This is because both versions try to modify your In-Box. Follow the instructions of the notices to avoid creating confusion about the state of your In-Box. If you did not choose Done or Save Changes in the Mail Tool application before running another Mail Tool application or the Mail program, a notice instructs you to quit your Mail Tool application. If you did save your changes, you will be given a choice to either quit the Mail Tool application or Save Changes to keep it in its original state. You can avoid having to quit your Mail Tool application by getting into the habit of choosing Done from the File menu at the end of each day, or when it is likely that you will be logging into your machine and reading mail from a remote location. If you forget to choose Done, and you remotely log into your machine to read mail, you can tell Mail Tool to choose Done by following these steps:
Mail Tool Lock FileThe Mail utility uses a lock file to prevent two or more processes from altering your mail spool file at the same time. If Mail Tool quits unexpectedly, the lock file may be left behind. If Mail Tool takes a long time to open the In-Box, either when you specifically request it or when you open Mail Tool after you have chosen Done from the File menu, check for a lock file. Look in the directory /var/mail for a file named username.lock, where username is your login name. To remove the file, from a system prompt type:
For example, if your username is "mary", you would type:
Alternatively, you can find the lock file in the File Manager, and drag it to the Wastebasket to delete it. Mail Tool In-Box LocationThe default location for the Mail Tool In-Box is /var/mail/username. If the environment variable $MAIL exists, Mail Tool uses its value as the In-Box location. Recovering Messages Being ComposedIf you are in the middle of composing a mail message when your Mail Tool application or your window system crashes, you can recover a copy of the message from the file dead.letter in your home directory minus the last 80 edits, that is the application keeps track of the number of edits and files saves every 80 edits. So the most edits lost would be the last 80. Your message is also saved in the file dead.letter whenever you click SELECT on the Clear button in the Compose window or choose Clear message from the Compose window's Deliver menu. See the man page for mail for information about dead.letter and the save variable. "Save Changes" Runs Out of Disk SpaceIf you try to save changes, by selecting Save Changes or Done from the File menu, or by switching mail folders, and Mail Tool warns that it has run out of disk space, you must remove messages from the current mail file to make it small enough to save. You can remove messages by deleting or moving them. Removing larger messages helps the most. You can find the largest messages by choosing Size from the Sort By submenu of the View menu. Files Too Large for the Mail Tool Attachment WindowMail Tool may run out of swap space if you drag-and-drop a file that is too large into MailTool Attachment window. You can remedy this by increasing your swap space. Print Tool TroubleshootingIf a file has an inappropriate print script in the binder database (this is not an ASCII file and the possible location is /usr/openwin/lib/cetables), the Print Tool may hang when you use it to print that file. The print script may be missing the $FILE, $PRINTER, or $COPIES variable. See Chapter 16, Binder, for information about how to change print scripts using the Binder. If you print a file and the appropriate filter is not available on the printer, you will receive an error message. SnapShot TroubleshootingA potential problem with Snapshot is creating a raster file that has the wrong dimensions for use with another application. This is described in the following section. Using Snapshot Files with Other ApplicationsIf you experience difficulty in using Snapshot files with other applications, it may be because you are trying to incorporate a snapshot from a grayscale or color monitor into an application that can only handle black-and-white images. Raster files have three dimensions: height, width, and depth. Black-and-white raster files are 1-bit deep. Grayscale and color raster files are usually 8-bits deep. True color raster files are 24-bits deep. If you take a snapshot on a 4-bit screen, it is saved as an 8-bit raster file. You can see the depth of a raster file by typing file rasterfilename in a Shell Tool or Command Tool prompt, or by selecting the file from the File Manager and displaying the Information window. In the example shown in Figure A-3, the listing shows the file properties for all files ending in .rs. As you can see from the listing, there is one 8-bit raster file (snapshot.rs) and the rest are 1-bit files. Figure A-3 Example of a File Command Listing
The best way to convert an image to the same depth as your monitor is to use Image Tool. You can take the snapshot, View it, and use Save as to select b&w as the number of colors. Refer to Chapter 13, Image Tool. Tape Tool TroubleshootingThis section describes some common problems you may encounter with the Tape Tool, and it offers possible solutions. Checksum ErrorsIf you receive a checksum error when reading files from a tar tape, there may be a mismatch between the block size on the tape and the block size you specify. To correct the block size, choose Block I/O from the Tape Tool Properties window. In the text field that appears, type the correct block size (the one from the tape). Files Not Written to Specified DirectoryIf you retrieve files from a tape and they are not copied to the destination directory you specify, list the contents of the tape to see if the file names are preceded by an absolute path name. When you retrieve files that have an absolute path name, that path is used as the destination directory. Tape Drive Not RecognizedTape device names are not automatically included in your system configuration unless a tape drive is hooked up at the time of installation. If you add a tape driver after the inital system installtion but did not reboot your system afterwards, you will get this error message. To reconfigure your system to include the new tape device name, shut down your system and reboot with the following flags: At the ok prompt type:
At the boot > prompt type:
At the ok prompt type:
The new tape drive will appear in /dev/rmt. OpenWindows TroubleshootingYou may occasionally receive an error message or encounter some of the following problems described here. This section offers some possible solutions to these described problems.
If you receive this error message, you need to check to make certain that OPENWINHOME is properly set to point to the location in which the OpenWindows software was installed. Refer to Chapter 17, Customizing the Solaris Environment, in your installation manual for assistance in setting up your environment.
If you experience this problem, you need to make certain that your path is set such that /usr/openwin/bin precedes the rest of your path entry. core FilesOccasionally, you may find that a process or application fails, leaving a file named "core" in the directory from which you began the process. A core file can take up a lot of disk space, so it is a good idea to provide information to your system administrator regarding the failed program and the location of the core file for analysis, and, once it is analyzed, delete it. If you are not certain what process or application failed, open a shell window, and do the following at your system prompt, substituting your directory name for core.directory:
You will receive a message in that shell that tells you the origin of the core file. Provide this information to your system administrator. Those with knowledge of the operating system software may want to analyze the core file on their own. Information regarding two basic debugging tools is available in the man pages for adb and dbx. Blank ScreenIf you have set the screensaver option (described in Chapter 17, Customizing the Solaris Environment) and your screen turns blank, you can restore your desktop by moving the mouse in any direction. Although input from any keyboard key or mouse button will restore your screen, it is advised that you move the mouse instead. This is because pressing a key creates system input which means, as an example, that if the pointer is positioned in a text file, you may insert a character in the text. SPARC: Jumbled Text CharactersIf you are running applications of several different types (SunView and OpenWindows applications, for instance), the characters you type in a window may occasionally appear jumbled. To solve this problem, place the pointer in the workspace background, and choose Workspace->Utilities->Reset Input. Note - This section applies only to SPARC-based machines. Problems with .xinitrcIf you have an .xinitrc file in your home directory and you are seeing problems with applications that rely on global OpenWindows resource settings, one method of troubleshooting is to rename the file to .xinitrc.orig and restart OpenWindows. If this solves your problem, you need to either merge changes between the system version (located in /usr/openwin/lib/Xinitrc) and your .xinitrc or remove it if it is no longer needed. Window DamageArtifacts--or remnants of other windows--sometimes remain on a window when overlapping windows are cleared away. This is known as window damage. To redraw the screen, choose Workspace Utilities Refresh. Momentarily, the artifacts will be cleared. If the damage occurs to one application window only, you can refresh that application window by choosing Refresh from the pop-up menu in that window's header. Window Frozen when Opening an ApplicationIf you opened an application from the command line in a Shell Tool or Command Tool window, as in the example below, you may find that your window freezes up.
The best way to open any DeskSet or other XView application on the command line is to append the command with the ampersand (&). For example:
This starts the application "in the background" so that the parent window from which you started the application is free for further use. Window Does Not Accept InputIf you position your pointer in a text window (such as in Text Editor or the Mail Tool Compose subwindow), and when you begin typing the text you type does not appear in the window, it is likely that the window is inactive, and you must click SELECT in the window to activate it. Note that the insert point in a text window changes in appearance depending upon whether that window is active or inactive. If the insert point is active it looks like a triangle. If it is inactive, it looks like a dimmed diamond. Figure A-4 shows an insert point that is active, and one that is inactive. Figure A-4 Active and Inactive Insert Points
You can modify your Workspace Properties so that a window's input area automatically becomes active when you move the pointer into it, enabling you to bypass the step of clicking SELECT in the window. This works for the base window--an application's main window--but in some cases, such as the Mail Tool's Compose subwindow, you always need to click SELECT in the window to activate it. See Chapter 17, Customizing the Solaris Environment, for more information. Workspace Properties TroubleshootingThese are problems you can experience while using the Workspace Properties. Property Settings Are Not Preserved Across SessionsThis is due to an obsolete .xinitrc file. For more information, refer to "Problems with .xinitrc". Colors Settings Are Not Taking EffectIf changes you made for the window foreground, data area foreground and background, then it might mean that XView doesn't respond to these resources yet. Try to set window.color.foreground and window.color.background in $HOME/.Xdefaults manually for XView applications. Message Regarding Colormap UsageFrom the Color Properties, if you receive a message about colormap usage and the program can't continue, it might mean the colormap is full. Try to exit the application(s) that make heavy use of colormap resources, restart the Properties and try again. Fonts Extend Beyond Button Boundaries, Layouts Appear MisalignedSome programs don't properly handle all font scales. Icon Backgrounds Don't Match Workspace PatternXView applications control the icons, they don't use bitmaps. Color Category MissingColor settings availability is dependant on hardware. Accented Characters Do Not Appear in C LocaleThe C locale does not support 8-bit characters (that is, G1 set or right-hand side of the ISO 8859-1 character set, such as characters with diareses). Use the en_US locale to display 8-bit characters in the English language environment. To empower the en_US locale you can pull down the Workspace Properties menu, under the category "Localization" select en_US. Alternatively, if you are a Bourne Shell user you can add the following to your ~/.profile file:
If you are a C-shell user you can add the following to your ~/.login file:
|
|||||||||||||||||||