Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: groovicus on June 30, 2007, 04:59:57 AM
-
Not sure if this is a bug, or I didn't understand what I was doing and messed something up. Anyway, I updated some packages this morning using yum:
Jun 29 16:29:08 Updated: krb5-libs.i386 1.3.4-49
Jun 29 16:29:09 Updated: httpd-suexec.i386 2.0.52-32.2.ent.centos4
Jun 29 16:29:12 Updated: httpd.i386 2.0.52-32.2.ent.centos4
Jun 29 16:29:12 Updated: mod_ssl.i386 1:2.0.52-32.2.ent.centos4
Jun 29 16:29:13 Updated: httpd-devel.i386 2.0.52-32.2.ent.centos4
I did:
signal-event post-upgrade; signal-event reboot
Then I opened the browser on my workstation and tried to open the server-manager to add a user, and I got a file not found error. So I opened a terminal and tried to log in as admin and was able to get the server console. But when I tried to hit server-manager from there, I got a 404 error not found.
This topic here (http://forums.contribs.org/index.php?topic=32127.0) pretty much details everything I have already done. Checked both servers, checked error logs, etc.
The first indication of trouble in my error_log is when I tried touse it this afternoon:
[client 192.168.0.2] File does not exist: /home/e-smith/files/ibays/Primary/html/server-manager
I removed one custom template for a rewrite rule yesterday out of /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts. I left the VirtualHosts directory there. The only other custom template I have is for including a mod_jk.conf, and that only has a single line in it, and has not been a problem at all. A also don't have a /etc/e-smith/templates-user-custom/etc/httpd/conf/httpd.conf/ directory. After I removed the template, I expanded httpd.conf, did signal-event post-upgrade; signal-event reboot.
Everything else is working fine, and I have looked at all of the posts I could find concerning the server-manager. I can not log into the server manager at all, either by ssh into the server, or from the local network. Did I miss something simple, like a related but yet un-thought of search topic?
-
this is a problem and belongs in the bug tracker
>Jun 29 16:29:13 Updated: httpd-devel.i386 2.0.52-32.2.ent.centos4
you have installed httpd-devel
so you have a non standard repo enabled
or an error caused by the update problem as explained in the FAQ
[root@kiwi ~]# rpm -qa |grep httpd
httpd-suexec-2.0.52-32.2.ent.centos4
httpd-2.0.52-32.2.ent.centos4
-
Reported here. (http://bugs.contribs.org/show_bug.cgi?id=3114) I really don't remember enabling any other repos, but I surely must have.
-
At the risk of sounding stupid and wasting your time:
[client 192.168.0.2] File does not exist: /home/e-smith/files/ibays/Primary/html/server-manager
server-manager is not a file in the Primary ibay -- it is an alias invoked by /etc/httpd/admin-conf/httpd/conf pointing to /etc/e-smith/web/panels/manager/html
The server-manager config file is used by /etc/init.d/httpd-admin. What do you get if you run /etc/init.d/httpd-admin status?
The httpd-admin service logs to /var/log/httpd/admin_access_log and /var/log/httpd/admin_error_log - do you get anything there?
The only mentions of server-manager in the normal httpd.conf file are a re-direct rule to send you to https://<server>/server-manager and something about proxypass on port 980. Are you using http or https when trying to access server-manager?
Can you get in if you do this from your Windows workstation:C:\path\to\putty <smeserver> -L 980:127.0.0.1:980
Then browse to http://localhost:980/server-manager from the same workstation?
One of the files you updated related to ssl. Can you still access any ssl-encrypted website on your server, or have all ssl connections stopped working?
For your reference, here are the files listed in my (close-to-virgin) SME 7.1.3 /etc/httpd/conf.d folder:# du -ab /etc/httpd/conf.d
10919 /etc/httpd/conf.d/ssl.conf
448 /etc/httpd/conf.d/php.conf
299 /etc/httpd/conf.d/welcome.conf
2509 /etc/httpd/conf.d/02_auth_tkt.conf
167 /etc/httpd/conf.d/auth_external.conf
392 /etc/httpd/conf.d/README
18830 /etc/httpd/conf.d
Here's what I have in /etc/e-smith/templates/etc/httpd:# du -ab /etc/e-smith/templates/etc/httpd
235 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac/90proxyDefault
56 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac/05directLocalhostname
39 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac/template-begin
3 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac/99endFunction
80 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac/10directLocalhost
85 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac/10directLocalNetwork
4594 /etc/e-smith/templates/etc/httpd/conf/proxy/proxy.pac
8690 /etc/e-smith/templates/etc/httpd/conf/proxy
51 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50FancyIndexingOn
59 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.shtml
28 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.svg
224 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/65AddIcon00PHP
95 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.pac
425 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45ServerName
104 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLSessionCacheTimeout
215 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85DefaultAccess
157 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/55AddIconByEncoding00
285 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess10icons
259 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DocRoot
307 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/05NoHostLookups
213 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess00
150 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/60AddDescription00
806 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75BrowserMatch00
368 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule50
188 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddTypes05.crl
585 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35Listen80
717 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Limits
76 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.exe
487 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL20SSLRandomSeed
81 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80AddHandler10
1283 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ProxyPass
55 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80NameVirtualHosts
275 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL00Begin
287 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/05ServerRoot
325 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule70
971 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45CustomLogs
568 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule30
642 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/15DSOstart
437 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45CanonicalName
466 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45KeepAlive
130 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/60AccessFileName
329 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/40ScoreBoardFile
547 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85TurbaAccess
568 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/05UserGroup
178 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_perl
106 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Proxy
176 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80mod_ssl
270 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateFile
159 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateChainFile
29 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.xsl
466 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/40LockFile
97 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SetEnvIf
570 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/02externalSSLAccessString
830 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95ProxyService
1328 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80VirtualHosts
23 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.png
181 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/60AddIconByType00
56 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL05SSLEngine
295 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/96ProxyConf
203 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/70LanguagePriority00
54 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule40
412 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType00
57 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule20
168 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/60IndexIgnore00
197 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddTypes05.crt
179 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80
178 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL15SSLMutex
74 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80DenyHTAccess
255 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DirectoryIndex00PHP
82 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout
279 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/ProxyPassContent
30 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/02ServerName
36 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/template-begin
270 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/00Setup
96 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/26RewriteTraceAndTrack
231 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/03ServerAlias
16 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts/template-end
5054 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts
317 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45CacheNegotiatedDocs
772 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45ServerPool
57 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule60
114 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/60TypesConfig
538 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/65AddLanguage00
148 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL25SSLLogLevel
81 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/40PidFile
217 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ServerResourcesAccess
102 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL99End
76 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/75AddType05.rpm
237 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80PHP
20 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45FileETag
772 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
227 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLPassPhraseDialog
542 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85ImpAccess
88 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35ExternalPwAuth
587 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL00Listen443
118 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/05ServerAdmin
374 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/01localAccessString
4557 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays
549 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85IngoAccess
192 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DirectoryIndex00
315 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/10ErrorLog
105 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule10
1933 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent
30 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/02ServerName
36 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/template-begin
772 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/30WebmailAliases
101 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/40ServerResources
64 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/40ApacheIconAlias
322 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/00Setup
125 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26RewriteTraceAndTrack
196 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/25SSLDirectives
1135 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass
231 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/03ServerAlias
16 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/template-end
9057 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts
147 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/60DefaultType
54 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLCipherSuite
69 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/05ServerTokens
710 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/65AddIcon00
310 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL10SSLSessionCache
123 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/50DefaultIcon
32 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80AddHandler05
77 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35SSL30SSLProtocol
189 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/65AddEncoding00
281 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80AddHandler00
1675 /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess
52365 /etc/e-smith/templates/etc/httpd/conf/httpd.conf
65151 /etc/e-smith/templates/etc/httpd/conf
215 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/85DefaultAccess
349 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15brand
907 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20manager
896 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15common
541 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20password
208 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20ManagerAuthTKT
212 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/85ServerResourcesAccess
667 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/01localAccessString
3880 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager
11971 /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf
16067 /etc/e-smith/templates/etc/httpd/admin-conf
85314 /etc/e-smith/templates/etc/httpd
and here's what I have in /etc/e-smith/templates-custom/etc/httpd:# du -ab /etc/e-smith/templates-custom/etc/httpd
du: cannot access `/etc/e-smith/templates-custom/etc/httpd': No such file or directory
-
You're definitely not wasting my time. I had not thought of trying to access the server manager using https, but that worked. Previously, all I had to do was enter '192.168.0.3/server-manager" in my workstation, and the server manager would work. And that answers your question about httpd-admin; it is running.
I have the following in my admin_error_log, but previous to me hitting the server-manager with https, it was blank:
[Sat Jun 30 09:23:34 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jun 30 09:23:34 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Jun 30 09:23:34 2007] [notice] Digest: done
[Sat Jun 30 09:23:35 2007] [notice] Apache configured -- resuming normal operations
[Sat Jun 30 14:32:25 2007] [error] [client 127.0.0.1] X-Forwarded-Host is 192.168.0.3
[Sat Jun 30 14:32:25 2007] [error] [client 127.0.0.1] HTTP_HOST is 127.0.0.1:980
[Sat Jun 30 14:32:25 2007] [error] [client 127.0.0.1] AUTH_DOMAIN is 192.168.0.3
[Sat Jun 30 14:32:25 2007] [error] [client 127.0.0.1] AuthTkt->domain was set
My admin_access_log has the following:
127.0.0.1 - - [30/Jun/2007:14:32:25 -0500] "GET /server-manager HTTP/1.1" 307 285
127.0.0.1 - - [30/Jun/2007:14:32:25 -0500] "GET /server-common/cgi-bin/login?back=http%3a%2f%2f192.168.0.3%2fserver-manager HTTP/1
.1" 200 431
127.0.0.1 - - [30/Jun/2007:14:32:25 -0500] "GET /server-common/cgi-bin/login?redirect=1&back=http%3A%2F%2F192.168.0.3%2Fserver-man
ager HTTP/1.1" 200 1115
127.0.0.1 - - [30/Jun/2007:14:32:25 -0500] "GET /server-common/css/tkt.css HTTP/1.1" 200 674
127.0.0.1 - - [30/Jun/2007:14:32:25 -0500] "GET /server-common/smeserver_logo.jpg HTTP/1.1" 200 6447
127.0.0.1 - - [30/Jun/2007:14:32:27 -0500] "POST /server-common/cgi-bin/login HTTP/1.1" 200 388
127.0.0.1 - admin [30/Jun/2007:14:32:35 -0500] "GET /server-manager HTTP/1.1" 301 244
127.0.0.1 - admin [30/Jun/2007:14:32:35 -0500] "GET /server-manager/ HTTP/1.1" 200 1562
127.0.0.1 - admin [30/Jun/2007:14:32:36 -0500] "GET /server-manager/header.htm HTTP/1.1" 200 2169
127.0.0.1 - admin [30/Jun/2007:14:32:36 -0500] "GET /server-manager/navigation HTTP/1.1" 200 7130
127.0.0.1 - - [30/Jun/2007:14:32:37 -0500] "GET /server-common/css/sme_core.css HTTP/1.1" 200 5015
127.0.0.1 - - [30/Jun/2007:14:32:37 -0500] "GET /server-common/css/sme_panel_menu.css HTTP/1.1" 200 2788
127.0.0.1 - - [30/Jun/2007:14:32:37 -0500] "GET /server-common/css/sme_menu.css HTTP/1.1" 200 6809
127.0.0.1 - - [30/Jun/2007:14:32:37 -0500] "GET /server-common/css/sme_header.css HTTP/1.1" 200 3609
127.0.0.1 - - [30/Jun/2007:14:32:37 -0500] "GET /server-common/spacer.gif HTTP/1.1" 200 43
127.0.0.1 - admin [30/Jun/2007:14:32:36 -0500] "GET /server-manager/initial.cgi HTTP/1.1" 200 2423
127.0.0.1 - - [30/Jun/2007:14:32:37 -0500] "GET /server-common/css/sme_main.css HTTP/1.1" 200 10755
My conf.d is identical to yours. the only difference I have in the templates is a custom template that includes my mod_jk.conf location, and it only has a single line in it:
less /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99Include
Include /usr/java/tomcat5/conf/mod_jk.conf
My bug was tagged as a duplicate of another:
http://bugs.contribs.org/show_bug.cgi?id=3057
Sounds sort of the same, except that one had a ton of custom templates. Is it considered bad form to pop in on someone else's bug report if it will may help to resolve the issue? Judging by your description, I am guessing that something in either the updates is hosing the httpd.conf file. I'm not exactly sure how to chase that error down though.
EDIT: I just ran across someting sort of interesting.
du -ab /etc/e-smith/templates-custom/etc/httpd
45 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99Include
4096 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
8237 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
12333 /etc/e-smith/templates-custom/etc/httpd/conf
16429 /etc/e-smith/templates-custom/etc/httpd
But when I did the following:
cd /sbin/e-smith/audittools
./templates
/etc/e-smith/templates-custom/home/e-smith/ssl.crt: MANUALLY_ADDED, OVERRIDE
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99Include: MANUALLY_ADDED, ADDITION
/etc/e-smith/templates/etc/atalk/papd.conf/20printers: MULTIPLE_RPM_OWNERS e-smith-LPRng-1.14.0-4.el4.sme, e-smith-netatalk-1.14.0-3.el4.sme
There is an extra custom-template that didn't show up before.
-
So what is in 99Includes and VirtualHosts? Does one of these alter the normal SME re-direct that sends http://.../server-manager to https?
-
The 99Include has only a single line:
Include /usr/java/tomcat5/conf/mod_jk.conf
The VirtualHosts directory is empty.
My rewrite rule in the httpd.conf is:
RewriteRule ^/server-manager(/.*|$) https://%{HTTP_HOST}/server-manager$1 [L,R]
-
I don't know if the <Location...> is important, or if the .../server-common is important, so here they are from my system. I suppose if your 'allow from ' is set wrong then the rewrite might fail...
RewriteRule ^/server-manager(/.*|$) https://%{HTTP_HOST}/server-manager$1 [L,R]
<Location /server-manager>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.200.0/255.255.255.0
</Location>
RewriteRule ^/server-common(/.*|$) https://%{HTTP_HOST}/server-common$1 [L,R]
<Location /server-common>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.200.0/255.255.255.0
</Location>
-
I'm in process of setting up a new sme 7.1.3 server, and encountered this today:
Bad Gateway
The proxy server received an invalid response from an upstream server.
This was after I'd used yum to install a load of contrib addons. Luckily I know which I loaded, and roughly when, so I removed then (resulting in the server-manager being available once more).
Re-installing, one at a time points to smeserver-userpanel-0.9-5.noarch.rpm which re-introduced the problem. I haven't had time yet to investigate in more detail, though I saw that one of the newly-added templates is:
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92(forget_the_rest)
And this contained stuff like in mmccarn's posting.
Maybe this will give a pointer to someone around here?
I'll be returning to this problem tomorrow
David Clarke.
-
I'm in process of setting up a new sme 7.1.3 server, and encountered this today:
Bad Gateway
The proxy server received an invalid response from an upstream server.
This was after I'd used yum to install a load of contrib addons. Luckily I know which I loaded, and roughly when, so I removed then (resulting in the server-manager being available once more).
Re-installing, one at a time points to smeserver-userpanel-0.9-5.noarch.rpm which re-introduced the problem. I haven't had time yet to investigate in more detail, though I saw that one of the newly-added templates is:
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/92(forget_the_rest)
And this contained stuff like in mmccarn's posting.
Maybe this will give a pointer to someone around here?
I'll be returning to this problem tomorrow
David Clarke.
-
Hold It! Spoke too soon.
Previous posting referring to:
smeserver-userpanel-0.9-5.noarch.rpm
I checked to see that I had the latest version, and this is not. So I downloaded the current version:
smeserver-userpanel-0.9-10.noarch.rpm
Which I've installed, and server-manager is accessible as it should be.
This teaches me to ALWAYS check that I have the latest versions, and not rely on what I have in my local store.
Sorry to have diverted attention from what is probably a different issue.
David Clarke.
-
Here is mine:
<Location /server-manager>
order deny,allow
deny from all
allow from 127.0.0.1 192.168.0.0/255.255.255.0 192.168.0.2/255.255.255.0
192.168.0.5/255.255.255.0
</Location>
I don't recall adding access for 192.168.0.0. Added by default for administrative access I suppose?
-
This looks like you have 3 functionally identical 'local networks' defined:
- 192.168.0.0/255.255.255.0 will be created if your local IP is 192.168.0.x with a subnet mask of 255.255.255.0
- 192.168.0.2/255.255.255.0 must have been manually added. Since the ".0" in the netmask tells IP to ignore the address byte in that octet, this exactly matches the same range of hosts as the first entry - 192.168.0.1 through 192.168.0.254.
- 192.168.0.5/255.255.255.0 - see previous entry
I don't see why this would prevent server-manager from working, though...
-
Thanks for the explanation of the subnet masking, and for suggesting the use of https for hitting the server-manager. I'll tinker around and see if I can figure out what is going on. I really am not seeing anything at all. If anything, I'll do a repair and see if I can recreate the error.