변군이글루
[리눅스] CentOS 6 에 rsyslog7 설치하기 본문
CentOS 6 에 rsyslog7 설치하기
1. rsyslog7 설치 시 에러 발생
# yum install rsyslog7
Loaded plugins: fastestmirror, security
…
Resolving Dependencies
--> Running transaction check
---> Package rsyslog7.x86_64 0:7.4.10-7.el6 will be installed
--> Processing Dependency: libestr.so.0()(64bit) for package: rsyslog7-7.4.10-7.el6.x86_64
--> Running transaction check
---> Package libestr.x86_64 0:0.1.9-2.el6 will be installed
--> Processing Conflict: rsyslog7-7.4.10-7.el6.x86_64 conflicts rsyslog
--> Finished Dependency Resolution
Error: rsyslog7 conflicts with rsyslog-5.8.10-10.el6_6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles –nodigest
2. yum shell에서 rsyslog7 설치 및 rsyslog 삭제
# yum shell
Loaded plugins: fastestmirror, security
Setting up Yum Shell
> install rsyslog7
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: mirror.premi.st
…
> remove rsyslog
Setting up Remove Process
> run
--> Running transaction check
---> Package rsyslog.x86_64 0:5.8.10-10.el6_6 will be erased
---> Package rsyslog7.x86_64 0:7.4.10-7.el6 will be installed
--> Processing Dependency: libestr.so.0()(64bit) for package: rsyslog7-7.4.10-7.el6.x86_64
--> Running transaction check
---> Package libestr.x86_64 0:0.1.9-2.el6 will be installed
--> Finished Dependency Resolution
…
Downloading Packages:
(1/2): libestr-0.1.9-2.el6.x86_64.rpm | 19 kB 00:00
(2/2): rsyslog7-7.4.10-7.el6.x86_64.rpm | 1.8 MB 00:02
--------------------------------------------------------------------------------------------------------------
Total 486 kB/s | 1.8 MB 00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libestr-0.1.9-2.el6.x86_64
Installing : rsyslog7-7.4.10-7.el6.x86_64
warning: /etc/rsyslog.conf created as /etc/rsyslog.conf.rpmnew
Erasing : rsyslog-5.8.10-10.el6_6.x86_64
Verifying : libestr-0.1.9-2.el6.x86_64
Verifying : rsyslog7-7.4.10-7.el6.x86_64
Verifying : rsyslog-5.8.10-10.el6_6.x86_64
Removed:
rsyslog.x86_64 0:5.8.10-10.el6_6
Installed:
rsyslog7.x86_64 0:7.4.10-7.el6
Dependency Installed:
libestr.x86_64 0:0.1.9-2.el6
Finished Transaction
> quit
Leaving Shell
# rpm -qa | grep rsyslog
rsyslog7-7.4.10-7.el6.x86_64
# service rsyslog restart
시스템 로거 종료 중: [실패]
시스템 로거 시작 중: [ OK ]
'* 리눅스' 카테고리의 다른 글
[리눅스] CentOS 7에 오라클 자바 설치하기 (0) | 2018.06.25 |
---|---|
PHP 7.2 설치(업그레이드) [CentOS 7 / remi RPM repository] (0) | 2018.06.19 |
[리눅스] CentOS 6 에 rsyslog7 설치하기 (0) | 2018.06.08 |
[리눅스] CentOS7 bonding and team(teaming) (0) | 2018.05.23 |
[리눅스] 킥스타트로 설치 자동화하기 (0) | 2018.05.17 |
[리눅스] GRUB VGA Modes (0) | 2018.05.09 |