Running chgiphost.sh Script on Linux Platform Results in "libpass.so: ELF file data encoding not little-endian"

(Doc ID 1438269.1)

Last updated on JULY 29, 2017

Applies to:

Oracle Fusion Middleware - Version 10.1.2.3.0 and later
Linux x86-64

Symptoms

On a Linux platform, while running chgiphost command for changing HOSTNAME and IP for middle tier, following error message is shown:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /as10g/app/product/10.1.2/chgip/lib/libpass.so: /as10g/app/product/10.1.2/chgip/lib/libpass.so: ELF file data encoding not little-endian

Full error stack follows:

[oracle@AS-test scripts]$ ./chgiphost.sh -mid
Oracle Home set to /as10g/app/product/10.1.2
Mar 19, 2012 3:54:51 PM oracle.chgip.CHGIPLogManager checkLogPermission
INFO: Initializing ChangeIP logging.
Mar 19, 2012 3:54:51 PM oracle.chgip.StartUp main
INFO: Starting Change Hostname/IP...

Starting Change Hostname/IP...

Mar 19, 2012 3:54:51 PM oracle.chgip.StartUp main
INFO: Oracle Home:/as10g/app/product/10.1.2
Mar 19, 2012 3:54:51 PM oracle.chgip.StartUp main
INFO: Change Hostname/IP completed successfully.

Change Hostname/IP completed successfully.

Exception in thread "main" java.lang.UnsatisfiedLinkError: /as10g/app/product/10.1.2/chgip/lib/libpass.so: /as10g/app/product/10.1.2/chgip/lib/libpass.so: ELF file data encoding not little-endian
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at oracle.chgip.InteractiveInterfaceManager.<clinit>(InteractiveInterfaceManager.java:72)
at oracle.chgip.InterfaceManager.createInterfaceManager(InterfaceManager.java:133)
at oracle.chgip.InterfaceManager.getInterfaceManager(InterfaceManager.java:113)
at oracle.chgip.Session.<init>(Session.java:81)
at oracle.chgip.StartUp.main(StartUp.java:250)
Error below occurred while running the chgiphost Command:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /as10g/app/product/10.1.2/chgip/lib/libpass.so: /as10g/app/product/10.1.2/chgip/lib/libpass.so: ELF file data encoding not little-endian
at java.lang.ClassLoader$NativeLibrary.load(Native Method)


Some command output above is a little misleading. Despite the "Change Hostname/IP completed successfully." message, it would not even prompt you to enter Hostname/IP, and failed to complete the operation in the script.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms