Symptoms
When importing from Ensim 4.x/10.x on non FC6/RHEL5ES/CentOS 5 to10.2.0/10.3.0 on any FC6/RHEL 5ES/CentOS 5 you face with the following error:
The Import has failed.
Details of Import are as follows :-
Import initiated by : appliance
User Initiating Import : admin
Server Name : **********
Server IP : ************
Status : Failed
The following errors were encountered as a result of which the Import process
has been aborted.
Unknown Error: Traceback (most recent call last):
File "vhbackuplib.py", line 54, in call_backend_import
File "virtualhosting/virthost.py", line 4572, in vhimport
File "virtualhosting/virthost.py", line 4727, in __do_import
File "virtualhosting/virthost.py", line 5027, in __site_import
File "virtualhosting/virthost.py", line 3297, in handle_remaining_files
File "virtualhosting/virthost.py", line 3377, in link
OSError: [Errno 17] File exists
Resolution
The reason of the issue is that file system/package structure has beenchanged in FC6/RHEL5ES/CentOS 5. So it is recommended to
rename '/home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/X11' (for example '/home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/ZZZ') and then
perform the import. After the import, you have to rename the directory back to '/home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib/X11'.
Keywords: import, export, 4.x, 10.x, upgrade, versions