Hi Praveen, I double checked all of these settings you listed above (sudoers permission, user/groups, folder permissions etc) and it is all good. I run into the same issue still.
Could you please let me know if there is any other aspect to take into consideration when running in cgroup? I see a 3 re-tries and then it crashes. Apr 1 02:01:04 SC-1 osafdtmd[1269]: Started Apr 1 02:01:04 SC-1 osafdtmd[1269]: Creation of real-time thread 'OSAF_TMR' FAILED - 'Operation not permitted' Apr 1 02:01:04 SC-1 osafdtmd[1269]: ER DTM: LEAP svcs startup failed Apr 1 02:01:04 SC-1 osafdtmd[1269]: ER DTM: dtm_init failed Apr 1 02:01:04 SC-1 opensafd[1262]: ER Failed #012 DESC:TRANSPORT Apr 1 02:01:04 SC-1 opensafd[1262]: ER Going for recovery Apr 1 02:01:04 SC-1 opensafd[1262]: ER Trying To RESPAWN /usr/local/lib/opensaf/clc-cli/osaf-transport attempt #1 Apr 1 02:01:04 SC-1 opensafd[1262]: ER Sending SIGKILL to TRANSPORT, pid= 1263 Apr 1 02:01:19 SC-1 osafdtmd[1292]: Started Apr 1 02:01:19 SC-1 osafdtmd[1292]: Creation of real-time thread 'OSAF_TMR' FAILED - 'Operation not permitted' Apr 1 02:01:19 SC-1 osafdtmd[1292]: ER DTM: LEAP svcs startup failed Apr 1 02:01:19 SC-1 osafdtmd[1292]: ER DTM: dtm_init failed Apr 1 02:01:19 SC-1 opensafd[1262]: ER Could Not RESPAWN TRANSPORT Apr 1 02:01:19 SC-1 opensafd[1262]: ER Failed #012 DESC:TRANSPORT Apr 1 02:01:19 SC-1 opensafd[1262]: ER Trying To RESPAWN /usr/local/lib/opensaf/clc-cli/osaf-transport attempt #2 Apr 1 02:01:19 SC-1 opensafd[1262]: ER Sending SIGKILL to TRANSPORT, pid= 1286 Apr 1 02:01:34 SC-1 osafdtmd[1315]: Started Apr 1 02:01:34 SC-1 osafdtmd[1315]: Creation of real-time thread 'OSAF_TMR' FAILED - 'Operation not permitted' Apr 1 02:01:34 SC-1 osafdtmd[1315]: ER DTM: LEAP svcs startup failed Apr 1 02:01:34 SC-1 osafdtmd[1315]: ER DTM: dtm_init failed Apr 1 02:01:34 SC-1 opensafd[1262]: ER Could Not RESPAWN TRANSPORT Apr 1 02:01:34 SC-1 opensafd[1262]: ER Failed #012 DESC:TRANSPORT Apr 1 02:01:34 SC-1 opensafd[1262]: ER FAILED TO RESPAWN I am attaching the dtmd.conf Thanks, //Jerry On Fri, Mar 27, 2015 at 8:11 AM, praveen malviya <praveen.malv...@oracle.com > wrote: > Hi, > > Please check the following link > - http://sourceforge.net/p/opensaf/staging/ci/ > e82800c8d7e0c0c0cc31d8016727449cf5f3c45e/ > > - and the README w.r.t 'systemd' > > - Also note that > opensafd can be built to run as root if we enable > ./configure CFLAGS=-DRUNASROOT > > By default opensaf is built to run as the non-root user/group called > 'opensaf'. > When opensaf is built and installed from an rpm, all > configurations(permissions) to run as 'opensaf' are automatically taken > care of when installing as rpm package. > But, if it is done from an 'make install' from source then, the setting > up the permissions have to be done manually as specified in the > 00-README.conf: > > Quoting it from the 00-README.conf > ====================================================== > OpenSAF can be built to be run as the root or to > run as the UNIX system user "opensaf" (default behaviour). > Upon doing a 'make install' when OpenSAF is built to > run as the opensaf user, then the following steps have to be done: > Notes: > - These steps are not necessary if doing an rpm installation. > - If user wishes to run OpenSAF as the root user, then the below > steps can be ignored by building OpenSAF with the option > $./configure CPPFLAGS=-DRUNASROOT > > 0) groupadd -r opensaf > 1) useradd -r -g opensaf -d /usr/local/share/opensaf/ -s /sbin/nologin -c > "OpenSAF" opensaf > 2) echo "opensaf ALL = NOPASSWD: /sbin/reboot, /sbin/tipc-config, > /usr/bin/pkill, /usr/bin/killall" >> /etc/sudoers > 3) echo 'Defaults:%opensaf !requiretty' >> /etc/sudoers > 4) echo 'Defaults:opensaf !requiretty' >> /etc/sudoers > 5) chown opensaf /var/lib/opensaf > 6) chgrp opensaf /var/lib/opensaf > 7) chown opensaf /var/run/opensaf > 8) chgrp opensaf /var/run/opensaf > 9) chown -R opensaf /var/log/opensaf > 10) chgrp -R opensaf /var/log/opensaf > ====================================================== > > > Let me know if that helps or not. > Praveen. > > > On 27-Mar-15 6:04 AM, Jerry George wrote: > >> Hi Praveen, >> >> I believe it is installation from source. I am having same error thrown >> whenever it is run in cgroup-based container irrespective of the OS. >> >> Could you tell me which step I am missing for this specific error? >> >> > Thanks, >> //jerry >> >> On Thu, Mar 26, 2015 at 12:18 AM, praveen malviya >> <praveen.malv...@oracle.com <mailto:praveen.malv...@oracle.com>> wrote: >> >> Hi, >> >> Are you using rpm based installation or is it make install based. >> For make install refer 00-README.conf for extra steps to be performed. >> >> Thanks, >> Praveen >> >> >> On 26-Mar-15 8:51 AM, Jerry George wrote: >> >> Hi, >> >> I am trying to run a prototype using an image from a colleague >> of mine. I >> receive the following when starting up Opensaf. >> >> Mar 25 23:29:03 SC-1 opensafd: Starting OpenSAF Services (Using >> TCP) >> >> Mar 25 23:29:03 SC-1 osafdtmd[158]: Started >> >> Mar 25 23:29:03 SC-1 osafdtmd[158]: Creation of real-time thread >> 'OSAF_TMR' >> FAILED - 'Operation not permitted' >> >> Mar 25 23:29:03 SC-1 osafdtmd[158]: ER DTM: LEAP svcs startup >> failed >> >> Mar 25 23:29:03 SC-1 osafdtmd[158]: ER DTM: dtm_init failed >> >> Mar 25 23:29:03 SC-1 opensafd[151]: ER Failed #012 DESC:TRANSPORT >> >> Mar 25 23:29:03 SC-1 opensafd[151]: ER Going for recovery >> >> Mar 25 23:29:03 SC-1 opensafd[151]: ER Trying To RESPAWN >> /usr/local/lib/opensaf/clc-__cli/osaf-transport attempt #1 >> >> >> Mar 25 23:29:03 SC-1 opensafd[151]: ER Sending SIGKILL to >> TRANSPORT, pid=152 >> >> Has encountered this before? Can you please me towards a >> troubleshooting >> guide, if any. I really appreciate your time and effort. >> >> Thanks, >> jerry >> ------------------------------__---------------------------- >> --__------------------ >> Dive into the World of Parallel Programming The Go Parallel >> Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is >> your hub for all >> things parallel software development, from weekly thought >> leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and >> join the >> conversation now. http://goparallel.sourceforge.__net/ >> <http://goparallel.sourceforge.net/> >> _________________________________________________ >> Opensaf-users mailing list >> Opensaf-users@lists.__sourceforge.net >> <mailto:Opensaf-users@lists.sourceforge.net> >> https://lists.sourceforge.net/__lists/listinfo/opensaf-users >> <https://lists.sourceforge.net/lists/listinfo/opensaf-users> >> >> >>
dtmd.conf
Description: Binary data
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Opensaf-users mailing list Opensaf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-users