报错
代码语言:javascript复制Loading IRCd configuration..
config error: /root/unrealircd/conf/unrealircd.conf:144: please change the the name and password of the default 'bobsmith' oper block
config error: /root/unrealircd/conf/unrealircd.conf:378: set::cloak-keys: (key 2) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
config error: /root/unrealircd/conf/unrealircd.conf:379: set::cloak-keys: (key 3) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
config error: /root/unrealircd/conf/unrealircd.conf:376: set::cloak-keys: All your 3 keys should be RANDOM, they should not be equal
config error: /root/unrealircd/conf/unrealircd.conf:386: set::kline-address must be an e-mail or an URL
config error: 5 errors encountered
config error: IRCd configuration failed to pass testing
分别为:
- 1.要求修改操作员角色的用户名和密码
- 2.cloak-keys 必须得相互不一样,并且由
a-zA-Z0-9
混合而成(且必须包含这三种字符形式,少任何一种都会提示不通过) - 3.kline-address 必须得是一个邮箱地址格式
根据定位,依次修改,顺便修改一下访问权限
代码语言:javascript复制[root@h104 unrealircd]# vim conf/unrealircd.conf
[root@h104 unrealircd]#
[root@h104 unrealircd]# diff conf/examples/example.conf conf/unrealircd.conf
60c60
< name "irc.foonet.com";
---
> name "h104.example.com";
128c128
< ip *@192.0.2.1;
---
> ip *@192.168.100.*;
144c144
< oper bobsmith {
---
> oper bob {
147c147
< password "test";
---
> password "bob";
378,379c378,381
< "and another one";
< "and another one";
---
> #"and another one";
> "asflkjweoQQWJQWLKSOSDLFnh234233450flakdfjnaf";
> "asflkjweawefwj2o32932nasdfajfAKFAOIF0flakdfjnaf";
> #"and another one";
386c388
< kline-address "set.this.to.email.address"; /* e-mail or URL shown when a user is banned */
---
> kline-address "yyghdfz@163.com"; /* e-mail or URL shown when a user is banned */
[root@h104 unrealircd]#