Hi,

 Entries in node_name and nodes.cfg are same
 Syslog gets generated in /var/log/opensaf ??

  CLM is not started, opensaf shuts down before that. All the opensaf
process receives TERM signal


// from /var/log/messages
Oct 13 06:41:11 debian-i386 opensafd: Starting OpenSAF Services (Using TCP)
Oct 13 06:41:11 debian-i386 osafdtmd[2413]: Started
Oct 13 06:41:11 debian-i386 osafrded[2428]: Started
Oct 13 06:41:13 debian-i386 osafrded[2428]: NO No peer available => Setting
Active role for this node
Oct 13 06:41:13 debian-i386 osaffmd[2445]: Started
Oct 13 06:41:13 debian-i386 osafimmd[2454]: Started
Oct 13 06:41:13 debian-i386 osafimmnd[2463]: Started
Oct 13 06:41:13 debian-i386 osafimmd[2454]: NO New IMMND process is on
ACTIVE Controller at 2010f
Oct 13 06:41:13 debian-i386 osafimmd[2454]: NO First SC IMMND (OpenSAF 4.4
or later) attached 2010f
Oct 13 06:41:13 debian-i386 osafimmd[2454]: NO First IMMND at SC to attach
is NOT configured for PBE
Oct 13 06:41:13 debian-i386 osafimmd[2454]: NO First IMMND on SC found at
2010f this IMMD at 2010f. Cluster is loading, *not* 2PBE => designating that
IMMND as coordinator
Oct 13 06:41:13 debian-i386 osafimmnd[2463]: NO SERVER STATE:
IMM_SERVER_ANONYMOUS --> IMM_SERVER_CLUSTER_WAITING
Oct 13 06:41:13 debian-i386 osafimmnd[2463]: NO This IMMND is now the NEW
Coord
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO SERVER STATE:
IMM_SERVER_CLUSTER_WAITING --> IMM_SERVER_LOADING_PENDING
Oct 13 06:41:16 debian-i386 osafimmd[2454]: NO Successfully announced
loading. New ruling epoch:1
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO SERVER STATE:
IMM_SERVER_LOADING_PENDING --> IMM_SERVER_LOADING_SERVER
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO NODE STATE->
IMM_NODE_LOADING
Oct 13 06:41:16 debian-i386 osafimmloadd: NO Load starting
Oct 13 06:41:16 debian-i386 osafimmloadd: NO ***** Loading from XML file
imm.xml at /etc/opensaf *****
Oct 13 06:41:16 debian-i386 osafimmloadd: NO The class OpensafImm has been
created since it was missing from the imm.xml load file
Oct 13 06:41:16 debian-i386 osafimmloadd: IN Class OsafImmPbeRt created
Oct 13 06:41:16 debian-i386 osafimmloadd: NO The class OsafImmPbeRt has been
created since it was missing from the imm.xml load file
Oct 13 06:41:16 debian-i386 osafimmloadd: NO The
opensafImm=opensafImm,safApp=safImmService object of class OpensafImm has
been created since it was missing from the imm.xml load file
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO Ccb 1 COMMITTED (IMMLOADER)
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO Closing admin owner
IMMLOADER id(1), loading of IMM done
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO NODE STATE->
IMM_NODE_FULLY_AVAILABLE 2578
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO RepositoryInitModeT is
SA_IMM_INIT_FROM_FILE
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: WA IMM Access Control mode is
DISABLED!
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO opensafImmNostdFlags changed
to: 0x36
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO Epoch set to 2 in ImmModel
Oct 13 06:41:16 debian-i386 osafimmd[2454]: NO ACT: New Epoch for IMMND
process at node 2010f old epoch: 1  new epoch:2
Oct 13 06:41:16 debian-i386 osafimmd[2454]: NO Ruling epoch changed to:2
Oct 13 06:41:16 debian-i386 osafimmloadd: NO Load ending normally
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO SERVER STATE:
IMM_SERVER_LOADING_SERVER --> IMM_SERVER_READY
Oct 13 06:41:16 debian-i386 osaflogd[2483]: Started
Oct 13 06:41:16 debian-i386 osaflogd[2483]: WA read_logsv_configuration().
All attributes could not be read
Oct 13 06:41:16 debian-i386 osaflogd[2483]: NO Log config system: high 0 low
0, application: high 0 low 0
Oct 13 06:41:16 debian-i386 osaflogd[2483]: NO log root directory is:
/var/log/opensaf/saflog
Oct 13 06:41:16 debian-i386 osaflogd[2483]: NO LOG data group is:
Oct 13 06:41:16 debian-i386 osaflogd[2483]: NO LGS_MBCSV_VERSION = 4
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO Implementer connected: 1
(safLogService) <4, 2010f>
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO implementer for class
'SaLogStreamConfig' is safLogService => class extent is safe.
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO implementer for class
'OpenSafLogConfig' is safLogService => class extent is safe.
Oct 13 06:41:16 debian-i386 osafntfd[2495]: Started
Oct 13 06:41:16 debian-i386 osaffmd[2445]: exiting for shutdown
Oct 13 06:41:16 debian-i386 osafimmd[2454]: exiting for shutdown
Oct 13 06:41:16 debian-i386 osafimmnd[2463]: NO No IMMD service => cluster
restart, exiting
Oct 13 06:41:16 debian-i386 osaflogd[2483]: exiting for shutdown
Oct 13 06:41:16 debian-i386 osafntfd[2495]: exiting for shutdown
Oct 13 06:41:16 debian-i386 osafrded[2428]: exiting for shutdown
Oct 13 06:41:16 debian-i386 opensafd: Starting OpenSAF failed


