Friday, April 3, 2020

SCCM Client Agent Installation Error : 'Unable to connect to WMI on remote machine "Machine.mydomain.com", error = 0x800706ba.'

Issue:
Sometimes we encounter the below given error in the CCM.log, while installing the SCCM client agent using the Client Push method:


The error code 0x800706ba translates to 'RPC Server is unavailable'


Probing:

Generally, this situation should not arise if we have the following Inbound and Outbound Ports are open on the Windows Firewall:

Inbound Firewall Ports
Outbound Firewall Ports
I also tried to enable the ports using the predefined set of ports for required services but that also didn't work.



In my case, even when I had the above mentioned Inbound and Outbound ports already open on the firewall, I was still getting the error '---> Unable to connect to WMI on remote machine "Client1.Lab.mtayal.com", error = 0x800706ba'

To rule out any possibility I also tried to connect to the Client1's WMI remotely from the SCCM site server but still got the same error:


Solution:

To find the correct port that would make it work I manually enabled all the ports using the RPC Service on the client machine. And voila !! I could connect to the WMI on the client machine remotely.
I knew it's not recommended to leave all the RPC ports open on the client machine but also suspected that it could be more than one RPC ports that made it work.

To narrow down to the correct port/ports, I started disabling each RPC port and check the connection from the SCCM Server and finally concluded that it's the 'Remote Scheduled Task Management (RPC)' port which is making the difference.



As soon as the port was enabled a connection could be established and client installation could be completed. 

Hope it helps!!

Friday, January 12, 2018

Content Download Issue : 'CTM Job Suspended' -- 'Calling back with empty distribution point list'

Issue:

Today I stuck for a while during the Application Deployment to an user collection. Used all the default settings for the deployment. It almost worked until I saw an error in the contenttransfermanager.log:



Checked the locationservices.log and found the following entry in the log:
    calling back with empty distribution points list


Probing:

It was kind of surprise as many other deployment in past have worked without any issue.
While probing came across this small setting that could have been missed while creating the Deployment Type:


Deployment Option was left with the highlighted settings and that led to the above errors in contenttransfermanager.log and locationservices.log.

Solution:

Click on the drop drown option and select 'Download content from distribution point and run locally' :


Went back on the client and re-initiated the deployment and everything went well and the required application got installed without any further problems.





Wednesday, January 3, 2018

SQL Server Error while installing SCCM 2012/Current Branch Site

Issue: 


When we run the setup for the installation of SCCM 2012/Current Branch, Primary/Central Site we get the following error message in the Configmgrsetup.log



Cause:


This happens because the name of the Windows Server with the SQL Server instance installed was renamed before starting the installation of SCCM Site Installation.


Solution:


Open the SQL Management Studio on the SQL Server and login with the required credentials.
Run the following stored procedures to check the current name of the server in sys.servers of the SQL Servers.

Exec SP_Helpservers;
Go

If you find the old server name as a result of the above query then run the following procedures to first delete it from sys.servers and then update it with the current name.

Exec sp_dropserver <Old name>; (For default instance)
Go
Exec sp_addserver <New Name> ; (For default instance)
Go
                                           OR

Exec sp_dropserver <old name\instance name>; (for Named Instance)
Go
Exec sp_addserver <New Name\Instance name>;  (for Named Instance)
Go

After renaming the server name in sys.servers of the SQL servers run the following query to check if the name is changed or not

Select @@ServerName;

It will return the current name of the Server.


 Now restart the Instance of the SQL from the SQL Configuration Manager and reboot the server.

Once the server is up and running after the reboot run the  configmgr setup. The setup will first run to uninstall the Site components that  got installed in the last failed attempt.

After the Uninstall setup is finished run the configmgr setup once again to start the Site installation. This time the same error should not come up during the setup SQL Database step of the Site installation process. 

Sunday, February 19, 2017

Error Code - 503 'Service Unavailable' - mpcontrol.log

Hello Everyone,

While working in my lab today I encountered one issue with the Management Point of a stand alone Primary Site. It's a fresh install of SCCM 2012 SP1 on Windows 2012 Server.

After installing the Management Point when I checked the mpcontrol.log I saw the below given error message in the log

Error: Http test request failed, status code is 503, 'Service Unavailable'. - mpcontrol.log




Tried to browse the Default Web Site but still got the same error message. It was sure that the problem is either with whole IIS installation or with some of its component.



Checked the Windows System Event logs and found a warning and  error related to the WAS (Windows Process Activation Service)
Warning:

Error:


Checked the WAS component of Web Server role and found that it's not installed. Installed the component  and restarted the Server but still could not get the Management Point working.

Did some research on Internet and found that it's an issue with the Application Pools. DefaultAppPool and SMS Management Point Pool were in Stopped state.
Started the Pools and checked the logs but still there is no improvement.


When checked back the pools found them in Stopped state again.



Explored Internet and found this useful Blog :http://mvolo.com/where-did-my-iis7-server-go-troubleshooting-503-quotservice-unavailablequot-errors/
The blog explains almost everything about the "Error 503 - Service Unavailable" in IIS.

Following the article looked into the Application Event Logs and found the below error events from IIS-W3SVC WP Source.



Searched for the modrqflt.dll (dll responsible for Request Filtering in IIS)  file but could not find it in the inetsrv folder
Then checked for the installed components through the Server Manager and found that the request filtering component of Web Server Role was not installed.


Installed the Request Filtering component, restarted the IIS and then the SMS Executive Service.



Finally MP completed a self check successfully.




Your opinions and views are more than Welcome. I will be very happy to have them added to the post !!

Thanks 
Manish Tayal