当前位置:网站首页>(critical) chassis-frontend. c:122: Failed to get log directory, please set by --log-path

(critical) chassis-frontend. c:122: Failed to get log directory, please set by --log-path

2022-06-09 11:35:00 dhjywe

Atlas Report errors

2022-06-07 17:39:30: (critical) chassis-frontend.c:122: Failed to get log directory, please set by --log-path
2022-06-07 17:39:30: (message) Initiating shutdown, requested from mysql-proxy-cli.c:381
2022-06-07 17:39:30: (message) shutting down normally, exit code is: 1

1. When the above error is reported, first check your configuration file test.cnf There is wood and error
2. The startup command is written incorrectly , No mysql-proxy, It is mysql-proxyd

install altas

1. First, download Atlas

> wget https://github.com/Qihoo360/Atlas/releases/download/2.2.1/Atlas-2.2.1.el6.x86_64.rpm
> rpm -ivh Atlas-2.2.1.el6.x86_64.rpm

2. The configuration file

/usr/local/mysql-proxy/conf/test.cnf
 You can configure according to the prompt 

3. Start and shut down

/usr/local/mysql-proxy/bin/mysql-proxyd test start/stop

4. adopt Atlas Access to database

mysql -uusername( The configuration file is configured by itself ) -ppwd( Configuring the ) -h -P1234(altsa Default port )
原网站

版权声明
本文为[dhjywe]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206091046364506.html