Operating System - HP-UX
1833490 Members
3122 Online
110052 Solutions
New Discussion

cannot execute the C program after restore

 
SOLVED
Go to solution

cannot execute the C program after restore

hi there,
here's my problem:
we do SAN tests in our env. for all the machines, but i am having trouble in one of my UX boxes. we are provided an HP-UX box by HP to do our tests. I restored one of my machine's data to that newly assigned box. what i am having trouble is to ecexute the C program, which is executing normally in it's original env.
here's the message:
uatoper@santest /uatoper/uat/outbound > turbo_oracledaemon
sh: turbo_oracledaemon: cannot execute
uatoper@santest /uatoper/uat/outbound > ls -ld turbo_oracledaemon

the file has full permissions for everyone...
what can be the problem?maybe patch level differences?
thx
it's all a game
7 REPLIES 7
Paula J Frazer-Campbell
Honored Contributor

Re: cannot execute the C program after restore

Hi

Does the directory have the correct permissions?

Paula
If you can spell SysAdmin then you is one - anon

Re: cannot execute the C program after restore

sure it has the right permissions...further, i gave full permissions for every directory in the path, to check if the problem is with diectory permissions...the user has full access, and owns all the directories and the file,as well...
it's all a game
Devbinder Singh Marway
Valued Contributor

Re: cannot execute the C program after restore

what risc processor have you got installed in the new machine ?
If your C program was compiled on the original box , and had a different processor than the new one, you will encounter problems.

Also if you have the C source code , try re-compiling the code on the new HP box .
Seek and you shall find

Re: cannot execute the C program after restore

hi,
1.1d PA7200
is the new one, and
2.0 PA8200
is the original one...
:(((
thx...
it's all a game

Re: cannot execute the C program after restore

where can i find a free or trial C compiler...
the original one is:
root@hzntst / > what /opt/ansic/bin/cc
/opt/ansic/bin/cc:
LINT A.11.01.00 CXREF A.11.01.00
HP92453-01 A.11.01.00 HP C Compiler
$ PATCH/11.00:PHCO_95167 Oct 1 1998 13:46:32 $
unfortunately, i don't have it now...
it's all a game
harry d brown jr
Honored Contributor
Solution

Re: cannot execute the C program after restore

Is there a reason that you have such a POOR record of assigning points?

This member has assigned points to 1 of 34 responses to his/her questions.

http://forums.itrc.hp.com/cm/TopSolutions/1,,BR646277!1!questions,00.html

live free or die
harry
Live Free or Die
Frank Slootweg
Honored Contributor

Re: cannot execute the C program after restore

Please post the output of:

ll turbo_oracledaemon

file turbo_oracledaemon

(Note "file" is the literal name of the command, see the file(1) manual page ("man file") for details.)

uname -a

model

Please also note Harry's question (and implicit request).