Trying rpm installation. Before enabling opensaf, I updated nodes.cfg (hostname) and set ipaddress in nid.conf.
# systemctl enable opensafd.service # init 6 Logon and check opensaf is working ......... # systemctl status opensafd.service | wc -l 31 #immfind leap_env_init: FAILED to initialize Timer Service error - saImmOpInitialize FAILED: SA_AIS_ERROR_LIBRARY (2) # echo $$ >/sys/fs/cgroup/cpu/tasks # immfind | wc -l 150 On Wed, Aug 5, 2015 at 3:15 PM, Noel McLoughlin <[email protected]> wrote: > Hi, > > I am using opensaf-staging on Fedora22. > Three steps below were needed for RUNASROOT and nonprivledged users to get > opensafd started successfully. > > (1) Ensure <installdir>/share/opensaf/immxml/nodes.cfg uses > <installdir>/etc/opensaf/node_name value instead of "SC-1". > (2) echo $$ >/sys/fs/cgroup/cpu/tasks > (3) Remove plm entry from /etc/opensaf/nodeinit.conf.controller > > I have not tried rpm installation. > I can send syslog to you on Friday if you need it. > > /Noel > > > On Wed, Aug 5, 2015 at 12:23 PM, Neelakanta Reddy < > [email protected]> wrote: > >> Hi, >> >> Which version of opensaf are you using? Did it succeed when running after >> an rpm installation? >> Could you share the syslog? >> >> Also, on this machine does it succeeds upon building and running as root? >> >> /Neel. >> >> >> >> On Tuesday 04 August 2015 11:04 PM, Noel McLoughlin wrote: >> >>> Hi, >>> >>> I encountered same error running opensafd as non-privledged user on >>> Fedora >>> 22 virtual machine. My setup is described in "OpenSAF as an Application" >>> WIKI and 00-README.conf (for non-privledged, non-rpm setup) and configure >>> as follows: >>> >>> # ./configure --prefix=/home/local --with-initscriptdir=/home/local/bin >>> # make -j && make install >>> # opensafd start >>> >>> The following error is logged: >>> >>> >> Creation of real-time thread 'OSAF_TMR' FAILED - 'Operation not >>> permitted' >>> >>> The workaround is as follows: >>> >>> # echo $$ >/sys/fs/cgroup/cpu/tasks >>> >>> Now, "opensafd start" is generating a different error (below) and I am >>> not >>> sure how to resolve this following some basic troubleshooting and review >>> of >>> setup. >>> >>> ER Error while loading configuration, >>>>> >>>> file=/home/local/etc/opensaf/nodeinit.conf, serv=PLMD, error 'No such >>> file >>> or directory' >>> >>> >>> regards, >>> Noel >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> 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
