New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newly installed fedora-23-minimal template fails to connect to qmemman #2078

Closed
andrewdavidwong opened this Issue Jun 18, 2016 · 5 comments

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Jun 18, 2016

Qubes OS version (e.g., R3.1):

R3.1

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-23-minimal (possibly others)


I installed fedora-23-minimal from the repos. The following error message appears toward the end of the installation process:

Resolving Dependencies
--> Running transaction check
---> Package qubes-template-fedora-23-minimal.noarch 0:3.0.4-201601151509 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
 Package                                  Arch           Version                    Repository                 Size
====================================================================================================================
Installing:
 qubes-template-fedora-23-minimal         noarch         3.0.4-201601151509         qubes-dom0-cached         339 M

Transaction Summary
====================================================================================================================
Install  1 Package

Total download size: 339 M
Installed size: 1.1 G
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
  Installing : qubes-template-fedora-23-minimal-3.0.4-201601151509.noarch                                       1/1 
--> Processing the root.img... (this might take a while)
--> Processing the volatile.img...
--> Creating private.img...
--> Instaling menu shortcuts...
--> Loading the VM (type = TemplateVM)...
ERROR: ERROR: Failed to connect to qmemman: [Errno 111] Connection refused
ERROR: Appmenus can be retrieved only from running VM - start it first
Shutting down VM: 'fedora-23-minimal'...
ERROR: VM already stopped!
  Verifying  : qubes-template-fedora-23-minimal-3.0.4-201601151509.noarch                                       1/1 

Installed:
  qubes-template-fedora-23-minimal.noarch 0:3.0.4-201601151509                                                      

Complete!

When I try to start the template, I get the same error message (in the KDE tray notifier):

          Qubes VM Manager
Error starting VM 'fedora-23-minimal':
ERROR: Failed to connect to qmemman:
[Errno 111] Connection refused
@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 18, 2016

Member

Output when removing the affected template:

$ sudo yum remove qubes-template-fedora-23-minimal
Resolving Dependencies
--> Running transaction check
---> Package qubes-template-fedora-23-minimal.noarch 0:3.0.4-201601151509 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
 Package                                 Arch          Version                      Repository                 Size
====================================================================================================================
Removing:
 qubes-template-fedora-23-minimal        noarch        3.0.4-201601151509           @qubes-dom0-cached        1.1 G

Transaction Summary
====================================================================================================================
Remove  1 Package

Installed size: 1.1 G
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
A VM with the name 'fedora-23-minimal-dvm' does not exist in the system.
--> Removing menu shortcuts...
  Erasing    : qubes-template-fedora-23-minimal-3.0.4-201601151509.noarch                                       1/1 
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/root.img.part.01: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/root.img.part.00: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/apps.templates: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/apps.tempicons: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/apps: remove failed: No such file or directory
  Verifying  : qubes-template-fedora-23-minimal-3.0.4-201601151509.noarch                                       1/1 

Removed:
  qubes-template-fedora-23-minimal.noarch 0:3.0.4-201601151509                                                      

Complete!
Member

andrewdavidwong commented Jun 18, 2016

Output when removing the affected template:

$ sudo yum remove qubes-template-fedora-23-minimal
Resolving Dependencies
--> Running transaction check
---> Package qubes-template-fedora-23-minimal.noarch 0:3.0.4-201601151509 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
 Package                                 Arch          Version                      Repository                 Size
====================================================================================================================
Removing:
 qubes-template-fedora-23-minimal        noarch        3.0.4-201601151509           @qubes-dom0-cached        1.1 G

Transaction Summary
====================================================================================================================
Remove  1 Package

Installed size: 1.1 G
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
A VM with the name 'fedora-23-minimal-dvm' does not exist in the system.
--> Removing menu shortcuts...
  Erasing    : qubes-template-fedora-23-minimal-3.0.4-201601151509.noarch                                       1/1 
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/root.img.part.01: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/root.img.part.00: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/apps.templates: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/apps.tempicons: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23-minimal/apps: remove failed: No such file or directory
  Verifying  : qubes-template-fedora-23-minimal-3.0.4-201601151509.noarch                                       1/1 

Removed:
  qubes-template-fedora-23-minimal.noarch 0:3.0.4-201601151509                                                      

Complete!
@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 18, 2016

Member

Removing the template (with yum remove) and re-installing it results in the same error.

Member

andrewdavidwong commented Jun 18, 2016

Removing the template (with yum remove) and re-installing it results in the same error.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 18, 2016

Member

I think qmemman crash is unrelated to template installation itself. Check journalctl -b -u qubes-qmemman for details.

And to fix, restart that service.

Member

marmarek commented Jun 18, 2016

I think qmemman crash is unrelated to template installation itself. Check journalctl -b -u qubes-qmemman for details.

And to fix, restart that service.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 18, 2016

Member

Lots of "too small for satisfy assignments!" messages.

How do I restart it?

Member

andrewdavidwong commented Jun 18, 2016

Lots of "too small for satisfy assignments!" messages.

How do I restart it?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jun 18, 2016

Member

Ah, I got it:

sudo service qubes-qmemman restart

Works now! Thanks, Marek!

Member

andrewdavidwong commented Jun 18, 2016

Ah, I got it:

sudo service qubes-qmemman restart

Works now! Thanks, Marek!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment