BobPhoenix Posted December 4, 2013 Share Posted December 4, 2013 First, I want to thank the author of this excellent plugin. I found it pretty easy to get a Windows 7 VM running within VirtualBox on my unraid server. I can use Remote Desktop or Teamviewer to connect to the VM, but I can't figure out how to connect with UltraVNC. If anyone is using UltraVNC to connect to their Virtualbox Windows VM, I'd be interested in learning how you made it work. I use RDP to connect both directly to the Windows VM and to the VRDP console that VBOX provides. For instance to connect to my "Online" VM I can use N54L:5003 as the computer name in a Windows RDP connection dialog since I have the "Online" VRDP port setting to 5003 and it is installed on my unRAID server named N54L (which is on my N54L). I have the authorization setup to default which lets anything through so I can use ANY userid to connect. I like it better than VNC because I'm already using RDP to connect directly to Windows VMs on my N54L and other ESXi Windows guests. It is a smoother experience then the VNC clients I have one of which is Ultra but is a couple of years old now. Quote Link to comment
kamhighway Posted December 5, 2013 Share Posted December 5, 2013 I use RDP to connect both directly to the Windows VM and to the VRDP console that VBOX provides. For instance to connect to my "Online" VM I can use N54L:5003 as the computer name in a Windows RDP connection dialog since I have the "Online" VRDP port setting to 5003 and it is installed on my unRAID server named N54L (which is on my N54L). I have the authorization setup to default which lets anything through so I can use ANY userid to connect. I like it better than VNC because I'm already using RDP to connect directly to Windows VMs on my N54L and other ESXi Windows guests. It is a smoother experience then the VNC clients I have one of which is Ultra but is a couple of years old now. Thank you for pointing me in this direction. I still can't get UltraVNC working, so the VRDP console in VBOX is a good solution. The cursor seems to really lag through. I must not have the guest additions installed properly. I see the guest addition iso on /boot/config/plugins/virtualbox, but there must be another step to install it. Update: Got guest additions installed now and that has resolved the lagging cursor problem. Quote Link to comment
Rexl Posted December 8, 2013 Share Posted December 8, 2013 Hey I dont get VirtualBox up and running, for some reason it doesnt do the following: Show installed version Create logfiles Install extension Hope you can help me out! Quote Link to comment
nacat78 Posted December 8, 2013 Share Posted December 8, 2013 Hey I dont get VirtualBox up and running, for some reason it doesnt do the following: Show installed version Create logfiles Install extension Same issue here... anyone else having similar isssues? Quote Link to comment
hoek Posted December 8, 2013 Share Posted December 8, 2013 Had the same problem. http://vbox.a1aina.com/files/vbox-4.3.4-unRAID-3.9.11p.tgz is missing doinst.sh inside /install folder I added the one from vbox-4.3.2-unRAID-3.9.11p to the archive and the setting page now looks right and I can startup my VM's fine. Quote Link to comment
Rexl Posted December 8, 2013 Share Posted December 8, 2013 Had the same problem. http://vbox.a1aina.com/files/vbox-4.3.4-unRAID-3.9.11p.tgz is missing doinst.sh inside /install folder I added the one from vbox-4.3.2-unRAID-3.9.11p to the archive and the setting page now looks right and I can startup my VM's fine. Hey, I cant seem to get it to work, i tried adding the doinst.sh to the tgz archive but with no succes. Could you maybe upload your file so I could use it aswell? Thanks in advance! Quote Link to comment
nacat78 Posted December 8, 2013 Share Posted December 8, 2013 Hey, I cant seem to get it to work, i tried adding the doinst.sh to the tgz archive but with no succes. Could you maybe upload your file so I could use it aswell? Thanks in advance! Here's the one that I recompiled for 5.0.4 and seems to be working https://www.mediafire.com/?8lbu3v1cjww3ag3 Quote Link to comment
wolferl99 Posted December 9, 2013 Share Posted December 9, 2013 Hope you can help me out! That looks exactly like it for me when I went from 5 to 5.03. In my case there was a segfault for libc used by wget in the syslog. never fixed it and downgraded to 5. Quote Link to comment
s7fd3 Posted December 9, 2013 Share Posted December 9, 2013 Have hit a bump - when I try to click the 'startvboxwebsrv' button the entire gui just hangs until I do a complete restart. Any suggestions? Quote Link to comment
nacat78 Posted December 9, 2013 Share Posted December 9, 2013 VirtualBox has always done that for me since i've been tinkering around with it. all i do is leave the page and go back in and everything it started and fine. Quote Link to comment
aptalca Posted December 9, 2013 Share Posted December 9, 2013 Have hit a bump - when I try to click the 'startvboxwebsrv' button the entire gui just hangs until I do a complete restart. Any suggestions? I always had the same issue. I now do all restarts through telnet using the rc.virrualbox and all is good Quote Link to comment
theone Posted December 12, 2013 Author Share Posted December 12, 2013 I think I found the problem. I run VBoxManage commands without full path to /opt/VirtualBox. In latest compilation this doesn't work for some reason. I will fix plugin to include full path when using VBoxManage. Quote Link to comment
theone Posted December 12, 2013 Author Share Posted December 12, 2013 New plugin version posted 0.5.3: 0.5.3 - Added changelog history - Enabled changing of Mount and Startup options also when virtualbox is running - They impact only during plugin start - Only if VirtualBox installed give option to update from local or online versions if exist otherwise download options - Changed "vboxmanage" to correct case "VBoxManage" and added full path "/opt/Virtualbox/VBoxManage" - Added to log confirmation that installation of packages completed correctly. - If "VirtualBox LOCAL version different than INSTALLED version" then function changed to "update" instead of "install" - Duplicated all "logger" output also to regular output "echo" - Added --timeout=60 on all wget commands - Minor UI Change Quote Link to comment
garion Posted December 14, 2013 Share Posted December 14, 2013 Thanks theone, Is it neccessary a reboot after update/reinstall? Still I cant turn on VMs. Log says starting vm but not really Regards New plugin version posted 0.5.3: 0.5.3 - Added changelog history - Enabled changing of Mount and Startup options also when virtualbox is running - They impact only during plugin start - Only if VirtualBox installed give option to update from local or online versions if exist otherwise download options - Changed "vboxmanage" to correct case "VBoxManage" and added full path "/opt/Virtualbox/VBoxManage" - Added to log confirmation that installation of packages completed correctly. - If "VirtualBox LOCAL version different than INSTALLED version" then function changed to "update" instead of "install" - Duplicated all "logger" output also to regular output "echo" - Added --timeout=60 on all wget commands - Minor UI Change Quote Link to comment
theone Posted December 14, 2013 Author Share Posted December 14, 2013 Can you show you syslog? What happens when you try and runyour vms from phpvirtualbox? Quote Link to comment
garion Posted December 15, 2013 Share Posted December 15, 2013 sure. No error. Dec 15 12:26:19 unraid kernel: mdcmd (191): spindown 6 Dec 15 14:31:51 unraid kernel: mdcmd (192): spindown 1 Dec 15 14:31:52 unraid kernel: mdcmd (193): spindown 2 Dec 15 14:31:53 unraid kernel: mdcmd (194): spindown 4 Dec 15 14:32:24 unraid kernel: mdcmd (195): spindown 0 Dec 15 14:32:24 unraid kernel: mdcmd (196): spindown 3 Dec 15 14:43:16 unraid rc.virtualbox[7973]: /opt/VirtualBox/VBoxManage setproperty websrvauthlibrary null Dec 15 14:43:16 unraid rc.virtualbox[7975]: vboxwebsrv service started Dec 15 14:43:45 unraid rc.virtualbox[8102]: Starting Virtual Machine: 210518bd-b025-4a3b-bf07-9dfd6e9dd3d1 ... no extra info after that. I´m rebooting now. I´ll edit in a few minutes. Quote Link to comment
garion Posted December 15, 2013 Share Posted December 15, 2013 ufff, couple hours late but a lot of problems with unraid in the reboot. first didn´t reboot (with no active pids on the array), power down didnt work (via terminal or unmenu script), shutdown too. Then I did a full switch off and on. After restart only SMB flash was mounted, no disks, no shares, no unraid main page, only unmenu and terminal. I did only one thing: empty file config/plugins/virtualbox/vms_sessions.cfg (that file only have one line with my win7 sessions). After that (still no powerdown works) so I use reboot -n -f and ok. After restart unraid s working again, no errors but still can't start VMs inside plugin. -------------------------- I can´t use phpvirtualbox without virtualbox running due I have no SF web server running and I use a small ubuntu_server VM to run phpvirtualbox. I know its not a clean solution but I don´t know other plugin than SF Webserver. With the possible SF rewritten I´ll back with the plugin. -------------------------- I attach my last syslog. Thanks syslog-2013-12-15.txt.zip Quote Link to comment
DToX Posted December 17, 2013 Share Posted December 17, 2013 I keep getting the following error when I try to make a virtual machine 00:21:23.993448 Medium::Task ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac} aComponent={Medium} aText={Could not create the medium storage unit '/root/VirtualBox VMs/ubuntu/ubuntu.vdi'. 00:21:23.993464 Medium::Task VDI: disk would overflow creating image '/root/VirtualBox VMs/ubuntu/ubuntu.vdi' (VERR_DISK_FULL)}, preserve=false I'm getting this in the log but it seems like it's trying to save it to my ram and not to the actual cache drive Dec 17 14:23:07 Tower rc.virtualbox[28156]: Symbolically linked /mnt/cache/vbox to /root/.VirtualBox Quote Link to comment
nacat78 Posted December 17, 2013 Share Posted December 17, 2013 @ DTox - from phpvirtualbox select file then preferences and change the location/storage of VM files - cannot be root. Quote Link to comment
DToX Posted December 17, 2013 Share Posted December 17, 2013 @ DTox - from phpvirtualbox select file then preferences and change the location/storage of VM files - cannot be root. preferences won't load, cursor just keeps spinning I got around the problem thanks nacat78, up too late banging my head Quote Link to comment
jumperalex Posted December 18, 2013 Share Posted December 18, 2013 A few notes along the way as I try to do this: Virtualbox Extensions: while the instructions here say they are included, your instructions here ==> http://vbox.a1aina.com/install.php say they need to be downloaded. I missed the clue in the OP and then got confused when i looked at your a1aina page, all coupled with the fact that my UnRaid gui showed it was install all conspired to make me confused lighttpd: AFAIK Simplefeatures is not an option for 5.0 so I went the unmenu route. I had to dig around to figure out how to configure and actually start lighttpd. I did figure it out though so for posterity and to save other's time (assuming I did in fact do it right) once you install via unmenu, you have to: -- copy the default config from here /usr/doc/lighttpd-1.4.19/lighttpd.conf to somewhere on your flashdrive. I choose /boot/packages because that is where the rest of lighttpd is installed by unmenu -- then make the following changes server.document-root = "/mnt/appdisk/lighttpd/virtualbox" <==== this needs to be a location you created. server.port = 8084 <==== I only choose this because theone did dir-listing.activate = "enable" <==== to be honest I can't validate this but that is the info I found in UnRaid forums I made no other changes to lighttpd.conf The command to start lighttpd is: /usr/sbin/lighttpd start -f /boot/packages/lighttpd.conf which you should copy to your GO script phpVirtualbox: has moved from http://code.google.com/p/phpvirtualbox/ to http://sourceforge.net/projects/phpvirtualbox/files/?source=navbar I grabbed version 4.3.0 of phpVirtualBox. The only changes I made was to rename config.php-example to config.php aqnd nothing else. [shadow=red,left][glow=red,2,300] And now we get to my problem. [/glow][/shadow] I can't seem to get the web server running. I click on the Start Vboxwebsrv button and I see /etc/rc.d/rc.virtualbox start_vboxwebsrv /opt/VirtualBox/VBoxManage setproperty websrvauthlibrary null vboxwebsrv service started But when I go to tower:8084 and click on the folder I put phpVirtualBox in, "phpvirtualbox-4.3-0" all I see is an empty page (attached). I believe lighttpd is installed correctly because it is serving up the directory of /mnt/appdisk/virtualbox and I can see the "phpvirtualbox-4.3-0" folder. When I click on that, and get the blank page, the browser tab is named "phpVirtualBox" so I've done something at least partly right re: copying the phpVirtualBox files from the zip i downloaded. I've also attached a copy of my webgui page and syslog. For completness the location I set for the logfile does exist and I typed it correctly (compare to my screen shot): root@Tower:~# cd /mnt/appdisk/virtualbox/ root@Tower:/mnt/appdisk/virtualbox# but there are no files in there. The location for the symbolic link: root@Tower:/mnt/appdisk/virtualbox# cd /mnt/appdisk/vbox root@Tower:/mnt/appdisk/vbox# similarly exists and there are indeed files in there. Any help is greatly appreciated. syslog-2013-12-17.zip Quote Link to comment
SlrG Posted December 18, 2013 Share Posted December 18, 2013 Does the unmenu lighttpd install php? If it is only the webserver that gets installed, this is not sufficient to run phpvirtualbox. You also have to install php, make sure lighttpd calls php correctly (mod_fastcgi is installed as a server module) and in php enable the soap extension. Quote Link to comment
peter_sm Posted December 18, 2013 Share Posted December 18, 2013 SF web server and virtualbox + phpvirtualbox works fine on 5.04 //Peter Quote Link to comment
SlrG Posted December 18, 2013 Share Posted December 18, 2013 peter_sm is correct (though only partly). I'm using it myself that way. It doesn't run out of the box however. The SF webserver plugin has to be modified and the soap extension has to be enabled, too. Also the SF webserver plugin might clash with certain plugins and stops working if they are installed. So it depends a little bit on luck, what plugins you use and ones personal linux skills and/or edurance in reading long forum threads to make it work. Quote Link to comment
jumperalex Posted December 18, 2013 Share Posted December 18, 2013 Yeah I'm just not inclined to install Simple Features Base in order to get SF webserver. Too many problems in the past so now I'm afraid of the fire ;-) However you are surely right about php not being installed. I was not aware that I needed that as well. I'm pretty sure php is available via unmenu and I will take a run at it tonight. Thank you very much. FWIW, that detail should probably be part of the instructions even if it is something along the lines of, "install SF web server to get lighttpd and php installed, otherwise you will have to install each yourself." I'm also planning to update my main post as I go along with these little gems as well my attempts to run a CentOS-VM with PMS, utorrent, and handbrake, as well as a Win7-VM that will be a clone of my PC (fingers crossed on that one haha). All as a way to get ready for the future of UnRaid-NG or whatever Ironicbadger ends up calling it Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.