Hi,
On Mon, Oct 19, 2009 at 05:45:22AM -0700, dembi wrote:
>
> After that I perform some test.
> Apache ceases to work normally.
> And I can see following error in my log file:
>
> RA output: (apache:monitor:stderr)
> /usr/lib/ocf/resource.d//heartbeat/apache: line 39:
> /usr/lib/ocf/usr/lib/ocf
After that I perform some test.
Apache ceases to work normally.
And I can see following error in my log file:
RA output: (apache:monitor:stderr)
/usr/lib/ocf/resource.d//heartbeat/apache: line 39:
/usr/lib/ocf/usr/lib/ocf/resource.d//heartbeat/.ocf-shellfuncs: No such file
or directory
dembi
I have changed path in Apache of ocf script
from
#. ${OCF_ROOT}/resource.d/heartbeat/.ocf-shellfuncs
to
. ${OCF_ROOT}/usr/lib/ocf/resource.d//heartbeat/.ocf-shellfuncs
After that I have changed my cib.xml on:
And as I can see Apache has
On Mon, 2009-10-19 at 01:11 -0700, dembi wrote:
> 2. But If I manually try to start ocf script I get following error:
>
> /usr/lib/ocf/resource.d/heartbeat/apache start
> /usr/lib/ocf/resource.d/heartbeat/apache: line 37:
> /resource.d/heartbeat/.ocf-shellfuncs: No such file or directory
try
OC
Hi,
>> > type="apache">
>>
>> > timeout="5s"/>
>>
>>
>>
>> As you can see Apache has successfully working.
>>
>> 2. But If I manually try to start ocf script I get following error:
>>
>> /usr/lib/ocf/resource.d/heartbeat/apache start
>> /usr/
On Mon, Oct 19, 2009 at 10:11 AM, dembi wrote:
>
>
> 1. I have a very simple Apache configuration.
> I can start Apache from init.d. Please see:
>
> sudo /etc/init.d/apache2 start
> Starting web server: apache2.
> j...@aps-1:~$ sudo /etc/init.d/apache2 status
> Apache is running (pid 1565)..
>
>
On Mon, Oct 19, 2009 at 4:11 PM, dembi wrote:
>
>
> 1. I have a very simple Apache configuration.
> I can start Apache from init.d. Please see:
>
> sudo /etc/init.d/apache2 start
> Starting web server: apache2.
> j...@aps-1:~$ sudo /etc/init.d/apache2 status
> Apache is running (pid 1565)..
>
>
1. I have a very simple Apache configuration.
I can start Apache from init.d. Please see:
sudo /etc/init.d/apache2 start
Starting web server: apache2.
j...@aps-1:~$ sudo /etc/init.d/apache2 status
Apache is running (pid 1565)..
And If I use lsb script all work fine.
If I kill Apache process,
Hi,
On Fri, Oct 16, 2009 at 07:15:47AM -0700, dembi wrote:
>
> I can get successful response:
>
> wget http://localhost/server-status
> --2009-10-16 16:53:34-- http://localhost/server-status
> Распознаётся localhost... 127.0.0.1, ::1
> Устанавливается соединение с localhost|127.0.0.1|:80... сое
If I am commenting following lines:
#Order allow,deny
#Allow from all
And try to run the Apache I receiving following error:
j...@aps-1:~$ sudo /etc/ha.d/resource.d/apache start
2009/10/16_17:33:36 ERROR: no listening sockets available, shutting down
Unable to open logs
2009/10/16_17:3
I can get successful response:
wget http://localhost/server-status
--2009-10-16 16:53:34-- http://localhost/server-status
Распознаётся localhost... 127.0.0.1, ::1
Устанавливается соединение с localhost|127.0.0.1|:80... соединение
установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина:
Am 16.10.09 15:11, schrieb dembi:
Just test if you get valid responses by testing :
wget http://localhost/server-status
Howto configure Apache goes beyond the scope of this list.
Please try for yourself until it works. Then use the ocf-tester and see
if it works with your environment.
> I have
I have installed wget:
sudo dpkg -l|grep wget
ii wget 1.11.4-2
And I have Loaded Module of ‘mod_status’. I can see this using phpinfo()
function.
Please see my status.conf
SetHandler server-status
Order deny,allow
Deny from all
#Allow from localhost ip6-localhost
Allow
Hi
> Ok, If I have stopped heartbeat resource on my aps-3 which was as DC.
> All resources were successfully migrated on aps-1.
> Can I think that all work ok.
> Or may be I should perform additional testing?
>
> And can you please explain to me why it was not working with ‘ocf’ resource?
>
> Thank
Ok, If I have stopped heartbeat resource on my aps-3 which was as DC.
All resources were successfully migrated on aps-1.
Can I think that all work ok.
Or may be I should perform additional testing?
And can you please explain to me why it was not working with ‘ocf’ resource?
Thanks in advance.
Maybe someone knows better, but i don't think is a good idea to manually
start or stop the services controlled by the cluster manager.
On Fri, Oct 16, 2009 at 2:22 PM, dembi wrote:
>
> Thanks
> I am sorry I have made a mistake instead of apache I should set
> type=”apache2”.
> Now I can see th
Thanks
I am sorry I have made a mistake instead of apache I should set
type=”apache2”.
Now I can see that Apache is started.
But I have one very important question.
At this moment Apache has started on node aps-3
apache (lsb:apache2): Started aps-3
If I have stopped the Apache resource
Hi,
On Fri, Oct 16, 2009 at 12:56:35PM +0200, Malte Geierhos wrote:
> Lets see what he got.
>
> I for myself prefer ocf-agents over lsb scripts...
> for various reasons. But i agree it might be easier or sufficient
> sometimes to
> stay with lsb scripts.
Using ocf resource agents is always pref
This is wrong.
You must have
and do not edit the xml file by hand (at least that says the documentation).
On Fri, Oct 16, 2009 at 2:04 PM, dembi wrote:
>
> I have changed ocf on lsb script:
>
>
>
> But it is not help. I still received time out error and Apache does not
> start.
>
>
>
> Malte
I have changed ocf on lsb script:
But it is not help. I still received time out error and Apache does not
start.
Malte Geierhos-2 wrote:
>
> Lets see what he got.
>
> I for myself prefer ocf-agents over lsb scripts...
> for various reasons. But i agree it might be easier or sufficient
> s
Lets see what he got.
I for myself prefer ocf-agents over lsb scripts...
for various reasons. But i agree it might be easier or sufficient
sometimes to
stay with lsb scripts.
> I think is better to use lsb:apache2 and not ocf:heartbeat:apache. At least
> i don't have any problem with lsb:apache
I think is better to use lsb:apache2 and not ocf:heartbeat:apache. At least
i don't have any problem with lsb:apache.
On Fri, Oct 16, 2009 at 1:50 PM, Malte Geierhos wrote:
> Hi,
>
> do you've enabled mod_status on your apache and allowed for localhost ?
> such as
>
>
> SetHandler server-st
Post your configuration please (not in xml) but with "crm configure show". I
think that something is misconfigured.
On Fri, Oct 16, 2009 at 1:47 PM, dembi wrote:
>
>
> Stratos Zolotas wrote:
> >
> > Hi,
> >
> > Post the results of "crm configure show" show we can see your
> > configuration.
> >
Hi,
do you've enabled mod_status on your apache and allowed for localhost ?
such as
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 127.0.01
in your apache.conf ?
Because ocf:heartbeat:apache needs it...
Am 16.10.09 11:07, schrieb dembi:
> Anybody can
Stratos Zolotas wrote:
>
> Hi,
>
> Post the results of "crm configure show" show we can see your
> configuration.
>
> Stratos.
>
> On Fri, Oct 16, 2009 at 12:07 PM, dembi wrote:
>
>>
>> Anybody can help me to solve my problem.
>> I will be very thankful for any help.
>>
>> --
>> View this m
Hi,
Post the results of "crm configure show" show we can see your configuration.
Stratos.
On Fri, Oct 16, 2009 at 12:07 PM, dembi wrote:
>
> Anybody can help me to solve my problem.
> I will be very thankful for any help.
>
> --
> View this message in context:
> http://www.nabble.com/Problem-w
Anybody can help me to solve my problem.
I will be very thankful for any help.
--
View this message in context:
http://www.nabble.com/Problem-with-starting-Apache-and-MySQL-tp25905739p25922158.html
Sent from the Linux-HA mailing list archive at Nabble.com.
_
Andrew Beekhof-3 wrote:
>
>
> Without the logs, I'd only be able to guess "slow machine".
> Try setting default-action-timeout to 60s
> ___
>
>
>
I have set transition_idle_timeout as 60 sec but it is not help :confused:
--
View this message in c
On Thu, Oct 15, 2009 at 11:50 AM, dembi wrote:
>
> Hi all,
>
> I have three servers: aps-1, aps-2, aps-3
>
> On server aps-3 should start drbd with two resources ‘app’ and ‘mysql’, two
> virtual IP’s, apache and mysql.
> In case when aps-3 is down on server aps-1 should be started drbd with
> reso
Hi all,
I have three servers: aps-1, aps-2, aps-3
On server aps-3 should start drbd with two resources ‘app’ and ‘mysql’, two
virtual IP’s, apache and mysql.
In case when aps-3 is down on server aps-1 should be started drbd with
resource of ‘app’, Virtual IP 10.11.4.1 and Apache.
In case when ap
30 matches
Mail list logo