Case description:
In the cluster of KingbaseES V8R3 cluster The error message “ERROR: md5 authentication failed; DETAIL: password does not match” often appears in the log. This case shows the cause of this error.
Applicable version:KingbaseES V8R3
Problem phenomenon:
cluster.log:
Analysis: 1, when the system user connects to port 9999 to execute “show pool_nodes”, you need to access the cluster kingbasecluster service and verify the user’s identity by cluster_password.
As shown below: cluster.log information
2. The password of the system user needs to be verified by the database sys_hba.conf (the password is encrypted by md5).
As shown below: cluster.log information
3. And port 9999 corresponds to the kingbasecluster service, which also needs to be verified by the md5 password in the cluster_password file.
4. If the database password and the password in cluster_password do not match, you cannot log in.
5. This error message does not affect the health detection of the background database by kingbasecluster.
Problem-solving:
When changing the database user system password in the cluster.
1、Modify the password of the system user in the database.
2, also need to modify the password of system user in cluster_password by sys_md5 tool.
3, you need to modify the password of system in the recovery.done and recovery.conf configuration files.
Read More:
- PM2 user defined Log, PID and other Log File Locations
- [Solve] Yinhe Qilin V10 System Error: Failed to download metadata for repo ‘ks10-adv-os‘
- Linux Nagios failed to log in to internal server error (Fixed)
- Initializing the Kubernetes master node ERROR: failed to pull image registry.aliyuncs.com/google_containers/coredns:v1.8.0
- [Solved] nova-compute.log Error: Instance failed block device setup
- [Solved] kubeadm join Cluster Error: error execution phase kubelet-start
- [Solved] Ubuntu Compile Rust Program Error: failed to run custom build command for openssl-sys v0.9.39
- Ansible Use yum module to install rpm Error: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate v
- Linux changing password enter new UNIX password: passwd: authentication token manipulation error
- [Solved] Ubuntu: su Switch root Error: Authentication failure
- [How to Solve] Too many authentication failures for xxxx_username
- Ubuntu: pdserving deployment output log.txt Error
- [Solved] zookeeper Cluster error: Error: JAVA_HOME is not set and java could not be found in PATH.
- Error in Linux running file: bash: $’\r’: command not found
- [Solved] Centos Mount Error: XFS: log mount mount/recovery failed : error -117
- Docker pull Command Error response from daemon: Head https://registry-1.docker.io/v2/library/
- Linux Command Error: Redis (error) NOAUTH Authentication required
- [Solved] sbatch: error: Batch script contains DOS line breaks (\r\n)
- Ubuntu shell Script syntax error near unexpected token `$‘{\r‘‘
- [Solved] Log Error: kernel: blk_update_request: I/O error, dev fd0, sector 0