Ошибка machine settings file already exists

@andyp1per that sounds bizzare — and I seriously don’t know how to reproduce the situation so that I can then debug it, work out why, and then puzzle out how to work around what ever is happening :/

the fact that you have some vbox vm’s that installing vbox makes vbox not see them anymore, and then uninstalling vbox makes them available again (because seriously, that is all the installer does…) makes it really frustrating.

I’m going to ask though — what version of vbox did you start with (before installing b2d), and — did you chose any options (the b2d installer uses defaults — it tries to detect that you already have vbox, in which case it doesn’t re-install it) but this detection fails whenever vbox chooses to change something.

Asmodeus

Posts: 1
Joined: 2. Feb 2019, 21:40

Having issues with Kali-Linux

Hi everyone,

I’m having an issue reinstalling kali-linux on virtualbox. This error message keeps popping up:

Failed to import appliance C:UsersJLloyDownloadskali-linux-2018.4-vbox-i386.ova.

Machine settings file ‘C:UsersJLloyVirtualBox VMsKali-Linux-2018.4-vbox-i386Kali-Linux-2018.4-vbox-i386.vbox’ already exists.

Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: MachineWrap
Interface: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}

But nothing is showing up on virtualbox and before you ask if I uninstall virtualbox and kali-linux, yes I have.

Please help

BillG

Volunteer
Posts: 5078
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Having issues with Kali-Linux

Post

by BillG » 3. Feb 2019, 03:22

That is a pretty simple error message. It is telling you that you can’t import it because it already exists. You cannot have two virtual machines with the same name. Did you remove the old one from VirtualBox but not delete its files?

Go to the folder it mentions and delete the one that is already there before you try to import it again.

Bill

Hello,

vmx file contains the config info for the virtual machine, so recreating the vmx file does not harm in any way keeping in mind the requirement of the Applications that is running within the guest OS, if the guest requires the same mac address as the previous nic then it could statically added by referring the logs. It is a easy fix for the problem  and faster to get the VM running.

As far as the domain is considered there should not be any problems. Overall, understand the requirements and then recreate the vmx file.

I am pretty sure it would fix the problem, whenever we recreate any file it is key to make sure that we make a note or copy the required infor from the previous config and also understand the requirements Smiley Happy Smiley Happy

I call it a 10 min fix Smiley Happy Smiley Happy

If there is corruption of VMFS then it is something completely different, if you are experiencing issues with multiple vms on the same datastore, probable corruption.

You can check the vmkernel or message logs and it would indicate corruption.

To fix corruption, i would require a dump from the datastore, 1gb dump from the datastore.

Need to identify the corruption in that dump and then fix the same, the fix file needs to be applied to the datastore which should fix the issue.

Cheers,

NS

Soft17

5 / 5 / 3

Регистрация: 15.01.2017

Сообщений: 690

1

22.09.2020, 16:11. Показов 4131. Ответов 9

Метки access 2016 (Все метки)


Студворк — интернет-сервис помощи студентам

Пробую выполнить перемещение папки.
Результат: ошибка «File already exists»

Код

Visual Basic
1
2
3
4
5
6
7
8
9
10
11
12
13
Private Sub CopyFolder_btn_Click()
            Dim sourcePath As String                                                                                                            ' путь к папке источнику
            Dim destinationPath As String                                                                                                   ' путь к папке получателю
            Dim fso As Object                                                                                                                          ' Объект FSO (File System Object)
            
            sourcePath = "c:testAccesscopyFolderp01FolderTestSource"                                  ' Источник
            destinationPath = "c:testAccesscopyFolderp01FolderTestForCopy"                         ' Получатель
            
            Set fso = CreateObject("Scripting.FileSystemObject") ' Объект FSO (File System Object) (Присваиваем переменной fso ссылку на новый экземпляр FileSystemObject)
        
              fso.MoveFolder sourcePath, destinationPath                                                                          ' перемещаем `папку`
            Set fso = Nothing
End Sub

Миниатюры

Переместить папку(каталог). Ошибка "File already exists"
 

Переместить папку(каталог). Ошибка "File already exists"
 

Переместить папку(каталог). Ошибка "File already exists"

Вложения

Тип файла: zip MoveFolder.zip (37.7 Кб, 1 просмотров)



0



Programming

Эксперт

94731 / 64177 / 26122

Регистрация: 12.04.2006

Сообщений: 116,782

22.09.2020, 16:11

Ответы с готовыми решениями:

pgAdmin — Ошибка: relation «Tablename» already exists
Я совсем новичок в работе с базами данных. Но работа требует их освоения. Причем, освоения именно…

Ошибка «could not access file «$libdir/fasttrun» при создании БД
Добрый день! Простите, возможно обращаюсь не в тот раздел, но у меня появилась следующая проблема:…

Как добавить команды «Переместить в папку» и «Копировать в папку» в контекстное меню Проводника?
Здравствуйте все! Будьте добры, как добавить команды "переместить, копировать в папку"?
Я знаю,…

