解決pgpool啟動報錯 ifup[/sbin/ip] doesn't have setuid bit

lonecloud發表於2018-11-27

1.問題出現:

  在centos7啟動pgpool伺服器報錯ifup[/sbin/ip] doesn't have setuid bit

 

2018-11-25 01:14:14: pid 38122: WARNING:  checking setuid bit of if_up_cmd
2018-11-25 01:14:14: pid 38122: DETAIL:  ifup[/sbin/ip] doesn't have setuid bit
2018-11-25 01:14:14: pid 38122: WARNING:  checking setuid bit of if_down_cmd
2018-11-25 01:14:14: pid 38122: DETAIL:  ifdown[/sbin/ip] doesn't have setuid bit
2018-11-25 01:14:14: pid 38122: WARNING:  checking setuid bit of arping command
2018-11-25 01:14:14: pid 38122: DETAIL:  arping[/usr/sbin/arping] doesn't have setuid bit

  

2. 問題分析,經過網上查詢發現該命令缺少沾滯位的關係:

3. 問題解決:

 

cd /sbin/

chmod +s ifup

chmod +s ip

chmod +s arping

4. 問題解決 

相關文章