Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: whiz on July 07, 2007, 01:40:27 PM
-
I've looked through the forums and searched the Internet for the last couple of hours. If it's here, I've missed it.
It's embarrassing to say, but this is what I did.
I'm running the latest upgraded version of SME. It's got a few other tweaks done to it with the normal yum based additions.
I decided to put proxypass in to see if it works with my other video webserver.
So I did a search on it and found smeserver-proxypass-0.0.3-1.noarch.rpm.
Put it on and it had some errors.
So thought that I would try removing it with yum remove.
No go.
Did a bit more looking around and found on first look found
dmc-mitel-proxypass-0.0.1-3.noarch.rpm and didn't realise that the numbers were transposed.
I installed that on top to see if that might sort it.
Now I get:
Software error:
Undefined subroutine &esmith::util::computeLocalAccessSpec called at /etc/e-smith/web/panels/manager/cgi-bin/proxypass line 89.
I had a look at that point, but it's nothing simple.
Any assistance on where to start to totally remove things without a total rebuild would be greatly appreciated.
-
Try out this:
http://www.saco-support.de/index.php?_m=downloads&_a=viewdownload&downloaditemid=7&nav=0,3
-
Yep. That's the one I originally installed.
-
Did you remove them with yum ?
Make sure a heap of stuff doesn't get erased.
-
whiz
> If it's here, I've missed it.
Yes you missed it, this has been said before, also look in bugzilla too !
First of all remove both rpms you installed.
rpm -e dmc-mitel-proxypass
rpm -e smeserver-proxypass
To be sure & return all settings to defaults do a
signal-event post-upgrade
reboot
Note the dmc-mitel-proxypass contrib is not compatible with sme7, so do not install it again.
The rpm to use is smeserver-proxypass-0.0.3-1.noarch.rpm, although it is buggy, but does appear to work.
Note also that sme7 has support built in for proxypass db entries, see
http://bugs.contribs.org/show_bug.cgi?id=1612
If you want to install the rpm (& have a gui panel in server manager), copy it to a empty folder on your sme server & do
rpm -Uvh *.rpm
(you can (some say should) also use yum with the localinstall switch)
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';
As the rpm is buggy & to be sure that templates have been expanded & services restarted manually do a
signal-event email-update
and
svc -t /service/httpd-e-smith
I seem to recall when you set a proxypass with the panel entry you get an error, but the setting does take, and the proxypass you set up does work, so I think the errors can be ignored.
-
You are an absolute champion.
Followed to the letter and it works fine.
Thanks for the rpm -e heads up too.
I've never had to do this in 6 years of playing with e-smith, but I must admit that I've never had trouble before. I must be one of the lucky ones.
Now I get the link to the camera page, but it says that I can't find things that I can directly access.
I think it's a problem with the reverse proxying.
Thanks again!
-
Nope. It's working perfectly to the outside world.
It doesn't like going back inside the network!