Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upVMs not created post-install; can't start qubesd.service #3431
Comments
matthazinski
changed the title from
FileNotFoundError on QUBESD_SOCKET on fresh install of 4.0RC3
to
VMs not created post-install; can't start qubesd.service
Dec 27, 2017
andrewdavidwong
added
bug
C: installer
labels
Dec 28, 2017
andrewdavidwong
added this to the Release 4.0 milestone
Dec 28, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jayarjo
Jan 23, 2018
In my case /var/run/qubesd.sock doesn't exist either. Not sure how this could happen. I've restarted Qubes and after restart VMs stopped starting. Can I easily recereate that file? I tried touch /var/run/qubesd.sock with appropriate permissions, but qvm scripts still fail with Connection refused Error 111.
Any kind of quick solution to this?
jayarjo
commented
Jan 23, 2018
|
In my case Any kind of quick solution to this? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jan 23, 2018
Member
This machine had some difficulty booting Qubes and the grub config may have some errors. I'm not sure if this would affect anything post-boot.
It looks like you're booting Linux directly, without Xen. See here for fixing bootloader: https://www.qubes-os.org/doc/macbook-troubleshooting/
In my case /var/run/qubesd.sock doesn't exist either. Not sure how this could happen. I've restarted Qubes and after restart VMs stopped starting.
See status of qubesd service (systemctl status qubesd). Restart it if necessary. If you get similar error like xen.lowlevel.xs.xs.Error: (2, 'No such file or directory'), the problem is the same - you run just Linux, without Xen. You need to fix grub (or EFI) configuration.
Example minimal grub.cfg snippet (normally generated automatically):
menuentry 'Qubes, with Xen hypervisor' {
set root='hd0,msdos1'
echo 'Loading Xen 4.6.6 ...'
multiboot /xen-4.6.6.gz placeholder dom0_mem=min:1024M dom0_mem=max:4096M
echo 'Loading Linux 4.9.56-21.pvops.qubes.x86_64 ...'
module /vmlinuz-4.9.56-21.pvops.qubes.x86_64 placeholder root=/dev/mapper/qubes_dom0-root ro rd.luks.uuid=luks-UUID rd.lvm.lv=qubes_dom0/root
echo 'Loading initial ramdisk ...'
module --nounzip /initramfs-4.9.56-21.pvops.qubes.x86_64.img
}
(UUID needs to be replaced with actual UUID of luks volume; you can get it for example with lsblk command)
It looks like you're booting Linux directly, without Xen. See here for fixing bootloader: https://www.qubes-os.org/doc/macbook-troubleshooting/
See status of qubesd service ( Example minimal grub.cfg snippet (normally generated automatically):
( |
matthazinski commentedDec 27, 2017
•
edited
Edited 2 times
-
matthazinski
edited Dec 27, 2017 (most recent)
-
matthazinski
edited Dec 27, 2017
Qubes OS version:
Qubes-R4.0-rc3.x86_64.iso, fresh install
Affected TemplateVMs:
Not applicable
Steps to reproduce the behavior:
Perform a fresh install of 4.0RC3 on a Macbook Pro 11,4 following the instructions in the Mac troubleshooting guide (substituting the current kernel version). After rebooting into the Qubes first-run wizard, select the default VMs suggested.
Expected behavior:
Qubes VMs should be created
Actual behavior:
An error message is displayed in the GUI from calling
/usr/bin/qubes-prefs default-kernel 4.9.56-21due toQUBESD_SOCKET(/var/run/qubesd.sock) not existing. Attempting to launch "Qubes Global Setings" gives the same FileNotFoundError on line 464 of app.py.systemctl status qubesd.serviceshows qubesd failed to start. Attempting to start it manually gives the errorxen.lowlevel.xs.xs.Error: (2, 'No such file or directory')from line 178 of/usr/lib/python3.5/site-packages/qubes/app.py./var/log/salt/minion shows:
General notes:
This machine had some difficulty booting Qubes and the grub config may have some errors. I'm not sure if this would affect anything post-boot.
Related issues: