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
- Log in to the source server.
- Set the character set.export LANG="en_US.UTF-8"
- 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.
Parent topic: Agent Installation and Startup
- Symptom
- Possible Causes
- Handling Method
- Impact Scope