找回密码
 注册
查看: 3602|回复: 0

crm status -bash: crm: command not found

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2018-7-29 11:02:58 | 显示全部楼层 |阅读模式
crm status8 Y" {( |' _1 S% M5 r
-bash: crm: command not found
- A: g/ H0 a9 b3 ]- ^解决办法:
7 S; c3 D) P, E+ b, {9 e$ o/ A# x0 e$ g

! F' D  v) ^" e  K
- L7 c( b5 @2 P. z  w$ @" v

7 u/ w, ], |! g/ L7 x) n5 i: w
$ C. b. q3 @) V) J. X0 P
" [9 j( Y, g4 x

/ u+ u8 i. Z, B2 [( o# P9 `
cat network\:ha-clustering\:Stable.repo
* a) K/ }& j0 L3 [5 N[network_ha-clustering_Stable]) Q7 g& g/ `) P, O: d4 h
name=Stable High Availability/Clustering packages (CentOS_CentOS-7)
' k) ?7 _& D5 j! j- Wtype=rpm-md
/ Y& @" d6 n& z9 Z1 V9 kbaseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/! q# r/ n0 ^) I5 x2 V
gpgcheck=1* M! h' |! ~" p$ E% c# Q
gpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key) N2 `9 W" X: G: x
enabled=1
: T: u7 ^  X0 L8 \0 t7 i; Y

4 g$ N+ V0 }% l4 S9 Z5 J

5 Q. B) H/ ]& F% T3 R
修改配置文件:$ ^/ E. ], F+ q; G
  P: _. h8 Z3 ?+ G' \6 P' o1 x7 h

7 F) _9 F; _/ y- g vim /etc/yum.repos.d/network\:ha-clustering\:Stable.repo 6 p, {; O& Q0 l7 Z
name=Stable High Availability/Clustering packages (CentOS_CentOS-7)
( A: x1 {! w! B3 K! f$ stype=rpm-md
( x& d5 _9 N# Y8 m5 [baseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/7 A3 r1 }* l4 L8 @' D1 Z8 [
gpgcheck=0
& r0 y4 m, b1 Y; h; Fgpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
) E3 X& Q/ p. k; c# s) Nenabled=1
* |( M" A; M1 Q7 W

3 Q4 D7 D6 h. ]* m
$ _9 S. x. w' Byum clean all* v) ~8 ~' g4 g* c' {1 U
  |! r$ ]& X+ _! k+ }
yum install -y crmsh% }" t9 I4 f8 q& m4 L
7 l5 r+ }: f% i. X7 t$ e4 N4 `
. s5 x# u* z! d- Q5 k  X! \8 j
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:22 , Processed in 0.019207 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表