Questions tagged [patching]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
7k views

Oracle Database Server TNS Listener Remote Registration Vulnerability (CVE-2012-1675)

Some of our Internal DBs Oracle installed in Linux and Windows servers have been highlighted with the issue Oracle TNS Listener Remote Poisoning (CVE-2012-1675). This security alert addresses the ...
2 votes
1 answer
3k views

How am I supposed to update PostgreSQL on Windows, once installed, without manually installing new installers?

I have PostgreSQL 11.5 installed on Windows 10. It was installed with the EnterpriseDB installer, which is the only one which exists these days. If I go to https://www.postgresql.org/download/windows/...
1 vote
1 answer
3k views

SQL Server updates missing from WSUS

I don't use WSUS for SQL Server patching because we have so many different compatibility issues, requirements and downtime OLA's that it makes it impossible to deploy anything in this way - not sure ...
-2 votes
1 answer
1k views

What is the difference between CU-GDR and GDR?

There are 2 paths to patching SQL server. Either the SQL CU (cumulative) upgrade or GDR (critical) upgrade. CU includes functionality fixes and security fixes (https://support.microsoft.com/en-us/...
0 votes
1 answer
644 views

Oracle Patch 19.17 fails with: patch 34086870: Archive::Zip->writeToFileNamed returned 4

The current oracle patch 19.17 and OJVM was applied with opatch apply successfully with no errors. Patch 34468114: WINDOWS DATABASE BUNDLE PATCH 19.17.0.0.221018 Patch 34411846: OJVM RELEASE UPDATE ...
2 votes
1 answer
39 views

PostgreSQL: Update multiple data while using the binding variable

I create the new table and insert 10 records into the new table as below: userdb=> CREATE TABLE test_tbl(ID INT PRIMARY KEY, STR VARCHAR); CREATE TABLE userdb=> do $$ begin for r in 1..10 loop ...
1 vote
4 answers
721 views

SQL Server 2012 patching failure - The language of SQL Server instance MSSQLSERVER does not match the language expected by the SQL Server update

I've picked up the support for a SQL Server 2012 instance on a server at our German site and need to apply SQLServer2012SP4-KB4018073-x64-ENU. The patching is failing with the installer showing error ...
0 votes
2 answers
6k views

SQL Server Setup failure - Cached MSI files are missing

Trying to apply SQL Server 2008 SP4 to an old instance I now have to look after, but the installer is failing with TITLE: SQL Server Setup failure. SQL Server Setup has encountered the following error:...
0 votes
2 answers
17k views

On what basis do we decide whether to use GDR or CU?

I have installed sql server 2019 in Jan 2021. We are planning to patch the sqlserver and from this link there are 2 options: GDR CU https://learn.microsoft.com/en-us/sql/database-engine/install-...
5 votes
4 answers
3k views

Patching SQL Server 2016

Most of my SQL Servers are on 2016 SP2. The security group have identified that I need a later security update applied and as SP2 is out of support this year I planned to just patch it up to SP3. The ...
0 votes
0 answers
77 views

SSIS Database Always on AG and Patching

I am after clarification, when we patch a SQL Server Always on AG environment that has the SSIS database in the AG we remove the SSIS database, patch failover, patch and add the SSIS DB back into the ...
0 votes
1 answer
2k views

Using WSUS to Patch SQL Server

So, it's been a while since the discussions about patching changes to SQL Server by Microsoft in these links (WSUS for SQL server patching & https://www.brentozar.com/archive/2016/08/windows-...
0 votes
0 answers
14 views

Does SQL Server 2016 GDR 13.0.6419.1 include 13.0.6404.1 Hotfix? [duplicate]

I know the GDR updates include all the security updates, but does it include the hotfix updates too? Should I update the hotfix and then the GDR or can I update the GDR right away?
0 votes
0 answers
59 views

Cent OS update to postgresql13-contrib-13.9 causes error postgres_fdw.so undefined symbol: get_rel_all_updated_cols

I am running CentOS 7.9 and the latest OS updates caused and issue when updating the library postgresql13-contrib-13.9-1. After that update when attempting to create postgres_fdw or use an existing ...
1 vote
2 answers
5k views

Servicing Update for SQL Server 2019 RTM GDR (KB4517790) - Install error - 0x80070643

SQL Server is still working smoothly but I noticed that I have an alert on the Windows Update that says: Servicing Update for SQL Server 2019 RTM GDR (KB4517790) Install error - 0x80070643 I tried ...
0 votes
1 answer
591 views

Db2 Security Bulletins points to v11.5.8 fixpack that don't yet exists, is it?

I have found three security bulletins IT40893, IT40781, IT41338 that all as solution recommends: "Upgrade to DB2 Version 11.5.8 or higher", but I can't find Db2 fixpack v11.5.8 on official ...
2 votes
1 answer
597 views

Unable to Install SQL 2017 CU 28

I am in the process of upgrading our SQL 2017 servers to the current CU. I have ran across two systems that won't allow me to apply the update. In the SQL installer, I see below text when I click on ...
0 votes
1 answer
210 views

Whether the latest GDR from Microsoft includes all prior GDRs?

I am looking at patching SQL server using the latest GDR (KB 5014356) from here: https://learn.microsoft.com/en-us/sql/database-engine/install-windows/latest-updates-for-microsoft-sql-server?view=sql-...
2 votes
0 answers
22 views

What is the approach to handle failover and compatibility issues when patching FCI nodes?

I have FCI with 2 nodes. Following is steps to patch the nodes: Remove node from Possible owners Patch the inactive node Add the node to the Possible owners Failover to inactive node Leave it running ...
0 votes
0 answers
107 views

Process for upgrading MySQL Master-Slave to a new release series version

I have several MySQL servers that I want to upgrade from 5.7.31 to the most recent release series (5.7.36 I believe), but in one test I found that replication on one server set failed, and it required ...
2 votes
2 answers
2k views

Are SQL Security Updates Cumulative? Are the vulnerabilities corrected with one Security Update also covered by the next Security Update?

I recently patched SQL Servers that had SP3 and CU4 with the latest available Security Update. After CU4 there are 2 Security Updates available, one from 2020/02/11 and the other one from 2021/01/12. ...
0 votes
1 answer
306 views

How can i disable opatch job?

I have a docker 12.2 oracle db for localhoat dev. I don't care if it's patched regularly. I'm seeing constant errors In qopatch queries. I think its triggered by some batch job at startup and maybe at ...
0 votes
0 answers
264 views

MariaDB upgrade fails on replication slaves

I am having problems when a MariaDB replication slave wants to upgrade its tables after a server was patched. This happens consistently with any sort of OS patching. The system has several slave ...
0 votes
0 answers
97 views

What is the intended method for automatically/streamlinedly updating minor/patch PostgreSQL versions on Windows?

I currently run PostgreSQL 12.4 on Windows 10. Since the "BigSQL" distribution is no longer around, the only choice is to use the EnterpriseDB installer for the initial installation: https://...
2 votes
2 answers
1k views

SQL cluster update - Failover to un-patched node

So when updating a two node cluster, our procedure is this: Backup all databases. Failover all SQL cluster roles to Node A. Install the patches on Node B (passive). Restart Node B. Failover all SQL ...
4 votes
2 answers
4k views

Automate the patching of SQL Severs on Windows

We are getting approximately 50-100 lower environments SQL Servers newly build. We are assigned some basic task of SQL DBA which includes one as patching SQL Servers. How can this be achieved, ...
0 votes
1 answer
299 views

Installing Patches on MS SQL Server Tips [closed]

What is preventing Agent Service from starting after: Failing to install CU. Running a successful repair after disabling HIPS. Background: Installing CU's for Microsoft SQL Server I found I have an ...
0 votes
0 answers
204 views

Oracle 12cR2 - Upgrade Catalog Command Taking Too Much Time

I patched my database (Windows database bundle patch 12.2.0.1.201020 (31654782)). There are 6 instances on the server. After the patch, the UPGRADE CATALOG command I ran on RMAN for the first 5 ...
4 votes
4 answers
4k views

patching SQL Server with Availability Group and Secondary Replica

Scenario: SQL Server 2014 CU6. 1 AG with 2 databases (compatibility level 100). Failover Cluster with 3 nodes on Windows Server 2012 R2. Primary Availability Replica on node 1 and node 2. Secondary ...
9 votes
3 answers
20k views

How can I install the SQL Server PowerShell module on an offline machine?

I have some SQL Server machines that cannot connect to any external sites. I have been using PowerShell more and more when managing databases, so I definitely need this module to be installed so ...
0 votes
1 answer
5k views

Methods for automating SQL CU patching?

For reasons that are not mine to address, we are looking for alternatives to WSUS and SCCM to automate SQL CU patching (particularly on SQL 2017+) There are some neat Powershell solutions like this ...
2 votes
1 answer
2k views

Issue patching SQL Server 2016 to SP2 CU 15

Trying to update all our SQL 2016 servers to SP2 CU 15, but am running into: The version of SQL Server instance MSSQLSERVER does not match the version expected by the SQL Server update. The installed ...
0 votes
1 answer
331 views

Any issue encountered after implementing SQL Server 2017 CU22? [closed]

We all are aware of SQL Server 2019 CU7 issue (Microsoft recalled the patch). Now I am cautiously optimistic to apply SQL Server 2017 CU22. I wanted to reach out to the SQL Server Community to know if ...
0 votes
1 answer
817 views

Oracle 18c opatch util cleanup not working

System: [oracle@hostname:/opt/oraclegrid/18]$ uname -a SunOS hostname 5.11 11.4.24.75.2 sun4v sparc sun4v Database: Oracle 18c 18.10 (April 2020 patch), RacOneNode setup Opatch OPatch Version: 12.2....
0 votes
1 answer
237 views

SQl server 2008R2 Performance issue after SP3 update

We have recently applied SP3 KB2979597 and Security Update Patch KB4057113 on Sql server 2008R2 but after that our couple stored procedures runs slow, it's taking almost 4 to 5 hours, but normally it ...
4 votes
1 answer
2k views

How do I prevent my Windows Server from being automatically rebooted by SQL Server updates?

Some SQL Server updates have happened outside the maintenance window, which have caused the server to be rebooted. How can I stop this from happening again in future? Below is what I can see when ...
0 votes
1 answer
104 views

Is there a way to optimize the process of uninstalling and installing SSMS?

in terms of patching sql server 2016 to the latest cumulative patches, I found out that stopping the services helps avoiding lots of inconveniences, specially if there is log shipping and replication ...
-1 votes
1 answer
481 views

The best way to patch Oracle Rac One Node [closed]

what is the best way (best practice) to patch Oracle Rac One Node (2 nodes - node1 and node2, every node has own database home and GRID home = 4 homes)? Thank you System: Oracle Solaris 11 DB: ...
1 vote
2 answers
696 views

Properly determine SQL Server version and update level

I have some existing code which tries to read the current version of SQL Server that's installed for a particular instance name by using a WMI query. It checks the first dotted part of the VERSION (...
0 votes
0 answers
36 views

Cumulative Update 3 & 4 Caused Synchronous Commit Failures in Availability Groups

So this week I was patching our SQL Servers that host our availability groups. Never had an issue with them in the past, fairly standard process. I have two servers (call them SQL1 and SQL2) in the ...
0 votes
1 answer
97 views

Do we need to shutdown DB/Stop DB service before Windows server patching

Before patching Windows server, do we need to shut down any DB or stop DB service. If we need to shutdown a MongoDB on a node(Windows server) which is part of a replica set, what we need to before ...
0 votes
0 answers
611 views

Should I install all cumulative updates/service packs when doing a clean install of SQL Server 2016? 2019?

Going to set up a new database instance from scratch. Debating between SQL Server 2016 and 2019. I've never installed a service pack or cumulative update on previous instances, mostly because ...
4 votes
1 answer
13k views

Error installing SQL Server Database Engine Services Instance Features - The User Log directory in the registry is not valid

We have a SQL Server: Microsoft SQL Server 2017 (RTM-CU14-GDR) (KB4494352) - 14.0.3103.1 (X64) Mar 22 2019 22:33:11 Enterprise Edition (64-bit) on Windows Server 2016 Datacenter 10.0 (Build 14393:...
4 votes
1 answer
174 views

Why should I apply a CU for SP2 that was released after the release of SP3?

Checking SQL Server 2014 build versions to identify the right update for my server I got a little confused as what update to use. Did some research and found out I should Apply the latest Service Pack ...
5 votes
1 answer
464 views

SQL Server CUs vs SPs + CUs? [duplicate]

I recently applied the latest SQL Server CUs (Cumulative updates) for their current SPs (Service Packs) on our SQL Servers. I'm getting the sense that I actually really need to update all of them to ...
0 votes
1 answer
1k views

Windows Server and SQL Server updates and patching - and how to rollback (revert) if necessary

Say we have a server as SQL Server 2017 on Windows Server 2016, both have some pending updates recently Below few questions: What's the correct order of installing updates - first Windows, and then ...
5 votes
2 answers
673 views

Will one SQL instance work whilst the other 2 are patched?

My change request to patch 3 SQL instances on the same server was denied because of one instance - they say a server reboot is fine, but not a few hours downtime. Seeing as each instance is ...
3 votes
3 answers
2k views

SQL Server Always-On Availability Groups Patching

My SQL server farm has been neglected with patching OS level & SQL server level (because they are critical systems, outages are hard to come by). An option is to patch the secondary nodes of our ...
1 vote
0 answers
194 views

Has my repair fixed incomplete patching?

I am patching a SQL2008R2 Express Edition instance. On the first failed attempt, all seemed to be fine - SQL loaded, dbs online, @@VERSION returned the expected results, but errors were found during ...
0 votes
1 answer
3k views

SQL Cannot patch the latest CU4 for SQL 2014 SP3

I cannot patch the latest CU4 for SQL 2014 SP3. Checked "view installed program", 4500181 is already installed. but when I use "Select @@version" against my SQL instance, it still shows "12.0.6259.0"...