Solved

ESXi 6.0 Host unable to install Vghetto

Posted on 2016-08-05
17
98 Views
Last Modified: 2016-08-05
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
Comment
Question by:Thomas Grassi
  • 9
  • 8
17 Comments
 
LVL 117
ID: 41744906
copy the vib to a vmfs datastore and try again with

 esxcli software vib install -d /vmfs/volumes/<datastore> vghetto-ghettoVCB.vib
0
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744909
Andrew

I looked for that but could not find it

You know where I could look

Thanks
0
 
LVL 117
ID: 41744911
look for what ?
0
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744912
The vib file
0
 
LVL 117
ID: 41744919
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
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744932
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
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744945
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
 
LVL 117
ID: 41744963
esxcli software vib install -v /vmfs/volumes/nfs-data/temp/vghetto-ghettoVCB.vib

no -f !!!!
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744966
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
 
LVL 117
ID: 41744968
nothing to do with permissions.

working here, what version of ESXi do you have ?
0
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744969
ESXi 6.0
0
 
LVL 117
ID: 41744973
have you tried the offline bundle zip ?

esxcli software vib install -d /vmfs/volumes/nfs-data/temp/vghetto-ghettoVCB-offline-bundle.zip -f
0
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744975
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
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 41744977
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
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 41744978
[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
 
LVL 23

Author Closing Comment

by:Thomas Grassi
ID: 41744980
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
 
LVL 117
ID: 41745000
NFS! okay. good luck.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now