Unable to run su or ps command: Error: /proc must be mounted

Solution Verified - Updated -

Issue

  • Unable to execute su and ps commands, getting the following error for non-root users.
$ ps
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"

or 

$ ps
Error, do this: mount -t proc proc /proc

Environment

  • Red Hat Enterprise Linux 7
  • filesystem

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content