The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
path_to_inst file question mokkan SUN Solaris 2 05-16-2008 08:59 PM
path_to_inst output for usb storage device montana77 UNIX for Dummies Questions & Answers 0 04-05-2008 04:04 AM
how to open a text file by double clicking on the file name in gtk+ cy163 UNIX for Dummies Questions & Answers 0 06-11-2007 04:32 PM
/etc/path_to_inst ailnilanjan Filesystems, Disks and Memory 6 02-27-2007 12:09 PM
file activity (open/closed) file descriptor info using KORN shell scripting Gary Dunn UNIX for Dummies Questions & Answers 3 06-07-2004 10:54 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2004
Registered User
 

Join Date: Aug 2003
Location: Ireland
Posts: 269
cannot open /etc/path_to_inst file

In trouble... booted system and error on prom is

"cannot open /etc/path_to_inst file"

Any suggestions?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-05-2004
Registered User
 

Join Date: Nov 2003
Location: Minnesota
Posts: 387
Not any suggestions you'll like . . . .

/etc/path_to_inst is absolutely critical for the system to boot. If it can't find that you have basically no hope. Every time I've ever seen that it was because of either:

1. A hardware failure with the root disk, or

2. The root filesystem getting so smashed it wouldn't even boot enough to fsck itself.

The solution was always either replacing the disk or reinstalling Solaris depending on which of those 2 situations it was that caused the error message.

You could try booting off of CD or the network and see if you can fsck the root disk. If it passes the fsck, then you could try mounting the root partition to /mnt and see if you can repair the path_to_inst file (copy back a "path_to_inst.bak" or something if you have one). But I wouldn't get my hopes up if I were you. If it isn't even getting past the prom, maybe do a probe-scsi or probe-ide as appropriate to verify if the system is even able to see the root disk.
Reply With Quote
  #3 (permalink)  
Old 03-05-2004
Registered User
 

Join Date: Aug 2003
Location: Ireland
Posts: 269
Hi - I dont know why this happened..


boot -a from the ok prompt has sorted it.. recreated the /etc/path_to_inst file... Thanks!!
Reply With Quote
  #4 (permalink)  
Old 03-05-2004
Registered User
 

Join Date: Nov 2003
Location: Minnesota
Posts: 387
Glad to hear it worked. I'm suprised a boot -a did it though.

I've had times where I've had to delete a bad /etc/path_to_inst and let it recreate one, but if it said it couldn't even open it when you booted that first time I wonder why it worked the second? That is why I said it is probably a dead disk or corrupted filesystem - otherwise why wouldn't it have just recreated it that first time?

Strange.
Reply With Quote
  #5 (permalink)  
Old 03-05-2004
Registered User
 

Join Date: Aug 2003
Location: Ireland
Posts: 269
Yes it is strange. All I was doing before that was using the shutdown command... nothing that I dont normally do..

Anyway - thank god its not something worse.. thanks for help all the same.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0