[Linux-HA] monitor for apache2 in debian
Javier Terceiro
correolista at gmail.com
Thu Nov 2 10:41:14 MST 2006
Hi,
I need you help. With Suse SLES 10, apache 2 has a monitor, and when I
configure a resource with monitor check all is ok, but in debian, apache2
dont has monitor implemented, and the resource failure.
In http://linux-ha.org/ says that these lines are due to include in
/etc/apache2/apache2.conf:
<Location /server-status>
SetHandler server-status
Order deny,allow
Allow from all
</Location>
When I started the resource, the monitor dont work. The error:
apache[5014][5133]: 2006/11/02_17:49:45 INFO: apache stopped.
crmd[2942]: 2006/11/02_17:49:45 info: process_lrm_event:lrm.c LRM operation
(24) stop_0 on apache complete
crmd[2942]: 2006/11/02_17:49:46 info: do_lrm_rsc_op:lrm.c Performing op
start on apache (interval=0ms, key=62:fef47bba-404b-45df-b3df-bfd3f295a14a)
cib[2938]: 2006/11/02_17:49:46 info: cib_diff_notify:notify.c Update
(client: 2942, call:61): 0.12.356 -> 0.12.357 (ok)
cib[5146]: 2006/11/02_17:49:47 info: write_cib_contents:io.c Wrote version
0.12.357 of the CIB to disk (digest: dff69ee02c296a858de9761084d5e4ad)
apache[5134][5248]: 2006/11/02_17:49:47 INFO: apache2: Could not determine
the server's fully qualified domain name, using 10.10.35.52 for ServerName
crmd[2942]: 2006/11/02_17:49:47 info: process_lrm_event:lrm.c LRM operation
(25) start_0 on apache complete
crmd[2942]: 2006/11/02_17:49:48 info: do_lrm_rsc_op:lrm.c Performing op
monitor on apache (interval=5000ms,
key=62:fef47bba-404b-45df-b3df-bfd3f295a14a)
cib[2938]: 2006/11/02_17:49:49 info: cib_diff_notify:notify.c Update
(client: 2942, call:62): 0.12.357 -> 0.12.358 (ok)
cib[5316]: 2006/11/02_17:49:49 info: write_cib_contents:io.c Wrote version
0.12.358 of the CIB to disk (digest: 53ddf43a677ea1e23fed4b245884cc9b)
apache[5306][5427]: 2006/11/02_17:49:49 ERROR: 17:49:49 URL:
http://127.0.0.1/apache2-default/ [1457/1457] -> "-" [1]
crmd[2942]: 2006/11/02_17:49:49 WARN: process_lrm_event:lrm.c LRM operation
(26) monitor_5000 on apache Error: (1) unknown error
lrmd[2939]: 2006/11/02_17:49:49 WARN: G_SIG_dispatch: Dispatch function for
SIGCHLD took too long to execute: 20 ms (> 10 ms) (GSource: 0x805fc00)
crmd[2942]: 2006/11/02_17:49:50 info: do_lrm_rsc_op:lrm.c Performing op stop
on apache (interval=0ms, key=63:fef47bba-404b-45df-b3df-bfd3f295a14a)
crmd[2942]: 2006/11/02_17:49:51 WARN: process_lrm_event:lrm.c LRM operation
(26) monitor_5000 on apache Cancelled
cib[2938]: 2006/11/02_17:49:51 info: cib_diff_notify:notify.c Update
(client: 2942, call:63): 0.12.358 -> 0.12.359 (ok)
cib[2938]: 2006/11/02_17:49:51 info: cib_diff_notify:notify.c Update
(client: 1551, call:18): 0.12.359 -> 0.12.360 (ok)
cib[5429]: 2006/11/02_17:49:51 info: write_cib_contents:io.c Wrote version
0.12.360 of the CIB to disk (digest: aaed8f8704669bd27c1fcc9fc99bde9b)
A idea?
Thanks.
--
.~.
( 0 0 )
/ V \
// \\ Power by Debian
/(( _ ))\
oo0 0oo
A greeting,
Javier.
More information about the Linux-HA
mailing list