您的位置:首页 > 运维架构

运维配置复杂服务的心态和技巧

2017-12-20 14:13 204 查看
换个思路,为什么会这样
日志,开启debug模式
每一步的原理是什么,如果这一步没成功,那么就是整个配置的故障原因
直觉

举个例子
1.配置ldap client的时候
Why doesn't getent show OpenLdap users?
https://superuser.com/questions/292199/why-doesnt-getent-show-openldap-users
I started nslcd in debug mode: nslcd -d and saw in the statements that it was looking for objectclass posixAccount. All the entries in my LDAP were of type inetOrgPerson. I had to include the nis.schema in the slapd.conf file, and then add posixAccount as an auxiliary objectclass to each entry. Then, I could finally use getent to see accounts inside LDAP.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  运维方法
相关文章推荐