[Pacemaker] problem with apache coming up

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Tue Feb 8 10:23:38 EST 2011


On 02/08/2011 04:13 PM, Testuser SST wrote:
> Hi,
> 
> I´m implementing a two node webserver on CentOS 5 with heartbeat/pacemaker and DRBD. The first new installed node works fine, but when the second node becomes active, there seems to be a problem with the apache starting up. Is there a way to get some more information about the problem. I can start up the apache with a "service httpd start" without any failure.
> I´m using the packages supplied by the cluster labs repo.
>  
> Here comes a part of the logfile:
> 
> Feb 08 15:35:06 astinos crmd: [7660]: info: do_lrm_rsc_op: Performing key=8:742:0:7d755c4b-fa07-4a1b-87f0-d78894638e98 op=Apache_start_0 )
> Feb 08 15:35:06 astinos lrmd: [7657]: debug: on_msg_perform_op:2359: copying parameters for rsc Apache
> Feb 08 15:35:06 astinos lrmd: [7657]: debug: on_msg_perform_op: add an operation operation start[19] on ocf::apache::Apache for client 7660, its parameters: CRM_meta_timeout=[20000] crm_feature_set=[3.0.1] configfile=[/etc/httpd/conf/httpd.conf]  to the operation list.
> Feb 08 15:35:06 astinos lrmd: [7657]: info: rsc:Apache:19: start
> apache[8406]:   2011/02/08_15:35:07 INFO: apache not running
> apache[8406]:   2011/02/08_15:35:07 INFO: waiting for apache /etc/httpd/conf/httpd.conf to come up
> Feb 08 15:35:08 astinos lrmd: [7657]: WARN: Managed Apache:start process 8406 exited with return code 1.
> Feb 08 15:35:08 astinos crmd: [7660]: info: process_lrm_event: LRM operation Apache_start_0 (call=19, rc=1, cib-update=25, confirmed=true) unknown error

does /etc/httpd/conf/httpd.conf exist? what does the apache error.log
(e.g. /var/log/apache2/error.log) say?

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________




More information about the Pacemaker mailing list