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 > <[email protected] <mailto:[email protected]>> 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:[email protected]> > https://lists.sourceforge.net/__lists/listinfo/opensaf-users > <https://lists.sourceforge.net/lists/listinfo/opensaf-users> > > ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
