[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proc mount, but acts like it isn't.
On Mon, 2002-03-04 at 11:44, Blunier, Mark wrote:
> I've got 2 machines running Debian Woody that act like proc is not mounted.
> running ps as a user:
>
> user@linuxbox:~$ 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, mount /proc /proc -t proc
>
> When I run ps as root, it hangs. When I run mount, it shows
> proc is mounted, but I cant remount it, and I can mount it a
> second time. After I mount it the second time, then things
> work as usual. Any ideas of what is wrong?
>
> linuxbox:~# mount
> /dev/hda2 on / type reiserfs (rw)
> proc on /proc type proc (rw)
> linuxbox:~# ps
>
> linuxbox:~# mount proc /proc -t proc -o remount
> mount: /proc not mounted already, or bad option
> linuxbox:~# mount proc /proc -t proc
> linuxbox:~# mount proc /proc -t proc -o remount
Possibly, /etc/mtab is out of sync for some reason. The next time you
see this, look at /etc/mtab and see what it says, then compare it to
/proc/mounts. (If you can't get to /proc/mounts, then that should tell
you something.)
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.