Solved

getexecname() failed

Posted on 2003-11-10
6
1,266 Views
Last Modified: 2013-12-27
Dear All,

I just made a fresh intallation of Solaris 8(02), the partition is like below:

/dev/dsk/c1t0d0s0    3943839      /
/dev/dsk/c1t0d0s1    8676831      /usr
/dev/dsk/c1t0d0s3    1991988      /proc
/dev/dsk/c1t0d0s4    2516122      /opt
/dev/dsk/c1t0d0s5    4592700      /var
/dev/dsk/c1t0d0s7    12178374     /export/home

But after the installation, I found that ps gave me error message like: ps: getexecname() failed, and some packages were also failed to be installed because of the same problem.
Can anybody here help me out?
Thanks a lot in advance!
0
Comment
Question by:oceandeep
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 250 total points
ID: 9719811
I use Solaris 2/02 (Sparc) and never have problem. I thinks
you should not have a separate /proc, it should stay with the / filesystem.
(/proc is the process dir, it should mount on system boot up)

also, have a look at the followinf Sun doc:

#--------------------------------------------------------------------------------------------
Keyword(s):error, failure, troubleshooting

Problem Statement Top

During bootup, system has this error:

swap: getexecname() failed

It boots up with a couple more errors. Then after logging in as root, simple commands like "ps" and "swap"
cannot be executed.


Resolution Top

The most likely scenario is that /proc and/or /dev/fd aren't mounting properly.

Both of those are special mountpoints which are VITAL to proper operation of the OS!

One possibility is that the actual /proc and/or /dev/fd directories are missing. If that's the case, boot the system into singleuser mode and re-create those dirs.

Another possibility is that the /etc/vfstab file is missing mount point entries for /proc (and/or for fd).

Edit /etc/vfstab file and add the /proc and/or fd entries.

Example of those entries:

fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -

Note: the above are tabs (not spaces) separating the vfstab fields.
"fd" means File Descriptors (not floppy disk)





0
 
LVL 24

Expert Comment

by:shivsa
ID: 9720422
most likely it must be /proc.

try to mount /proc file system.
mount -F proc /proc /a/proc

also please refer to sundoc as mentioned by Yuzh.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9720433
also please check the system clock time.
if it is set to time back, correct it. and everything will start working smooth thereon.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 38

Expert Comment

by:yuzh
ID: 9736478
How's it going, need more help?
0
 

Author Comment

by:oceandeep
ID: 9746742
Thanks a lot, guys!
I think it might be the problem of proc mouting point. I reinstalled solaris, and removed slice /dev/dsk/c1t0d0s3 /proc, let it be with /, everything running well after that!
I will find a time to try the sun's solution to see whether it works or not. ;)

oceandeep
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9753795
In my first comment:

"you should not have a separate /proc, it should stay with the / filesystem.
(/proc is the process dir, it should mount on system boot up)"

tell you to repartion the HD, means reinstall.

I post the Sun doc to tell you why. (I think you guys believe Sun!)

cheers!


0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.

717 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