Våra varumärken

Välkommen till Schneider Electrics webbplats

Välkommen till vår webbplats.
		
Hur kan vi hjälpa dig idag?
ENM8.2 installer fails on step "Backing up previous historical data" with error "data backup failed"

Issue:

When upgrading from an earlier version of Event Notification Module (ENM) to ENM 8.3.3, the installer fails at the step:

Backing up previous historical data

with the error:

data backup failed

Installer logs show:

 
SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell', see "Surface Area Configuration" in SQL Server Books Online.
 



Image
Product Line:

Power Monitoring Expert 7.2

Power Monitoring Expert 8.x

Power Monitoring Expert 9.x

Power Monitoring Expert 2020

Power Monitoring Expert 2021

Power Monitoring Expert 2022

Power Monitoring Expert 2023

Power Monitoring Expert 2024

Event Notification Module (ENM)

Environment:

ENM

SQL

Cause:

The SQL Server feature xp_cmdshell is disabled by default for security reasons. The ENM installer uses xp_cmdshell During the backup process, causing the failure when it is turned off.

Resolution:

Enable xp_cmdshell temporarily, rerun the installer, and then disable it again for security.

Steps to Enable xp_cmdshell

  1. Management Studio** with sysadmin privileges.
  2. Open a New Query window and run:

    -- Show advanced options
    EXEC sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE;
    GO
    -- Enable xp_cmdshell
    EXEC sp_configure 'xp_cmdshell', 1;
    GO
    RECONFIGURE;
    GO
    -- Hide advanced options
    EXEC sp_configure 'show advanced options', 0;
    GO
    RECONFIGURE;
    GO
  3. Close SQL Server Management Studio.
  4. Rerun the ENM installer.

Disable xp_cmdshell After Upgrade

For security best practice, disable xp_cmdshell After the upgrade completes:

-- Show advanced options
EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO

-- Disable xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 0;
GO
RECONFIGURE;
GO

-- Hide advanced options
EXEC sp_configure 'show advanced options', 0;
GO
RECONFIGURE;
GO


The following link will provide more information regarding ENM: FAQs

Recommendation:

If you are using an older version of PME, consider upgrading to the latest version for improved protocol support and security. For assistance with integration or upgrades, contact Schneider Electric Technical Support at: pmo-psup@se.com

Support details

Schneider Electric Sverige

Utforska mer
Produktfamilj
Utforska mer
Produktfamilj
  • Produktdokumentation
  • Ladda ner programvara
  • Produktväljare
  • Byt ut eller ersätt produkt
  • Hjälp- och kontaktcenter
  • Här köper du
  • Begär en offert
  • Hitta våra kontor
  • Shop.se.com/se/sv nedstängning
  • Schneider Electrics community
  • Karriär
  • Företagsprofil
  • Rapportera ett tjänstefel
  • Tillgänglighet
  • Pressrum
  • Investerare
  • EcoStruxure
  • Sök jobb
  • Blogg
  • Sekretesspolicy
  • Cookie-information
  • Användarvillkor
  • Change your cookie settings