OpenVZ Forum


Home » General » Support » problem when run shell script by vzctl exec
problem when run shell script by vzctl exec [message #22717] Fri, 02 November 2007 03:30
hhding is currently offline  hhding
Messages: 4
Registered: November 2007
Junior Member
what's the problem?

server3:~# vzctl exec 180 hi.sh
/
server3:~# vzctl exec 180 echo $HOME
/root
server3:~# vzctl exec 180 cat hi.sh
#!/bin/bash

echo $HOME
server3:~# aptitude show vzctl
Package: vzctl
State: installed
Automatically installed: yes
Version: 3.0.18-1
Priority: optional
Section: admin
Maintainer: Ola Lundqvist <opal@debian.org>
Uncompressed Size: 872k
Depends: libc6 (>= 2.3.6-6), iproute, vzquota
Recommends: rsync
Suggests: kernel-patch-openvz
.....

server3:~# uname -a
Linux server3 2.6.18-028stab045 #11 Wed Oct 10 13:28:22 CST 2007 i686 GNU/Linux
server3:~#

[Updated on: Fri, 02 November 2007 03:33]

Report message to a moderator

 
Read Message
Previous Topic: Init Problem on Ubuntu Gutsy Gibson
Next Topic: /home/create1/public_html does not exist or is not a directory! in cpanel
Goto Forum:
  


Current Time: Fri Mar 29 12:23:14 GMT 2024

Total time taken to generate the page: 0.01798 seconds