Solved

Open Windows Problem

Posted on 1998-11-10
3
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

739 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