Operating System - HP-UX
1846538 Members
2324 Online
110256 Solutions
New Discussion

nlist64 to /stand/vmunix failed, errno = 14

 
SOLVED
Go to solution
Steven Richards
Frequent Advisor

nlist64 to /stand/vmunix failed, errno = 14

Ok,

So following on from my earlier mistake in reducing the kernel params (see "swlist produces Memory fault(coredump)") I now need to change the kernel params back to a higher value. Unfortunately when executing the system_prep command I get the following error.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
get_sysfile: nlist64 to /stand/vmunix failed, errno =14
ERROR: The extraction of a system file from "/stand/vmunix" failed. Verify that "/stand/vmunix" is a properly built kernel file before trying again.

oops. So what do I do now?
A pint of vodka my good woman
5 REPLIES 5
Massimo Bianchi
Honored Contributor

Re: nlist64 to /stand/vmunix failed, errno = 14

Alternatives

1) use a pre-set of kernel values, found-able in SAM

2) here follow my kernel parameter. Use them for a start:
STRMSGSZ 65535
bufpages 5000
dbc_max_pct 2
dbc_min_pct 2
max_thread_proc 512
maxdsiz 0X07BFFFFFF
maxdsiz_64bit 0X0000000100000000
maxfiles 2048
maxfiles_lim 2048
maxssiz 0X10000000
maxssiz_64bit 0X10000000
maxswapchunks 16384
maxtsiz 0X10000000
maxuprc ((NPROC*9)/10)
maxusers 200
maxvgs 80
msgmap (MSGTQL+2)
msgmax 32768
msgmnb 65535
msgmni (NPROC)
msgseg 32767
msgssz 128
msgtql 32767
ncallout 4128
nfile (15*NPROC+2048)
nflocks (NPROC)
ninode (8*NPROC+2048)
nkthread 4096
nproc 2048
nstrpty 60
nstrtel (MAXUSERS)
nswapdev 25
num_tachyon_adapters 5
semmni (NPROC*5)
semmns (SEMMNI*2)
semmnu (NPROC-4)
semume 512
semvmx 32768
shmmax 0X400000000
shmmni 512
shmseg 128
st_ats_enabled 0
timeslice 5
timezone (-60)
unlockable_mem (MAXUSERS*10)
vps_pagesize 16

3) boot from a good ignite_tape

4) copy /stand/vmunix from another good box, and afterward recompile it on that server

5) ask a friend to send you a vmunix

Massimo
Kent Ostby
Honored Contributor

Re: nlist64 to /stand/vmunix failed, errno = 14

Another obscure place to find an old "good" kernel would be if you have any dump files in /var/adm/crash.

Finally a "find / -name vmunix" in case you are like me and get paranoid from time to time and copy extra versions of the kernel to odd places on your system.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Tim Adamson_1
Honored Contributor
Solution

Re: nlist64 to /stand/vmunix failed, errno = 14

Hi,

Maybe you can boot from vmunix.prev

Then system_prep should work. If you do, make sure you dont overwrite it.

Hope it helps


Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
Cheryl Griffin
Honored Contributor

Re: nlist64 to /stand/vmunix failed, errno = 14

>>5) ask a friend to send you a vmunix >>
Dangerous choice.

How about a kernel from backup media? Preferably from before you made the other disasterous changes.
"Downtime is a Crime."
Steven Richards
Frequent Advisor

Re: nlist64 to /stand/vmunix failed, errno = 14

Thanks for the replies everyone.

I went with Tims' suggestion and booted from vmunix.prev

everything is back to normal at last.

I love it when a plan comes together.
A pint of vodka my good woman