Re: [Pacemaker] problem with apache coming up

2011-03-11 Thread Andrew Beekhof
On Wed, Feb 16, 2011 at 4:50 PM, Testuser  SST  wrote:

> Failed actions:
>    Apache_start_0 (node=astinos, call=19, rc=1, status=complete): unknown 
> error
>
> Any suggestions ? The apache is normal operabel with a service httpd 
> stop/start command.
>

Well, thats not the same script that the cluster is using, so that
doesn't imply much.
If I had to guess, I'd say that you probably forgot to enable the
status_url on the second machine.

Check the apache config files for differences.

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-16 Thread Testuser SST
Hi Andrew,

sorry the about the delay of my answer.
Here is the normal output:

Last updated: Wed Feb 16 16:43:22 2011
Stack: Heartbeat
Current DC: daxos (4f254de7-c369-4066-8d5e-bf7bb2d1f128) - partition with quorum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
2 Nodes configured, unknown expected votes
4 Resources configured.


Online: [ daxos astinos ]

HA_IP   (ocf::heartbeat:IPaddr2):   Started daxos
Apache  (ocf::heartbeat:apache):Started daxos
 Master/Slave Set: WebData
 Masters: [ daxos ]
 Slaves: [ astinos ]
WebDataFS   (ocf::heartbeat:Filesystem):Started daxos

Operations:
* Node daxos:
   HA_IP: migration-threshold=100
+ (6) start: rc=0 (ok)
+ (8) monitor: interval=3ms rc=0 (ok)
   Apache: migration-threshold=100
+ (14) start: rc=0 (ok)
+ (15) monitor: interval=6ms rc=0 (ok)
   WebDataFS: migration-threshold=100
+ (13) start: rc=0 (ok)
   wwwdrbd:0: migration-threshold=100
+ (7) start: rc=0 (ok)
+ (11) promote: rc=0 (ok)
* Node astinos:
   wwwdrbd:1: migration-threshold=100
