From: Yao Cheng LIANG
Sent: Wednesday, October 18, 2017 10:46 AM
To: [email protected]; [email protected]
Subject: RE: opensaf can't start on Ubuntu 16.04
Dear all,
Recently I would like to run Opensaf 4.6.0 on Ubuntu 16.04. The steps are as
below:
1. build Opensaf:
./configure --enable-tipc
Make&&make install
2. create opensaf group/user:
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
3. start opensaf:
/etc/init.d/opensafd restart
But opesafd can not be started. In /var/log/syslog, it says:
Oct 16 09:53:21 ubuntu kernel: [1106285.208544] Resetting bearer <eth:eno1>
Oct 16 09:53:21 ubuntu kernel: [1106285.208552] Disabling bearer <eth:eno1>
Oct 16 09:53:21 ubuntu kernel: [1106285.226675] Left network mode
Oct 16 09:53:21 ubuntu kernel: [1106285.294646] NET: Unregistered protocol
family 30
Oct 16 09:53:21 ubuntu kernel: [1106285.294695] tipc: Deactivated
Oct 16 09:53:21 ubuntu opensafd[181723]: Starting OpenSAF Services (Using
TIPC): *
Oct 16 09:53:21 ubuntu opensafd: Starting OpenSAF failed
Oct 16 09:53:21 ubuntu systemd[1]: opensafd.service: Control process exited,
code=exited status=1
Oct 16 09:53:21 ubuntu systemd[1]: Failed to start OpenSAF daemon.
Oct 16 09:53:21 ubuntu systemd[1]: opensafd.service: Unit entered failed
state.
Oct 16 09:53:21 ubuntu systemd[1]: opensafd.service: Failed with result
'exit-code'.
And there is not log file generated in /var/log/opensaf/.
Please someone give me some hints.
Thanks.
Ted
------------------------------------------------------------------------------
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