2026. 4. 24. 17:30 오라클
RHEL9 환경에서 CRS autostart 되지 않는 문제
이슈 :
- RHEL 9.X 설치후 crs autostart 되지 않는 문제
root@rac1:/root# crsctl config crs
CRS-4622: Oracle High Availability Services autostart is enabled.
Autostart 설정되어 있어도 Reboot 하면 자동으로 올라오지 않는다.
원인 :
RHEL 9 부터 chkconfig rpm 이 기본설치 되지 않음
https://access.redhat.com/solutions/6837271
Bugzilla:2018112[1]
The chkconfig package is not installed by default in RHEL 9
The chkconfig package, which updates and queries runlevel information for system services, is not installed by default in RHEL 9.
To manage services, use the systemctl commands or install the chkconfig package manually.
For more information about systemd, see Introduction to systemd. For instructions on how to use the systemctl utility, see Managing system services with systemctl.
해결책 :
그냥 해당 버전에 맞는 chkconfig 받아서 설치해 주면 됨. (난 RHEL 9.7 이였음)
예시)
rpm -Uvh chkconfig-1.24-2.el9.x86_64.rpm
warning: chkconfig-1.24-2.el9.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:chkconfig-1.24-2.el9 ################################# [100%]
이때 /etc/init.d/ 디렉토리가 존재하여 설치가 안되는 경우가 있는데 안에 화일들을 백업후 디렉토리 지웠다가 설치후에 다시 복원시켜주면 된다.
root@rac1:/etc/init.d# ls -al
total 160
drwxr-xr-x. 2 root root 83 Apr 24 17:12 .
drwxr-xr-x. 10 root root 127 Sep 5 2024 ..
-rwxr-xr-x 1 root root 26097 Apr 24 15:55 init.ohasd
-rwxr-xr-x 1 root root 37326 Apr 24 15:56 init.tfa
-rwxr-xr-x 1 root root 8056 Apr 24 15:55 ohasd
-rw-r--r--. 1 root root 1161 Aug 15 2025 README
설치 후 Reboot 하여 Autostart 되는지 확인 !!!
관련 MOS 문서 :
Ohasd Process Does Not Start After Rebooting OS On RHEL 9 Due To Missing Chkconfig Package (문서 ID 3000775.1)