Hi All, 

Please find attached strace output of logd daemon.
I thought it might be useful.


Thanks, 
Ashish

-----Original Message-----
From: Ashish Kumar34 [mailto:[email protected]] 
Sent: Wednesday, January 3, 2018 6:55 PM
To: [email protected]
Cc: Manohar P <[email protected]>
Subject: [users] Opensaf not able to start osaflogd .. help needed.

Hi All,

I am new to opensaf.
I have built opensaf-5.17.07 with windRiver 8.
When I am trying to start opensafd it is getting stuck and getting timeout.
>From /var/log/messages I can see it is stuck osaflogd. And trying to restart 
>osaflogd again .

I tried every possible option I had to start logd not it is not coming up.

Please find below the log from /var/log/messages

2018-01-03T13:12:25.440117+00:00 localhost opensafd: Starting OpenSAF Services
2018-01-03T13:12:25.490294+00:00 localhost kernel: tipc: Activated (version 
2.0.0)
2018-01-03T13:12:25.490304+00:00 localhost kernel: NET: Registered protocol 
family 30
2018-01-03T13:12:25.490305+00:00 localhost kernel: tipc: Started in single node 
mode
2018-01-03T13:12:25.492292+00:00 localhost kernel: Started in network mode
2018-01-03T13:12:25.492299+00:00 localhost kernel: Own node address <1.1.1>, 
network identity 1240
2018-01-03T13:12:25.495293+00:00 localhost kernel: Enabled bearer <eth:base>, 
discovery domain <1.1.0>, priority 10
2018-01-03T13:12:25.506592+00:00 localhost osaftransportd[6140]: Started
2018-01-03T13:12:25.510212+00:00 localhost osafclmna[6145]: Started
2018-01-03T13:12:25.527583+00:00 localhost osafrded[6168]: Started
2018-01-03T13:12:25.547036+00:00 localhost osaffmd[6190]: Started
2018-01-03T13:12:25.548050+00:00 localhost osaffmd[6190]: NO Remote fencing is 
disabled
2018-01-03T13:12:25.562858+00:00 localhost osafimmd[6213]: Started
2018-01-03T13:12:25.577578+00:00 localhost osafimmnd[6237]: mkfifo already 
exists: /var/lib/opensaf/osafimmnd.fifo File exists
2018-01-03T13:12:25.578294+00:00 localhost osafimmnd[6237]: Started
2018-01-03T13:12:25.606399+00:00 localhost opensafd[6099]: NO Monitoring of 
TRANSPORT started
2018-01-03T13:12:25.711848+00:00 localhost osafclmna[6145]: NO Starting to 
promote this node to a system controller
2018-01-03T13:12:25.712332+00:00 localhost osafrded[6168]: NO Requesting ACTIVE 
role
2018-01-03T13:12:25.712444+00:00 localhost osafrded[6168]: NO RDE role set to 
Undefined
2018-01-03T13:12:27.714478+00:00 localhost osafrded[6168]: NO Running 
'/usr/lib64/opensaf/opensaf/opensaf_sc_active' with 0 argument(s)
2018-01-03T13:12:27.716537+00:00 localhost osafrded[6168]: NO Switched to 
ACTIVE from Undefined
2018-01-03T13:12:27.717125+00:00 localhost osaffmd[6190]: NO Starting 
activation supervision: 300000ms
2018-01-03T13:12:27.718197+00:00 localhost osafimmd[6213]: NO MDS event from 
svc_id 24 (change:3, dest:13)
2018-01-03T13:12:27.718399+00:00 localhost osafimmd[6213]: NO MDS event from 
svc_id 24 (change:5, dest:13)
2018-01-03T13:12:27.718888+00:00 localhost osafimmnd[6237]: NO IMMD service is 
UP ... ScAbsenseAllowed?:0 introduced?:0
2018-01-03T13:12:27.719459+00:00 localhost osafimmd[6213]: NO MDS event from 
svc_id 25 (change:3, dest:1690015006702854)
2018-01-03T13:12:27.791638+00:00 localhost osafimmnd[6237]: NO SERVER STATE: 
IMM_SERVER_ANONYMOUS --> IMM_SERVER_CLUSTER_WAITING
2018-01-03T13:12:27.792324+00:00 localhost osafimmd[6213]: NO New IMMND process 
is on ACTIVE Controller at 6010f
2018-01-03T13:12:27.792631+00:00 localhost osafimmd[6213]: NO First SC IMMND 
(OpenSAF 4.4 or later) attached 6010f
2018-01-03T13:12:27.793181+00:00 localhost osafimmd[6213]: NO First IMMND at SC 
to attach is NOT configured for PBE
2018-01-03T13:12:27.793566+00:00 localhost osafimmd[6213]: NO Attached Nodes:1 
Accepted nodes:0 KnownVeteran:0 doReply:1
2018-01-03T13:12:27.794078+00:00 localhost osafimmd[6213]: NO First IMMND on SC 
found at 6010f this IMMD at 6010f. Cluster is loading, *not* 2PBE => 
designating that IMMND as coordinator
2018-01-03T13:12:27.794509+00:00 localhost osafimmnd[6237]: NO This IMMND is 
now the NEW Coord
2018-01-03T13:12:30.811557+00:00 localhost osafimmnd[6237]: NO SERVER STATE: 
IMM_SERVER_CLUSTER_WAITING --> IMM_SERVER_LOADING_PENDING
2018-01-03T13:12:30.913090+00:00 localhost osafimmd[6213]: NO Successfully 
announced loading. New ruling epoch:1
2018-01-03T13:12:30.913650+00:00 localhost osafimmnd[6237]: NO SERVER STATE: 
IMM_SERVER_LOADING_PENDING --> IMM_SERVER_LOADING_SERVER
2018-01-03T13:12:30.914104+00:00 localhost osafimmnd[6237]: NO NODE STATE-> 
IMM_NODE_LOADING
2018-01-03T13:12:31.017573+00:00 localhost osafimmloadd: NO Load starting
2018-01-03T13:12:31.018158+00:00 localhost osafimmloadd: NO ***** Loading from 
XML file imm.xml at /etc/opensaf *****
2018-01-03T13:12:31.032145+00:00 localhost osafimmloadd: NO The class 
OpensafImm has been created since it was missing from the imm.xml load file
2018-01-03T13:12:31.032600+00:00 localhost osafimmloadd: IN Class OsafImmPbeRt 
created
2018-01-03T13:12:31.032829+00:00 localhost osafimmloadd: NO The class 
OsafImmPbeRt has been created since it was missing from the imm.xml load file
2018-01-03T13:12:31.291191+00:00 localhost osafimmloadd: NO The 
opensafImm=opensafImm,safApp=safImmService object of class OpensafImm has been 
created since it was missing from the imm.xml load file
2018-01-03T13:12:31.292362+00:00 localhost osafimmnd[6237]: NO Ccb 1 COMMITTED 
(IMMLOADER)
2018-01-03T13:12:31.292889+00:00 localhost osafimmnd[6237]: NO Closing admin 
owner IMMLOADER id(1), loading of IMM done
2018-01-03T13:12:31.293094+00:00 localhost osafimmnd[6237]: NO NODE STATE-> 
IMM_NODE_FULLY_AVAILABLE 2714
2018-01-03T13:12:31.293349+00:00 localhost osafimmnd[6237]: NO 
RepositoryInitModeT is SA_IMM_INIT_FROM_FILE
2018-01-03T13:12:31.293605+00:00 localhost osafimmnd[6237]: WA IMM Access 
Control mode is DISABLED!
2018-01-03T13:12:31.293781+00:00 localhost osafimmnd[6237]: NO 
opensafImmNostdFlags changed to: 0x1f6
2018-01-03T13:12:31.293949+00:00 localhost osafimmnd[6237]: NO Epoch set to 2 
in ImmModel
2018-01-03T13:12:31.294265+00:00 localhost osafimmd[6213]: NO ACT: New Epoch 
for IMMND process at node 6010f old epoch: 1  new epoch:2
2018-01-03T13:12:31.294507+00:00 localhost osafimmd[6213]: NO Ruling epoch 
changed to:2
2018-01-03T13:12:31.294946+00:00 localhost osafimmloadd: NO Load ending normally
2018-01-03T13:12:31.390487+00:00 localhost osafimmnd[6237]: NO SERVER STATE: 
IMM_SERVER_LOADING_SERVER --> IMM_SERVER_READY
2018-01-03T13:12:31.390714+00:00 localhost osafimmnd[6237]: NO ImmModel 
received scAbsenceAllowed 0
2018-01-03T13:12:31.391061+00:00 localhost opensafd[6099]: NO Monitoring of 
IMMND started
2018-01-03T13:12:31.413980+00:00 localhost osaflogd[6277]: mkfifo already 
exists: /var/lib/opensaf/osaflogd.fifo File exists
2018-01-03T13:12:31.414875+00:00 localhost osaflogd[6277]: Started
2018-01-03T13:13:26.554187+00:00 localhost osaflogd[6355]: mkfifo already 
exists: /var/lib/opensaf/osaflogd.fifo File exists
2018-01-03T13:13:26.554618+00:00 localhost osaflogd[6355]: Started
2018-01-03T13:13:55.626524+00:00 localhost osafimmd[6213]: exiting for shutdown
2018-01-03T13:13:55.627610+00:00 localhost osafimmnd[6237]: exiting for shutdown
2018-01-03T13:13:55.628091+00:00 localhost osaffmd[6190]: exiting for shutdown
2018-01-03T13:13:55.628450+00:00 localhost osafclmna[6145]: exiting for shutdown
2018-01-03T13:13:55.629539+00:00 localhost osafrded[6168]: exiting for shutdown
2018-01-03T13:13:55.629679+00:00 localhost osaftransportd[6140]: exiting for 
shutdown


As you can see it has tried starting osaflogd multiple times and then went for 
shutting down opensaf services .

Please help ..

Thanks in Advance.


Regards,
Ashish

============================================================================================================================

Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Attachment: test.log
Description: test.log

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to