Solved

Open Windows Problem

Posted on 1998-11-10
3
215 Views
Last Modified: 2013-12-27
Problem:  Open Windows Version 3 will not start up.

Computer: Sun IPC  Sun OS 4.1.4

Error Message: (When log in as user)
/files/home/users/thicks/.xinitrc
Illegal Instruction
Core Dumped

(when log in as root)
/usr/openwin/lib/Xinitrc
Illegal Instruction
Core Dumped

Note: No problems logging in as user "thicks" on other machines on the network.  Problem is on this one computer only.

The files .xinitrc and Xinitrc have been checked and are not corrupt.
0
Comment
Question by:rway
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
braveheart earned 200 total points
ID: 2007728
Examine the core to see which program failed.  Was it xinit itself or was it some other program that xinit was trying to start up (i.e. one of the commands in the .xinitrc file).  This may help you to narrow down the problem.

It could be that you are running a different version of the operating system on your sun than on other machines. You may be trying to run a program which was compiled at a later (or otherwise incompatible) version.  It could be a problem in installation so that xinit or open windows was corrupted and needs to be re-installed.
0
 

Author Comment

by:rway
ID: 2007729
How do I examine the core.  It is not a kernal crash, so modifying the rc.local did not save an image.

No network or software changes have been made.  The problem just appeared on its own.
0
 
LVL 3

Expert Comment

by:braveheart
ID: 2007730
When you get a message which says "core dumped" you should find a file called "core" in the current directory which is a snapshot of the executing program at the moment it crashed. It doesn't necessarily refer to a kernel crash and has nothing to do with rc.local.

Note that it is possible to get this message and the core file be thrown away. This will happen if you have limited the size of core dump file (by using the "limit coredumpsize" command in csh, for example) and the failing program is bigger than the specified size. In this case you will have to remove the limit first. Alternatively, if there is too little disk space to dump core then it will not get saved.

Once you have a core file, to determine which executable crashed  try using "file core" which I think tells you the name of the original program. Failing that, use a debugger to find it out.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now