OpenVZ Forum


Home » General » Support » *SOLVED* how Do I recreate /proc/user_beancounters file?
*SOLVED* how Do I recreate /proc/user_beancounters file? [message #11278] Fri, 16 March 2007 14:07 Go to next message
franhis is currently offline  franhis
Messages: 5
Registered: March 2007
Location: USA
Junior Member
I deleted my /proc/user_beancounters file

I thought it would be re-generated automatically, but it is not.
How do I recreate it?


/Fran


Fran

[Updated on: Tue, 20 March 2007 06:55] by Moderator

Report message to a moderator

Re: how Do I recreate /proc/user_beancounters file? [message #11280 is a reply to message #11278] Fri, 16 March 2007 14:20 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Where you did it?

ve0 or vps?

In vps I can't do it:
# rm /proc/user_beancounters
rm: cannot remove `/proc/user_beancounters': Operation not permitted

And in ve0 too.


How could you do it? Very interesting...

[Updated on: Fri, 16 March 2007 14:24]

Report message to a moderator

Re: how Do I recreate /proc/user_beancounters file? [message #11281 is a reply to message #11280] Fri, 16 March 2007 14:27 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
As I knew - proc doesn't allowed things like that.
Re: how Do I recreate /proc/user_beancounters file? [message #11282 is a reply to message #11280] Fri, 16 March 2007 15:00 Go to previous messageGo to next message
franhis is currently offline  franhis
Messages: 5
Registered: March 2007
Location: USA
Junior Member
I don't remember where (veo/vps) I was when I did it (was a few weeks ago).
There is another user_beancounters file at
/var/named/run-root/proc/user_beancounters

shall I just try to do a link to it from /proc?

I'm on a CentOS VPS on OPenVZ
/Fran


Fran
Re: how Do I recreate /proc/user_beancounters file? [message #11283 is a reply to message #11280] Fri, 16 March 2007 15:18 Go to previous messageGo to next message
franhis is currently offline  franhis
Messages: 5
Registered: March 2007
Location: USA
Junior Member
er.. you are right, I did not deleted the file /proc/user_beancounters I deleted its content
so the file exists but is empty Confused
I thought the content would be regenerated, but it is not.



Fran
Re: how Do I recreate /proc/user_beancounters file? [message #11284 is a reply to message #11283] Fri, 16 March 2007 15:52 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Just do the following:

mount -t proc proc /proc


Very Happy

[Updated on: Fri, 16 March 2007 15:52]

Report message to a moderator

Re: how Do I recreate /proc/user_beancounters file? [message #11351 is a reply to message #11284] Tue, 20 March 2007 14:24 Go to previous message
franhis is currently offline  franhis
Messages: 5
Registered: March 2007
Location: USA
Junior Member
OK, just to let you know: rebooting the host server (veo) regenerated the /proc/user_beancounters on the vps.

Fran
Previous Topic: *SOLVED* OpenVZ kernel showing less memory than is installed
Next Topic: *SOLVED* Best way to migrate a server with multiple IPs to VE solution
Goto Forum:
  


Current Time: Mon Jul 28 11:50:06 GMT 2025

Total time taken to generate the page: 0.84166 seconds