Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

is /proc mounted help

Got a Debian vps based on OpenVZ.
Now suddenly I'm getting the following error when running a command like "ps" or "top" as a normal user
"Cannot find /proc/version - is /proc mounted?"

mount shows it is mounted:
"proc on /proc type proc (rw,relatime)"

The output of "ls -ld /proc"
"dr-xr-xr-x 58 root root 0 Nov 8 15:51 /proc"

As root I don't get the error, but it normally worked as a normal user too,
so I'm curious to find the cause before I reboot the vps.

Comments

  • procps is already the newest version.
    And yes, user in chroot.
    I'm trying to figure out what exactly happened, because yesterday I could run commands like ps or top without a hitch.
    Now only root can run those commands.

  • Nah, don't think I can do that. I guess I should just reboot the vps and hope the problem will fix itself or I'll have to send a ticket :P

    Thanked by 1Zen
  • Bart538Bart538 Member
    edited December 2013

    A reboot didn't help.
    I've checked the files inside /proc and alot of them had this as their permission:

    "--wx--x--x 1 root root 0 Dec 5 15:37 uptime"

    I've used chmod 755 to change that and now I can use commands like "ps" and "top" again.
    So I'm guessing it's solved.

Sign In or Register to comment.