OpenVZ Forum


Home » General » Support » *SOLVED* How to create logs?
*SOLVED* How to create logs? [message #5689] Sun, 27 August 2006 12:26 Go to next message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Hello,
I'm trying to write:
Create logs
Reload logs
Restart logs

/usr/sbin/vzctl stop 1009 >> /var/www/html/logs/1009
/usr/sbin/vzctl start 1009 >> /var/www/html/logs/1009

Although the log files are empty, any idea how can i handle it?


http://static.openvz.org/userbars/openvz-user.png

[Updated on: Mon, 28 August 2006 12:03] by Moderator

Report message to a moderator

Re: How to create logs? [message #5690 is a reply to message #5689] Sun, 27 August 2006 15:07 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

you find a vzctl log under "/var/log/vzctl.log" Rolling Eyes
or you can redirect the stderr:

$ vzctl <command> <veid> 2>> /file/to/store/it

Re: How to create logs? [message #5691 is a reply to message #5690] Sun, 27 August 2006 16:23 Go to previous message
sspt is currently offline  sspt
Messages: 100
Registered: August 2006
Location: Portugal
Senior Member
Thank you.
command 2>> /log/(vid) is working as well Smile


http://static.openvz.org/userbars/openvz-user.png
Previous Topic: *SOLVED* Bridged Network - Same IP range than host.
Next Topic: VLAN setup - confusion/help :(
Goto Forum:
  


Current Time: Wed May 01 08:46:08 GMT 2024

Total time taken to generate the page: 0.01822 seconds