Ошибка «project1.lpr(35,0) Fatal: Syntax error, «BEGIN» expected but «end of file» found»
type
tarray= array of integer;
var
a:tarray;
m,s,k:integer;
procedure…

9

Eugene-LS

Нарушитель

9862 / 5009 / 1231

Регистрация: 05.10.2016

Сообщений: 14,081

22.09.2020, 17:33

2

Лучший ответ Сообщение было отмечено Soft17 как решение

Решение

Цитата
Сообщение от Soft17
Посмотреть сообщение

Результат: ошибка «File already exists»

… а тут наоборот нужен слешь у DestinationPath

Добавлено через 28 минут
Soft17, попробуйте мой (не идеальный вариант):

Кликните здесь для просмотра всего текста

Visual Basic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Public Sub FSO_MoveFolder(strSoursePath As String, strDistPath As String, Optional bOverwrite As Boolean = True)
'Перемещение папки (или папок)- Moves one or more folders from one location to another.
'Аргументы:
'   strSoursePath    - Путь откуда
'   strDistPath      - Путь куда
'   bOverwrite       - Перезаписывать файлы по пути назначения
'--------------------------------------------------------------------------
Dim objFSO As Object
Dim s$, i%
 
On Error GoTo FSO_MoveFolder_Err
    
    DoCmd.Hourglass True 'Показать часики на случай большого кол-ва файлов
   
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    
    If Not objFSO.FolderExists(strSoursePath) Then
        MsgBox "Исходная папка:" & vbCrLf & strSoursePath & _
            vbCrLf & "не найдена.", vbExclamation
        GoTo FSO_MoveFolder_Bye
    End If
    
    If Not objFSO.FolderExists(strDistPath) Then
        MsgBox "Папка назначения:" & vbCrLf & strDistPath & _
            vbCrLf & "не найдена.", vbExclamation
        GoTo FSO_MoveFolder_Bye
    End If
    
    i = InStrRev(strSoursePath, "")
    s = Mid(strSoursePath, i)
    s = strDistPath & s
    
    If Not Right(strDistPath, 1) = "" Then strDistPath = strDistPath & ""
    
    If Not Dir(s, vbDirectory) = "" Then
        If bOverwrite = True Then objFSO.DeleteFolder s
        DoEvents
    End If
    
    'перемещение папки:
    objFSO.MoveFolder strSoursePath, strDistPath
    DoEvents
 
FSO_MoveFolder_Bye:
    On Error Resume Next
    Set objFSO = Nothing
    DoCmd.Hourglass False 'Вернуть нормальный курсор
    Exit Sub
 
FSO_MoveFolder_Err:
    MsgBox "Ошибка " & Err.Number & vbCrLf & Err.Description & vbCrLf & _
    "в процедуре: FSO_MoveFolder", vbCritical, "Error in Empty2003Application v005"
    Resume FSO_MoveFolder_Bye
End Sub

У вас будет так:

Visual Basic
1
     FSO_MoveFolder sourcePath, destinationPath

Если что — критика приветствуется с благодарностью.



1



Soft17

5 / 5 / 3

Регистрация: 15.01.2017

Сообщений: 690

22.09.2020, 19:17

 [ТС]

3

Eugene-LS,
Рассматриваю использование на двух дисках:
— диск «С» — диск компьютера (расположен на комп-1).
— диск «Z» — сетевой диск (расположен на комп-2).

Если папки на диске «С» — результат: работает.
Если папки на диске «Z» — результат:

ошибка «Permission denied».

При выполнении операций папки закрыты. Т.е. файловый проводник не использует папки.

Вопрос: как сделать чтобы перемещение работало с диском «Z»?

Копирование папок для диска «Z» работает.

Visual Basic
1
fso.CopyFolder sourcePath, destinationPath, True



0



Нарушитель

9862 / 5009 / 1231

Регистрация: 05.10.2016

Сообщений: 14,081

22.09.2020, 19:22

4

Цитата
Сообщение от Soft17
Посмотреть сообщение

как сделать чтобы перемещение работало с диском «Z»?

Не знаю



0



mobile

Эксперт MS Access

26784 / 14463 / 3192

Регистрация: 28.04.2012

Сообщений: 15,782

22.09.2020, 22:43

5

Лучший ответ Сообщение было отмечено Soft17 как решение

Решение

Цитата
Сообщение от Soft17
Посмотреть сообщение

Копирование папок для диска «Z» работает.

Если копирование проходит, то следующим шагом можно удалить исходную папку

Visual Basic
1
fso.deletefolder sourcePath



2



Нарушитель

9862 / 5009 / 1231

Регистрация: 05.10.2016

Сообщений: 14,081

22.09.2020, 23:11

6

Цитата
Сообщение от mobile
Посмотреть сообщение

Если копирование проходит, то следующим шагом можно удалить исходную папку

Отличная идея!

Я тут просто тихо подумал про Брандмауэр Windows — там Access разрешены поползновения по сети?
А вдруг = нет!? Тогда и будет «Permission denied»
… Это уже вопрос к Soft17.



1



5 / 5 / 3

Регистрация: 15.01.2017

Сообщений: 690

