Error Executing the script.
Code:
# cat SERVERNAMES Code:
fn_Exit() Code:
# ./vm_finder_mod_V2.cgi Code:
PATH=$(ssh -ttq root@10.180.8.231 find /var/ovs/mount -name *$VM_GUEST) What can be the issue? I m confuesed.:rolleyes: |
That can't be the same script - it doesn't have 85 lines to begin with.
|
Quote:
Code:
MACHINEEXISTFLAG=$(ssh -T -q -n root@$1 xm list | grep $2) |
The script is called .cgi ... to me that suggests that it's run
as part of a web-app. As such it will be run by the apache user (httpd, apache, websomething, ...) who won't have them in the PATH. Try specifying the full paths for both commands. |
Quote:
|
I got the error .
I had used PATH as a variable for storing application level information. |
Quote:
Well done for finding it, anyway ;} And thanks for marking it as solved. |
All times are GMT -5. The time now is 10:31 AM. |