[solved] VBoxHeadless can't seem to run as a systemd service

I'm trying to write a simple service file for VBoxHeadless (for my headless server).
│[Unit]
Description=Virtualbox Headless WinXP VM
[Service]
ExecStart=/usr/bin/VBoxHeadless --startvm WinXP
[Install]
WantedBy=multi-user.target
Somehow whenever I run it I get (from systemctl status) the following:-
% systemctl status vbox.service
vbox.service - Virtualbox Headless WinXP VM
Loaded: loaded (/etc/systemd/system/vbox.service; disabled)
Active: failed (Result: exit-code) since Fri, 24 Aug 2012 15:29:38 +0800; 2s ago
Process: 28938 ExecStart=/usr/bin/VBoxHeadless --startvm WinXP (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/vbox.service
This is the default Type=Simple, forking and oneshot does not seem to help. Any suggestions? Of course, just running /usr/bin/VBoxHeadless --startvm WinXP works...
One interesting point to note is that VBoxHeadless is merely a symlink to VBox (which can't be run by itself). Not sure how useful that is. It might make sense for me to use VBoxManage instead, but if possible I'd like to get it working using VBoxHeadless since as far as I can tell that does the 'right thing' (tm).
Last edited by ngoonee (2012-08-27 00:52:26)

Hmm that doesnt work for me...
I have placed a file called vbox.service under /lib/systemd/system/vbox.service with the following content
[Unit]
Description=Virtualbox Headless VM
[Service]
ExecStart=/usr/bin/VBoxHeadless --startvm 4decf7c1-7eda-461c-92aa-835d2405a22e
ExecStop=/usr/bin/VBoxManage controlvm 4decf7c1-7eda-461c-92aa-835d2405a22e poweroff
User=my_user
[Install]
WantedBy=muti-user.target
If I start and stop it via
sudo systemctl start vbox and sudo systemctl stop vbox, everything works fine
Then i entered the following:
sudo systemctl enable vbox, but it wont start at boot
Here is the output
sudo systemctl status vbox
vbox.service - Virtualbox Headless VM
Loaded: loaded (/usr/lib/systemd/system/vbox.service; enabled)
Active: inactive (dead)
CGroup: name=systemd:/system/vbox.service
Jan 05 02:38:59 exia pulseaudio[1428]: [pulseaudio] main.c: Daemon startup failed.
Jan 05 02:40:08 exia systemd[1]: Started Virtualbox Headless VM.
Jan 05 02:42:02 exia systemd[1]: Stopping Virtualbox Headless VM...
Jan 05 02:42:02 exia VBoxManage[1546]: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Jan 05 02:42:02 exia VBoxHeadless[1375]: Oracle VM VirtualBox Headless Interface 4.2.6_OSE
Jan 05 02:42:02 exia VBoxHeadless[1375]: (C) 2008-2012 Oracle Corporation
Jan 05 02:42:02 exia VBoxHeadless[1375]: All rights reserved.
Jan 05 02:42:02 exia VBoxHeadless[1375]: VRDE server is listening on port 3389.
Jan 05 02:42:02 exia VBoxHeadless[1375]: VRDE server is inactive.
Jan 05 02:42:02 exia systemd[1]: Stopped Virtualbox Headless VM.
/usr/bin/VBoxHeadless --startvm 4decf7c1-7eda-461c-92aa-835d2405a22e works fine
Any ideas, though?

Similar Messages

  • I can't seem to run adobe premier 6 on my mac pro

    I can't seem to run adobe premier 6 on my mac pro. Can any one help me.
    I am able to install it alright but it will not run after the installation.

    Adobe CC. I Contacted Adobe. This helped. It just had to do with making the library folder in users visible.
    I use Mac OSX 10.7.5

  • I can't seem to run my Playlist under Yahoo Music.. it runs fine with IE 9 but not Firefox 4 .... any idea why?

    I can't seem to run my Playlist under Yahoo Music.. it runs fine with IE 9 but not Firefox 4 .... any idea why? I can run a single song just not my playlist.
    Thanks.

    Had this problem for quite a while but found a work-a-round. I click anywhere in the text I want to delete and insert any character. I am then able to block and delete any text I want to. It's been working great.

  • How do you run apps on creative cloud? I can't seem to run them or see them on my desktop

    How do you run apps on creative cloud? I can't seem to run them or see them on my desktop

    Hi JasonLuong,
    You will have to go to www.creative.adobe.com and login with your Adobe Id on which you have purchased the subscription.
    You can go to the download center and then start downloading all the cc apps available. It will first download and install the Creative cloud desktop tool in your computer. This creative cloud desktop will show you the option to download all the CC programs, the updates, etc.
    Thanks
    Kapil Rupani

  • I can't seem to run 3 external displays of off my MacBook Pro 13inc with Retina.

    I can't seem to run 3 external displays of off my MacBook Pro 13inc with Retina (2.8GHz Intel Core i7, 16GB 1600 MHz DDR3, 512GB SD driven, OS X 10.9.3) It only picks ups 2 displays. I also have a 15inch Mac Book Pro with Retina that can run all 3 screens. Any suggestions, please?

    The late 2013 MacBook Pro Retina 13 inch screen model can power three external displays in addition to its own.
    Here is a video showing three external displays working; 1 HDMI, 1 MiniDisplay Port, and 1 thru USB using a Startech external video card to DVI adapter. All the external displays are old 23 inch Apple Cinema Displays hooked up thru each monitor's Apple Display Connector (ADC), then to Apple ADC to DVI adapters, then a third adapter (HDMI, USB, MiniDisplayport). So ADC/ADC to DVI/DVI to whatever/MacBook. The monitors are probably older than some of the users on this board. The USB to DVI external card/adapter is what makes it work, and it's less than $70 online.
    http://youtu.be/ys_Glzkh0aE

  • Can't seem to run SketchUp calculations without stalling.

    I've recentely freed up some disk space, about 38 of the 74,2G is available now. And things have been running more smoothly.
    It puzzles me though why SketchUp stalls with practically every calculation, while Photoshop (which i thought requires quite some computing space) runs as smooth as silk.
    Any suggestions as to how i can resolve this?

    never mind people, just found out that my video card is horribly outdated. gdmn.

  • I can't seem to run a hardware diagnostics on my MacBook Pro.

    I recently had an issue with the Wi-Fi hardware on my MacBook.  I wasn't able to view any local networks.  Instead, the menu option stated that there was an issue with my wireless hardware.  I resterted my MacBook and the issue persisted.  My computer also went to sleep and I wasn't able to wake it up.  Since then, everything is back to normal and functioning properly.  I searched some articles on the support site on how to run the diagnostics at startup, but holding down the D key doesn't do anything.  I'm currently running the latest version of Mavericks (10.9) and I have a 15-inch, mid 2010 MacBook Pro.  Is there something missing that's causing me not to have the on-board diagnostics available to me?  Is there even a way to check for something liek that?  Any advice is greatly appreciated in advance.

    ChrisJ1927,
    with Mid 2010 MacBook Pros, you’ll need to use the Apple Hardware Test that came on the model-specific grey installation DVDs that originally came in the box. The diagnostic tools on the Recovery Partition aren’t usable on MacBook Pros that were originally equipped with Snow Leopard or before.

  • I can't seem to get my iMac (late 2009 model) into automatic sleep mode.  If I manually put it into sleep I don't have any issues.  I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion.

    I can't seem to get my iMac (late 2009 model) into automatic sleep mode.  If I manually put it into sleep I don't have any issues.
    I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion. I now want to fix the underlying problem.
    I'm not running any weird background processes and in my energy saver settings I've tagged "put the hard disk to sleep when possible:, "allow power button to put computer to sleep" and "automatically reduce brigthness". All pretty standard.
    Is there anyone who can give me some pointers ?

    Today I solved the same problem for my iMac running Snow Leopard. See https://discussions.apple.com/thread/3008791#15947706. The method may help you, too.
    For me it was the DynDNS Updater preventing my iMac from automatically entering sleep mode.
    To my knowledge the cause of this sleep problem can only be a peripheral device or a process. So I suggest to first unplug all peripherals and test whether that's the cause. If not, I suggest to terminate one process after another and to test automatic entering of sleep mode after each. Start with user processes; continue with system process if necessary.
    At least that's the way I found the offending process. Fortunately, I was able to change the configuration of that process to allow again automatic entering of sleep mode.
    Good luck!

  • HT1632 I can view a workout on my ipod touch history, but not in itunes or on nike+ website.  I can't seem to upload this run and it's really annoying as I'm loosing about 12k of runs.  It seems to happen when I program in a custom run.  Can you help?

    Hi there,
    I have just done a custom run on my Ipod touch 2nd Gen of 12k.  When I finished the run is appearing in my run history on my iPod touch, however it is not appearing in my itunes 'Nike+' tab, or on the Nike + website.  I can't seem to get this run to sync and it is really annoying because I'll be loosing 12k.  Can anyone help or has experienced this before?  I know there are solutions to add runs to iPod nano's and older iPods using the 'Enable disk' and iPod_control function however from what I'm aware you cannot do this on an iPod touch.  Can anyone please help?
    Many thanks
    Phil

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • New to Accessibility and have run into problems I can't seem to find answers to.

    At my job I've been trying to learn how to make files accessible for a client. I've watched many videos and scoured forums but there are some issues and can't seem to resolve and was wondering if anyone would be able to assist.
    1.Table tagging- all the information I've been able to find on this suggests that you create a table style for your table in indesign and apply it (it doesn't have to have anything in it really, just as long as there is a style applied?). Then make sure you have header row that is tagged as such. I've got that, but beyond that I can't find any more information. I was having to apply paragraph styles to each cell in the table to get it to pass the accessiblity checker in acrobat.
    2. Forms- When it comes to tagging forms in my pdf, I was having to click on "find" under the tags panel and manually tag them, then manually move them to their correct locations. Is there a better way to do this? Also, I was hoping I could copy and paste forms from one document to the next but I lose all tags on those forms when I do that.
    3. I have a lot of documents where I have "*" or "†" used next to a word to trigger a legal disclosure at the bottom of the document. Would the proper way to use these be to make them a hyperlink to the disclosures at the bottom? I was initially going to cross-reference them to the disclosures, but since the cross-reference places new text (ex, See below, or See Section Title), I would then have to re-submit all my text to legal to have them approve it all over again.
    4. I have created metadata information for a logo used in my files but I notice it has the tag name "pathpathpathpathpath". Any clue why?
    5. Sometimes words are broken into two or three tags instead of one fluid word tag, such as c or poration, instead of just corporation.
    6. Everytime I run the accessiblity checker I get the notification that "tab order failed". I know I can right click and hit fix, is that ok?
    7. I sometimes have empty tags where a space is, do I need to delete these?
    8. I can't seem to get the whole document to read aloud to test it. I can get it to read the copy I've selected but I can't really test the reading order on this.
    Sorry for all these questions!

    1. I am not an Indesign user, so I cannot help you there. Table tagging in Acrobat can be complex, especially if the table is not regular (same number of cells in every row). Please post any specific questions regarding table tagging.
    2. I do not know of an easier way of tagging form fields. With practice, it is not too burdensome. After all the work of creating, positioning, and configuring the form fields, I find tagging the fields to be the easiest step.
    3. I would tag the  "*" or "†" as an in-line Reference, tag the disclosure as a Note, then position the Note as close as practical to the Reference in the document structure without disrupting the reading flow. Usually this is right after the paragraph that includes the Reference.
    4. This is normal. “path” is the word Acrobat uses for a some graphical elements. If the metadata is alt text you will find it in the tag properties.
    5. I would retag the paragraph (or header, or whatever it is) using the Touchup Reading Order tool.
    6. In the Acrobat Page Thumbnails pane, select all the pages then right-click, Page Properties, and select Use Document Structure on the Tab Order pane.
    7. The tags are probably not empty, but rather contain the space character. These do not seem to cause any problems but to me they clutter up the tag tree so I tag the spaces as background artifacts.
    8. An easier way to check the reading order is to use a tool that lets you see the document in the way an AT user would hear it. PDFgoHTML from Callas Software (http://www.callassoftware.com/callas/doku.php/en:products:pdfgohtml), and the screen-reader preview feature in PAC 1.3 (http://www.access-for-all.ch/en/pdf-lab/pdf-accessibility-checker-pac/dl132.html) are my favorites.
    Hope some of this helps. Please post any follow-up questions (for best results – one at a time with as much detail as practical on the problem :-) ).
    a 'C' student

  • I've downloaded CS6 Master Collection but only see The Photoshop icon.  I can't seem to find the other programs, except on "uninstall programs" How do I open and run the others?

    I've downloaded CS6 Master Collection but only see The Photoshop icon.  I can't seem to find the other programs, except on "uninstall programs" How do I open and run the others?

    How about you give us some real information.
    Did you install the software? What operating system?

  • My MacBook Air won't stay off. I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    There's a slight chance this might help:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    Otherwise it needs to be repaired.

  • Can't seem to sync my iphone 4 running ios 7 with itunes 10.6 running on a mac running osx 10.5.8 What can I do to fix this?

    can't seem to sync my iphone 4 running ios 7 with itunes 10.6 running on a mac running osx 10.5.8 What can I do to fix this? Is there an itunes update? or How can I return to the previous ios?

    To sync an iOS 7 device you need to be running iTunes 11.1.1; iTunes 10.6 is way too old and won't work. You need to install iTunes 11.1.1, but to do that you need to be running at least Mac OS X 10.6.8.
    So you need to do the following:
    1. Upgrade your Mac to at least OS X 10.6.8 (later preferably, but 10.6.8 at the miniumum).
        a. Check first to see if your model Mac can be upgraded, check that it has enough RAM and so forth (2GB at the least, more if possible).
        b. If you can't upgrade your Mac, or don't want to, then you will have to buy a new Mac with the latest version of OS X (currently 10.8.5, soon to become 10.9) and iTunes 11.1.1
    2. Install iTunes 11.1.1 on your newly upgraded Mac.
    3. Sync your iOS 7 iPhone with iTunes.

  • Problem description: I have ordered a new iMac but my current one seems to be running very slowly.  I believe it to be a memory related problem but can't seem to identify what is causing it.  Help is greatly appreciated.

    Problem description:
    I have ordered a new iMac but my current one seems to be running really slowly.  I believe it to be a memory related problem but can’t seem to identify what is causing it.  Your help is greatly appreciated.
    EtreCheck version: 2.1.8 (121)
    Report generated March 7, 2015 at 4:01:26 PM PST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2008) (Verified)
        iMac - model: iMac8,1
        1 2.8 GHz Intel Core 2 Duo CPU: 2-core
        2 GB RAM Upgradeable
            BANK 0/DIMM0
                1 GB DDR2 SDRAM 800 MHz ok
            BANK 1/DIMM1
                1 GB DDR2 SDRAM 800 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 2600 Pro - VRAM: 256 MB
            iMac 1920 x 1200
    System Software: ℹ️
        OS X 10.10 (14A389) - Time since boot: 23 days 18:5:35
    Disk Information: ℹ️
        ST3320820AS_Q disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.21 GB (195.05 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        HP Officejet 6000 E609n
        Apple, Inc. Keyboard Hub
            Primax Electronics Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Apple Inc. Built-in iSight
        Western Digital External HDD 500.11 GB
            My Passport (disk1s1) /Volumes/My Passport : 500.11 GB (200.60 GB free)
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Popcorn 4/Popcorn.app
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.aliph.driver.jstub (1.1.2 - SDK 10.7) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.accountsd.plist
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.bird.plist
        [killed]    com.apple.CalendarAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.coreservices.uiagent.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.rcd.plist
        [killed]    com.apple.recentsd.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.secd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        22 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.AssetCacheLocatorService.plist
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.diagnosticd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        [killed]    org.cups.cupsd.plist
        20 processes killed due to memory pressure
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    UNKNOWN Hidden (missing value)
        Jawbone Updater    Application  (/Applications/Jawbone Updater.app)
        Dropbox    Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        CitrixICAClientPlugIn: Version: 11.2.0 [Click for support]
        iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
        Citrix Online Plug-in  [Click for support]
        Flash Player  [Click for support]
        UE Smart Radio  [Click for support]
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 319.21 GB Disk used: 124.16 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 3.00 TB
            Total number of backups: 98
            Oldest backup: 2013-08-28 05:45:36 +0000
            Last backup: 2014-12-30 19:39:32 +0000
            Size of backup disk: Excellent
                Backup size 3.00 TB > (Disk size 319.21 GB X 3)
    Top Processes by CPU: ℹ️
             5%    com.apple.WebKit.Plugin.64
             3%    WindowServer
             2%    sysmond
             0%    AppleSpell
             0%    com.apple.WebKit.Networking
    Top Processes by Memory: ℹ️
        41 MB    Finder
        41 MB    iTunes
        37 MB    Safari
        32 MB    com.apple.WebKit.Plugin.64
        32 MB    mds
    Virtual Memory Information: ℹ️
        53 MB    Free RAM
        501 MB    Active RAM
        463 MB    Inactive RAM
        398 MB    Wired RAM
        78.46 GB    Page-ins
        3.04 GB    Page-outs
    Diagnostics Information: ℹ️
        Mar 7, 2015, 12:41:34 PM    /Library/Logs/DiagnosticReports/Inkjet4_2015-03-07-124134_[redacted].crash
        Mar 5, 2015, 07:42:29 PM    /Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_2015-03-05-194229_[ redacted].crash

    That certainly looks like a low memory issue, 2 GB ram is barely enough to run Mac OS X versions from Lion through Yosemite.  The high number of Page Outs and killed processes show very high memory pressure.
    Try adding memory, but be sure it is high quality, Mac certified memory such as that from OWC, http://www.macsales.com or Crucial, http://www.crucial.com

  • Every time I try to install itunes on my PC I get the following message, and I can't seem to find a solution. Any help out there?? "There is a problem with this Windows Installer package. A program required for this install to complete could not be run."

    Every time I try to install itunes on my PC I get the following message, and I can't seem to find a solution. Any help out there?? "There is a problem with this Windows Installer package. A program required for this install to complete could not be run."

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

Maybe you are looking for

  • Keynote 3.0.2 unexpectedly crashes

    When I try to launch Keynote directly or double clicking a Keynote file, I get an unexpected crash. Tried from another OS X account and had no problems. I tried deleting preferences from ~/Library related to Keynote but still no resolution. Suggestio

  • How to create a business partner whose BP category is person in crm portal?

    How to create a business partner whose BP category is person in crm portal.When I use Partner and account management>Partner function in portal,I create a new partner,the partner category is default organization,can not change. But I what to create a

  • ZBATMAS03 - extended idoc segment population

    Hi, I've found an extended IDoc ZBATMAS03 (basic type: BATMAS03). It's being used for generating outbound IDOc usiong change pointers. A new segment Z1BATMAS has been added to the extended one. Now I'm not able to find where this segment is being pop

  • HTTP exception using SampleXML provider

    I tried using http:// to download xml feed from a content provider and it returns FileNotFoundException as follows. While trying to resolving the URL in netscape(ver 4.78) i get a SaveAs dialog to save the xml feed. The portal works fine when i use f

  • My iphone is really hot and wont stop vibrating.

    I woke up this morning and my iphone was next to me. I rolled over and it burned me because of how hot it was. I woke up and noticed it was vibrating too. Not short little vibrates but this one long continuous vibration. Also, the screen was black bu