Last active
August 29, 2015 14:20
-
-
Save bsmile/196df0cc4e006e33c58c to your computer and use it in GitHub Desktop.
CentOS7.1 で zabbix-serverの起動が失敗する話とその解決方法 ref: http://qiita.com/_BSmile_/items/61932e45de5330190027
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@zabbix ~]# systemctl start zabbix-server | |
Job for zabbix-server.service failed. See 'systemctl status zabbix-server.service' and 'journalctl -xn' for details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@zabbix ~]# less /var/log/zabbix/zabbix_server.log | |
2976:20150430:183351.790 using configuration file: /etc/zabbix/zabbix_server.conf | |
2976:20150430:183351.792 current database version (mandatory/optional): 02040000/02040000 | |
2976:20150430:183351.792 required mandatory version: 02040000 | |
2976:20150430:183351.794 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10051] | |
2976:20150430:183351.794 Got signal [signal:11(SIGSEGV),reason:1,refaddr:0x18]. Crashing ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@zabbix ~]# rpm -Uvh https://kojipkgs.fedoraproject.org/packages/trousers/0.3.11.2/3.fc20/x86_64/trousers-0.3.11.2-3.fc20.x86_64.rpm | |
https://kojipkgs.fedoraproject.org/packages/trousers/0.3.11.2/3.fc20/x86_64/trousers-0.3.11.2-3.fc20.x86_64.rpm を取得中 | |
準備しています... ################################# [100%] | |
更新中 / インストール中... | |
1:trousers-0.3.11.2-3.fc20 ################################# [ 50%] | |
整理中 / 削除中... | |
2:trousers-0.3.11.2-3.el7 ################################# [100%] | |
[root@zabbix ~]# systemctl restart zabbix-server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#vi /etc/yum.repos.d/CentOS-media.repo | |
[centos-media] | |
name=CentOS Media Install | |
baseurl=file:///media/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=file:///media/RPM-GPG-KEY-redhat-release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@zabbix ~]# mount -o loop CentOS-7.0-1406-x86_64-DVD.iso /media/ | |
mount: /dev/loop0 is write-protected, mounting read-only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@zabbix ~]# yum downgrade gnutls-3.1.18-8.el7 gnutls-devel-3.1.18-8.el7 gnutls-dane-3.1.18-8.el7 gnutls-c++-3.1.18-8.el7 --enablerepo centos-media | |
読み込んだプラグイン:fastestmirror | |
centos-media | 3.6 kB 00:00:00 | |
(1/2): centos-media/group_gz | 157 kB 00:00:00 | |
(2/2): centos-media/primary_db | 2.7 MB 00:00:00 | |
Loading mirror speeds from cached hostfile | |
* base: ftp.tsukuba.wide.ad.jp | |
* extras: ftp.tsukuba.wide.ad.jp | |
* updates: ftp.tsukuba.wide.ad.jp | |
利用できるパッケージに一致しません: gnutls-devel-3.1.18-8.el7.x86_64 | |
利用できるパッケージに一致しません: gnutls-dane-3.1.18-8.el7.x86_64 | |
利用できるパッケージに一致しません: gnutls-c++-3.1.18-8.el7.x86_64 | |
依存性の解決をしています | |
--> トランザクションの確認を実行しています。 | |
---> パッケージ gnutls.x86_64 0:3.1.18-8.el7 を ダウングレード | |
---> パッケージ gnutls.x86_64 0:3.3.8-12.el7 を 削除 | |
--> 依存性解決を終了しました。 | |
依存性を解決しました | |
============================================================================================================================================= | |
Package アーキテクチャー バージョン リポジトリー 容量 | |
============================================================================================================================================= | |
ダウングレード中: | |
gnutls x86_64 3.1.18-8.el7 centos-media 609 k | |
トランザクションの要約 | |
============================================================================================================================================= | |
ダウングレード 1 パッケージ | |
総ダウンロード容量: 609 k | |
Is this ok [y/d/N]: y | |
Downloading packages: | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
インストール中 : gnutls-3.1.18-8.el7.x86_64 1/2 | |
整理中 : gnutls-3.3.8-12.el7.x86_64 2/2 | |
検証中 : gnutls-3.1.18-8.el7.x86_64 1/2 | |
検証中 : gnutls-3.3.8-12.el7.x86_64 2/2 | |
削除しました: | |
gnutls.x86_64 0:3.3.8-12.el7 | |
インストール: | |
gnutls.x86_64 0:3.1.18-8.el7 | |
完了しました! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@zabbix ~]# systemctl start zabbix-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment