Click here to register.
      
PBWG Banner


     Discuss > Install/Upgrade Help

Non standard port Install

User Pentatonic
Date 4/18/2008 10:37 am
Views 812
Rating 0    Rate [
|
]
Previous · Next
User Message
Pentatonic

Hi,

I'm trying to install webgui using wre 0.8.3 and webgui 7.3.19 (on linux). 

I want to run the wre console without using the root user (I have had it running succesfully as root). I understand this blocks out certain port ranges for me and so I want to get it setup to run on a port other than 80.

During the setup I selected the moxproxy port as 1080 and the modperl port as 8082.  Everything goes ok until I add a site, then I have problems starting Modproxy - I get the following error (multiple times) in the modproxy.error.log

[Fri Apr 18 16:38:56 2008] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed

Which part of the conf do I need to change to resolve this - I just can't see anything obvious as to why it is still refering to port 80....

Any ideas ?

Thanks in advance

Here are my config file details... (servername as been omitted)

I changed the sitename in eqdev.conf to the full server name

<VirtualHost *:1080>
 ServerName <full servername> 

ServerAlias <full servername> eqdev
 CustomLog /data/domains/eqdev/logs/access.log combined
 DocumentRoot /data/domains/eqdev/public

    # turn on mod_rewrite
 RewriteEngine On
 RewriteLog "/data/wre/var/logs/modrewrite.log"
 RewriteLogLevel 0

 # block IIS related attacks from getting to WebGUI
 RewriteRule RewriteRule RewriteRule RewriteRule # leave static stuff to be served directly by modproxy
    RewriteRule    RewriteRule    # For speed we only pass on uploads if there is a .wgaccess file
    RewriteCond %{REQUEST_FILENAME}             ^(.*/)
    RewriteCond ${DOCUMENT_ROOT}%1.wgaccess     !-f    
    RewriteRule                      - [L]

    # deal with port number in HTTP_HOST
    RewriteCond %{HTTP_HOST} :1080
    RewriteRule # proxy webgui pages
    RewriteRule /VirtualHost>

 

<VirtualHost *:8082>
 ServerName <full server name>
 DocumentRoot /data/domains/eqdev/public
    SetEnvIf SSLPROXY "1" \
        SSLPROXY
    SetHandler perl-script
    PerlInitHandler WebGUI
    PerlSetVar WebguiConfig eqdev.conf
</VirtualHost>

 

 

 

--- (Edited on 4/18/2008 10:37 am [GMT-0500] by Pentatonic) ---



Back to Top
Rate [
|
]
 
 
koen

I'm trying to install webgui using wre 0.8.3 and webgui 7.3.19 (on linux).

WRE 0.8.3 is for use with WebGUI 7.4.22 and higher.

Try installing WebGUI 7.4.33 on the WRE 0.8.3 and let us know what happened.

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization

--- (Edited on 21-April-2008 16:39 [GMT+0200] by koen) ---



Back to Top
Rate [
|
]
 
 
Pentatonic

Thanks for the reply koen, but it didn't make any difference.  I actually tried the installation twice (with the versions you suggested) once as a non root user and once as root - using the same port numbers each time. In both cases I got the same error as before...

eg [Wed Apr 23 16:47:18 2008] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed

The WRE console reports that modproxy didnt start succesfully but I can see the processes have started on the linux server...

a_webgui 26280     1  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26281 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26282 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26283 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26284 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start
a_webgui 26285 26280  0 16:16 ?        00:00:00 /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start

Also, if I go to the url my site should be working on eg <ServerName>:1080 I get:

Bad Gateway
The proxy server received an invalid response from an upstream server.

I've tried another few random port no's as well and its the same each time.

Incidently, I have had webgui working before using modproxy port 80 on this machine. (everything was deleted before I started the new install - WebGUI folder, domains folder and WRE folder)

Thanks

P

--- (Edited on 4/23/2008 10:44 am [GMT-0500] by Pentatonic) ---



Back to Top
Rate [
|
]
 
 

Re: Overriding inbox emails by patspam - Sat @ 12:05am

Re: WRE install on Ubuntu by SteveD - Fri @ 06:19pm

Re: Advanced Search template by perlDreamer - Fri @ 05:17pm

Perl Certified Hosting by cosmicperl - Fri @ 04:30pm

Advanced Search template by knowmad - Fri @ 03:02pm

Re: modperl consuming all resources by pvanthony - Fri @ 01:12pm

Re: WRE install on Ubuntu by knowmad - Fri @ 01:09pm

Re: Glad to be here by knowmad - Fri @ 01:03pm

Reply to Rogier by perlDreamer - Fri @ 10:55am

OReilly by Albert2 - Fri @ 09:09am

Glad to be here by patspam - Fri @ 01:59am

Re: WRE install on Ubuntu by SteveD - Fri @ 01:56am

Smoketest For nightly_2008-09-05 by Visitor - Fri @ 01:46am

Re: WRE install on Ubuntu by knowmad - Thu @ 07:37pm

Re: New Default Templates: community input by patspam - Thu @ 06:22pm