Going further, you could consider using rpm -Uvh while migrating to a new release for better handling/preserving changes made by the user and handling changes brought in by a new release. (You might also require writing changes for adapting the default opensaf.spec.in and/or also write adaptation rpm-scriptlets if required)
Mathi. ----- [email protected] wrote: > Yes Mathi. Problem is resolved now. > You are right. The problem was with the nodeinit.conf. > > As opensaf rpm uninstallation did not remove /etc/opensaf/ directory, > old nodeinit.conf was getting used which was causing the problem. > > Thanks for the help. > > Thanks, > Nivrutti > > > -----Original Message----- > From: Mathivanan Naickan Palanivelu [mailto:[email protected]] > > Sent: Wednesday, April 29, 2015 11:36 AM > To: Nivrutti Kale > Cc: [email protected] > Subject: Re: [users] Error in Starting opensaf 4.5.0 > > i.e. there is no nodeinit.conf (symlink) anymore. > If the problem still persists, please confirm whether you were running > 4.2 as root and > are now trying to run 4.5 as non-root? > > Mathi. > > ----- [email protected] wrote: > > > Hi, > > > > Upon relooking at the error, i suspect that the rootcause is with > the > > nodeinit.conf file! > > > > > > >> *Apr 28 10:36:11 hss-pl5-6-4 opensafd[6809]: ER Failed > > > #012Received > > > > invalid > > > > >> service name received : TRANSPORT sent service->serv_name : > > DTM* > > > > The contents of nodeinit.conf.controller has changed between 4.2 > and > > 4.5 > > The entry related to TIPC and TCP services have been merged to a > > common > > service name "TRANSPORT". > > > > Also, the nodeinit.conf symlink itself have been deprecated, and > the > > node type (controller or payload) is determined based on > > installation. > > > > (You are safer if you were making the changes to the actual conf > file > > i.e. nodeinit.conf.controller) > > > > So, please ensure you remove any symlinks and ensure you merge or > > overwrite the > > nodeinit.conf file with the one that is a part of opensaf-4.5.0 > > > > Note: Some other build options that you might be interested in are > > CFLAGS="-DRUNASROOT" (see the 00-README.conf). > > > > > > Cheers, > > Mathi. > > > > > > ----- [email protected] wrote: > > > > > Hi, > > > > > > I am using following gcc version. > > > > > > gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) > > > > > > Reboot did not help either. > > > > > > Thanks, > > > Nivrutti > > > > > > -----Original Message----- > > > From: Mathivanan Naickan Palanivelu > > [mailto:[email protected]] > > > > > > Sent: Tuesday, April 28, 2015 4:22 PM > > > To: [email protected] > > > Cc: [email protected]; Nivrutti Kale > > > Subject: Re: [users] Error in Starting opensaf 4.5.0 > > > > > > It's possible that for some reason those previous > > > processes were still running!? Perhaps did a reboot help!? ;-) > > > > > > > > Also, when I am trying to compile opensaf-4.5.1 and > > opensaf-4.6.0 > > > > there is a warning in the compilation which leads to failure of > > > > compilation as by default opensaf treats warnings as error. > > > > > > Which gcc version are you using, gcc >= 4.5? > > > Please share those errors and raise a ticket with the details. > > > > > > Mathi. > > > > > > ----- [email protected] wrote: > > > > > > > Hi, > > > > > > > > Then it looks like some stale configuration file/libraries / > > > binaries > > > > > > > > might be causing > > > > the problem . > > > > > > > > 1) Try to clean manually `/etc/opensaf/` /usr/lib/opensaf or > > > > > /usr/lib/opensaf > > > > > > > > 2) If you have done make install previously , do make > uninstall > > > > Try to clean manually `/etc/opensaf/` > > > /usr/local/lib/opensaf > > > > / > > > > > > > > 3) After `opensaf-4.5.0` rpm install > > > > do #ldconfig and check the new binaries are linking to new > > > > libraries > > > > > > > > Example : > > > > # ldd /usr/local/lib/opensaf/osafimmnd > > > > > > > > -AVM > > > > > > > > On 4/28/2015 11:27 AM, Nivrutti Kale wrote: > > > > > Hi Praveen/Mahesh, > > > > > > > > > > Thanks for the reply. > > > > > Let me put this in correct words. > > > > > I am trying to run opensaf-4.5.0. > > > > > > > > > > I followed following procedures to run > > > > > 1. Remove all old opensaf rpms. (rpm -e --nodeps `rpm > -qa|grep > > > > opensaf`) > > > > > 2. Install opensaf-4.5.0 rpms using rpm -ivh opensaf* > > > > > > > > > > I have followed the instructions for running opensaf, but the > > > error > > > > continues. > > > > > What can be wrong here? > > > > > > > > > > Also, when I am trying to compile opensaf-4.5.1 and > > opensaf-4.6.0 > > > > there is a warning in the compilation which leads to failure of > > > > compilation as by default opensaf treats warnings as error. > > > > > > > > > > Thanks, > > > > > Nivrutti > > > > > > > > > > -----Original Message----- > > > > > From: A V Mahesh [mailto:[email protected]] > > > > > Sent: Tuesday, April 28, 2015 11:19 AM > > > > > To: [email protected] > > > > > Subject: Re: [users] Error in Starting opensaf 4.5.0 > > > > > > > > > > Hi, > > > > > > > > > > On 4/28/2015 10:40 AM, Nivrutti Kale wrote: > > > > >> I wish to use the transport as TCP. > > > > >> Are there any changes in configuration from 4.2.2 to 4.5.0 > > > > version? > > > > > Considerable changes went in . > > > > > > > > > > -AVM > > > > > > > > > > On 4/28/2015 10:40 AM, Nivrutti Kale wrote: > > > > >> Hi All, > > > > >> > > > > >> I am trying to upgrade from opensaf 4.2.2 to opensaf 4.5.0. > > > > >> When I am trying to make the controller node up, following > > error > > > > logs are > > > > >> coming in /var/log/messages > > > > >> > > > > >> *Apr 28 10:35:56 hss-pl5-6-4 opensafd: Starting OpenSAF > > > Services* > > > > >> *Apr 28 10:35:56 hss-pl5-6-4 osafdtmd[6817]: Started* > > > > >> *Apr 28 10:35:56 hss-pl5-6-4 opensafd[6809]: ER Failed > > > #012Received > > > > invalid > > > > >> service name received : TRANSPORT sent service->serv_name : > > DTM* > > > > >> *Apr 28 10:35:56 hss-pl5-6-4 opensafd[6809]: ER Going for > > > > recovery* > > > > >> *Apr 28 10:35:56 hss-pl5-6-4 opensafd[6809]: ER Trying To > > > RESPAWN > > > > >> /usr/lib64/opensaf/clc-cli/osaf-dtm attempt #1* > > > > >> *Apr 28 10:35:56 hss-pl5-6-4 opensafd[6809]: ER Sending > > SIGKILL > > > to > > > > DTM, > > > > >> pid=6810* > > > > >> *Apr 28 10:36:11 hss-pl5-6-4 osafdtmd[6843]: Started* > > > > >> *Apr 28 10:36:11 hss-pl5-6-4 opensafd[6809]: ER Could Not > > > RESPAWN > > > > DTM* > > > > >> *Apr 28 10:36:11 hss-pl5-6-4 opensafd[6809]: ER Failed > > > #012Received > > > > invalid > > > > >> service name received : TRANSPORT sent service->serv_name : > > DTM* > > > > >> *Apr 28 10:36:11 hss-pl5-6-4 opensafd[6809]: ER Trying To > > > RESPAWN > > > > >> /usr/lib64/opensaf/clc-cli/osaf-dtm attempt #2* > > > > >> *Apr 28 10:36:11 hss-pl5-6-4 opensafd[6809]: ER Sending > > SIGKILL > > > to > > > > DTM, > > > > >> pid=6836* > > > > >> *Apr 28 10:36:26 hss-pl5-6-4 osafdtmd[6871]: Started* > > > > >> *Apr 28 10:36:26 hss-pl5-6-4 opensafd[6809]: ER Could Not > > > RESPAWN > > > > DTM* > > > > >> *Apr 28 10:36:26 hss-pl5-6-4 opensafd[6809]: ER Failed > > > #012Received > > > > invalid > > > > >> service name received : TRANSPORT sent service->serv_name : > > DTM* > > > > >> *Apr 28 10:36:26 hss-pl5-6-4 opensafd[6809]: ER FAILED TO > > > RESPAWN* > > > > >> *Apr 28 10:36:27 hss-pl5-6-4 opensafd: Starting OpenSAF > > failed* > > > > >> > > > > >> I have installed the opensaf using rpms build from the > > following > > > > configure > > > > >> option > > > > >> > > > > >> ./configure --disable-ais-plm > > > > >> > > > > >> I wish to use the transport as TCP. > > > > >> Are there any changes in configuration from 4.2.2 to 4.5.0 > > > > version? > > > > >> > > > > >> Thanks, > > > > >> Nivrutti > > > > >> > > > > > > > > > > ------------------------------------------------------------------------------ > > > > >> One dashboard for servers and applications across > > > > Physical-Virtual-Cloud > > > > >> Widest out-of-the-box monitoring support with 50+ > applications > > > > >> Performance metrics, stats and reports that give you > > Actionable > > > > Insights > > > > >> Deep dive visibility with transaction tracing using APM > > Insight. > > > > >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > > >> _______________________________________________ > > > > >> Opensaf-users mailing list > > > > >> [email protected] > > > > >> https://lists.sourceforge.net/lists/listinfo/opensaf-users > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > One dashboard for servers and applications across > > > > Physical-Virtual-Cloud > > > > > Widest out-of-the-box monitoring support with 50+ > applications > > > > > Performance metrics, stats and reports that give you > Actionable > > > > Insights > > > > > Deep dive visibility with transaction tracing using APM > > Insight. > > > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > > > _______________________________________________ > > > > > Opensaf-users mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/opensaf-users > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > One dashboard for servers and applications across > > > > Physical-Virtual-Cloud > > > > Widest out-of-the-box monitoring support with 50+ applications > > > > Performance metrics, stats and reports that give you Actionable > > > > Insights > > > > Deep dive visibility with transaction tracing using APM > Insight. > > > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > > _______________________________________________ > > > > Opensaf-users mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/opensaf-users > > > > > ------------------------------------------------------------------------------ > > One dashboard for servers and applications across > > Physical-Virtual-Cloud > > Widest out-of-the-box monitoring support with 50+ applications > > Performance metrics, stats and reports that give you Actionable > > Insights > > Deep dive visibility with transaction tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > _______________________________________________ > > Opensaf-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/opensaf-users > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across > Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable > Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Opensaf-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensaf-users ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
