Operating System - HP-UX
1830635 Members
2546 Online
110015 Solutions
New Discussion

exec(2): could not load a.out / HP-UX 11 i /rp3440/

 
S.M.SANKAR KUMAR NADAR_2
Occasional Contributor

exec(2): could not load a.out / HP-UX 11 i /rp3440/

Whenever I am exceuting any scripts , I get the above message .

I am running the scripts as a root user / As I do not suspect permission

I have reffered the below URL also

"http://www.bama.ua.edu/cgi-bin/man-cgi?intro+2"

I do not know what went wrong , This is the new setup.

Can any one help me on how to recover from this issue

Addtional Details :-

OS: B.11.11
HW: 9000/800/rp3440
RAM: 4094 MB
CPU: 2 x 800.013 MHz, PA-RISC2.0, v.

I have verified the syslog , I could not find any errors.

I am attaching the swlist.doc which contains the required output to analyse
4 REPLIES 4
m saravanan
Valued Contributor

Re: exec(2): could not load a.out / HP-UX 11 i /rp3440/

Sankar,

I hope u r compiling some C programs. becuase the file name a.out is the default file name for the output file from the assembler, compilers, and the linker.

So, i wanted to know, whether u r trying to run any executables compiled by you or if u r really trying to run some shell scripts, can u pls post that script & brief the issue.


Regds,
Saravanan
S.M.SANKAR KUMAR NADAR_2
Occasional Contributor

Re: exec(2): could not load a.out / HP-UX 11 i /rp3440/

Saravanan,

Thanks for your message ,I am not starting any compilation

It can be any simple script which calls the shared library

Kent Ostby
Honored Contributor

Re: exec(2): could not load a.out / HP-UX 11 i /rp3440/

run "swapinfo -t" and look for the "dev" lines.

On a system with 4GB of ram, you should have 8 GB of swap configured.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
S.M.SANKAR KUMAR NADAR_2
Occasional Contributor

Re: exec(2): could not load a.out / HP-UX 11 i /rp3440/

Hello All

swapinfo


Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16777216 0 16777216 0% 0 - 1 /dev/vg00/lvol2
reserve - 145292 -145292
memory 3162908 2489976 672932 79%

swap used is 0%