8 Replies Latest reply on Mar 13, 2012 6:23 AM by Rohit Nayyar

    RSCD Agent Installation Error.

    Shirish Katariya

      Hello All,

                             I am facing a big problem on Installion of an RSCD agent on a solaris box. actually i tried it many times, i have checked its ports(4750), its connections, and whenever i am doing installation, after successfully completion of agent installation, when i am going to grep the RSCD processes, by::

       

      ps -ef | grep rscd

       

      its showing me only,

       

      root@SDCDBSRV09 # ps -ef | grep rscd

       

          root 10377 10375   0 12:56:04 pts/5       0:00 grep rscd

       

      root@SDCDBSRV09 #

       

      it doesn't showing the rscd processe. and another thing i tried to decommission this server from my BladeLogic GUI, but again i am facing the problem into decommission of this affected server.

       

      many times i fired command :: "rm -rf bmc" from "cd /opt" and also i deleted "exports, secure, users & user.local" files from "usr/lib/rsc" and again tried to reinstall it, but did not get any success over here. so here i am also attaching the rscd_full script run's screenshot. please help me.

       

      Thanks & Regards,

      Shirish Katariya.

        • 1. Re: RSCD Agent Installation Error.
          Bill Robinson

          With the agent stopped, can you run a netstat –an | grep LISTEN

           

          Also, can you post the contents of your secure file ?

          • 2. RSCD Agent Installation Error.
            Shirish Katariya

            Hii Bill,

                             Thanks for reply, The Secure file contains:::

             

            rscd:port=4750:protocol=5:tls_mode=encryption_only:encryption=tls:

            default:port=4750:protocol=5:tls_mode=encryption_only:encryption=tls:

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            ~

            "secure" 2 lines, 137 characters

             

             

            And when i Executed "netstat –an | grep LISTEN" then i got::::

             

            root@SDCDBSRV09 # netstat -an | grep LISTEN

                  *.111                *.*                0      0 49152      0 LISTEN

                  *.32771              *.*                0      0 49152      0 LISTEN

                  *.32772              *.*                0      0 49152      0 LISTEN

                  *.4045               *.*                0      0 49152      0 LISTEN

            127.0.0.1.5987             *.*                0      0 49152      0 LISTEN

            127.0.0.1.898              *.*                0      0 49152      0 LISTEN

            127.0.0.1.32773            *.*                0      0 49152      0 LISTEN

            127.0.0.1.5988             *.*                0      0 49152      0 LISTEN

            127.0.0.1.32774            *.*                0      0 49152      0 LISTEN

                  *.7100               *.*                0      0 49152      0 LISTEN

                  *.4758               *.*                0      0 65928      0 LISTEN

                  *.5053               *.*                0      0 49152      0 LISTEN

                 *.4750               *.*                0      0 65928      0 LISTEN

                  *.32785              *.*                0      0 49152      0 LISTEN

                  *.32786              *.*                0      0 49152      0 LISTEN

                  *.6112               *.*                0      0 49152      0 LISTEN

                  *.23                 *.*                0      0 49152      0 LISTEN

                  *.21                 *.*                0      0 49152      0 LISTEN

                  *.79                 *.*                0      0 49152      0 LISTEN

                  *.513                *.*                0      0 49152      0 LISTEN

                  *.514                *.*                0      0 49152      0 LISTEN

                  *.6481               *.*                0      0 49152      0 LISTEN

                  *.22                 *.*                0      0 49152      0 LISTEN

                  *.25                 *.*                0      0 49152      0 LISTEN

            127.0.0.1.6010             *.*                0      0 65928      0 LISTEN

                  *.25                 *.*                0      0 49152      0 LISTEN

                  *.587                *.*                0      0 49152      0 LISTEN

                  *.32788              *.*                0      0 49152      0 LISTEN

                  *.32789              *.*                0      0 49152      0 LISTEN

            127.0.0.1.6788             *.*                0      0 49152      0 LISTEN

            127.0.0.1.6789             *.*                0      0 49152      0 LISTEN

            127.0.0.1.32797            *.*                0      0 49152      0 LISTEN

                  *.32807              *.*                0      0 49152      0 LISTEN

                  *.33273              *.*                0      0 49152      0 LISTEN

                  *.383                *.*                0      0 49152      0 LISTEN

            127.0.0.1.54651            *.*                0      0 49152      0 LISTEN

                  *.63619              *.*                0      0 49152      0 LISTEN

            127.0.0.1.63620            *.*                0      0 49152      0 LISTEN

            127.0.0.1.63621            *.*                0      0 49152      0 LISTEN

            127.0.0.1.54655            *.*                0      0 49152      0 LISTEN

            127.0.0.1.11164            *.*                0      0 49152      0 LISTEN

            127.0.0.1.11163            *.*                0      0 49152      0 LISTEN

            127.0.0.1.11162            *.*                0      0 49152      0 LISTEN

            127.0.0.1.54661            *.*                0      0 49152      0 LISTEN

            10.8.60.79.1521            *.*                0      0 49152      0 LISTEN

            127.0.0.1.33316            *.*                0      0 49152      0 LISTEN

            127.0.0.1.54670            *.*                0      0 49152      0 LISTEN

            127.0.0.1.54672            *.*                0      0 49152      0 LISTEN

            127.0.0.1.32899            *.*                0      0 49152      0 LISTEN

                  *.7100                            *.*                             0      0 49152      0 LISTEN

                  *.23                              *.*                             0      0 49152      0 LISTEN

                  *.21                              *.*                             0      0 49152      0 LISTEN

                  *.79                              *.*                             0      0 49152      0 LISTEN

                  *.513                             *.*                             0      0 49152      0 LISTEN

                  *.514                             *.*                             0      0 49152      0 LISTEN

                  *.22                              *.*                             0      0 49152      0 LISTEN

                  *.25                              *.*                             0      0 49152      0 LISTEN

            root@SDCDBSRV09 #

             

             

            These all stuff i did before, i tried all the ways for getting success over it, but m not succeed.

             

            Thanks,

            Shirish.

            • 3. RSCD Agent Installation Error.

              Something is using port 4750 on your box

              run the following as root

               

              for i in `ls /proc`
              do
              pfiles $i | grep AF_INET | grep 4750
              if [ $? -eq 0 ]
              then
              echo Process using is $i
              fi
              done

               

              this will give you process ids of all processes connected to 4750

              let us know if you get any such processes

              Also give the output of this,

              ps -ef | grep defunct

              1 of 1 people found this helpful
              • 4. RSCD Agent Installation Error.
                Shirish Katariya

                Hi Rohit,

                                   But here above in result of execution of that command, the port 4750 is showing the 0 LISTEN, so i was thinking that may be its not related to any other processes, isn't it??? please give me details of above 7 coulums of result, so that i will able to understand it in better way.

                 

                Thaks,

                Shirish.

                • 5. RSCD Agent Installation Error.

                  these are the column names for  netstat -an

                   

                     Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State

                   

                  In your case there is something listening on that port.

                  Execute the script i provided, that will tell us any process id using thsi port

                  Also the ps -ef | grep defunct will give us any defunct process, to see if the process using it is not in defunct state/zombie state

                   

                  see this for netstat or man netstat

                  http://www.unix.com/solaris/96542-netstat-meaning-output.html

                  • 6. RSCD Agent Installation Error.
                    Bill Robinson

                    *.4750               *.*                0      0 65928      0 LISTEN

                     

                     

                    this indicates something is bound to the port and listening.

                    • 7. RSCD Agent Installation Error.
                      Shirish Katariya

                      Hi Rohit,

                                         Here i am giving you the detailed output of script execution which was provided by you yesterday.

                      i also executed "ps -ef | grep defunct". the output is as shown below.

                       

                      root@SDCDBSRV09 # vi test.sh

                      "test.sh" [New file]

                      for i in `ls /proc`

                      do

                      pfiles $i | grep AF_INET | grep 4750

                      if [ $? -eq 0 ]

                      then

                      echo Process using is $i

                      fi

                      done

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      ~

                      "test.sh" [New file] 9 lines, 115 characters

                      root@SDCDBSRV09 #

                       

                      root@SDCDBSRV09 # sh test.sh

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 10312

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 10313

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 10580

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 10581

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 10801

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 10802

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 1212

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 1213

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 12898

                              sockname: AF_INET 0.0.0.0  port: 4750

                      Process using is 12899

                       

                      root@SDCDBSRV09 # ps -ef|grep defunct

                          root  1762  1761   0        - ?           0:00 <defunct>

                          root  4380  3995   0 16:31:30 pts/6       0:00 grep defunct

                          iccm  3847 21574   0        - ?           0:00 <defunct>

                          iccm  3846 21574   0        - ?           0:00 <defunct>

                      root@SDCDBSRV09 #

                       

                       

                      Now what should be next????

                       

                      Thanks & Regards,

                      Shirish Katariya.

                      • 8. RSCD Agent Installation Error.

                        for each of these processes :

                        Process using is 10312

                        10313

                        10580

                        10581

                        10801

                        10802

                        10802

                        1213

                        1212

                        12898

                        12899

                        Check what are these processes

                        ps -ef | grep <pid> can help

                        These are the processes somehow related to port 4750

                        Let me know, also you have got some defunct processes but these have nothing to do with RSCD and agent port 4750