Visit Our UNIX and Linux User Community


sun guru help!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users sun guru help!
# 1  
Old 06-26-2002
Power sun guru help!

I installed sun recommended cluster patches for solaris 2.5 on my
solaris 2.5 server and then issued a shutdown -i6 -y -g0 to reboot the server but server failed to come back up.

the server tries to boot up and goes through initialising memory then server freeze.

I try to bring the server up by

Pressing the stop -a keys on the keybord, which bring me to the ok prompt

then issued

boot cdrom -s to boot from cdrom

but what do I do from here I have never been in this situation before.

Can you Help please


Thanks in Advance
# 2  
Old 06-27-2002
Java First try to boot single user

I think its better to try to boot single user and find out what kind of problem prefent your box from booting.

So at the ok> prompt
boot <bootdisk> -s

if this fails also you can boot from CDROM
# 3  
Old 06-27-2002
I have tried to boot the server in single mode (boot -s ) from ok
prompt.

This displayed the following error message:

Bad trap CPU=0 type=0x31 rp=0x10403648 addr=1024 mnu_fsr=0x0


End trackback


what does the above message means? what is the solution to this above problem

Can you help please.

Thank in Advance
# 4  
Old 06-27-2002
When you applied the recommended patches, were you in single user mode?

If not, then more than likely you have 'hosed' the system. One or more patch did not apply correctly because of the state of the server. It is causing a panic on the server.

If the server is actually up in single user - remove the patch.
OR
You could try booting cdrom -s and then mounting your different partitions under /mnt. You could then try to find the patch directory (where you installed from) and run the backoutpatch script (note you would have to change it to let it know that the real /, /usr, /whateverelse is actually under /mnt/, /mnt/usr, ...
If you don't it will fail for two reasons - one: you can't write to the / partition while booted from cdrom - and two, the cdrom doesn't have the patch on it)

If you can't do that - re-install the OS, apply patch in single user, init 0, boot -s (normally I would boot -s after applying a patch - just in case )

Another possible cause - a bad CPU or memory - but I don't find anything on SunSolve except software issues for that error.
# 5  
Old 06-28-2002
Sun Documentation site

I found the test below at http://docs.sun.com/




BAD TRAP
Cause A bad trap can indicate faulty hardware or a mismatch between hardware and its configuration information. Data loss is possible if the problem occurs other than at boot time.
Action If you recently installed new hardware, verify that the software was correctly configured. Check the kernel traceback displayed on the console to see which device generated the trap. If the configuration files are correct, you will probably have to replace the device.
In some cases, the bad trap message indicates a bad or down-rev CPU.
Technical Notes A hardware processor trap occurred, and the kernel trap handler was unable to restore system state. This is a fatal error that usually precedes a panic, after which the system performs a sync, dump, and reboot. The following conditions can cause a bad trap: a system text or data access fault, a system data alignment error, or certain kinds of user software traps.
# 6  
Old 07-02-2002
Power

sun Engineer was callout and after replacing memory and cpu twice he concluded that the problem is not actually an hardware problem.

he said the problem was patches being installed in run level 3 rather than single user mode.

However, I booted the server from cdrom and mounted on /mmt

mount /dev/dsk/c0t0d0s2 /mnt

I checked the installed patches in /mnt/var/sadm/patch and I
could see the recently installed patches but when I issued

patchrm "patch name"

this responded with patch is not installed or is invalid.

but I could see the patch in /mnt/var/sadm/patch

what am I doing wrough? how can I removed the recent installed
patches.
# 7  
Old 07-03-2002
Your original message showed you were running Solaris 2.5. I don't believe patchrm was in the OS back then. I checked a 2.5.1 system and there is no such command.

If you are running 2.5, then you need to go to the directory where you originally installed the patch from - that sould be /tmp. (Problems sometimes occur with installing from other directories). You should have a 103xxx-xx directory. If you saved the files to allow a backout, then there should be a backout script to run (you don't want to use patchrm since that is not set up to remove all the patches added by the one you installed).

If this doesn't work - you have to reinstall the OS - no way around that.

Previous Thread | Next Thread
Test Your Knowledge in Computers #1000
Difficulty: Medium
Trusted Computer System Evaluation Criteria (TCSEC) is frequently referred to as the Red Book.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help from a C++ makefile guru

hello, i'm recompiling some c++ code for OSX and there are some bugs as the configure is not picking up some libs like atlas, pastix, etc, it should be finding either in standard path or with pkgconfig but it's not so i'm rewriting the Makefile. C++ territory is a bit of a stretch with all of... (0 Replies)
Discussion started by: f77hack
0 Replies

2. What is on Your Mind?

Noob and Guru

A long time ago, my computer crashed, at that time, I was using Windows98, but because I was a noob at computers, my friend recommended me apro to fix it for me.   He came, saw the computer, and asked if I had a backup/installation disk for Windows 98. I said no.   He thought about it for a... (1 Reply)
Discussion started by: vistastar
1 Replies

3. Shell Programming and Scripting

UNIX Guru's help on diff

Hi , I wanted to find delata between two huge ( 8 GB ) files . Say file_TDY and file_YDY : These files are sorted based on a key . I am using a command : 1)bdiff file_TDY file_YDY > diff_file 2) grep ' ^< ' diff_file > TDY_delta I wanted only the changed records and newly added... (2 Replies)
Discussion started by: ajaybalki
2 Replies

