Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: LANMonkey on December 23, 2012, 08:57:37 PM
-
I can no longer reach any of the websites, including webmail and server-manager. The terminal display shows a constantly repeated message,
Syntax error on line 1087 of /etc/httpd/conf/httpd.conf:
ProxyPass URL must be absolute!
I can't log in at the terminal, but I can log on with PuTTY.
The only thing I can think of is that one of my ProxyPass targets is the Windows Home Server, which has the URL, symbiota.homeserver.com.
What should I do? I'm sure I've seen this problem before here, but a search has not pulled up any threads.
-
well, first of all rollback your changes and tell us the exact syntax you used a
-
well, first of all rollback your changes and tell us the exact syntax you used a
I'm sorry, but I do not understand the procedure, "rollback changes" nor have I applied any syntax anywhere in SME.
-
I'm sorry, but I do not understand the procedure, "rollback changes" nor have I applied any syntax anywhere in SME.
well..
post the output of
db domains show | grep -i proxy
thank you
-
well..
post the output of
db domains show | grep -i proxy
thank you
Here it is,
[root@xxxxx ~]# db domains show | grep -i proxy
ProxyPassTarget=192.168.0.247
TemplatePath=ProxyPassVirtualHosts
[root@xxxxx ~]#
-
then you are using ProxyPass
read here: http://wiki.contribs.org/SME_Server:Documentation:ProxyPass
you did something wrong.. you'd find the domain where you are using proxypass and revert/delete the settings
you should also take a look in bash history, it can help you (and us) to understand what's going wrong
-
you did something wrong.. you'd find the domain where you are using proxypass and revert/delete the settings
you should also take a look in bash history, it can help you (and us) to understand what's going wrong
OK, I'll uninstall ProxyPass, reinstall it and that should do the trick? I'll post the details of what I am trying to do with ProxyPass.
If you explain how to look up "bash history", I'll do that and post the results. Maybe I should to this first. Let me know what to do.
-
there's nothing to uninstall/reinstall
history
from command line
man history
will help you
-
OK, here is a report from "history",
....
980 /sbin/e-smith/expand-template etc/crontab
981 more /etc/crontab
982 date
983 date
984 /sbin/e-smith/expand-template etc/crontab
985 more /etc/crontab
986 db domains set symbiota.homeserver.com
987 db domains setprop symbiota.homeserver.com Nameservers internet
988 db domains setprop symbiota.homeserver.com ProxyPassTarget 192.168.0.247
989 db domains set symbiota.homeserver.com domain
990 db domains setprop symbiota.homeserver.com Nameservers internet
991 db domains setprop symbiota.homeserver.com ProxyPassTarget 192.168.0.247
992 db domains setprop symbiota.homeserver.com TemplatePath ProxyPassVirtualHosts
993 signal-event domain-create symbiota.homeserver.com
994 ping symbiota.homeserver.com
995 more /etc/crontab
996 more /etc/crontab
997 exit
998 exot
999 exot
1000 exit
1001 db domains show | grep -i proxy
1002 history
[root@finch ~]#
Apparently, this was one of the last things I was up to. But it was done a month ago at least.
-
what's the output of
db domains show symbiota.homeserver.com
?
-
Here is what I get:
[root@xxxxx ~]# db domains show symbiota.homeserver.com
symbiota.homeserver.com=domain
Nameservers=internet
ProxyPassTarget=192.168.0.247
TemplatePath=ProxyPassVirtualHosts
[root@xxxxx ~]#
-
LANMonkey
989 db domains set symbiota.homeserver.com domain
990 db domains setprop symbiota.homeserver.com Nameservers internet
991 db domains setprop symbiota.homeserver.com ProxyPassTarget 192.168.0.247
992 db domains setprop symbiota.homeserver.com TemplatePath ProxyPassVirtualHosts
993 signal-event domain-create symbiota.homeserver.com
You did not follow the instructions correctly. Read what you entered, and compare it with what the wiki says to enter
Do this to fix it (including the http: part & the trailing slash):
db domains setprop symbiota.homeserver.com ProxyPassTarget http://192.168.0.247/
(the above all on one line)
then do
signal-event domain-create symbiota.homeserver.com
Please read all instructions ACCURATELY & CAREFULLY in future!
-
That did it!
The loop stopped in my terminal. Can I assume that a reboot is not necessary? All the websites are back up, including my WHS site.
As far as I can tell, Problem Solved.
Thank you very much.