Unix Technical Forum

Exec format error on AIX5.2

This is a discussion on Exec format error on AIX5.2 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi , I am facing a strange problem which not giving any hint to go forward, Pls let me ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 04:22 AM
Sudhakar Reddy.N
 
Posts: n/a
Default Exec format error on AIX5.2

Hi ,
I am facing a strange problem which not giving any hint to go forward,
Pls let me solve this problem

1.In our testing environment we are not able to use our operator. It
is throwing this follwing error

Osh -usage sybwrite
All Rights Reserved


##I TUTL 000031 08:02:05(001) <main_program> The open files limit is
2000; raising to 2147483647.
##I TOSH 000002 08:02:05(002) <main_program> orchgeneral: loaded
##I TOSH 000002 08:02:05(003) <main_program> orchsort: loaded
##I TOSH 000002 08:02:05(004) <main_program> orchstats: loaded
##E TCOS 000005 08:02:05(005) <main_program>
Orchestrate Parallel Command Shell
Error loading "orchsybase": Could not load "orchsybase": Exec format
error

2.But it is working in our development environment with out giving
"exec format error"


3.Pls suggest us what is going wrong?

Thanks in Advance,
Sudhakar Reddy.N
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 04:22 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: Exec format error on AIX5.2

sudhakar.reddy@indiatimes.com (Sudhakar Reddy.N) writes:

> ##E TCOS 000005 08:02:05(005) <main_program>
> Orchestrate Parallel Command Shell
> Error loading "orchsybase": Could not load "orchsybase": Exec format
> error


You've apparently called load() and it returned an error.
Now call loadquery() to figure out exactly what went wrong.

> 2.But it is working in our development environment with out giving
> "exec format error"


You have some shared library dependency that is satisfied on
the build machine but isn't satisfied on the test machine.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 04:24 AM
Sudhakar Reddy.N
 
Posts: n/a
Default Re: Exec format error on AIX5.2

load query is also not returning any other information that is useful for us.
Is there any other way to find out the unresolved symbols?
Can you suggest any other compile options.
Any fixes that i need to run for AIX 5.2

Expecting your reply..

Sudhakar Reddy.

Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote in message news:<m3is9w600t.fsf@salmon.parasoft.com>...
> sudhakar.reddy@indiatimes.com (Sudhakar Reddy.N) writes:
>
> > ##E TCOS 000005 08:02:05(005) <main_program>
> > Orchestrate Parallel Command Shell
> > Error loading "orchsybase": Could not load "orchsybase": Exec format
> > error

>
> You've apparently called load() and it returned an error.
> Now call loadquery() to figure out exactly what went wrong.
>
> > 2.But it is working in our development environment with out giving
> > "exec format error"

>
> You have some shared library dependency that is satisfied on
> the build machine but isn't satisfied on the test machine.
>
> Cheers,

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 04:25 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: Exec format error on AIX5.2

sudhakar.reddy@indiatimes.com (Sudhakar Reddy.N) writes:

A. Because doing so makes the conversation harder to read.
Q. Why should I not top-post?

Please do not top post. Rest of the message re-ordered.

> > > Error loading "orchsybase": Could not load "orchsybase": Exec format
> > > error

> >
> > You've apparently called load() and it returned an error.
> > Now call loadquery() to figure out exactly what went wrong.


> load query is also not returning any other information that is useful for us.


That's hard to believe: usually it gives a straight-forward answer.
How did you call it and what answer did it give you?

Note that you should call it immediately after the failed load().

> Is there any other way to find out the unresolved symbols?


Sure: run 'dump -Tv' on the module you are trying to load(), then
verify that all dependent modules are available and define all
imported symbols.

> Can you suggest any other compile options.


Other than what? You didn't tell us how you build your modules;
besides this is probably irrelevant, since your code does work on
at least the development system.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com