Hi,

Use OpenSAF 4.3, which has TCP as default.

/Neel.
On Monday 03 February 2014 01:12 AM, mostafa Mahmoud wrote:
> I tried to install the source code on centos 6 32 bit platform
> ./configure ;make
> then I got a lot of these errors I configured opensaf to work with tcp 
> instead of tipc
> onfigure OpenSAF to use MDS/TCP:
> - Go to /etc/opensaf
> - Edit nodeinit.conf.controller and remove line with nid_tipc
> - Edit nid.conf and set MDS_TRANSPORT=TCP
> - Edit dtmd.conf and change DTM_NODE_IP to the IP address of the local/self 
> node
> - Create a custom login file for OpenSAF:
> echo "export MDS_TRANSPORT=TCP" > /etc/profile.d/opensaf.sh
>
> this disable the failed to start due to tipc configuration but now
>
> when I try /etc/init.d/opensafd start
>   I take a long time and then give error just "failed"
> this what I get in the /var/log/messages
> Feb  2 23:02:53 localhost opensafd: Starting OpenSAF Services
> Feb  2 23:02:54 localhost osafdtmd[8473]: Started
> Feb  2 23:02:54 localhost osafrded[8491]: Started
> Feb  2 23:02:56 localhost osafrded[8491]: Peer not available => Active role
> Feb  2 23:02:56 localhost osaffmd[8508]: Started
> Feb  2 23:02:56 localhost osafimmd[8523]: Started
> Feb  2 23:02:56 localhost osafimmnd[8539]: Started
> Feb  2 23:02:56 localhost osafimmnd[8539]: Director Service is up
> Feb  2 23:02:56 localhost osafimmnd[8539]: SERVER STATE: IMM_SERVER_ANONYMOUS 
> --> IMM_SERVER_CLUSTER_WAITING
> Feb  2 23:02:56 localhost osafimmd[8523]: New IMMND process is on ACTIVE 
> Controller at 2010f
> Feb  2 23:02:56 localhost osafimmd[8523]: First IMMND on controller found at 
> 2010f this IMMD at 2010f.#012#012Cluster must be loading => designating this 
> IMMND as coordinator
> Feb  2 23:02:56 localhost osafimmnd[8539]: This IMMND is now the NEW Coord
> Feb  2 23:02:59 localhost osafimmnd[8539]: SERVER STATE: 
> IMM_SERVER_CLUSTER_WAITING --> IMM_SERVER_LOADING_PENDING
> Feb  2 23:02:59 localhost osafimmnd[8539]: SERVER STATE: 
> IMM_SERVER_LOADING_PENDING --> IMM_SERVER_LOADING_SERVER
> Feb  2 23:02:59 localhost osafimmd[8523]: Successfully announced loading. New 
> ruling epoch:1
> Feb  2 23:02:59 localhost osafimmnd[8539]: NODE STATE-> IMM_NODE_LOADING
> Feb  2 23:02:59 localhost immload: Load starting
> Feb  2 23:02:59 localhost immload: ***** Loading from XML file imm.xml at 
> /etc/opensaf *****
> Feb  2 23:02:59 localhost kernel: immload[8552]: segfault at 0 ip 00ba3300 sp 
> b77b1288 error 4 in libc-2.12.so[a6c000+191000]
> Feb  2 23:02:59 localhost abrt[8554]: Saved core dump of pid 8550 
> (/usr/local/lib/opensaf/immload) to 
> /var/spool/abrt/ccpp-2014-02-02-23:02:59-8550 (1024000 bytes)
> Feb  2 23:02:59 localhost abrtd: Directory 'ccpp-2014-02-02-23:02:59-8550' 
> creation detected
> Feb  2 23:02:59 localhost osafimmnd[8539]: LOADING APPARENTLY FAILED status:0
> Feb  2 23:02:59 localhost osafimmnd[8539]: IMMND - Periodic server job failed
> Feb  2 23:02:59 localhost osafimmnd[8539]: Failed, exiting...
> Feb  2 23:02:59 localhost osafimmd[8523]: ******** LOADING FAILED. File(s) 
> possibly missing, inaccessible or corrupt .. ? *********
> Feb  2 23:02:59 localhost opensafd[8461]: Failed #012 DESC:IMMND
> Feb  2 23:02:59 localhost opensafd[8461]: Going for recovery
> Feb  2 23:02:59 localhost opensafd[8461]: Trying To RESPAWN 
> /usr/local/lib/opensaf/clc-cli/osaf-immnd attempt #1
> Feb  2 23:02:59 localhost opensafd[8461]: Sending SIGKILL to IMMND, pid=8530
> Feb  2 23:02:59 localhost osafimmd[8523]: IMMND coordinator at 2010f 
> apparently crashed => electing new coord
> Feb  2 23:02:59 localhost osafimmd[8523]: Failed to find candidate for new 
> IMMND coordinator
> Feb  2 23:02:59 localhost osafimmd[8523]: Active IMMD has to restart the 
> IMMSv. All IMMNDs will restart
> Feb  2 23:02:59 localhost osafimmd[8523]: IMM RELOAD with NO persistent back 
> end => ensure cluster restart by IMMD exit at both SCs.
> Feb  2 23:02:59 localhost abrtd: Executable '/usr/local/lib/opensaf/immload' 
> doesn't belong to any package
> Feb  2 23:02:59 localhost abrtd: 'post-create' on 
> '/var/spool/abrt/ccpp-2014-02-02-23:02:59-8550' exited with 1
> Feb  2 23:02:59 localhost abrtd: Corrupted or bad directory 
> '/var/spool/abrt/ccpp-2014-02-02-23:02:59-8550', deleting
> Feb  2 23:03:14 localhost osafimmnd[8592]: Started
> Feb  2 23:11:14 localhost opensafd[8461]: Timed-out for response from IMMND
> Feb  2 23:11:14 localhost opensafd[8461]: Could Not RESPAWN IMMND
> Feb  2 23:11:14 localhost opensafd[8461]:
> Feb  2 23:11:14 localhost opensafd[8461]: Trying To RESPAWN 
> /usr/local/lib/opensaf/clc-cli/osaf-immnd attempt #2
> Feb  2 23:11:14 localhost opensafd[8461]: Sending SIGKILL to IMMND, pid=8585
> Feb  2 23:11:29 localhost osafimmnd[9203]: Started
> Feb  2 23:19:29 localhost opensafd[8461]: Timed-out for response from IMMND
> Feb  2 23:19:29 localhost opensafd[8461]: Could Not RESPAWN IMMND
>
>
>
>
>
> and this what I got when trying to ./configure ;make first time
>
>
> make[5]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safimm'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safimm'
> make[4]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safimm'
> Making all in saflog
> make[4]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog'
> Making all in include
> make[5]: Entering directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog/include'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog/include'
> Making all in saflogger
> make[5]: Entering directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog/saflogger'
> /bin/sh ../../../../libtool --tag=CC   --mode=link gcc -Wall 
> -fno-strict-aliasing -Werror -fPIC -g -O2 -ldl -lrt -lpthread  -o saflogger 
> saflogger-saf_logger.o saflogger-saf_error.o 
> ../../../../osaf/libs/core/libopensaf_core.la 
> ../../../../osaf/libs/saf/libSaLog/libSaLog.la
> gcc -Wall -fno-strict-aliasing -Werror -fPIC -g -O2 -o .libs/saflogger 
> saflogger-saf_logger.o saflogger-saf_error.o  -ldl -lrt -lpthread 
> ../../../../osaf/libs/core/.libs/libopensaf_core.so 
> ../../../../osaf/libs/saf/libSaLog/.libs/libSaLog.so  -Wl,--rpath 
> -Wl,/usr/local/lib
> creating saflogger
> make[5]: Leaving directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog/saflogger'
> make[5]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog'
> make[4]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/saflog'
> Making all in safntf
> make[4]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf'
> Making all in include
> make[5]: Entering directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf/include'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf/include'
> Making all in ntfsend
> make[5]: Entering directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf/ntfsend'
> /bin/sh ../../../../libtool --tag=CC   --mode=link gcc -Wall 
> -fno-strict-aliasing -Werror -fPIC -g -O2 -ldl -lrt -lpthread  -o ntfsend 
> ntfsend-ntfsend.o ../../../../osaf/libs/core/libopensaf_core.la 
> ../../../../osaf/libs/saf/libSaNtf/libSaNtf.la
> gcc -Wall -fno-strict-aliasing -Werror -fPIC -g -O2 -o .libs/ntfsend 
> ntfsend-ntfsend.o  -ldl -lrt -lpthread 
> ../../../../osaf/libs/core/.libs/libopensaf_core.so 
> ../../../../osaf/libs/saf/libSaNtf/.libs/libSaNtf.so  -Wl,--rpath 
> -Wl,/usr/local/lib
> creating ntfsend
> make[5]: Leaving directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf/ntfsend'
> Making all in ntfsubscribe
> make[5]: Entering directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf/ntfsubscribe'
> /bin/sh ../../../../libtool --tag=CC   --mode=link gcc -Wall 
> -fno-strict-aliasing -Werror -fPIC -g -O2 -ldl -lrt -lpthread  -o 
> ntfsubscribe ntfsubscribe-ntfsubscribe.o 
> ../../../../osaf/libs/core/libopensaf_core.la 
> ../../../../osaf/libs/saf/libSaNtf/libSaNtf.la
> gcc -Wall -fno-strict-aliasing -Werror -fPIC -g -O2 -o .libs/ntfsubscribe 
> ntfsubscribe-ntfsubscribe.o  -ldl -lrt -lpthread 
> ../../../../osaf/libs/core/.libs/libopensaf_core.so 
> ../../../../osaf/libs/saf/libSaNtf/.libs/libSaNtf.so  -Wl,--rpath 
> -Wl,/usr/local/lib
> creating ntfsubscribe
> make[5]: Leaving directory 
> `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf/ntfsubscribe'
> make[5]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf'
> make[4]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/safntf'
> Making all in rde
> make[4]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/rde'
> gcc -DHAVE_CONFIG_H -I. -I../../..  -DNCS_MTREE_PAT_STYLE_SUPPORTED=1 
> -DNCS_SAF=1 -DNCS_MDS=1 -DDTS_SIM_TEST_ENV=1 -DDTA_FLOW=1 
> -I../../../osaf/libs/saf/include -I../../../osaf/libs/core/include 
> -I../../../osaf/libs/core/leap/include -I../../../osaf/libs/core/mds/include 
> -I../../../osaf/libs/core/common/include  -I../../../osaf/libs/core/include  
> -Wall -fno-strict-aliasing -Werror -fPIC -g -O2 -MT rdegetrole-rde_get_role.o 
> -MD -MP -MF .deps/rdegetrole-rde_get_role.Tpo -c -o rdegetrole-rde_get_role.o 
> `test -f 'rde_get_role.c' || echo './'`rde_get_role.c
> mv -f .deps/rdegetrole-rde_get_role.Tpo .deps/rdegetrole-rde_get_role.Po
> /bin/sh ../../../libtool --tag=CC   --mode=link gcc -Wall 
> -fno-strict-aliasing -Werror -fPIC -g -O2 -ldl -lrt -lpthread  -o rdegetrole 
> rdegetrole-rde_get_role.o ../../../osaf/libs/core/libopensaf_core.la 
> ../../../osaf/libs/agents/infrastructure/rda/librda.la
> gcc -Wall -fno-strict-aliasing -Werror -fPIC -g -O2 -o .libs/rdegetrole 
> rdegetrole-rde_get_role.o  -ldl -lrt -lpthread 
> ../../../osaf/libs/core/.libs/libopensaf_core.so 
> ../../../osaf/libs/agents/infrastructure/rda/.libs/librda.so  -Wl,--rpath 
> -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib/opensaf
> creating rdegetrole
> make[4]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/rde'
> Making all in scripts
> make[4]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools/scripts'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools/scripts'
> make[4]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf/tools'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools'
> make[3]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf/tools'
> make[3]: Entering directory `/root/Desktop/opensaf-4.1.1/osaf'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf'
> make[2]: Leaving directory `/root/Desktop/opensaf-4.1.1/osaf'
> Making all in pkgconfig
> make[2]: Entering directory `/root/Desktop/opensaf-4.1.1/pkgconfig'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/root/Desktop/opensaf-4.1.1/pkgconfig'
> make[2]: Entering directory `/root/Desktop/opensaf-4.1.1'
> echo "/usr/local/lib/opensaf" > ./osaf/libs/opensaf-i686.conf
> make[2]: Leaving directory `/root/Desktop/opensaf-4.1.1'
> make[1]: Leaving directory `/root/Desktop/opensaf-4.1.1'
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Opensaf-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensaf-users


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to