Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getexecname() failed 1

Status
Not open for further replies.

wtrepani

MIS
May 30, 2002
93
US
Hello,

Last night we moved some application file systems to a different drive. To do this, I took the system to single user state, mounted the new filesystems with a different name, copied all the data over via cp -Rp * /newfilesystem, then unmounted the old, modified /etc/vfstab to show the new, and mounted the new filesystems. None of these filesystems were os, they were all created specifically for the applications.

The problem is, on boot I started getting errors like this:

/usr/bin/savecore getexecname() failed
/usr/bin/swap getexecname() failed
/usr/bin/ps getexecname() failed
sort getexecname() failed

The system seems to have come up ok, the applications still work, all the filesystems are mounted and are all clean.

If I type any of these commands at a prompt, I get the same thing.

Anyone have any ideas?

Will

 
When you logging in as root, can you execute simple commands like "ps" and "swap" ?

regards ph
 
No, I cannot execute any of the commands listed above as root. Everything else seems to work. I can do df, sar, but I also notice that prstat does the same getexecname() failed.

Yup, /usr is mounted.

Will
 
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)

regards ph
 
OK, I accidently commented out /proc in /etc/vfstab. I uncommented it and mounted it, it works great now.

Thanks for all your help.

Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top