ExceptionAddress already in use: no further information: localhost/127.0.0.1:6379

Article directory Environment | Environment Background | Background Reproduction steps | Reproduction steps production news Consume news Error log | Error log Cause Analysis | Analysis Solution | Solution References | References Talk is cheap, show me the code. Environment | Environment k version OS windows 10 jdk 1.8 maven 3.6.0 spring boot 2.3.4.RELEASE redis […]

Deploying MySQL/ under Linux system and reporting error ERROR 1045 (28000): Access denied for user root@localhost (using password:

Brief question: When we learn to build a data warehouse management environment, we need to learn how to deploy and use MySQL under Linux, and master the application of MySQL under different operating systems. Steps: 1. Install mysql 1. Replace the default metadata database of hive with mysql The metadata database derby used is replaced […]

Solve ERROR oslo_messaging.rpc.server UnixHTTPConnectionPool(host=localhost, port=None) Read timed out

zun.common.exception.ZunException: Unexpected error: UnixHTTPConnectionPool(host=localhost’, port=None): Read timed out. (read timeout=60) 2023-09-13 17:26:08.649 8468 ERROR oslo_messaging.rpc.server [req-6ff62c08-fd25-4df6-8a81-d144956cbbd9 7db25ffff6314194822f5ada52569de5 ce76b778ff0b 453aa7b486f9934f694e default – -] Exception during message handling: zun.common.exception.ZunException: Unexpected error : UnixHTTPConnectionPool(host=’localhost’, port=None): Read timed out. (read timeout=60) 2023-09-13 17:26:08.649 8468 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2023-09-13 17:26:08.649 8468 ERROR oslo_messaging.rpc.server File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line […]

Tomcat reports error when publishing war: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardCo

Question Java8 code has been developed with IDEA before. The Tomcat that comes with IDEA runs without problems, and it runs with my local Tomcat without problems. However, when deployed to a remote server, the following error is reported. Tomcat reports the following error: Tomcat error: 05-Sep-2023 17:14:54.249 SEVERE [localhost-startStop-8] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed […]

Install CDH and execute scm_prepare_database.sh to report an error, java.sql.SQLException: Access denied for user ‘scm’@’localhost’

1. Install CDH and report an error CDH is Cloudera Distribution for The abbreviation of Hadoop is a set of enterprise-oriented open source Hadoop ecosystem solutions provided by Cloudera. CDH integrates various Hadoop-related open source projects and tools, and provides functions for centralized management and operation of these components. Install CDH and execute scm_prepare_database.sh to […]

Solve java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES) error

In the mybatis used in the springboot project, the following error has been reported when testing userMapper java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[mysql-connector-j-8.0.31.jar:8.0.31] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-j-8.0.31.jar:8.0.31] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:828) ~[mysql-connector-j-8.0.31.jar:8.0.31] at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:448) ~[mysql-connector-j-8.0.31.jar:8.0.31] at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:241) ~[mysql-connector-j-8.0.31.jar:8.0.31] at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-j-8.0.31.jar:8.0.31] at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[HikariCP-4.0.3.jar:na] at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364) ~[HikariCP-4.0.3.jar:na] at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206) ~[HikariCP-4.0.3.jar:na] at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476) […]

failed to req API:/nacos/v1/ns/instance after all servers([localhost:8848]) tried: ErrCode:400

Remember to test nacos once, the configuration is fine, but the startup fails, and the methods released by others are not easy to use SpirngBoot version: 2.3.9.RELEASE Spring Cloud version: Hoxton.SR10 Nacos version: 1.4.3 The exception is: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance after all servers([localhost:8848]) tried: ErrCode:400, ErrMsg:<html>< body><h1>Whitelabel Error Page</h1><p>This application has no explicit […]

(5) Jenkins deployment project error Caused by: java.io.FileNotFoundException: http://localhost:8080/manager/text/list

When Jenkins deploys the SpringBoot project, an error is reported: Caused by: java.io.FileNotFoundException: http://localhost:8080/manager/text/list ERROR: Build step failed with exception org.codehaus.cargo.container.ContainerException: Failed to redeploy [/var/lib/jenkins/workspace/zblog/code/target/zblog-1.0-SNAPSHOT.war] at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:188) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:81) at hudson.plugins.deploy.CargoContainerAdapter$DeployCallable.invoke(CargoContainerAdapter.java:167) at hudson.plugins.deploy.CargoContainerAdapter$DeployCallable.invoke(CargoContainerAdapter.java:136) at hudson.FilePath.act(FilePath.java:1076) at hudson.FilePath.act(FilePath.java:1059) at hudson.plugins.deploy.CargoContainerAdapter.redeployFile(CargoContainerAdapter.java:133) at hudson.plugins.deploy.PasswordProtectedAdapterCargo.redeployFile(PasswordProtectedAdapterCargo.java:95) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:113) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) […]

k8s cluster adding master node certificate etcd/peer is invalid: x509: certificate is valid for xxx,localhost,not x

Add a second master node prompt after k8s cluster initialization configuration error execution phase control-plane-prepare/certs: error creating PKI assets: failed to write or validate certificate “etcd-peer”: certificate etcd/peer is invalid: x509: certificate is valid for k8s-master01, localhost, not k8s-master02 [root@k8s-master02 pki]# kubeadm join 192.168.66.199:16443 –token abcdef.0123456789abcdef –discovery-token-ca-cert-hash sha256:e1ed0646db7a37d7c263e968aa9c0e9 bf3e068ac7fe208ea64c6c066f40b2f13 –control-plane [preflight] Running pre-flight checks [preflight] […]