Page 1 of 1

[Solved] Can't start guest

Posted: 13. Mar 2019, 02:35
by jamat13
One fine day I started a guesy as usual on my midi 2011 iMac 27 running High Sierra and was greeted with this

The virtual machine 'jam' has terminated unexpectedly during startup with exit code 1 (0x1).

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

After some googling I removed the app using [remove] in the dmg
Removed Library/Virtual Boc
Removed 'Virtual Box VMs'
Installed from the DMG
Installed a guest
start the guest
no logs
same error as before

Short of re-install OSX what can I do?

Re: Can't start guest

Posted: 13. Mar 2019, 03:32
by BillG
If you are running VirtualBox on a MAC running OSX, why did you post in this forum VirtualBox on Windows hosts?

Re: Can't start guest

Posted: 13. Mar 2019, 03:59
by jamat13
Flight Deck Finger Trouble
Sorry Folks

Re: Can't start guest

Posted: 13. Mar 2019, 09:21
by andyp73
We need to see two things... firstly the VBox.log file for the aborted attempt to start the guest and secondly the output of running the command:

ls -laed@ \
  / \
  /Applications \
  /Applications/VirtualBox.app \
  /Applications/VirtualBox.app/Contents/MacOS/VirtualBox \
  /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM \
  /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
  /Library/Application\ Support/VirtualBox \
  /private \
  /private/etc \
  /private/etc/sudoers \
  /private/tmp

-Andy.

Re: Can't start guest

Posted: 13. Mar 2019, 09:37
by jamat13
Andy thanks

Code: Select all

[haycorn] /Users/jam [256]% ls -laed@ \
>   / \
>   /Applications \
>   /Applications/VirtualBox.app \
>   /Applications/VirtualBox.app/Contents/MacOS/VirtualBox \
>   /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM \
>   /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
>   /Library/Application\ Support/VirtualBox \
>   /private \
>   /private/etc \
>   /private/etc/sudoers \
>   /private/tmp
drwxr-xr-x  23 root  wheel      1190 24 Nov 16:59 /
drwxr-xr-x  75 jam   staff      2618 12 Mar 11:17 /Applications
drwxr-xr-x   3 root  admin       102 12 Mar 11:17 /Applications/VirtualBox.app
-rw-r--r--   1 root  admin   5903952 26 Jan 02:46 /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib
-rwxr-xr-x   1 root  admin  33067904 26 Jan 02:46 /Applications/VirtualBox.app/Contents/MacOS/VirtualBox
-rwsr-xr-x   1 root  admin    157264 26 Jan 02:46 /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM
drwxr-xr-x@  7 root  wheel       238 12 Mar 11:17 /Library/Application Support/VirtualBox
	com.apple.metadata:_kTimeMachineNewestSnapshot	      50
	com.apple.metadata:_kTimeMachineOldestSnapshot	      50
drwxr-xr-x@  6 root  wheel       204  4 Jul  2018 /private
	com.apple.FinderInfo	      32
drwxr-xr-x  29 root  wheel      4386 12 Mar 11:11 /private/etc
-r--r-----   1 root  wheel      2337 28 Oct  2017 /private/etc/sudoers
drwxrwxrwt  11 root  wheel       612 13 Mar 13:27 /private/tmp
[haycorn] /Users/jam [257]%

Code: Select all

