Solved

Open Windows Problem

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Shell script errors 10 129
CRON statement to run every 3 minutes except on Monday morning 12am to 2am 7 94
UNiX Script filesystem space usage Part2 54 86
unix example issues 18 89
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…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.

813 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

14 Experts available now in Live!

Get 1:1 Help Now