Hi,
./configure --disable-tipc --enable-ais-evt --disable-ais-lck
--disable-ais-msg --disable-ais-smf --disable-ais-plm CFLAGS="-DRUNASROOT
-Wno-error" CXXFLAGS="-DRUNASROOT -Wno-error" CPPFLAGS="-DRUNASROOT
-Wno-error"
Make rpm
Install rpms
Configure OpenSAF
a) in /etc/opensaf/nid.conf change OPENSAFGROUP and OPENSAFUSER to
root
b) update /etc/opensaf/node_name with hostname
c) Edit /etc/opensaf/dtmd.conf
Look for the entry DTM_NODE_IP ,change it to the IP address of
eth0
d) Edit /etc/opensaf/slot_id
Range - <1-40>. The slot_id is an integer that is unique
across the cluster
e) Definine the Cluster
Go to /usr/share/opensaf/immxml and check the README
(i) ./immxml-clustersize -s 1 (for simplex mode)
./immxml-clustersize -s 2 (for active-standby mode)
(ii) Edit nodes.cfg (Use 'SC SC-1 <hostname>' format)
(iii) ./immxml-configure
And copy imm.xml under /etc/opensaf/
Start: systemctl start opensafd.service
Did these steps still get the same error.
I referred this readme files: opensaf-4.6.0/README, opensaf-4.6.0/
00-README.conf and opensaf-4.6.0/ osaf/services/infrastructure/dtms/README
Tried with default option "opensaf" user, (except step a and configured
without DRUNASROOT), same behavior.
Regards,
Girish
-----Original Message-----
From: praveen malviya [mailto:[email protected]]
Sent: Friday, July 31, 2015 12:39 PM
To: Hans Nordebäck; Girish Nagaraj; [email protected]
Subject: Re: [users] Error starting opensaf
Hi,
Also another user list dated:26th March 2015, with subject"[users]
Question related to running opensaf service (TCP transport) in
cgroup-based containers" can also refereed for similar errors. There was
some discussion over that.
Thanks
Praveen
On 31-Jul-15 12:20 PM, Hans Nordebäck wrote:
> Hi,
>
> I notice you configured with:
>
> Configured opensaf using: ./configure --disable-tipc --enable-ais-evt
> --disable-ais-lck --disable-ais-msg --disable-ais-smf
> --disable-ais-plm CFLAGS=-DRUNASROOT CFLAGS=-Wno-error
> CXXFLAGS=-Wno-error CPPFLAGS=-Wno-error
>
> Try to configure with:
>
> ./configure --disable-tipc --enable-ais-evt --disable-ais-lck
> --disable-ais-msg --disable-ais-smf --disable-ais-plm
> CFLAGS="-DRUNASROOT -Wno-error" CXXFLAGS=-Wno-error
> CPPFLAGS=-Wno-error
>
> /Thanks HansN
>
> -----Original Message-----
> From: Girish Nagaraj [mailto:[email protected]]
> Sent: den 31 juli 2015 05:53
> To: [email protected]
> Subject: [users] Error starting opensaf
>
> Hi,
>
>
>
> Starting opensafd.service fails with message:
>
>
>
> Jul 30 17:53:07 localhost systemd: Starting OpenSAF daemon...
>
> Jul 30 17:53:07 localhost opensafd: Starting OpenSAF Services (Using
> TCP)
>
> Jul 30 17:53:07 localhost osafdtmd[20038]: Started
>
> Jul 30 17:53:07 localhost osafdtmd[20038]: Creation of real-time thread
'OSAF_TMR' FAILED - 'Operation not permitted'
>
> Jul 30 17:53:07 localhost osafdtmd[20038]: ER DTM: LEAP svcs startup
> failed
>
> Jul 30 17:53:07 localhost osafdtmd[20038]: ER DTM: dtm_init failed
>
> Jul 30 17:53:07 localhost opensafd[20024]: ER Failed #012
> DESC:TRANSPORT
>
> Jul 30 17:53:07 localhost opensafd[20024]: ER Going for recovery
>
> Jul 30 17:53:07 localhost opensafd[20024]: ER Trying To RESPAWN
> /usr/lib/opensaf/clc-cli/osaf-transport attempt #1
>
> Jul 30 17:53:07 localhost opensafd[20024]: ER Sending SIGKILL to
> TRANSPORT,
> pid=20025
>
> Jul 30 17:53:23 localhost osafdtmd[20081]: Started
>
> Jul 30 17:53:23 localhost osafdtmd[20081]: Creation of real-time thread
'OSAF_TMR' FAILED - 'Operation not permitted'
>
> Jul 30 17:53:23 localhost osafdtmd[20081]: ER DTM: LEAP svcs startup
> failed
>
> Jul 30 17:53:23 localhost osafdtmd[20081]: ER DTM: dtm_init failed
>
> Jul 30 17:53:23 localhost opensafd[20024]: ER Could Not RESPAWN
> TRANSPORT
>
> Jul 30 17:53:23 localhost opensafd[20024]: ER Failed #012
> DESC:TRANSPORT
>
> Jul 30 17:53:23 localhost opensafd[20024]: ER Trying To RESPAWN
> /usr/lib/opensaf/clc-cli/osaf-transport attempt #2
>
> Jul 30 17:53:23 localhost opensafd[20024]: ER Sending SIGKILL to
> TRANSPORT,
> pid=20068
>
>
>
> Jul 30 17:53:39 localhost.localdomain systemd[1]: opensafd.service
failed.
>
> [root@localhost sbin]# journalctl -xe
>
> -- Defined-By: systemd
>
> -- Support:
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit opensafd.service has begun starting up.
>
> Jul 30 17:53:07 localhost.localdomain opensafd[20014]: Starting
> OpenSAF Services (Using TCP)
>
> Jul 30 17:53:07 localhost.localdomain osafdtmd[20038]: Started
>
> Jul 30 17:53:07 localhost.localdomain osafdtmd[20038]: Creation of
real-time thread 'OSAF_TMR' FAILED - 'Operation not permitted'
>
> Jul 30 17:53:07 localhost.localdomain osafdtmd[20038]: ER DTM: LEAP
> svcs startup failed
>
> Jul 30 17:53:07 localhost.localdomain osafdtmd[20038]: ER DTM:
> dtm_init failed
>
> Jul 30 17:53:07 localhost.localdomain opensafd[20024]: ER Failed
>
>
> DESC:TRANSPORT
>
> Jul 30 17:53:07 localhost.localdomain opensafd[20024]: ER Going for
> recovery
>
> Jul 30 17:53:07 localhost.localdomain opensafd[20024]: ER Trying To
> RESPAWN /usr/lib/opensaf/clc-cli/osaf-transport attempt #1
>
> Jul 30 17:53:07 localhost.localdomain opensafd[20024]: ER Sending
> SIGKILL to TRANSPORT, pid=20025
>
> Jul 30 17:53:23 localhost.localdomain osafdtmd[20081]: Started
>
> Jul 30 17:53:23 localhost.localdomain osafdtmd[20081]: Creation of
real-time thread 'OSAF_TMR' FAILED - 'Operation not permitted'
>
> Jul 30 17:53:23 localhost.localdomain osafdtmd[20081]: ER DTM: LEAP
> svcs startup failed
>
> Jul 30 17:53:23 localhost.localdomain osafdtmd[20081]: ER DTM:
> dtm_init failed
>
> Jul 30 17:53:23 localhost.localdomain opensafd[20024]: ER Could Not
> RESPAWN TRANSPORT
>
> Jul 30 17:53:23 localhost.localdomain opensafd[20024]: ER Failed
>
>
> DESC:TRANSPORT
>
> Jul 30 17:53:23 localhost.localdomain opensafd[20024]: ER Trying To
> RESPAWN /usr/lib/opensaf/clc-cli/osaf-transport attempt #2
>
> Jul 30 17:53:23 localhost.localdomain opensafd[20024]: ER Sending
> SIGKILL to TRANSPORT, pid=20068
>
> Jul 30 17:53:38 localhost.localdomain osafdtmd[20124]: Started
>
> Jul 30 17:53:38 localhost.localdomain osafdtmd[20124]: Creation of
real-time thread 'OSAF_TMR' FAILED - 'Operation not permitted'
>
> Jul 30 17:53:38 localhost.localdomain osafdtmd[20124]: ER DTM: LEAP
> svcs startup failed
>
> Jul 30 17:53:38 localhost.localdomain osafdtmd[20124]: ER DTM:
> dtm_init failed
>
> Jul 30 17:53:38 localhost.localdomain opensafd[20024]: ER Could Not
> RESPAWN TRANSPORT
>
> Jul 30 17:53:38 localhost.localdomain opensafd[20024]: ER Failed
>
>
> DESC:TRANSPORT
>
> Jul 30 17:53:38 localhost.localdomain opensafd[20024]: ER FAILED TO
> RESPAWN
>
> Jul 30 17:53:39 localhost.localdomain opensafd[19986]: Starting
> OpenSAF Services (Using TCP):[FAILED]
>
> Jul 30 17:53:39 localhost.localdomain opensafd[20531]: Starting
> OpenSAF failed
>
> Jul 30 17:53:39 localhost.localdomain polkitd[10008]: Unregistered
> Authentication Agent for unix-process:19981:2960433 (system bus name
> :1.213, object path /o
>
> Jul 30 17:53:39 localhost.localdomain systemd[1]: opensafd.service:
> control process exited, code=exited status=1
>
> Jul 30 17:53:39 localhost.localdomain systemd[1]: Failed to start
OpenSAF daemon.
>
> -- Subject: Unit opensafd.service has failed
>
> -- Defined-By: systemd
>
> -- Support:
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit opensafd.service has failed.
>
> --
>
> -- The result is failed.
>
> Jul 30 17:53:39 localhost.localdomain systemd[1]: Unit opensafd.service
entered failed state.
>
> Jul 30 17:53:39 localhost.localdomain systemd[1]: opensafd.service
failed.
>
> Jul 30 17:53:39 localhost.localdomain audit[1]: <audit-1130> pid=1
> uid=0
> auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
> msg='unit=opensafd co
>
> Jul 30 17:55:57 localhost.localdomain systemd[1]: Configuration file
/usr/lib/systemd/system/tog-pegasus.service is marked world-inaccessible.
> This has no eff
>
> [root@localhost sbin]#
>
>
>
>
>
> Setup/environment details:
>
>
>
> Linux: Fedora 22, Linux localhost.localdomain 4.0.4-301.fc22.i686 #1
> SMP Thu May 21 13:43:18 UTC 2015 i686 i686 i386 GNU/Linux
>
> Opensaf version: 4.6
>
> [root@localhost sbin]# systemctl --version
>
> systemd 219
>
> +PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP
> ++LIBCRYPTSETUP GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS
> ++KMOD +IDN
>
>
>
> Configured opensaf using: ./configure --disable-tipc --enable-ais-evt
> --disable-ais-lck --disable-ais-msg --disable-ais-smf
> --disable-ais-plm CFLAGS=-DRUNASROOT CFLAGS=-Wno-error
> CXXFLAGS=-Wno-error CPPFLAGS=-Wno-error
>
>
>
> What could be problem?
>
>
>
> Regards,
>
> Girish
>
> --
> .
> ----------------------------------------------------------------------
> -------- _______________________________________________
> 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
>
--
.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users