4. AIX

-- Need help from a AIX guru --

Hi alls I don't see any solution and I need to have feedback from other people... On a test machine (AIX 5.1) I've installed OpenSSH software on it (with openssl, prng, etc...) like is described on IBM AIX Docs. To control the installation I've rebooted the machine and all was ok (CDE was... (15 Replies)
Discussion started by: nymus7
15 Replies

5. Shell Programming and Scripting

scripting....guru's help needed

perl guru's, what i think is, not simply writing a script...i like to write a script which must take less time to run and less memory use..i like to fine tune my program... for ex, my program has a subroutine(1 file open &file close and 1print ) 2if loops(1 file open &file close and... (2 Replies)
Discussion started by: sekar sundaram
2 Replies

6. UNIX for Advanced & Expert Users

TAR prob - Guru's please help

I'm trying to tar 3000 files into a single tar file to be extracted on another server. Command I'm using: find . -name '*cost*' -print| xargs tar -cvf mylist.tar (Note tar is contained on filesystem not tape drive which is what I want) Above command works fine and displays all 3000+ file... (3 Replies)
Discussion started by: budrito
3 Replies

7. UNIX for Dummies Questions & Answers

To all the Java guru...

Please forgive me if this is the wrong place for this post. I didn't see a good place to post this topic in. :D I would like to know what's the most popular and reliable Java IDE out there nowadays? A FREE one would be awesome! :D Thanks for your suggestion! Cheers! (10 Replies)
Discussion started by: laila63
10 Replies

8. UNIX for Advanced & Expert Users

what do most Unix guru's use ? :D

I wanted to know what email app most Sun solaris / unix gurus use ? I have become quite NON microsoft in the last few months in my studying solaris.. thanks simon2000 (6 Replies)
Discussion started by: simon2000
6 Replies

9. UNIX for Dummies Questions & Answers

DNS guru needed...

Well I have a new hosting account. I love these guys, because they have everything I need, and give me everything I need, but at the cost of I must configure it myself. I am trying to create a subdomain, and they use raw zone access for dns administration. I have no idea how to configure the zone... (1 Reply)
Discussion started by: btmitch
1 Replies

10. UNIX for Advanced & Expert Users

Perl Guru help

I am trying to install Perl 5.005 on solaris 2.5, following the perl installation guide in INSTALL file that comes with Perl software However, according to the installation procedure, it instruct me to to excute "make" command after running the Configure which I did but everytime I excute... (3 Replies)
Discussion started by: hassan2
3 Replies

Featured Tech Videos