00:00:00.006361 main     VirtualBox XPCOM Server 6.0.4 r128413 darwin.amd64 (Jan 25 2019 19:26:11) release log
00:00:00.006363 main     Log opened 2019-03-12T03:18:00.928075000Z
00:00:00.006364 main     Build Type: release
00:00:00.006381 main     OS Product: Darwin
00:00:00.006390 main     OS Release: 17.7.0
00:00:00.006398 main     OS Version: Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
00:00:00.006536 main     DMI Product Name: iMac12,2
00:00:00.006601 main     DMI Product Version: 1.0
00:00:00.006629 main     Host RAM: 16384MB (16.0GB) total, 12286MB (11.9GB) available
00:00:00.006634 main     Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC
00:00:00.006635 main     Process ID: 791
00:00:00.006636 main     Package type: DARWIN_64BITS_GENERIC
00:00:00.036443 main     IPC socket path: /tmp/.vbox-jam-ipc/ipcd
00:00:00.238995 nspr-2   VirtualBox: object creation starts
00:00:00.239531 nspr-2   Home directory: '/Users/jam/Library/VirtualBox'
00:00:00.293429 nspr-2   HostDnsMonitor::updateInfo
00:00:00.293466 nspr-2   HostDnsMonitor: old information
00:00:00.293471 nspr-2     no server entries
00:00:00.293476 nspr-2     no domain set
00:00:00.293479 nspr-2     no search string entries
00:00:00.293483 nspr-2   HostDnsMonitor: new information
00:00:00.293487 nspr-2     server 1: 192.168.5.33
00:00:00.293491 nspr-2     no domain set
00:00:00.293494 nspr-2     search string 1: home
00:00:00.316383 nspr-2   VD: VDInit finished with VINF_SUCCESS
00:00:00.350118 nspr-2   VirtualBox: object created
00:00:06.020892 nspr-2   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:00:06.129453 nspr-3   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:00:51.327507 createBase Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:00:52.330098 nspr-4   Saving settings file "/Users/jam/VirtualBox VMs/jam/jam.vbox" with version "1.16-macosx"
00:00:52.345371 nspr-2   Saving settings file "/Users/jam/VirtualBox VMs/jam/jam.vbox" with version "1.16-macosx"
00:00:52.346145 nspr-2   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:00:52.418161 nspr-2   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:00:52.443326 nspr-3   Saving settings file "/Users/jam/VirtualBox VMs/jam/jam.vbox" with version "1.16-macosx"
00:00:52.872799 nspr-4   ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={MachineWrap} aText={This machine does not have any snapshots}, preserve=false aResultDetail=0
00:00:57.435064 Watcher  ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={MachineWrap} aText={The virtual machine 'jam' has terminated unexpectedly during startup with exit code 1 (0x1)}, preserve=false aResultDetail=0
00:04:56.474063 Watcher  ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={5047460a-265d-4538-b23e-ddba5fb84976} aComponent={MachineWrap} aText={The virtual machine 'jam' has terminated unexpectedly during startup with exit code 1 (0x1)}, preserve=false aResultDetail=0
00:05:05.080807 nspr-4   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:05:05.249183 nspr-3   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:05:05.334804 nspr-4   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:05:05.344482 nspr-4   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:05:05.486371 nspr-2   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:05:05.538766 nspr-4   Saving settings file "/Users/jam/Library/VirtualBox/VirtualBox.xml" with version "1.12--rw-r--r-- 1 jam video 20519256 Feb 21 19:50 mythbackend.20190211052553.6453.log
00:00:00.006361 main     VirtualBox XPCOM Server 6.0.4 r128413 darwin.amd64 (Jan 25 2019 19:26:11) release log
00:00:00.006363 main     Log opened 2019-03-12T03:18:00.928075000Z
00:00:00.006364 main     Build Type: release
00:00:00.006381 main     OS Product: Darwin
00:00:00.006390 main     OS Release: 17.7.0
00:00:00.006398 main     OS Version: Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
00:00:00.006536 main     DMI Product Name: iMac12,2
00:00:00.006601 main     DMI Product Version: 1.0
00:00:00.006629 main     Host RAM: 16384MB (16.0GB) total, 12286MB (11.9GB) available
00:00:00.006634 main     Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC
00:00:00.006635 main     Process ID: 791
00:00:00.006636 main     Package type: DARWIN_64BITS_GENERIC
00:00:00.036443 main     IPC socket path: /tmp/.vbox-jam-ipc/ipcd
00:00:00.238995 nspr-2   VirtualBox: object creation starts
00:00:00.239531 nspr-2   Home directory: '/Users/jam/Library/VirtualBox'
00:00:00.293429 nspr-2   HostDnsMonitor::updateInfo
00:00:00.293466 nspr-2   HostDnsMonitor: old information
00:00:00.293471 nspr-2     no server entries
00:00:00.293476 nspr-2     no domain set
00:00:00.293479 nspr-2     no search string entries
00:00:00.293483 nspr-2   HostDnsMonitor: new information
00:00:00.293487 nspr-2     server 1: 192.168.5.33
00:00:00.293491 nspr-2     no domain set
00:00:00.293494 nspr-2     search string 1: home
00:00:00.316383 nspr-2   VD: VDInit finished with VINF_SUCCESS
00:00:00.350118 nspr-2   VirtualBox: object created
@
"VBoxSVC.log" 58L, 5989C

Re: Can't start guest

Posted: 13. Mar 2019, 11:29
by andyp73
jamat13 wrote:
drwxr-xr-x 75 jam staff 2618 12 Mar 11:17 /Applications
This don't match the output from my macOS 10.14.3 (Mojave) installation which shows:
drwxrwxr-x+ 100 root  admin      3200 12 Mar 13:19 /Applications 0: group:everyone deny delete
It looks like you may have installed something that has naughtily changed the permissions on the /Applications folder which VirtualBox is not finding to its liking. Known culprits are things like MacPorts and Homebrew. Try resetting the permissions on that folder and see if the situation improves.

-Andy.

Re: Can't start guest

Posted: 13. Mar 2019, 12:12
by jamat13
Thanks! I would not think of looking at permissions (ownership) of /Applications
Natch that was the issue!