The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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-17-2008 12:59 AM
path_to_inst output for usb storage device montana77 UNIX for Dummies Questions & Answers 0 04-05-2008 08: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 08:32 PM
/etc/path_to_inst ailnilanjan Filesystems, Disks and Memory 6 02-27-2007 04:09 PM
file activity (open/closed) file descriptor info using KORN shell scripting Gary Dunn UNIX for Dummies Questions & Answers 3 06-07-2004 02:54 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-05-2004
frustrated1 frustrated1 is offline
Registered User
  
 

Join Date: Aug 2003
Location: Ireland
Posts: 278
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?
  #2 (permalink)  
Old 03-05-2004
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 424
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.
  #3 (permalink)  
Old 03-05-2004
frustrated1 frustrated1 is offline
Registered User
  
 

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


boot -a from the ok prompt has sorted it.. recreated the /etc/path_to_inst file... Thanks!!
  #4 (permalink)  
Old 03-05-2004
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 424
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.
  #5 (permalink)  
Old 03-05-2004
frustrated1 frustrated1 is offline
Registered User
  
 

Join Date: Aug 2003
Location: Ireland
Posts: 278
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0