运维配置复杂服务的心态和技巧
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.
日志,开启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.
相关文章推荐
- Linux运维笔记----DHCP服务配置
- 鸡蛋学运维-7:mysql服务安装配置
- 鸡蛋学运维-5:nfs文件共享服务配置
- 鸡蛋学运维-6:nginx服务安装配置
- 运维笔记7(文件的归档与压缩,linux网络配置 更新:ssh服务配置文件,网络配置的四个方法
- Linux运维 第三阶段 (六)web相关概念httpd服务及https加密传输配置
- 运维日记008 - 配置缓存DNS服务(Cache Only DNS Server)
- 运维笔记43 使用saltstack配置完整线上服务(haproxy+keepalived,nginx+php+memcache,mysql主从)
- 我不要紧的编码组两人,至少两年的dotnet网咯服务开发经验,熟悉数据库orm, 系统管理人员:熟悉各linux发行版的系统管理和安全管理,linux常用数据库的配置与运维等,有代码托管服务管理经验优
- 运维笔记17 (文件共享(samb,cifs),ftp服务的配置和使用(vsftpd))
- 运维之红帽工程师篇-----2. 配置邮件服务器 、 数据库服务基础 、 管理表数据
- 20171107L09-01老男孩Linux运维实战培训-Lamp系列-Apache服务生产实战应用指南04-基于IP的虚拟主机实战配置
- kubernetes基础入门之-配置kubernetes skyDNS服务
- Jboss的production配置下去除集群(cluster)服务
- 在RHLE4中配置DHCP服务
- Spring Cloud 入门教程 - 搭建配置中心服务
- rsync服务之配置文件rsyncd.conf详细说明
- 通达OA2013完美平台补丁以及手机短信服务配置
- 阿里云服务器配置JDK+Tomcat+Mysql+WEB服务部署