23.09.2020, 13:04

 [ТС]

7

Цитата
Сообщение от Eugene-LS
Посмотреть сообщение

Я тут просто тихо подумал про Брандмауэр Windows — там Access разрешены поползновения по сети?
А вдруг = нет!? Тогда и будет «Permission denied»
… Это уже вопрос к Soft17.

У меня Windows-7.
Как найти эту настройку?



0



Eugene-LS

Нарушитель

9862 / 5009 / 1231

Регистрация: 05.10.2016

Сообщений: 14,081

23.09.2020, 15:22

8

Лучший ответ Сообщение было отмечено Soft17 как решение

Решение

Цитата
Сообщение от Soft17
Посмотреть сообщение

Как найти эту настройку?

Проще сначала проверить работоспособность операций удаления — Копирования по сети из MSA
А уж если … — То внести MSA в список программ коим всё разрешено.

Добавлено через 1 минуту

Цитата
Сообщение от Soft17
Посмотреть сообщение

У меня Windows-7.

Да вы, батенька, ретроград!

Добавлено через 1 час 26 минут
Soft17, кстати, проверил по сети у себя:

Visual Basic
1
2
3
4
5
6
7
8
9
10
Private Sub Test002()
Dim sSrsPath As String   ' путь к папке источнику
Dim sDstPath As String   ' путь к папке получателю
            
    sSrsPath = "\DESKTOP-VM16PubНовая папка 001"   ' Источник
    sDstPath = "\DESKTOP-VM16PubНовая папка 002"
 
    FSO_MoveFolder sSrsPath, sDstPath
 
End Sub

Пашет!
И ещё раз (перезапись) — Опять отработало.

Процедура: FSO_MoveFolder() — без изменений, как в пост #2

Подключил сетевую папку как «Z:»

Visual Basic
1
2
3
    sSrsPath = "Z:Новая папка 001"   
    sDstPath = "Z:Новая папка 002"
    FSO_MoveFolder sSrsPath, sDstPath, True

… всё работает.



1



Модератор

8500 / 5659 / 2291

Регистрация: 21.01.2014

Сообщений: 24,267

Записей в блоге: 3

25.09.2020, 09:01

9

Цитата
Сообщение от Eugene-LS
Посмотреть сообщение

sSrsPath = «Z:Новая папка 001»  
    sDstPath = «Z:Новая папка 002»

Eugene-LS, так Вы перемещаете папку в пределах одного диска, неважно, локальный он или сетевой. Так работать будет. Проблема начинается, когда пытаемся произвести операцию перемещения с одного диска на другой, с С: на Z: к примеру…
Я и сам с этим сталкивался на других ЯП… Просто есть подозрение, что так заложено в Windows API, функции которого так или иначе подтягиваются при работе с файловой системой… Выход предельно прост и его уже указал mobile



1



Нарушитель

9862 / 5009 / 1231

Регистрация: 05.10.2016

Сообщений: 14,081

25.09.2020, 10:45

10

Цитата
Сообщение от D1973
Посмотреть сообщение

Проблема начинается, когда пытаемся произвести операцию перемещения с одного диска на другой, с С: на Z: к примеру…

А! — теперь понял!
Спасибо.
… из за праздности, пьянства и прочих излишеств у меня голова не всегда ясная.
… надо будет потом свою процедурку поправить на сей предмет.



0



IT_Exp

Эксперт

87844 / 49110 / 22898

Регистрация: 17.06.2006

Сообщений: 92,604

25.09.2020, 10:45

10

Доброго времени суток!
Пытаюсь разобраться с вагрантом…настроить окружение для сайта на yii2 advanced. Каждый раз при запуске команды vagrant up вылазиит такая ошибка:
The name of your virtual machine couldn’t be set because VirtualBox
is reporting another VM with that name already exists. Most of the
time, this is because of an error with VirtualBox not cleaning up
properly. To fix this, verify that no VMs with that name do exist
(by opening the VirtualBox GUI). If they don’t, then look at the
folder in the error message from VirtualBox below and remove it
if there isn’t any information you need in there.

VirtualBox error:

VBoxManage.exe: error: Could not rename the directory ‘C:UsersZaurKVirtualBox VMsubuntu-16.04-amd64_1511639362493_33793’ to ‘C:UsersZaurKVirtualBox VMsmysite’ to save the settings file (VERR_ALREADY_EXISTS)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component SessionMachine, interface IMachine, callee IUnknown
VBoxManage.exe: error: Context: «SaveSettings()» at line 3052 of file VBoxManageModifyVM.cpp

Судя по всему он жалуется на то, что такая виртуальная машина уже есть и не может переименовать на такое имя. Использую Virtual Box, но в списке виртуальных машин не вижу такого имени…
Помогите пожалуйста разобраться, в чем тут загвоздка?

Понравилась статья? Поделить с друзьями:
  • Ошибка man edc 00609 08
  • Ошибка mach3 no driver sensed installed
  • Ошибка makeinlineautocalloriginal originalptr is 0
  • Ошибка mach3 emergency mode active
  • Ошибка make не такого файла каталога