Give that man a cigar!
I edited the ports.conf and changed this:
Listen 192.168.2.2:80
To this:
Listen 127.0.0.1:80
Listen 192.168.2.2:80
I'm guessing, based on your wise email, that enabled the RA to query the
localhost for a web page and thus apache came up.
Thanks Robert
-- mike
On 12-02-06 08:28 AM, Robert Schumann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Mike!
>
> Am 05.02.2012 01:57, schrieb mike:
>> On the same 2 node cluster I have apache running and it fails back
>> and forth fine as long as ports.conf is set to listen on all ip's.
>> I do have a VIP - 192.168.2.2 that I want Apache to start up on. I
>> have tested apache manually on both nodes by editing ports.conf
>> and setting it to 192.168.2.2 and starting apache from the command
>> line - works fine. When I try to get Apache to start with HA it
>> fails. Here is what my current
>>
>> So am I missing something obvious here? Why does apache start from
>> the command line but not in HA unless ports.conf is set to listen
>> on all interfaces?
> Just a wild guess because I stumbled over it myself. When you change
> from *all* ips to *one* special, make sure that the RA can still
> access the apache status page or set this one manually with the
> appropriate RA_KEY. By default I think he's querying the status page
> on localhost (!= 192.168.2.2) to see if apache is alive or not. I
> might be wrong here, but I had some sincere headaches because of
> something similar already. ;)
>
> Cheers
> Robert
>
> - --
>
> |-------------------------------------------------address-+
> | work: jacob-und-wilhelm-grimm-zentrum
> | geschwister-scholl-str. 1, 10117 berlin
> | mail: humboldt-universität zu berlin
> | computer- und medienservice
> | unter den linden 6, 10099 berlin
> |-------------------------------------------------contact-+
> | mail: [email protected]
> | icq: 93163687 | xmpp: [email protected]
> | fb: fb.com/rschumann | phone: +49(0)30-2093-70133
> |-------------------------------------------------gpg/pgp-+
> | key: remembrance.de/gpg/0xA5A5FAA2.asc
> | fprnt: 9220-9732-7390-7A0C-5623-3336-4233-FDF8-A5A5-FAA2
> |---------------------------------------------------------+
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk8vx24ACgkQQjP9+KWl+qLXCQCff1HVVR0BKL+U7LS1v5bjTrQg
> sXIAnju1ptIMQmjDFmowqLBZEXW8BJx4
> =xxgl
> -----END PGP SIGNATURE-----
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems