Solved

Open Windows Problem

Posted on 1998-11-10
3
210 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

708 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

16 Experts available now in Live!

Get 1:1 Help Now