Thursday 10 October 2024

BACKUP failed to complete the command BACKUP LOG DBname. Check the backup application log for detailed messages.

 Environment:

Taking SQL server 2016 Database backup through DPM Server 2016, The full backup and the consistency check was completing successfully but the differential backup was getting fail.

The backup was getting fail with the following error in DPM server.

Error:

Execution of SQL command failed for SQL Server 2016 database servername\databasename with the reason: . (ID 30173 Details: internal error code 0x80990D18)

Was getting the following error in the event viewer of the machine in which the SQL server was installed

Error:

BACKUP failed to complete the command BACKUP LOG ReportServer. Check the backup application log for detailed messages. 

Solution:

Change the Recovery model from Simple to Full, as mentioned below. 

On the SQL Server Database machine, open SQL server management studio, Extend Databases node--->right click on the effected database and select properties--->click on Options----> change the Recovery model to Full and click on OK

Saturday 21 September 2024

How to collect logs of windows failover cluster

 

The following single line command will Creates a log file for all nodes, for last 2 hours, will use local time and save in the c:\temp folder with the names of all cluster nodes in a failover cluster.


Get-clusterlog -uselocaltime -timeSpan 2 -Destination "c:\temp"

Tuesday 27 August 2024

The VHD containing the replica or one of it's snapshots could not be mounted or unmounted. (ID 40002)

Issue: 

The VHD containing the replica or one of its snapshots could not be mounted or unmounted. (ID 40002)


Environment:

the backup was configured in DPM 2016 of a VM in Windows 2016, Failover cluster, which was failing with above error. the only change due to which this issue started was the Hyper-V physical server was rebooted.

Solution:

Remove and Re-Add the VM in protection group, the issue was resolved. 


Wednesday 21 August 2024

SCOM warning: Failed accessing windows event logs

 In SCOM 2019 was getting the following warning for few servers.

"Failed accessing windows event logs"

Resolution:

  1. Using Services Console:

    • Press Windows + R to open the Run dialog.
    • Type services.msc and press Enter.
    • In the Services window, find Microsoft Monitoring Agent.
    • Right-click on it and select Restart.

Tuesday 2 July 2024

How to display video on Barco wall in VLC from NGS device

First note the IP of NGS device of which you want to display the video on Barco wall.

Type the IP and access in web browser as below.

https://192.168.12.12

select settings tab and then select Encoder settings and go down to "HDMI in" and there is steam 0 and stream 1, select the concern stream and right click on rtsp and select copy link.

Now open the VLC tool on the barco wall. From Media menu select Open network steam and past that copied URL. i.e it will be like "unsafe;rtsp://192.168.12.12/HDMIIn/v2dstream0" 

Delete the unsafe; from the above URL and hit enter.

Now the video should be displayed in the VLC in barco wall. 

Wednesday 29 May 2024

How to install SCCM client manually on windows machine


To install SCCM agent on client windows machine, first download the source file to the windows machine on which you want to install the agent. place it in a folder, go to that path in command prompt and run the following command. 


ccmsetup.exe /mp:sccm.abc.com SMSSITECODE=101 SMSMP=sccm.abc.com FSP=sccm.abc.com DNSSUFFIX=abc.com

ccmsetup.exe /mp:NameOfManagementPoint SMSSITECODE=101 SMSMP=NameOfManagementPoint FSP=FallbackStatusPoint DNSSUFFIX=DomainName




Thursday 18 April 2024

Disable the First things First popup in office 2013

To disable the following message in office 2013. You may do the following registry changes.


[Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Registration]
“AcceptAllEulas”=dword:00000001


 



To disable the following message in office 2013. You may do the following registry changes.



[Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\General]
“OptInDisable”=dword:00000001