변군이글루

[리눅스] CentOS 6 에 rsyslog7 설치하기 본문

서___리눅스

[리눅스] CentOS 6 에 rsyslog7 설치하기

변군 변군이글루 2018.06.08 15:21

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  ]

 

0 Comments
댓글쓰기 폼