[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    [Linux-ha-dev] Heartbeat fails to start on Solaris8
From:       Javier Velasquez <javeza () yahoo ! com>
Date:       2002-10-18 22:38:36
[Download RAW message or body]

MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hi everybody...

I've succesfully compiled heartbeat on Solaris8
(latest CVS)

My system configuration is:

Latest CVS
gcc 3.2
libnet 1.0.2a 
glibc 1.09.1

When I tried to start heartbeat with the script I got
this:

bash-2.03#
/home1/invitado/linux-ha/heartbeat/init.d/heartbeat
start
Starting High-Availability services: 
 Heartbeat failure [rc=138]. Failed.

when I tried to start heartbeat with -d option I got
this:

bash-2.03# /usr/local/lib/heartbeat/heartbeat -d
heartbeat: debug: Comparing directive [debugfile]
against [node]
heartbeat: debug: Comparing directive [debugfile]
against [hopfudge]
heartbeat: debug: Comparing directive [debugfile]
against [keepalive]
heartbeat: debug: Comparing directive [debugfile]
against [deadtime]
heartbeat: debug: Comparing directive [debugfile]
against [initdead]
heartbeat: debug: Comparing directive [debugfile]
against [warntime]
heartbeat: debug: Comparing directive [debugfile]
against [watchdog]
heartbeat: debug: Comparing directive [debugfile]
against [baud]
heartbeat: debug: Comparing directive [debugfile]
against [udpport]
heartbeat: debug: Comparing directive [debugfile]
against [logfacility]
heartbeat: debug: Comparing directive [debugfile]
against [logfile]
heartbeat: debug: Comparing directive [debugfile]
against [debugfile]
heartbeat: debug: PILS: Looking for HBcomm/debugfile
=>
[/usr/local/lib/heartbeat/plugins/HBcomm/debugfile.so]
heartbeat: debug: Plugin file
/usr/local/lib/heartbeat/plugins/HBcomm/debugfile.so
does not exist
heartbeat: debug: PILS: Looking for HBcomm/debugfile
=> [/usr/local/lib/pils/plugins/HBcomm/debugfile.so]
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/debugfile.so does
not exist
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/debugfile.so does
not exist
heartbeat: debug:
add_option(debugfile,/var/log/ha-debug)
heartbeat: debug: Comparing directive [logfile]
against [node]
heartbeat: debug: Comparing directive [logfile]
against [hopfudge]
heartbeat: debug: Comparing directive [logfile]
against [keepalive]
heartbeat: debug: Comparing directive [logfile]
against [deadtime]
heartbeat: debug: Comparing directive [logfile]
against [initdead]
heartbeat: debug: Comparing directive [logfile]
against [warntime]
heartbeat: debug: Comparing directive [logfile]
against [watchdog]
heartbeat: debug: Comparing directive [logfile]
against [baud]
heartbeat: debug: Comparing directive [logfile]
against [udpport]
heartbeat: debug: Comparing directive [logfile]
against [logfacility]
heartbeat: debug: Comparing directive [logfile]
against [logfile]
heartbeat: debug: PILS: Looking for HBcomm/logfile =>
[/usr/local/lib/heartbeat/plugins/HBcomm/logfile.so]
heartbeat: debug: Plugin file
/usr/local/lib/heartbeat/plugins/HBcomm/logfile.so
does not exist
heartbeat: debug: PILS: Looking for HBcomm/logfile =>
[/usr/local/lib/pils/plugins/HBcomm/logfile.so]
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/logfile.so does not
exist
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/logfile.so does not
exist
heartbeat: debug: add_option(logfile,/var/log/ha-log)
heartbeat: debug: Comparing directive [keepalive]
against [node]
heartbeat: debug: Comparing directive [keepalive]
against [hopfudge]
heartbeat: debug: Comparing directive [keepalive]
against [keepalive]
heartbeat: debug: PILS: Looking for HBcomm/keepalive
=>
[/usr/local/lib/heartbeat/plugins/HBcomm/keepalive.so]
heartbeat: debug: Plugin file
/usr/local/lib/heartbeat/plugins/HBcomm/keepalive.so
does not exist
heartbeat: debug: PILS: Looking for HBcomm/keepalive
=> [/usr/local/lib/pils/plugins/HBcomm/keepalive.so]
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/keepalive.so does
not exist
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/keepalive.so does
not exist
heartbeat: debug: add_option(keepalive,2)
heartbeat: debug: Comparing directive [deadtime]
against [node]
heartbeat: debug: Comparing directive [deadtime]
against [hopfudge]
heartbeat: debug: Comparing directive [deadtime]
against [keepalive]
heartbeat: debug: Comparing directive [deadtime]
against [deadtime]
heartbeat: debug: PILS: Looking for HBcomm/deadtime =>
[/usr/local/lib/heartbeat/plugins/HBcomm/deadtime.so]
heartbeat: debug: Plugin file
/usr/local/lib/heartbeat/plugins/HBcomm/deadtime.so
does not exist
heartbeat: debug: PILS: Looking for HBcomm/deadtime =>
[/usr/local/lib/pils/plugins/HBcomm/deadtime.so]
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/deadtime.so does
not exist
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/deadtime.so does
not exist
heartbeat: debug: add_option(deadtime,10)
heartbeat: debug: Comparing directive [udpport]
against [node]
heartbeat: debug: Comparing directive [udpport]
against [hopfudge]
heartbeat: debug: Comparing directive [udpport]
against [keepalive]
heartbeat: debug: Comparing directive [udpport]
against [deadtime]
heartbeat: debug: Comparing directive [udpport]
against [initdead]
heartbeat: debug: Comparing directive [udpport]
against [warntime]
heartbeat: debug: Comparing directive [udpport]
against [watchdog]
heartbeat: debug: Comparing directive [udpport]
against [baud]
heartbeat: debug: Comparing directive [udpport]
against [udpport]
heartbeat: debug: PILS: Looking for HBcomm/udpport =>
[/usr/local/lib/heartbeat/plugins/HBcomm/udpport.so]
heartbeat: debug: Plugin file
/usr/local/lib/heartbeat/plugins/HBcomm/udpport.so
does not exist
heartbeat: debug: PILS: Looking for HBcomm/udpport =>
[/usr/local/lib/pils/plugins/HBcomm/udpport.so]
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/udpport.so does not
exist
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/udpport.so does not
exist
heartbeat: debug: add_option(udpport,1001)
heartbeat: debug: Comparing directive [bcast] against
[node]
heartbeat: debug: Comparing directive [bcast] against
[hopfudge]
heartbeat: debug: Comparing directive [bcast] against
[keepalive]
heartbeat: debug: Comparing directive [bcast] against
[deadtime]
heartbeat: debug: Comparing directive [bcast] against
[initdead]
heartbeat: debug: Comparing directive [bcast] against
[warntime]
heartbeat: debug: Comparing directive [bcast] against
[watchdog]
heartbeat: debug: Comparing directive [bcast] against
[baud]
heartbeat: debug: Comparing directive [bcast] against
[udpport]
heartbeat: debug: Comparing directive [bcast] against
[logfacility]
heartbeat: debug: Comparing directive [bcast] against
[logfile]
heartbeat: debug: Comparing directive [bcast] against
[debugfile]
heartbeat: debug: Comparing directive [bcast] against
[nice_failback]
heartbeat: debug: Comparing directive [bcast] against
WLdirective[stonith]
heartbeat: debug: Comparing directive [bcast] against
WLdirective[stonith_host]
heartbeat: debug: Comparing directive [bcast] against
WLdirective[respawn]
heartbeat: debug: PILS: Looking for HBcomm/bcast =>
[/usr/local/lib/heartbeat/plugins/HBcomm/bcast.so]
heartbeat: debug: Plugin path for HBcomm/bcast =>
[/usr/local/lib/heartbeat/plugins/HBcomm/bcast.so]
heartbeat: debug: PILS: Looking for HBcomm/bcast =>
[/usr/local/lib/heartbeat/plugins/HBcomm/bcast.so]
heartbeat: debug: Plugin path for HBcomm/bcast =>
[/usr/local/lib/heartbeat/plugins/HBcomm/bcast.so]
heartbeat: debug: PILS: Looking for HBcomm/bcast =>
[/usr/local/lib/heartbeat/plugins/HBcomm/bcast.so]
heartbeat: debug: Plugin path for HBcomm/bcast =>
[/usr/local/lib/heartbeat/plugins/HBcomm/bcast.so]
heartbeat: debug: Creating PluginType for HBcomm
heartbeat: debug: NewPILPlugintype(0x3f368)
heartbeat: debug: Plugin HBcomm/bcast  init function:
HBcomm_LTX_bcast_pil_plugin_init
heartbeat: debug: NewPILPlugin(0x3f9a8)
heartbeat: debug: Plugin HBcomm/bcast loaded and
constructed.
heartbeat: debug: Calling init function in plugin
HBcomm/bcast.
heartbeat: debug: NewPILInterface(0x5d6d8)
heartbeat: debug:
NewPILInterface(0x5d6d8:HBcomm/bcast)*** user_data:
0x0 *******
heartbeat: debug: generic IF manager: interface
HBcomm/bcast registering.
heartbeat: debug: generic IF manager: Inserted
interface [bcast] in hash table @ 0x0003efa8
heartbeat: debug: generic IF manager: Exports are
here: 0xff022a08
heartbeat: debug: IfIncrRefCount(101 + 1 )
heartbeat: debug: PluginIncrRefCount(0 + 1 )
heartbeat: debug: add_option(bcast,le0)
heartbeat: debug: IfIncrRefCount(1 + 1 )
heartbeat: debug: Comparing directive [node] against
[node]
heartbeat: debug: PILS: Looking for HBcomm/node =>
[/usr/local/lib/heartbeat/plugins/HBcomm/node.so]
heartbeat: debug: Plugin file
/usr/local/lib/heartbeat/plugins/HBcomm/node.so does
not exist
heartbeat: debug: PILS: Looking for HBcomm/node =>
[/usr/local/lib/pils/plugins/HBcomm/node.so]
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/node.so does not
exist
heartbeat: debug: Plugin file
/usr/local/lib/pils/plugins/HBcomm/node.so does not
exist
heartbeat: debug:
add_option(node,master.telecom.net.co)
Bus Error (core dumped)

Trying to debug the code I found the error is caused
in config.c line 782:

strncpy(hip->status, INITSTATUS, sizeof(hip->status));


Please I need some help on this


Thanks in advance

Javier

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic