cannot open /etc/path_to_inst file


 
Thread Tools Search this Thread
Operating Systems Solaris cannot open /etc/path_to_inst file
# 1  
Old 03-05-2004
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  
Old 03-05-2004
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  
Old 03-05-2004
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  
Old 03-05-2004
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  
Old 03-05-2004
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Incorrect fabric WWN and path_to_inst Solaris 9

Hi, Over a period of time we gradually migrated all LUN's from our HP EVA array over to our EMC array. From the server it would appear some files require a tidy up and was wondering what the impact it would have if changes were to be made to the fabric_WWN_map and path_to_inst files and if... (0 Replies)
Discussion started by: jamba1
0 Replies

2. Shell Programming and Scripting

Newbie.. Find if a file exists and open, if not create the desired file..

Hey all, I'm brand new to script writing, I'm wanting to make a script that will ask for a file and then retrieve that file if it exists, and if it doesn't exist, create the file with the desired name, and I'm completely stuck.. so far.. #! bin/bash echo "Enter desired file" read "$file" if ... (5 Replies)
Discussion started by: Byrang
5 Replies

3. Solaris

Before I delete any file in Unix, How can I check no open file handle is pointing to that file?

I know how to check if any file has a unix process using a file by looking at 'lsof <fullpath/filename>' command. I think using lsof is very expensive. Also to make it accurate we need to inlcude fullpath of the file. Is there another command that can tell if a file has a truely active... (12 Replies)
Discussion started by: kchinnam
12 Replies

4. Red Hat

cannot set user id: Resource temporarily unavailable (not open file/open process related)

First post, sorry to be a bother but this one has been dogging me. I have a process user (java application server) that trips a resource limit every couple weeks and need help finding what limit we're hitting. First, this is what's running: This is the error when jobs are run or the... (0 Replies)
Discussion started by: Katahdin
0 Replies

5. Programming

Some how the open(file,flag, acc) returns 0 and write to the screen, instead of the file ???

I am out of idea what to do to resolve the problem! I need to use the open(file, for.., access) function to write a file. Never have the situation like that: it is return 0 - zero. As a result all write(..) going to the screen! What the problem it could be? I do not even know... (2 Replies)
Discussion started by: alex_5161
2 Replies

6. Programming

libRmath.so: cannot open shared object file: No such file or directory

% locate Rmath /m/backup/backup/lib/R/include/Rmath.h /usr/lib/R/include/Rmath.h % gcc -g -o stand stand.c -I/usr/lib/R/include/ -lRmath -lm % ./stand ./stand: error while loading shared libraries: libRmath.so: cannot open shared object file: No such file or directory What's the trouble... (6 Replies)
Discussion started by: cdbug
6 Replies

7. Solaris

path_to_inst file question

When path_to_inst file get created? Can we manually edit it? Thanks (2 Replies)
Discussion started by: mokkan
2 Replies

8. UNIX for Dummies Questions & Answers

path_to_inst output for usb storage device

Hello, I have a sun blade 100 with solaris 10 and am perplexed by the instances of devices that I see when I attach a usb flash stick to one of the ports in the back of the chassis. Here is what I see for USB storage in /etc/path_to_inst: "/pci@1f,0/usb@c,3/storage@3" 0 "scsa2usb"... (0 Replies)
Discussion started by: montana77
0 Replies

9. Filesystems, Disks and Memory

/etc/path_to_inst

Hello Friends I was using V490 server with StoreEdge 3500 on Solaris 5.8 platform. It got crashed when the optical link between 3500 and V490 got failed. After a long effort it is now getting messege like below, Rebooting with command: boot Boot device:... (6 Replies)
Discussion started by: ailnilanjan
6 Replies

10. UNIX for Dummies Questions & Answers

file activity (open/closed) file descriptor info using KORN shell scripting

I am trying to find a way to check the current status of a file. Such as some cron job processes are dependent on the completion of others. if a file is currently being accessed / modified or simply open state I will wait until it is done being processed before attempting the next process on that... (3 Replies)
Discussion started by: Gary Dunn
3 Replies
Login or Register to Ask a Question