Regards,
Girish

-----Original Message-----
From: praveen malviya [mailto:[email protected]]
Sent: Tuesday, October 13, 2015 3:24 PM
To: Girish Nagaraj; [email protected]
Subject: Re: [users] starting opensaf4.6 failed in debian

Hi,

In the shared tar, syslog is not present.
nid.log does not contain entry for CLM service start.

Is there any mismatch in the CLM node name in nodes.cfg (while generating
imm.xml)and /etc/opensaf/node_name.

Thanks,
Praveen

On 13-Oct-15 11:27 AM, Girish Nagaraj wrote:
> Hi,
>
>
>
> I have debian jessie OS on 32-bit machine.
>
> sudo apt-get install libc6-dev libxml2-dev libsqlite3-dev
> libncurses5-dev libreadline6-dev autoconf automake libtool pkg-config
> lsb-base make gcc g++ xterm
>
> Downloaded opensaf4.6.tar file from sourceforge.net
>
> Configure: ./configure --disable-tipc --enable-ais-evt
> --disable-ais-lck --disable-ais-msg --disable-ais-smf
> --disable-ais-plm CFLAGS="-g -DRUNASROOT -Wno-error" CXXFLAGS="-g
> -DRUNASROOT -Wno-error" CPPFLAGS="-g -DRUNASROOT -Wno-error"
>
> To the imm Makefile CPPFLAGS added option -DSA_EXTENDED_NAME_SOURCE
>
> make, make install
>
> ldconfig
>
> export SA_ENABLE_EXTENDED_NAMES=1 (thought this could be problem:
> https://sourceforge.net/p/opensaf/tickets/1313/)
>
> start: /etc/init.d/opensafd start or systemctl service
> opensafd.service
>
>
>
> Starting opensaf4.6 on this fails, opensaf logs attached:
>
>
>
> systemctl status opensafd.service
>
>
>
> root@debian-i386:/var/log# systemctl status opensafd.service
>
> ● opensafd.service - OpenSAF daemon
>
>     Loaded: loaded (/lib/systemd/system/opensafd.service; disabled)
>
>     Active: failed (Result: exit-code) since Tue 2015-10-13 01:37:41
> EDT; 12min ago
>
>    Process: 10691 ExecStart=/etc/init.d/opensafd start (code=exited,
> status=1/FAILURE)
>
>
>
> Oct 13 01:37:41 debian-i386 osaffmd[10744]: exiting for shutdown
>
> Oct 13 01:37:41 debian-i386 osafimmnd[10762]: NO No IMMD service =>
> cluster restart, exiting
>
> Oct 13 01:37:41 debian-i386 osaflogd[10776]: exiting for shutdown
>
> Oct 13 01:37:41 debian-i386 osafntfd[10788]: exiting for shutdown
>
> Oct 13 01:37:41 debian-i386 osafrded[10733]: exiting for shutdown
>
> Oct 13 01:37:41 debian-i386 opensafd[10691]: Starting OpenSAF Services
> (Using TCP): failed!
>
> Oct 13 01:37:41 debian-i386 opensafd[10990]: Starting OpenSAF failed
>
> Oct 13 01:37:41 debian-i386 systemd[1]: opensafd.service: control
> process exited, code=exited status=1
>
> Oct 13 01:37:41 debian-i386 systemd[1]: Failed to start OpenSAF daemon.
>
> Oct 13 01:37:41 debian-i386 systemd[1]: Unit opensafd.service entered
> failed state.
>
>
>
> root@debian-i386:/var/log# journalctl -xn
>
> -- Logs begin at Mon 2015-10-12 23:07:11 EDT, end at Tue 2015-10-13
> 01:51:18 EDT. --
>
> Oct 13 01:51:18 debian-i386 osafimmd[11159]: exiting for shutdown
>
> Oct 13 01:51:18 debian-i386 osafimmnd[11168]: NO No IMMD service =>
> cluster restart, exiting
>
> Oct 13 01:51:18 debian-i386 osaflogd[11182]: exiting for shutdown
>
> Oct 13 01:51:18 debian-i386 osafntfd[11195]: exiting for shutdown
>
> Oct 13 01:51:18 debian-i386 osafrded[11139]: exiting for shutdown
>
> Oct 13 01:51:18 debian-i386 opensafd[11097]: Starting OpenSAF Services
> (Using TCP): failed!
>
> Oct 13 01:51:18 debian-i386 opensafd[11397]: Starting OpenSAF failed
>
> Oct 13 01:51:18 debian-i386 systemd[1]: opensafd.service: control
> process exited, code=exited status=1
>
> Oct 13 01:51:18 debian-i386 systemd[1]: Failed to start OpenSAF daemon.
>
> -- Subject: Unit opensafd.service has failed
>
> -- Defined-By: systemd
>
> -- Support:
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit opensafd.service has failed.
>
> --
>
> -- The result is failed.
>
> Oct 13 01:51:18 debian-i386 systemd[1]: Unit opensafd.service entered
> failed state.
>
>
>
>
>
> Please let me know how to resolve this issue.
>
>
>
> Regards,
>
> Girish
>
>
>
> ----------------------------------------------------------------------
> --------
>
>
>
> _______________________________________________
> Opensaf-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensaf-users
>

-- 
.

------------------------------------------------------------------------------
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to