Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Host Security Service/ FAQs/ Protection/ Protection Interrupted

Protection Interrupted

Updated on 2025-01-07 GMT+08:00

Symptom

On the Asset Management > Servers & Quota page of HSS, the protection status of a server is Protection interrupted.

Figure 1 Protection interrupted

Solution

Hover the cursor over the question mark icon (?) next to the Protection Interrupted status. Check the cause of the interruption.

  • The server is stopped, the agent communication is abnormal, or the agent has been uninstalled.
    • The server is stopped.

      If a server is stopped properly, and no exceptions occur after the server is restarted, its protection status will automatically restore to Protected.

    • The agent communication is abnormal or the agent has been uninstalled.

      In the Agent Status column, check the agent status. If the agent status is Offline or Uninstalled, the agent is abnormal. Rectify the fault by referring to How Do I Fix an Abnormal Agent?.

  • No-load agent

    If the agent is restarted 12 times within 30 minutes due to excessive server memory usage or other reasons, the agent enters the no-load state on the current day and will be restored to normal the next day. In no-load state, all protection functions of the agent are disabled. You can only upgrade or uninstall the agent on the console. For details about the server memory occupied by the agent, see Peak Memory Usage.

    For details about how to manually restore the agent status, see Restoring the Agent to Normal from the Silent or No-load State.

  • Silent agent
    The agent enters the silent state due to the following reasons:
    • If the available memory of a server is less than 50 MB, the agent will enter the silent state in about 3 minutes. The agent becomes normal only if the available memory exceeds 250 MB.
    • If the agent is restarted 17 times within an hour due to excessive server memory usage or other reasons, the agent enters the silent state on the current day and will be restored to normal the next day. For details about the server memory occupied by the agent, see Peak Memory Usage.

    In silent state, all protection functions of the agent are disabled. You cannot upgrade or uninstall the agent on the console.

    For details about how to manually restore the agent status, see Restoring the Agent to Normal from the Silent or No-load State.

Restoring the Agent to Normal from the Silent or No-load State

If the agent is silent due to insufficient server memory, you are advised to expand the server memory to ensure that the available server memory is greater than 250 MB. Then, the agent will be automatically restored to the normal state.

If the agent is in no-load or silent state due to frequent agent restarts, you can wait until the agent is automatically restored the next day. You can also perform the following operations to manually restore the agent to the normal state.

NOTE:

If you have enabled the self-protection policy, disable it before performing the following operations. For details, see Disabling HSS Self-Protection.

  1. Modify the conf/framework.conf file in the agent installation directory and change the mode after the colon (:) of run_mode to normal.
  2. Perform the following operations to delete the file that records the number of restart times.
    • Linux: Run the rm -f /usr/local/hostguard/run/restart.conf command.
    • Windows: Find C:\Program Files\HostGuard\run\restart.conf and delete it.
  3. Perform the following operations to restart the agent.
    • Linux: Run the /etc/init.d/hostguard restart command.
    • Windows:
      • The agent version is 4.0.17 or earlier.
        1. Log in to the server as user administrator.
        2. Open the Windows Task Manager, choose Services.
        3. Right-click Hostwatch and choose Stop. After the status changes to Stopped, go to Step 4.
        4. Right-click Hostguard and choose Stop.
        5. Right-click Hostwatch and choose Start.

          After Hostwatch is started, Hostguard is automatically started.

      • The agent version is 4.0.18 or later.
        1. Log in to the server as user administrator.
        2. Open the command-line interface (CLI). Run the following commands in sequence to stop the service:

          sc control hostwatch 198

          sc control hostguard 198

          As shown in the Figure 2, the sp_state.conf file is not generated on the server with self-protection enabled.

          Figure 2 Stopping the service
        3. Open the Windows Task Manager, choose Services.
        4. Right-click Hostwatch and choose Start.

          After Hostwatch is started, Hostguard is automatically started.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback