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
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
On this page
Help Center/ Server Migration Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Agent Installation and Startup/ How Do I Fix Error "SMS.0410: Failed to obtain NicName/IPAddress information of source server " When I Start the Agent on a Linux Server?

How Do I Fix Error "SMS.0410: Failed to obtain NicName/IPAddress information of source server " When I Start the Agent on a Linux Server?

Updated on 2024-03-15 GMT+08:00

Symptom

When you started the Agent on a Linux server, one of the following messages was displayed:

  • SMS.0410: Failed to obtain NicName information of source server.

  • SMS.0410: Failed to obtain IPAddress information of source server.

Possible Causes

If the source server has multiple NICs, the Agent may fail to obtain the default gateway information of the source server. As a result, the correct NIC name, MAC address, and IP address cannot be obtained.

Solutions

  • Solution for error "SMS.0410: Failed to obtain NicName information of source server"
    1. View the routing table.
      #route -n

      The following table describes the parameters.

      Parameter

      Description

      Destination

      The destination IP address. The gateway corresponding to 0.0.0.0 is the default gateway.

      Gateway

      The gateway IP address.

      Iface

      The network interface.

      As shown in the preceding figure, if the source server has multiple default gateways, the Agent may fail to obtain the default gateway information. In this case, proceed with the subsequent steps.

    2. Check the network configuration.
      #ifconfig -a

      NOTE:
      • The leftmost column lists NICs, such as ethx, ensx, and enp0sx.
      • inet is the IP address of a NIC.
      • ether is the MAC address of a NIC.
    3. Modify network.dev in the .../SMS-Agent/agent/config/g-property.cfg configuration file.

      You need to check which NIC of the source server is used for migration. Then set network.dev to the name of the NIC used for migration.

      For example, the NICs queried in step 2 include eth0, eth1, and eth2. The NIC used for migration is eth0, so set network.dev to eth0.

    4. After the configuration is complete, restart the Agent.
  • Solution for error "SMS.0410: Failed to obtain IPAddress information of source server"
    1. Check whether the network.dev parameter in the .../SMS-Agent/agent/config/g-property.cfg file has been configured.
      • If it has, go to step 2.
      • If it has not, go to 3.
    2. Check whether the NIC specified by network.dev is correct by referring to Solution for error 1.
      • If the configuration is incorrect, modify it and restart the Agent. If the problem persists, go to step 3.
      • If the configuration is correct, go to step 3.
    3. Modify network.macaddr and network.ipaddr in the .../SMS-Agent/agent/config/g-property.cfg configuration file.

      Set network.macaddr and network.ipaddr to the values of inet (IP address) and ether (MAC address) corresponding to the correct NIC queried in step 2 in handling error 1.

      network.macaddr = xx-xx-xx-xx-xx-xx (MAC address)

      network.ipaddr = xxx.xxx.xxx.xxx (IP address)

      CAUTION:

      Both the MAC address and IP address need to be configured. The six groups of characters in the MAC address must be separated by hyphens (-).

    4. After the configuration is complete, restart the Agent.

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