Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Gizzmo on June 23, 2010, 11:12:55 PM
-
I got spoiled in the past and recently had a server completely fail, of course i had a backup via DAR, everything seems to be restored but not my ProxyPass GUI in Server-Manager.....is there a way to get that back?
Thanks!
-
I have had a couple of server fails where I have had to resort to a backup, one thing you have to remember is the built in backup does not backup custom stuff. As far as I understand the db and settings etc are stored in the backup but not the contrib itself, that means you need to reinstall the contrib.
In my situation I use Zarafa and recently when my server failed, I did the rebuild and restore and then install Zarafa and everything was as it should be. One recommendation I have read is to have an ibay with all your extra packages thus you have a ready point of installation on restoring your system, plus it has the current versions you are using.
-
FOund it, dunno if the wiki should referance for us lazy people that this works:
http://forums.contribs.org/index.php?topic=37693.0
Using the smeserver-proxypass-0.0.3-1.noarch.rpm contrib but then:
That rpm has a bug that calls up an incorrect db location
To fix it do
pico -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/50ProxyPass
Change the line that says:
tie my %domains, 'esmith::config', '/home/e-smith/domains';
to read
tie my %domains, 'esmith::config', '/home/e-smith/db/domains';
Brought my ProxyPass Panel back to the Server-manage, need to test further to confirm.....
And boy am i glad i had DAR working, the machine was only down for less than 24hrs (only because i had a day job and couldnt work on it)
Put together a VMware image and install 7.5, pointed to my workstation backup and let the restore begin...websites were back up and running....might just keep it in VMware forever. (was just the quickest solution i had to get back up)
-
You should file a bug in the bugtracker in the SME Contribs category.
-
Gizzmo
Using the smeserver-proxypass-0.0.3-1.noarch.rpm contrib but then:
That is a very old rpm developed for sme6.x and buggy for sme7.x.
Proxy pass functionality is now in sme7.x since a long time ago, and can be configured with db commands, see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass
You do not need that rpm any more.
-
Gizzmo
That is a very old rpm developed for sme6.x and buggy for sme7.x.
Proxy pass functionality is now in sme7.x since a long time ago, and can be configured with db commands, see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass
You do not need that rpm any more.
Mary
I knew this part, I just wanted the GUI part back because its what I've been using for years. I did use the command line till i got this working again. I just like the idea of having this option in server-manager without having to ssh or enabling ssh on machines at clients.
Is that RPM trying to add proxypass or just linking it to a gui....i assume it could be modified to just give users a interface to the command line without giving them SSH access....of course i would know the first thing about building a RPM :-/
Thanks All!
-
Gizzmo
Is that RPM trying to add proxypass or just linking it to a gui....i assume it could be modified to just give users a interface to the command line without giving them SSH access....
You have the rpm, you can look inside it to see what it does, use mc for easiness if you are inexperienced.
You can also look at the current sme server code (templates) to see what they do to implement the proxy pass settings.
It's an old rpm so I don't want to waste time investigating it.
The theory is that you could relatively easily develop a server manager panel to configure the db settings that are now implemented in sme7.x
That would be a safer way to go than what you seem to be suggesting above.
By the way the resultant proxypass entry does appear in the server manager domains (I think) panel, after setting it with the db commands, but it is not editable from server manager.
Is there really that much need to have end user administrators configuring proxy pass entries ?
IMHO it would be a very infrequent if not one off thing to do, so that's why the developers just left it as db commands rather than going all the way with a server manager panel.