7 Replies Latest reply on Feb 1, 2013 3:01 AM by Jascha Sticher

    Operating System not defined

      Hey guys,

       

      I'm new, so don't be too hard on me

       

      I'm testing BladeLogic/Server Automation for it's patch management features. I've done some quite good things with patching windows already, so I moved on to RHES.

       

      Creating the catalogue an updating is went very good, but not I face the following problem:

       

      My host (RHEL ES 6) is not detected as such by the console. It's there, though, but only as host and not as a rhel host, so I can't deploy any patches on him with my patch jobs.

       

      Until now, all that stuff got right automatically, when the servers where added. Is there a manual way to define its operating system?

       

      Thanks in advance!

       

      So long,

      Jascha Sticher

        • 1. Re: Operating System not defined
          Juan-Luis Ortega

          when you add a host to BSA, the appserver connects to the rscd agent on the host and determines several things which are then being added to the DB. If a host shows up as "not determind", then usually this happens when the agent was down or not answering during the enrollment. From the servers workspace, right click on the host and click on "verify". this will tell you if the agent is alive. If not, then you need to troubleshoot the agent on the host and see if it is just not started or if it has any other problem. A good staring point is the rscd.log on your host.

          • 2. Re: Operating System not defined

            Thanks Juan Ortega, that brought me to the right direction.

             

            The client is not running on the server. Yet, when I try to start it via /opt/nsh/RSCD/bin/rscd, it throws an error:

             

            rscd: Unknown host: 'itxxxblct' 'itxxxblct'

             

            (the thing between the ' is the hostname of the server with missing os)

             

            Any idea what causes this? Am I using the right script to start the client?

            • 3. Re: Operating System not defined
              Juan-Luis Ortega

              Sascha,

              to start and stop the agent please use

               

              /etc/init.d/rscd stop | start

               

              then grab the rscd.log and see if its up an running.

               

              Can you please check this

               

              netstat -an | grep 4750

               

              will show if the agent is listening on it's defaul port

               

              and

              ps -eaf | grep rsc

               

              will show if the process is running

              • 4. Re: Operating System not defined

                I started the daemon the way you told me, and tested if it was running by both the netstat and the ps command - both showing nothing.

                 

                Checking the log files is quite a deal harder, because the only rscd.log I found was in /opt/nsh/RSCD/log/ and showed only one line:

                 

                22a2ce848fbf48f279f8 0000000001 01/24/13 10:27:39.227 INFO rscd -  itxxxxblct 6781 -1/-1 (Not_available): (Not_available): FIPS already enabled

                 

                and is dated back to 24th - so I guess it is not the right log file, but there is none in /var/log/ (that made me wonder, as far as I recall linux, every log file should go there...)

                • 5. Re: Operating System not defined
                  Juan-Luis Ortega

                  okay, then let's start the agent with debug output by executing :

                   

                  /opt/nsh/RSCD/bin/rscd -d

                   

                  please share the output you have on the shell afterwards

                  • 6. Re: Operating System not defined
                    Bill Robinson

                    if you get this message:

                     

                    rscd: Unknown host: 'itxxxblct' 'itxxxblct'

                     

                    it means the system cannot resolve itself.

                     

                    can you run:

                    ping itxxxblct

                    does that work?

                     

                    if not you need to put something in the /etc/hosts file on the target system so it can resolve itself.

                    • 7. Re: Operating System not defined

                      Bill Robinson schrieb:

                       

                      if you get this message:

                       

                      rscd: Unknown host: 'itxxxblct' 'itxxxblct'

                       

                      it means the system cannot resolve itself.

                       

                      can you run:

                      ping itxxxblct

                      does that work?

                       

                      if not you need to put something in the /etc/hosts file on the target system so it can resolve itself.

                       

                      That should have come to me -.-

                       

                      With another entry in /etc/hosts, the daemon starts like a charm.

                       

                      Same thing had to be done on the App-Server. Should've thought I didn't create a dns-record for that maschine.

                       

                      Thanks!