+ (6) start: rc=0 (ok)
+ (8) monitor: interval=6ms rc=0 (ok

--
And here is the output with a standby-try of the normal behaving node.




Last updated: Wed Feb 16 16:44:38 2011
Stack: Heartbeat
Current DC: daxos (4f254de7-c369-4066-8d5e-bf7bb2d1f128) - partition with quorum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
2 Nodes configured, unknown expected votes
4 Resources configured.


Node daxos (4f254de7-c369-4066-8d5e-bf7bb2d1f128): standby
Online: [ astinos ]

HA_IP   (ocf::heartbeat:IPaddr2):   Started astinos
 Master/Slave Set: WebData
 Masters: [ astinos ]
 Stopped: [ wwwdrbd:0 ]
WebDataFS   (ocf::heartbeat:Filesystem):Started astinos

Operations:
* Node daxos:
   HA_IP: migration-threshold=100
+ (6) start: rc=0 (ok)
+ (8) monitor: interval=3ms rc=0 (ok)
+ (18) stop: rc=0 (ok)
   Apache: migration-threshold=100
+ (14) start: rc=0 (ok)
+ (15) monitor: interval=6ms rc=0 (ok)
+ (19) stop: rc=0 (ok)
   WebDataFS: migration-threshold=100
+ (13) start: rc=0 (ok)
+ (21) stop: rc=0 (ok)
   wwwdrbd:0: migration-threshold=100
+ (7) start: rc=0 (ok)
+ (11) promote: rc=0 (ok)
+ (22) demote: rc=0 (ok)
+ (25) stop: rc=0 (ok)
* Node astinos:
   WebDataFS: migration-threshold=100
+ (18) start: rc=0 (ok)
   HA_IP: migration-threshold=100
+ (10) start: rc=0 (ok)
+ (11) monitor: interval=3ms rc=0 (ok)
   Apache: migration-threshold=100 fail-count=100
+ (19) start: rc=1 (unknown error)
+ (20) stop: rc=0 (ok)
   wwwdrbd:1: migration-threshold=100
+ (6) start: rc=0 (ok)
+ (16) promote: rc=0 (ok)

Failed actions:
Apache_start_0 (node=astinos, call=19, rc=1, status=complete): unknown error



Any suggestions ? The apache is normal operabel with a service httpd stop/start 
command.


Kind Regards

Sven




 Original-Nachricht 
> Datum: Thu, 10 Feb 2011 08:44:47 +0100
> Von: Andrew Beekhof 
> An: The Pacemaker cluster resource manager 
> Betreff: Re: [Pacemaker] problem with apache coming up

> You can try crm_mon -o
> That will at least tell you what Pacemaker did with your resource.
> At the very least there should be a _monitor_0 operation
> 
> On Wed, Feb 9, 2011 at 3:58 PM, Testuser  SST  wrote:
> > Hi Vladislav,
> >
> > no, selinux is disabled right now.
> >
> > Kind Regards
> >
> > Sven
> >
> >
> >  Original-Nachricht 
> >> Datum: Wed, 09 Feb 2011 16:22:49 +0200
> >> Von: Vladislav Bogdanov 
> >> An: pacemaker@oss.clusterlabs.org
> >> Betreff: Re: [Pacemaker] problem with apache coming up
> >
> >> 08.02.2011 17:13, 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
> >>
> >> Don't you have selinux in enforcing mode (run getenforce)?
> >> Look for 'avc' lines in /var/log/audit/*
> >>
> >> Best,
> >> Vladislav
> >>
> >> ___
> >> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >>
> >> Project Home: http://www.clusterlabs.org
> >> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >> Bugs:
> >&

Re: [Pacemaker] problem with apache coming up

2011-02-09 Thread Andrew Beekhof
You can try crm_mon -o
That will at least tell you what Pacemaker did with your resource.
At the very least there should be a _monitor_0 operation

On Wed, Feb 9, 2011 at 3:58 PM, Testuser  SST  wrote:
> Hi Vladislav,
>
> no, selinux is disabled right now.
>
> Kind Regards
>
> Sven
>
>
>  Original-Nachricht 
>> Datum: Wed, 09 Feb 2011 16:22:49 +0200
>> Von: Vladislav Bogdanov 
>> An: pacemaker@oss.clusterlabs.org
>> Betreff: Re: [Pacemaker] problem with apache coming up
>
>> 08.02.2011 17:13, 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
>>
>> Don't you have selinux in enforcing mode (run getenforce)?
>> Look for 'avc' lines in /var/log/audit/*
>>
>> Best,
>> Vladislav
>>
>> ___
>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs:
>> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
> --
> Schon gehört? GMX hat einen genialen Phishing-Filter in die
> Toolbar eingebaut! http://www.gmx.net/de/go/toolbar
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: 
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-09 Thread Testuser SST
Hi Vladislav,

no, selinux is disabled right now.

Kind Regards

Sven


 Original-Nachricht 
> Datum: Wed, 09 Feb 2011 16:22:49 +0200
> Von: Vladislav Bogdanov 
> An: pacemaker@oss.clusterlabs.org
> Betreff: Re: [Pacemaker] problem with apache coming up

> 08.02.2011 17:13, 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
> 
> Don't you have selinux in enforcing mode (run getenforce)?
> Look for 'avc' lines in /var/log/audit/*
> 
> Best,
> Vladislav
> 
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

-- 
Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://www.gmx.net/de/go/toolbar

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-09 Thread Vladislav Bogdanov
08.02.2011 17:13, 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

Don't you have selinux in enforcing mode (run getenforce)?
Look for 'avc' lines in /var/log/audit/*

Best,
Vladislav

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-09 Thread Testuser SST
Hi Paul,

I´m not quite sure about the first point, but the second is used by the 
resource-agent to monitor the function of the httpd/apache process.

Kind Regards

Sven


 Original-Nachricht 
> Datum: Tue, 8 Feb 2011 23:05:47 +
> Von: paul harford 
> An: The Pacemaker cluster resource manager 
> Betreff: Re: [Pacemaker] problem with apache coming up

> Hi Sven
> not to sure if this will help or not but i had a similar issue with
> heartbeat/pacemaker on centos and i added these entries into my httpd.conf
> and it works fine now
> 
> *1- Setting*
> 
> ExtendedStatus On
> 
> 
> *2- Enable the server-status*
> 
> 
> 
> SetHandler server-status
> 
> Order deny,allow
> 
> Deny from all
> 
> Allow from 127.0.0.1
> 
> 
> 
> I'm not sure exactly what effect the above has as i seen the above
> discussed
> in another forum and gave it a try
> 
> Regards
> Paul
> 
> 
> 
> On 8 February 2011 15:13, 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=[2] 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
> >
> >
> > Any suggestions ?
> >
> > Kind Regards
> >
> > Sven
> >
> >
> >
> >
> > --
> > NEU: FreePhone - kostenlos mobil telefonieren und surfen!
> > Jetzt informieren: http://www.gmx.net/de/go/freephone
> >
> > ___
> > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs:
> >
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> >

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-09 Thread Testuser SST
Hi Raoul,

1. Configuration

node $id="0454dc6c-bcd0-49c4-8c8c-5b8e5e99068d" astinos \
attributes standby="off"
node $id="4f254de7-c369-4066-8d5e-bf7bb2d1f128" daxos \
attributes standby="off"
primitive Apache ocf:heartbeat:apache \
params configfile="/etc/httpd/conf/httpd.conf" \
op monitor interval="1min"
primitive HA_IP ocf:heartbeat:IPaddr2 \
params ip="192.168.19.75" cidr_netmask="24" \
op monitor interval="30s"
primitive WebDataFS ocf:heartbeat:Filesystem \
params device="/dev/drbd20" directory="/mnt/clusterfs" fstype="ext3"
primitive wwwdrbd ocf:linbit:drbd \
params drbd_resource="webcontent" \
op monitor interval="60s"
ms WebData wwwdrbd \
meta master-max="1" master-node-max="1" clone-max="2" 
clone-node-max="1" notify="true"
colocation Apache_WebDataFS inf: Apache WebDataFS colocation apache-with-ip 
inf: Apache HA_IP colocation fs_on_drbd inf: WebDataFS WebData:Master order 
Apache_after_WebDataFS inf: WebDataFS Apache order WebDataFS_after_WebData inf: 
WebData:promote WebDataFS:start property $id="cib-bootstrap-options" \
dc-version="1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3" \
cluster-infrastructure="Heartbeat" \
stonith-enabled="false" \
no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
resource-stickiness="100"


2. nothing, httpd starts without any info
3. httpd-2.2.3-43.el5.centos.3
4. yes, both httpd.conf seems to be identical.


Kind Regards

Sven


 Original-Nachricht 
> Datum: Tue, 08 Feb 2011 22:56:23 +0100
> Von: "Raoul Bhatia [IPAX]" 
> An: The Pacemaker cluster resource manager 
> Betreff: Re: [Pacemaker] problem with apache coming up

> On 08.02.2011 17:05, Testuser SST wrote:
> > Hi Raoul,
> >
> > there is no entry in any httpd-logfile at the specific time. And the
> httpd.conf exists in the right path.
> >
> > [root@astinos httpd]# locate httpd.conf
> > /etc/httpd/conf/httpd.conf
> 
> 1. please post your config
> 2. what happens when you start httpd via something like:
>   /usr/sbin/httpd -DSTATUS -k start -f /etchttpd/conf/httpd.conf
> 
> 3. what http/apache server version do you actually use?
> 4. is the apache config identical on both hosts?
> 
> cheers,
> raoul
> 
> 
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-08 Thread paul harford
Hi Sven
not to sure if this will help or not but i had a similar issue with
heartbeat/pacemaker on centos and i added these entries into my httpd.conf
and it works fine now

*1- Setting*

ExtendedStatus On


*2- Enable the server-status*



SetHandler server-status

Order deny,allow

Deny from all

Allow from 127.0.0.1



I'm not sure exactly what effect the above has as i seen the above discussed
in another forum and gave it a try

Regards
Paul



On 8 February 2011 15:13, 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=[2] 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
>
>
> Any suggestions ?
>
> Kind Regards
>
> Sven
>
>
>
>
> --
> NEU: FreePhone - kostenlos mobil telefonieren und surfen!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-08 Thread Raoul Bhatia [IPAX]

On 08.02.2011 17:05, Testuser SST wrote:

Hi Raoul,

there is no entry in any httpd-logfile at the specific time. And the httpd.conf 
exists in the right path.

[root@astinos httpd]# locate httpd.conf
/etc/httpd/conf/httpd.conf


1. please post your config
2. what happens when you start httpd via something like:
 /usr/sbin/httpd -DSTATUS -k start -f /etchttpd/conf/httpd.conf

3. what http/apache server version do you actually use?
4. is the apache config identical on both hosts?

cheers,
raoul


___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-08 Thread Testuser SST
Hi Raoul,

there is no entry in any httpd-logfile at the specific time. And the httpd.conf 
exists in the right path.

[root@astinos httpd]# locate httpd.conf
/etc/httpd/conf/httpd.conf



Kind Regards

Sven

 Original-Nachricht 
> Datum: Tue, 08 Feb 2011 16:23:38 +0100
> Von: "Raoul Bhatia [IPAX]" 
> An: The Pacemaker cluster resource manager 
> Betreff: Re: [Pacemaker] problem with apache coming up

> 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=[2] 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.bha...@ipax.at
> Technischer Leiter
> 
> IPAX - Aloy Bhatia Hava OG  web.  http://www.ipax.at
> Barawitzkagasse 10/2/2/11   email.off...@ipax.at
> 1190 Wien   tel.   +43 1 3670030
> FN 277995t HG Wien  fax.+43 1 3670030 15
> 
> 
> ___
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


Re: [Pacemaker] problem with apache coming up

2011-02-08 Thread Raoul Bhatia [IPAX]
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=[2] 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.bha...@ipax.at
Technischer Leiter

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


___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] problem with apache coming up

2011-02-08 Thread Testuser SST
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=[2] 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


Any suggestions ?

Kind Regards

Sven




-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker