5 Replies Latest reply on Jul 26, 2019 3:10 PM by Bill Robinson

    STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema

    CHANDRASHEKHAR SAJJAN
      Share This:

      Hi Team,

       

      Patch analysis job is failing on Windows 2003 SP2 server and throwing error as "STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema" can you please assist someone on this.

      Server is having BL Agent with Ver 8.6.1 and even Reinstalled BL agent on that box.

        • 1. Re: STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema
          Rohit Sharma

          Hey Chandra,

           

          What is the version of your application server?

           

          Please note that 8.6 RSCD will not work with 8.9 Patch3 Application server. Targets have to be on the same version.

           

          Thanks,

          Rohit

          • 2. Re: STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema
            CHANDRASHEKHAR SAJJAN

            Thanks Rohit for your response. BL App Server is with Version: 8.9.02.329.

            • 3. Re: STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema
              Rohit Sharma

              Hello Chandra,

               

              Please do the following :

               

               

                1.  Login to target server.

                2.  Use the link/sbin

                4.  Open command promt as admin and cd to the sbin folder.

                5.  Run the following command :

               

              BLPatchCheck2.exe 0 -pc -pt 1  -o xml5  -s hf7b.xml shavlik_results.xml

               

              What do you see? If you see the same error, check with the Admins.

              • 4. Re: STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema
                Thomas Smyth

                OK so I had something similar.

                 

                2 Windows Server 2003 sp2 servers, same version of RSCD Agent, and servers built same day for same application.

                Taking BladeLogic aside the 2 servers are identical but then on Patch Analysis we have 1 fail, 1 success.

                 

                Started with the following error,

                STDERR: Error: 80070057 'class STXml::CXmlException at XmlDomManagement.cpp:167: Type 'SelectProductDetect' is not found in Schema.': parameter name: 'initializeParams'

                 

                Uninstalled BladeLogic and cleared down file/folders left behind, made sure user was removed, and then installed for fresh start.

                Re ran patch analysis, same error as above.

                 

                Compared servers

                Successful server installation path was C:\Program Files\BladeLogic\RSC

                Failing server was installed to C:\Program Files\BMC Software\BladeLogic\RSCD

                 

                Uninstalled again, and installed with Custom option to make sure installation folder structure matched, reran patch analysis, same error again.

                Reviewed server that failed and noticed something odd, it had the installed folder structure C:\Program Files\BladeLogic\RSC BUT after patch analysis it also had a C:\Program Files\BMC Software\BladeLogic\RSCD\ folder with 3 subfolders (sbin, tmp, transactions) and analysis_archive was writing to this 2ndary folder structure.

                 

                Uninstalled, cleared out the 2 folder structures, confirmed user also gone and then searched Registry for RSCD, carefully removing any reference to BladeLogic, deleting whole keys where applicable.

                 

                Installed agent once more and again custom install to match succeeding server file structure.   Ran patch analysis.   Failed.   Created 2ndary folder structure again.  

                 

                Now error is a match for yours,

                STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema.

                 

                Opened command prompt and ran BLPatchCheck2.exe 0 -pc -pt 1  -o xml5  -s hf7b.xml shavlik_results.xml from both sbin folders, getting identical result.

                 

                C:\Program Files\BladeLogic\RSC>cd sbin

                C:\Program Files\BladeLogic\RSC\sbin>BLPatchCheck2.exe 0 -pc -pt 1  -o xml5  -s hf7b.xml shavlik_results.xml

                Lock acquired successfully

                Init:<HFNetChkInitialize xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.shavlik.com/SchemaHFNetChk6Initia

                lize" xsi:schemaLocation="http://www.shavlik.com/SchemaHFNetChk6Initialize Initialize.xsd" > <Parameters> <Datasource Password="6D

                3E6E28B65842B18951FF1E2B3C9837">hf7b.xml</Datasource> <Trace Enable="1" Path=".\Trace.txt"/> </Parameters> </HFNetChkInitialize>

                Error: 80004005 Could not create a file stream on 'hf7b.xml': Error 2: The system cannot find the file specified.

                 

                C:\Program Files\BladeLogic\RSC\sbin>cd\

                 

                C:\>cd "Program Files\BMC Software\BladeLogic\RSCD\sbin\

                C:\Program Files\BMC Software\BladeLogic\RSCD\sbin>BLPatchCheck2.exe 0 -pc -pt 1  -o xml5  -s hf7b.xml shavlik_results.xml

                Lock acquired successfully

                Init:<HFNetChkInitialize xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.shavlik.com/SchemaHFNetChk6Initia

                lize" xsi:schemaLocation="http://www.shavlik.com/SchemaHFNetChk6Initialize Initialize.xsd" > <Parameters> <Datasource Password="6D

                3E6E28B65842B18951FF1E2B3C9837">hf7b.xml</Datasource> <Trace Enable="1" Path=".\Trace.txt"/> </Parameters> </HFNetChkInitialize>

                Error: 80004005 Could not create a file stream on 'hf7b.xml': Error 2: The system cannot find the file specified.

                 

                Uninstalled.    Same routine but searched through Registry for (1) BMC, (2) RSC, (3) RSCD, (4) SBIN, (5) BladeLogic.

                Reinstalled, changed path as before with Custom install.

                Checked registry for full path that I did not want, c:\Program Files\BMC Software\BladeLogic\RSCD\ and found nothing.

                Run Patch Analysis

                 

                Result:

                Same.   Failed.   Post Patch Analysis the other folder structure created yet again.

                 

                Next, trying another copy of MSI and installed again.

                 

                Now back to original error:

                STDERR: Error: 80070057 'class STXml::CXmlException at XmlDomManagement.cpp:167: Type 'SelectProductDetect' is not found in Schema.': parameter name: 'initializeParams'

                 

                Tried upgrade to 8.7.0.239 and ran analysis again but same error.

                 

                Not sure what to try next.

                 

                Also, any suggestion as why the install path is different on 2 servers with same OS and Agent version?

                 

                Tom

                • 5. Re: STDERR: Error: 80004005 Type 'SelectProductDetect' is not found in Schema
                  Bill Robinson
                  Also, any suggestion as why the install path is different on 2 servers with same OS and Agent version?

                  because the directory structure has changed over the years and as you see, you can customize the path if you want. i also don't think the directory structure has anything to do w/ your problems.

                   

                  what version is your appserver here ?