Hi James, Can you be more specific with "OpenSAF hasn't been started successfully" ?
When clmDispatch returns ERR_BAD_HANDLE, IMMND logs messages with warning and notice log level. In general in all services, when *Dispatch functions fail with ERR_BAD_HANDLE error code, it's because the handle might be corrupted, finalized, or the operation cannot be done (for example, a callback with a long DN parameter to a client where long DN is not supported, etc...) Setting revents parameter to 0 before the poll call does not make sense to me. Revents is the output parameter, and I don't see how your proposal can be a solution to your problem. Thanks, Zoran -----Original Message----- From: Carroll, James R [mailto:[email protected]] Sent: den 5 augusti 2017 17:45 To: [email protected] Subject: Re: [users] opensaf 5.2, not starting on 32-bit linux platform Hi, I never had any feedback on this, which is a little disheartening. In any case, we continued to troubleshoot the issue, and it appears there is an uninitialized variable in the source code that is causing the error. The file is immnd_main.c, and the line number is 355. We added the line: fds[FD_CLM].revents = 0; This resolved our issue, and we were able to bring up opensaf 5.2. For the record, we were never able to bring up opensaf 5.2, without this fix, on our 32-bit systems. We did also test this out on our 64-bit systems, and found that we were about 50/50 when staring OpenSAF - sometimes is started, and sometimes it failed, without this fix. Once this fix was applied, both our 32-bit and 64-bit systems started consistently. Is there an open ticket for this issue? Also, with the just announced release of OpenSaf 5.2.1, will there be an update to capture this? How are high-priority fixes applied to OpenSAF? Thanks. Jim From: Carroll, James R (US) Sent: Friday, July 21, 2017 5:07 PM To: [email protected] Subject: opensaf 5.2, not starting on 32-bit linux platform Hi, We have recently built and upgraded to opensaf 5.2. We were previously running using opensaf 5.0. We compiled opensaf as 32-bit applications. We are running on a 32-bit Redhat OS (v6.5). We have been unable to start opensaf successfully, it appears to be a timing issue between IMM and CLM. The code that is failing appears to be a new feature added to 5.2, reference the ticket number below. The file is immnd_main.c, line number 435, failing on saClmDispatch() call. We are getting SA_AIS_ERR_BAD_HANDLE_ERROR Ticket Information: 1640 - imm agent changes for integrating IMM with CLMS Has anyone built opensaf 5.2 as a 32-bit application, and been able to run it successfully? Thanks. Jim ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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
