LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2010, 01:11 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
Warning worker http://192.168.1.5/ already used by another worker Apache problem


I am having 8 websites running on a reverse proxy.
When ever I am restarting apache I am getting the warning

Code:
worker http://192.168.1.5/ already used by another worker
I googled it but could not reach any meaningful conclusion.

My vhost configuration which created above warning is
Code:
   ProxyPass / http://192.168.1.5/
    ProxyPassReverse / http://192.168.1.5/

      ProxyPass /website1 http://192.168.1.5/website1
       ProxyPassReverse /website1 http://192.168.1.5/website1
 
Old 06-30-2010, 01:57 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,173
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Hi,

This is because you are proxying / and /website1. Does /website1 wroks?
You have to use different URIs for proxying, like /website1 /website2

Regards
 
1 members found this post helpful.
Old 06-30-2010, 06:37 AM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Hi,
Quote:
Originally Posted by bathory View Post
Hi,

This is because you are proxying / and /website1. Does /website1 wroks?
You have to use different URIs for proxying, like /website1 /website2

Regards
the situation I have is quite tricky I am having 17 websites.

there are sets of them A,B,C depending upon type of application being served.

A,B,C are themselves proxied and then there are other applications on A,B,C which are also proxied.

The problem I reported belongs to set B.

The front end is main site and /website1 etc are different applications.

website1 can be accessed on LAN as

http://<IP of LAN>/website1
and / is the front end which is accessible http://<IP of LAN>/
from set B.




I was able to solve this problem after some long struggle.
The solution is quite illogical and what I did was I kept the generic one at the last i.e. now the / goes at the last.
Code:
      ProxyPass /website1 http://192.168.1.5/website1
       ProxyPassReverse /website1 http://192.168.1.5/website1


   ProxyPass / http://192.168.1.5/
    ProxyPassReverse / http://192.168.1.5/
Note the last 2 entry are below /website1 i.e. I have redirected to root of the site at the last.In my question this entry was at the first line.
Thanks for your time.

Last edited by tkmsr; 06-30-2010 at 06:44 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache MPM prefork or worker mario.almeida Linux - Server 2 11-25-2009 11:45 PM
[root@wlxxb ~]# telnet 192.168.192.12 25 Trying 192.168.192.12... telnet problem cnhawk386 Linux - Networking 1 10-10-2007 02:50 PM
how can i tell if apache 2 is prefork or worker? sneakyimp Linux - Software 4 09-15-2007 02:15 PM
Apache - change to worker MPM rjcrews Linux - Software 2 03-22-2006 06:28 AM
what if I use worker and prefork on apache? gottin Linux - Software 1 10-15-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration