SUMMARY
DPU commands fail, Support tunnels won't open from command line, giving a Syntax error, or not found error
ISSUE
Support tunnels won't open, and give either a bad syntax, or command not found error.
dpu version returns bad syntax or command not found error.
dpu asset gives bad syntax or command not found error.
RESOLUTION
Find the location of the dpu script.
[root@VMware-UEB ~]# which dpu /usr/local/bin/dpu
cd into that directory, then move the original off to the side.
[root@VMware-UEB ~]# cd /usr/local/bin [root@VMware-UEB bin]# mv dpu dpu.old
Once that is done, you can download the script, and give it proper permissions.
[root@VMware-UEB bin]# wget https://repo.unitrends.com/dpu/scripts/dpu [root@VMware-UEB bin]# chmod +x dpu [root@VMware-UEB bin]# ls -rlasth dpu* 92K -rwxr-xr-x 1 root root 86K Apr 15 11:15 dpu.old 84K -rwxr-xr-x 1 root root 79K May 23 17:17 dpu
With that complete dpu will now be reinstalled and can be updated to the latest patch release:
[root@VMware-UEB bin]# dpu update Connecting to ftp.unitrends.com ... [ OK ] Your current version is: [1.9.55] The new version is: [1.9.60] The new version has been installed. [root@VMware-UEB bin]#
You can remove the dpu.old file if you would like, but it does not hurt anything to leave it there. You can remove the file by using the following command.
The following command can cause permanent damage to unit, if mistyped. Proceed with caution, or call Unitrends support for assistance.
[root@VMware-UEB bin]# rm dpu.old rm: remove regular file `dpu.old'? y
At this point, you are done. You should be able to run 'dpu version' 'dpu support' 'dpu asset' etc. now with no problems.