Help Center> Server Migration Service> FAQs> Agent Installation and Startup> How Do I Resolve Error "utf-8 codec can't decode byte 0xce in position0: invalid continuation byte" When I Start the Agent?
Updated on 2023-01-16 GMT+08:00

How Do I Resolve Error "utf-8 codec can't decode byte 0xce in position0: invalid continuation byte" When I Start the Agent?

Symptom

In Linux, after you ran ./startup.sh or bash startup.sh to start the Agent, the following message was displayed: "utf-8 codec can't decode byte 0xce in position0: invalid continuation byte."

Possible Causes

The character set of the source system is incorrect and is incompatible with SMS. As a result, the Agent could not be started.

Handling Method

  1. Log in to the source server.
  2. Set the character set.
    export LANG="en_US.UTF-8"
  3. Restart the Agent. If the problem persists, set the character set again.
    export LC_ALL="en_US.UTF-8"
    export LANG="en_US.UTF-8"

Impact Scope

Setting the character set affects only the current shell and applications in the shell. It does not affect your files or other applications.

Agent Installation and Startup FAQs

more