AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Problem with /usr/include/rpcsvc

    Posted Tue September 11, 2007 07:33 AM

    Originally posted by: SystemAdmin


    Was wondering is someone could help me out here.

    One of our AIX servers is running version 4.2.1 - Yes I know, very old!

    Our backups use the mksysb command as follows:
    mksysb -i -X /dev/rmt0

    Checking the logfile this morning I see the following:
    Creating information file (/image.data) for rootvg.....
    Creating tape boot image ...
    Creating list of files to back up .find: cannot chdir to </usr/include/rpcsvc> : I/O error.

    When trying to check out the problem, I get the following:
    1. cd /usr/include/rpcsvc
    2. ls
    . not found

    Could anyone help?
    #AIX-Forum


  • 2.  Re: Problem with /usr/include/rpcsvc

    Posted Tue September 11, 2007 11:58 AM

    Originally posted by: orphy


    That doesn't look good. When was the last time you booted the box?
    It looks like you might have a corrupted /usr somehow. You may want
    to boot your box to maintenance mode and run fsck on /usr. While you
    were there, run fsck on all FS in rootvg just to be safe.
    Orphy
    #AIX-Forum


  • 3.  Re: Problem with /usr/include/rpcsvc

    Posted Wed September 12, 2007 06:02 AM

    Originally posted by: SystemAdmin


    Orphy,

    No it doesnt look good does it? Plus it's stopping our backup from running every night.

    I've tried rebooting the box several times and there are no errors.
    I tried changing the check parameter in /etc/filesystems to true and then reboot but still no errors.
    I cannot run a manual fsck on the /usr filesystem even from maintenance mode due to it being mounted and I cannot unmount it because it says it is in use.
    I would have thought also that if I was able to unmount the /usr filesystem that most of the commands (including fsck) which reside under /usr will not be available. Or will they?

    Any ideas?

    Regards

    Matt
    #AIX-Forum


  • 4.  Re: Problem with /usr/include/rpcsvc

    Posted Wed September 12, 2007 08:35 AM

    Originally posted by: orphy


    Matt,

    You should be able to fsck /usr in maintenance mode but you need to
    pick Option 2 to access rootvg. In fact, I had to recover from a 552
    recently but I hadn't had to fix 552 for years.

    http://www-1.ibm.com/support/docview.wss?rs=0&q1=LED+552&uid=isg3T1000132&loc=en_US&cs=utf-8&cc=us&lang=en

    You seem to know what you are doing but be sure you don't perform every
    step of this procedure. All you should need is to get to the fsck (step 4).
    However, you might as well want to do "mount /dev/hd2 /mnt/usr" and check
    to see if your "corrupted" directory is there.

    fsck from there typically fix 99.9% of the corruptions. If you still
    got problem, it could be a bug and maybe you need an APAR or something.
    Orphy
    #AIX-Forum


  • 5.  Re: Problem with /usr/include/rpcsvc

    Posted Wed September 12, 2007 11:50 AM

    Originally posted by: SystemAdmin


    Orphy,

    Can't thank you enough for your help on this.

    I managed to boot off one of our recent mksysb backup tapes, get it to the unix prompt, run the fsck -p /dev/hd2 which picked up the problem and fixed it in one full swoop.
    I then mounted the partition in /mnt and check that directory and there were all the files.
    After rebooting the server, checked the directory and still good.

    I am WELL pleased.

    Thanks again.

    Regards

    Matt
    #AIX-Forum