Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 693
  • Last Modified:

ESXi 6.0 Host unable to install Vghetto

ESXi 6.0 Host

Have several VM Guests defined need to back the up take snapshot on a regular basis,

I downloaded Veeam Backup v9 Free and it does not work because I have a Free ESXi License.

So I found vghetto works with any version of ESXi free license or purchased .

I found instruction to install vghetto  but they fail

I use Cygwin to ssh into my ESXi host from my Windows 10 Pro computer

run this command

[root@TGCSHOSTVM:~] esxcli software vib install -v /vghetto-ghettoVCB.vib -f
 [VibDownloadError]
 ('/vghetto-ghettoVCB.vib', '', "[Errno 4] IOError: <urlopen error [Errno 2] No such file or directory: '/vghetto-ghettoVCB.vib'>")
        url = /vghetto-ghettoVCB.vib
 Please refer to the log file for more details.

two things.

1. whats is wrong?
2. what log file and location of the log file does the error mean?

Thoughts

Tom
0
Thomas Grassi
Asked:
Thomas Grassi
  • 9
  • 8
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
copy the vib to a vmfs datastore and try again with

 esxcli software vib install -d /vmfs/volumes/<datastore> vghetto-ghettoVCB.vib
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
Andrew

I looked for that but could not find it

You know where I could look

Thanks
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
look for what ?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
Thomas GrassiSystems AdministratorAuthor Commented:
The vib file
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
this does work.....

esxcli software vib install -v /vmfs/volumes/nfs-data/temp/vghetto-ghettoVCB.vib

copy the vib using WinSCP to a datastore, in the above example nfs-data is a datastore, and temp is a folder on the datastore.
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
Andrew

Downloaded vghetto-ghetto.vib from GitHub.com site to my computer

Then using vsphere uploaded it to my datastore in the temp folder in the datastore

reran the command

[root@TGCSHOSTVM:~] esxcli software vib install -v /vmfs/volumes/tgcsdatastore/t
emp/vghetto-ghettoVCB.vib -f
 [VibDownloadError]
 ('/vmfs/volumes/tgcsdatastore/temp/vghetto-ghettoVCB.vib', '', "[Errno 4] IOError: <urlopen error [Errno 2] No such file or directory: '/vmfs/volumes/tgcsdatastore/temp/vghetto-ghettoVCB.vib'>")
        url = /vmfs/volumes/tgcsdatastore/temp/vghetto-ghettoVCB.vib
 Please refer to the log file for more details.
[root@TGCSHOSTVM:~]


Tom
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
Update
From the ESXi host
I changed in to the folder were vghetto-ghettoVCB.vib is located
Then ran the command directly still no luck
Is it  permissions thing?
[root@TGCSHOSTVM:~] cd vmfs
[root@TGCSHOSTVM:/vmfs] ls
devices  volumes
[root@TGCSHOSTVM:/vmfs] cd volumes
[root@TGCSHOSTVM:/vmfs/volumes] ls
2f57cfe1-d8ba5b26-1bd6-9488228e35ed  TGCSDatastore
57371f06-99ede708-5a58-782bcb1399f7  cf6b8ced-85c3b475-7486-cabc8e8be633
573f6ea4-8f753726-6928-782bcb1399f7
[root@TGCSHOSTVM:/vmfs/volumes] cd TGCSDatastore
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7] ls
TGCS001                 TGCS017                 Ubuntu Server
TGCS001_1               TGKW002                 Windows 2003 ISO
TGCS002                 TGKW005_1               Windows 2008 ISO
TGCS003                 TGKW007                 Windows 2012 ISO
TGCS014                 TGKW008                 Windows 7 Pro ISO
TGCS015                 TGKW009                 Windows 8.1 Pro 64 bit
TGCS016                 Temp                    Windows XP ISO
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7] cd Temp
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp] ls
vghetto-ghettoVCB.vib
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp] esxcli
software vib install -v /vghetto-ghettoVCB.vib -f
 [VibDownloadError]
 ('/vghetto-ghettoVCB.vib', '', "[Errno 4] IOError: <urlopen error [Errno 2] No such file or directory: '/vghetto-ghettoVCB.vib'>")
        url = /vghetto-ghettoVCB.vib
 Please refer to the log file for more details.
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp]

[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp] ls -ltr
total 1024
-rw-------    1 root     root         18782 Aug  5 16:48 vghetto-ghettoVCB.vib
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp]
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
esxcli software vib install -v /vmfs/volumes/nfs-data/temp/vghetto-ghettoVCB.vib

no -f !!!!
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
no -f

[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp] esxcli
software vib install -v /vghetto-ghettoVCB.vib
 [VibDownloadError]
 ('/vghetto-ghettoVCB.vib', '', "[Errno 4] IOError: <urlopen error [Errno 2] No such file or directory: '/vghetto-ghettoVCB.vib'>")
        url = /vghetto-ghettoVCB.vib
 Please refer to the log file for more details.
[root@TGCSHOSTVM:/vmfs/volumes/573f6ea4-8f753726-6928-782bcb1399f7/Temp]

I am thinking it is a file permissions issue

Thoughts
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
nothing to do with permissions.

working here, what version of ESXi do you have ?
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
ESXi 6.0
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you tried the offline bundle zip ?

esxcli software vib install -d /vmfs/volumes/nfs-data/temp/vghetto-ghettoVCB-offline-bundle.zip -f
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
No

I went back to the root of the host esxi  and ran your command above now I get something different

[root@TGCSHOSTVM:~] esxcli software vib install -v /vmfs/volumes/TGCSDatastore/T
emp/vghetto-ghettoVCB.vib
 [DependencyError]
 VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0 violates extensibility rule checks: [u'(line 23: col 0) Element vib failed to validate content']
 VIB virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0's acceptance level is community, which is not compliant with the ImageProfile acceptance level partner
 To change the host acceptance level, use the 'esxcli software acceptance set' command.
 Please refer to the log file for more details.
[root@TGCSHOSTVM:~]


thoughts?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
that's better....

you must use -f that is force!!!! (e.g. it ignores the first rule check error!)

and you must set community....

cut and paste this...

esxcli software acceptance set --level CommunitySupported

Open in new window


then

esxcli software vib install -v /vmfs/volumes/TGCSDatastore/Temp/vghetto-ghettoVCB.vib -f

Open in new window

0
 
Thomas GrassiSystems AdministratorAuthor Commented:
[root@TGCSHOSTVM:~] esxcli software acceptance set --level CommunitySupported
Host acceptance level changed to 'CommunitySupported'.
[root@TGCSHOSTVM:~] esxcli software vib install -v /vmfs/volumes/TGCSDatastore/T
emp/vghetto-ghettoVCB.vib -f
Installation Result
   Message: Operation finished successfully.
   Reboot Required: false
   VIBs Installed: virtuallyGhetto_bootbank_ghettoVCB_1.0.0-0.0.0
   VIBs Removed:
   VIBs Skipped:
[root@TGCSHOSTVM:~]

Thanks It worked
0
 
Thomas GrassiSystems AdministratorAuthor Commented:
Andrew

Thanks for all your help

No off to get a NAS device and setup NSF so I can start using ghetto to backup the VM Guests.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
NFS! okay. good luck.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 9
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now