AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

Could not load program -ksh:

  • 1.  Could not load program -ksh:

    Posted Mon December 23, 2013 09:34 AM

    Originally posted by: dot7171


    A remote SA is getting these errors when attempting to login a server

    Could not load program -ksh:
    Could not load module /usr/lib/libc.a(shr.o).
            Dependent module libcrypt.a(shr.o) could not be loaded.
    Could not load module libcrypt.a(shr.o).
    System error: No such file or directory

     

    He attempts to boot up in maintenance mode with mksysb and run fsck on /usr but it fails. So he restores the system with the mksysb and everything is good until the next morning when the issue starts up again. I thought memory leak but when fsck does not work I changed my mind on that. He is running older version of AIX 5.2 because archived system

    I am thinking something is running that is corrupting /usr

    Has anyone ever seen this before ?
     



  • 2.  Re: Could not load program -ksh:

    Posted Fri December 27, 2013 07:19 AM

    Originally posted by: LaurentOliva


    there would be a huge number of reasons that causing /usr to be corrupted.

    The system needs to be audited.

    Is there any crontab on the system that causing the execution of bad command/scripts wich deletes legitime files ?

    Do the hosted applications make something wrong ?

    Did you check the usage of filesystems ?

    etc... etc...