반응형
CentOS 기준
Error Messages
- Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
- Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables
위 에러 내용중 하나가 발생하면서, MariaDB 가 기동이 안된다면 다음과 같이 처리한다.
$ systemctl status mariadb
치면 위 메세지중 2번째 메세지를 표시하고 있을것이다.
이제 아래 내용들을 순서대로 처리하면 된다.
1. aria_log_control 파일을 유저경로로 옮기고 삭제.
$ cd /var/lib/mysql
$ mv aria_log_control ~/
2. ib_log 파일들도 동일하게 유저경로로 옮기고 삭제
$ cd /var/lib/mysql
$ mv ib_logfile0 ~/
$ mv ib_logfile1 ~/
$ cd ~/
$ rm ./ib_logfile0 ib_logfile1
3. 위와 같이 완료됬다면
$ systemctl enable mariadb
$ systemctl start mariadb
반응형
'DataBase > MariaDB' 카테고리의 다른 글
MariaDB : 계정생성/삭제/권한 (0) | 2021.10.05 |
---|---|
MariaDB/MySQL : 데이터베이스 백업 및 복원 (Dump) (0) | 2021.10.05 |
MariaDB : root 계정 비밀번호 설정 (0) | 2021.10.05 |
[패스워드 분실] 리눅스 기준 (0) | 2018.04.19 |
MariaDB - JSON 테이블 (0) | 2017.06.09 |
댓글