Our idea here is to provide some improvements over United States Patent Application No 20090037933 . According to this disclosure, the user have to set some environment variable which will instruct the system loader to start using libraries from memory instead of the secondary disk. But this method has a drawback. To apply this invention, the user must have a terminal where he can set the appropriate environment variable to recover. eg: If the libc.a library for a machine is corrutped, and the user lost all the terminals for the machine, then there is no way user can recover from this using the above patent as there is no terminal to set the environment variable and also the user cannot login to create a new terminal as those commands them selfs wont run. To over come this draw back, we can enable flags in the executable file while creating it, which will allow system loader to automatically switch to libraries in memory in case of a failure. This way, if there are no terminals, and if the telnet/login binary are created using this flag, then these binaries will be able to run and the user will be able to login to the system and take appropriate action to recover. Novelty " Binaries built with self healing capability flag which instruct loader to fallback and use the in memory working copy of library in case of a load failure". This flag shall be stored in XCOFF format and will be given as compile/link time option.
System and Method for self healing binary from a load failure .
When a AIX box was placed/installed with an incompatible library or the library is deleted accidentally, it is difficult to recover.
eg: When a system was installed with an incompatible libc.a library, none of the commands work because system loader will give loading errors while executing any command that depends on libc.a. Almost all the commands depend on libc.a which means the user won't be in a position to do anything and it is very difficult to recover from this situation.
Existing Solution :-
The solution provided by some vendors of unix : statically linked commands are provided which can be used when dynamically linked executable fail to execute when the libraries are disturbed. United States Patent Application 20090037933 : This describes a method of recovering the machine using the memory version of the library which are being used by already running applications.
Our idea here is to provide some improvements over United States Patent Application 20090037933 . According to this disclosure, the user have to set some environment variable which will instruct the system loader to start using libraries from memory instead of the secondary disk. But this method has a drawback. To apply this invention, the user must have a terminal where he can set the appropriate environment variable to recover.
eg:
If the libc.a library for a machine is corrutped, and the us...