+ Responder ao Tópico



  1. #1
    fredaodepaula
    Quando eu inicializo o heartbeat (/etc/init.d/heartbeat start) ocorre um erro com relação ao apache, alguém sabe como faço para consertar.

    heartbeat: 2006/05/23_13:21:56 info: Configuration validated. Starting heartbeat 1.2.4
    heartbeat: 2006/05/23_13:21:56 info: heartbeat: version 1.2.4
    heartbeat: 2006/05/23_13:21:56 info: Heartbeat generation: 43
    heartbeat: 2006/05/23_13:21:56 info: UDP multicast heartbeat started for group 225.0.0.0 port 694 interface eth0:0 (ttl=1 loop=0)
    heartbeat: 2006/05/23_13:21:56 info: pid 4615 locked in memory.
    heartbeat: 2006/05/23_13:21:56 info: Local status now set to: 'up'
    heartbeat: 2006/05/23_13:21:57 info: pid 4618 locked in memory.
    heartbeat: 2006/05/23_13:21:57 info: pid 4619 locked in memory.
    heartbeat: 2006/05/23_13:21:57 info: pid 4620 locked in memory.
    heartbeat: 2006/05/23_13:22:26 WARN: node debian2: is dead
    heartbeat: 2006/05/23_13:22:26 info: Local status now set to: 'active'
    heartbeat: 2006/05/23_13:22:26 WARN: No STONITH device configured.
    heartbeat: 2006/05/23_13:22:26 WARN: Shared disks are not protected.
    heartbeat: 2006/05/23_13:22:26 info: Resources being acquired from debian-cdtc.
    heartbeat: 2006/05/23_13:22:26 info: Running /etc/ha.d/rc.d/status status
    heartbeat: 2006/05/23_13:22:26 info: /usr/lib/heartbeat/mach_down: nice_failback: foreign resources acquired
    heartbeat: 2006/05/23_13:22:26 info: mach_down takeover complete.
    heartbeat: 2006/05/23_13:22:26 info: Initial resource acquisition complete (mach_down)
    heartbeat: 2006/05/23_13:22:26 info: mach_down takeover complete for node debian-cdtc.
    heartbeat: 2006/05/23_13:22:26 info: Local Resource acquisition completed.
    heartbeat: 2006/05/23_13:22:26 info: Running /etc/ha.d/rc.d/ip-request-resp ip-request-resp
    heartbeat: 2006/05/23_13:22:26 received ip-request-resp IPaddr::10.0.0.100 OK yes
    heartbeat: 2006/05/23_13:22:26 info: Acquiring resource group: debian1 IPaddr::10.0.0.100 drbddisk Filesystem::/dev/drbd0::/mnt/dados::ext3 apache
    heartbeat: 2006/05/23_13:22:26 info: Running /etc/ha.d/resource.d/IPaddr 10.0.0.100 start
    heartbeat: 2006/05/23_13:22:26 info: /sbin/ifconfig eth0:1 10.0.0.100 netmask 255.255.255.0 broadcast 10.0.0.255
    heartbeat: 2006/05/23_13:22:26 info: Sending Gratuitous Arp for 10.0.0.100 on eth0:1 [eth0]
    heartbeat: 2006/05/23_13:22:26 /usr/lib/heartbeat/send_arp -i 1010 -r 5 -p /var/lib/heartbeat/rsctmp/send_arp/send_arp-10.0.0.100 eth0 10.0.0.100 auto 10.0.0.100 ffffffffffff
    heartbeat: 2006/05/23_13:22:26 info: Running /etc/ha.d/resource.d/drbddisk start
    heartbeat: 2006/05/23_13:22:26 info: Running /etc/ha.d/resource.d/apache start
    heartbeat: 2006/05/23_13:22:26 ERROR: Return code 1 from /etc/ha.d/resource.d/apache
    heartbeat: 2006/05/23_13:22:26 CRIT: Giving up resources due to failure of apache
    heartbeat: 2006/05/23_13:22:26 info: Releasing resource group: debian1 IPaddr::10.0.0.100 drbddisk Filesystem::/dev/drbd0::/mnt/dados::ext3 apache
    heartbeat: 2006/05/23_13:22:26 info: Running /etc/ha.d/resource.d/apache stop
    heartbeat: 2006/05/23_13:22:27 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /mnt/dados ext3 stop
    heartbeat: 2006/05/23_13:22:27 info: Running /etc/ha.d/resource.d/drbddisk stop
    heartbeat: 2006/05/23_13:22:27 info: Running /etc/ha.d/resource.d/IPaddr 10.0.0.100 stop
    heartbeat: 2006/05/23_13:22:27 info: /sbin/route -n del -host 10.0.0.100
    heartbeat: 2006/05/23_13:22:27 info: /sbin/ifconfig eth0:1 down
    heartbeat: 2006/05/23_13:22:27 info: IP Address 10.0.0.100 released
    heartbeat: 2006/05/23_13:22:38 info: Local Resource acquisition completed. (none)
    heartbeat: 2006/05/23_13:22:38 info: local resource transition completed.



  2. eu nao entendo nada de heartbeat, mas vc consegue inicializar o apache manualmente sem o hb??
    pq pelo q eu entendi do log o hb ta tendo problema pra inicializar o apache, ele esta retornando 1 (erro)



  3. #3
    fredaodepaula
    Eu já resolvi esse problema, na hora de inicializar o apache o script apache procurava o aquivo httpd em um local errado, foi só mudar esse local e tudo funcionou perfeitamente.






Tópicos Similares

  1. Não consigo acessar meu Apache atrás do firewall
    Por alec no fórum Servidores de Rede
    Respostas: 0
    Último Post: 30-10-2003, 09:28
  2. Rede Interna não consegue abrir página...
    Por Perdigao no fórum Servidores de Rede
    Respostas: 9
    Último Post: 29-08-2003, 20:07
  3. Receita .NET não consegue realizar transmissão
    Por MarcioRM no fórum Servidores de Rede
    Respostas: 10
    Último Post: 27-04-2003, 19:06
  4. Cliente win9x não consegue fazer FTP
    Por no fórum Servidores de Rede
    Respostas: 4
    Último Post: 04-04-2003, 08:08
  5. antivirus AVG nao consegue fazer update
    Por no fórum Servidores de Rede
    Respostas: 3
    Último Post: 05-02-2003, 15:07

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L