satellite-installer command on Red Hat Satellite 6.x fails with: /Stage[main]/Mongodb::Server::Config/File[/var/lib/mongodb]: Could not evaluate: Input/output error @ rb_file_s_lstat - /var/lib/mongodb

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.x

Issue

  • Running satellite-installer on Satellite 6.x fails with:

    [ERROR 2020-12-16T12:02:22 main]  /Stage[main]/Mongodb::Server::Config/File[/var/lib/mongodb]: Could not evaluate: Input/output error @ rb_file_s_lstat - /var/lib/mongodb
    

Resolution

  • Unmount the /var/lib/mongodb:

    # umount /var/lib/mongodb
    
  • Run xfs_repair:

    # xfs_repair /dev/device
    
  • Mount the /var/lib/mongodb back

For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.

Root Cause

  • /var/lib/mongodb was corrupt.
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.