CentOS 7 MariaDB 10 로그 파일 남기기 >> log 가 안생겨요 정보
CentOS 7 MariaDB 10 로그 파일 남기기 >> log 가 안생겨요본문
1. /var/log 하단에 mariadb 폴더를 생성하고 소유권은 mysql.mysql 을 설정
[root@localhost log]# systemctl start mariadb
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
이렇게 하면 에러가 표시되는데 log 에는 저장이 안되네요. 무엇을 빼먹은 걸까요?
공감
1
1
댓글 2개
@천사별 mariaDB 또는 mysql 이 정상 실행된후에 로그가 저장되는 방식이네요.
정보 감사합니다.
정보 감사합니다.