rcvboxes status: Virtualbox machines: no virtual machines running.

Hi to all!

I not able to make virtual machines to run after I reboot the host machine.
When I power it up by hand like this I found out that rcvboxes is not finding anything.

VBoxManage startvm backup-test -type headless
VBoxManage list runningvms
"backup-test" {71868dbe-2e74-4506-a9b6-dfb9e67c2ba1}

rcvboxes status
Virtualbox machines: no virtual machines running.                                                      skipped
vboxes.service - LSB: Autostart Virtual Box VMs
          Loaded: loaded (/etc/init.d/vboxes)
          Active: inactive (dead)
          CGroup: name=systemd:/system/vboxes.service


so I restarted the deamon but nothing happens

rcvboxes status
Virtualbox machines: no virtual machines running.                                                      skipped
vboxes.service - LSB: Autostart Virtual Box VMs
          Loaded: loaded (/etc/init.d/vboxes)
          Active: active (exited) since Sat, 2013-02-02 22:03:43 UYST; 1s ago
         Process: 4385 ExecStart=/etc/init.d/vboxes start (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/vboxes.service

Feb 02 22:03:43 malamute.ed-libertad.asse vboxes[4385]: Starting Virtualbox machines: no virtual machines co...sed
Feb 02 22:03:43 malamute.ed-libertad.asse systemd[1]: Started LSB: Autostart Virtual Box VMs.

What can I do?

On Tue, 23 Apr 2013 13:36:03 +0000, maniat1k wrote:

> When I power it up by hand like this I found out that rcvboxes is not
> finding anything.

How have you configured vboxes to automatically start up? This script
doesn’t auto-start boxes that happen to be running when the host is shut
down, as I understand it, but rather requires some configuration to
automate the startup/shutdown at host startup/shutdown.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Tue, 23 Apr 2013 13:36:03 +0000, maniat1k wrote:

> When I power it up by hand like this I found out that rcvboxes is not
> finding anything.

What version of openSUSE, VirtualBox, Kernel, and where did you install from (repositories)?

An easy way to run a user’s program at boot is with a crontab entry:


@reboot   VBoxHeadless --startvm  "a virtual machine name"  &

ok I added the machines in /etc/sysconfig/vbox and that was what I’m looking for, but the thing is when the host reboots, the vm starts from scratch… It does not do savestate before the poweroff…

sorry about my english…

regards,
maniat1k

ok now I have this on my way.


/etc/init.d/vboxes status
Virtualbox machines: no virtual machines running.                    skipped
vboxes.service - LSB: Autostart Virtual Box VMs
          Loaded: loaded (/etc/init.d/vboxes)
          Active: inactive (dead) since Sat, 2013-02-02 22:00:49 UYST; 1 day and 21h ago
         Process: 4155 ExecStop=/etc/init.d/vboxes stop (code=exited, status=0/SUCCESS)
         Process: 3955 ExecStart=/etc/init.d/vboxes start (code=exited, status=0/SUCCESS)
          CGroup: name=systemd:/system/vboxes.service


if I do a cp of /etc/init.d/vboxes to other path and run it:

./vboxes_test status
 test (user: root):                                       running (since 2013-02-04 21:55:46)                                                        running
 test (user: root):                                       running (since 2013-02-04 21:55:46)                                                        running

it worked…

Shoud I report it?

I want to be able to have the machine go savestate before I poweroff is the host. When I poweron the host the VM must continue whithout any problem.