February 21, 201412 yr I am contemplating whether to update my VirtualBox plugin to support 32bit and 64bit unRAID. For VirtualBox a webserver is needed for phpvirtualbox to be accessed. Is there a working web server with php soap support that works on unRAID 6 so I can start testing?
February 21, 201412 yr Bonienl is waiting for beta 4 for Tom to add something so i guess we are all waiting for that ?
February 21, 201412 yr Quite frankly I don't use phpvirtualbox to configure my VirtualBox VMs anyway but an update of your plugin would be useful as I do use that.
February 21, 201412 yr Author Quite frankly I don't use phpvirtualbox to configure my VirtualBox VMs anyway but an update of your plugin would be useful as I do use that. Done
February 21, 201412 yr im waiting for xen so i dont have to use VBOX That's my ultimate goal too. But I am still using VirtualBox and would like to upgrade that server to version 6 of unRAID while I experiment with Xen setups on a different unRAID server. I'm hoping to retire my ESXi servers in favor of Xen/KVM unRAID too. But that will likely be when unRAID version 7 comes out - so years from now.
February 24, 201412 yr You can try an Apache plug-in I've been working on. Its for unRAID 6.0 beta 3+. Its fully functional except you have to manually edit the httpd.conf file in the apache plug-in folder. The Document Root directory and Port settings on the plug-in web page don’t update the httpd.conf at the moment. You have to manually add them to the httpd.conf. The Server Config File does work, so you can point it to any conf file you want. So you need to edit the http.conf file and change "listen" to the port of your choice, "servername", "DocumentRoot and Directory" and uncomment "Include /etc/httpd/mod_php.conf" If anyone wants to write code to parse and write to the conf feel free. https://github.com/dmacias72/unRAID_6.0/blob/master/apache_64.plg
May 28, 201412 yr Hi How install this plugin ? Telnet give me a "XML parse error" when i type "installplg /boot/config/plugin/apache_64.plg" Thanks.
May 29, 201412 yr That means it's either not in that directory or not downloaded correctly. Also you need to create an apache user or change the user in httpd.conf to one that exists on your system. This is different than the run as user. That is just for running apach launcher
May 29, 201412 yr I'm sorry I don't know what httpd.conf is. And i don't understand your answer "not in that directory or not downloaded correctly" I just had downloaded the plg file, and copied it on /boot/config/plugins. It is not correct ? Thanks.
May 29, 201412 yr The parse error is usually when the plg file doesn't exist. Maybe a typo or copied to the wrong folder. Check that the apache_64.plg is actually in /boot/config/plugins and that the contents of the file are correct. I'll check it too. I haven't installed the plugin in a while and maybe there's a typo. The httpd.conf gets created in /boot/config/plugins/apache All you really need to do is create an apache user.
May 29, 201412 yr I copy the plg myself on Flash/config/plugins and i fill cmd with tab key that indicate that the name is correct... And i have a "plugin: xml parse error Is it because the type file on plg is html and not xml ?
May 29, 201412 yr The previous link is wrong. Github changed some things. What you downloaded was the github web page of the apache_64.plg. Try this link instead. Right click then save as https://raw.githubusercontent.com/dmacias72/unRAID_6.0/master/apache_64.plg Let me know if it works. I haven't run it in a while so some dependencies may be broken. Also create an unraid user "apache"
May 29, 201412 yr Just have this at the end of instllation Warning: copy(/boot/config/plugins/images/device_status.png): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/plgMan/plugin on line 174 plugin: unable to copy LOCAL file: /usr/local/emhttp/plugins/apache/device_status.png
May 29, 201412 yr And that when i try to start rc.httpd root@NAS:~# /etc/rc.d/rc.httpd start /usr/sbin/httpd: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory
May 29, 201412 yr You dont want to start it that way. Use apachectl. Ill fix the png files. Edit: I just updated to fix the png files Edit2 Yes, create an unraid user from the unraid webgui named "apache"
May 29, 201412 yr apachectl gave me the same sqlite error... I've created user apache... without passoword ? You have fixes png error ? I've to reinstall plugin ? I've updated, i can see config on webguy. Thanks. Can you explain me what i've to put in "Document Root directory:" and on two "listen" on httpd.conf i'm not sure Same for server name and "documentroor" and "directory" I"ve put a Unraid cache disk destination. It s correct ? Thanks.
May 29, 201412 yr I've installed sqlite-3.7.17-x86_64-1.txz to solve the error... I use this method "installpkg /boot/packages/sqlite-.3.7.17-x86_64-1.txz" but i have same error on restart... When i reinstall the pkg, no sqlite error.
May 29, 201412 yr Sorry I forgot about certain settings. I never got around to syncing the webgui Document Root with the httpd.conf DocumentRoot so you'll have to change DocumentRoot "/srv/httpd/htdocs" <Directory "/srv/httpd/htdocs"> to match your install. You'll also need to have it in both places and in the webgui since the plugin checks to see if the directory exists and creates it. So if its on your cache in a WWW folder put "/mnt/cache/WWW" in the Document Root in the webgui and edit httpd.conf like this DocumentRoot "/mnt/cache/WWW" <Directory "/mnt/cache/WWW"> The "listen" directive in the httpd.conf needs to be left commented out. It can be set from the webgui. When the plugin runs apache it sets listen directive from the command line.
May 29, 201412 yr I've installed sqlite-3.7.17-x86_64-1.txz to solve the error... I use this method "installpkg /boot/packages/sqlite-.3.7.17-x86_64-1.txz" but i have same error on restart... When i reinstall the pkg, no sqlite error. Ok. I added mysql to the plugin. I always had sabnzbd and sickbeard installed which installs mysql.
May 29, 201412 yr I have already a mysql 5.6.17 installed on unraid but i had to install sqlite pkg. Data directory not permanent solved. I had modified on httpd.conf but not on the webguy. Then i am not abble to start server yet. When i type " sudo -u root apachectl -k start -f /boot/config/plugins/apache/httpd.conf -c "Listen 8088" on telnet. i have "httpd: Syntax error on line 527 of /boot/config/plugins/apache/httpd.conf: Could not open configuration file /etc/httpd/mod_php.conf: No such file or directory " EDIT : I'm not a linux pro... just newbie... When i type just apachectl on telnet i have this "root@NAS:~# apachectl AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs" Any Idea ? Thanks for your help. EDIT 2 : Just at server (unraid) start, i have this. "Apache httpd.pid not created for some reason... OK" Is it important ?
May 29, 201412 yr I got it going. I went ahead and installed it on my server. I was also missing a mod php file. Give me a few mins and I'll fix the plg file. Edit: It should be working now. you can just update from the webgui. Except there's some typo somewhere thats putting a line on the setting web page Edit2: Also it will only run as root from the webgui which is fine since all it is doing is running apachectl script which then runs httpd as user apache.
May 29, 201412 yr Still not working. STOPPED... :'( EDIT : My fault ; wrong directory on httpd.conf. It's working. It stay this " AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message"
Archived
This topic is now archived and is closed to further replies.