Re: Getting slapd under CentOS 6 to log connections, etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Mar 30, 2019 at 07:55:17PM -0400, Robert Heller wrote:
> I am running the stock OpenLDAP-servers on a CentOS 6 system.  Everything is 
> working just fine, but I am trying to debug connections from a Ubuntu (18.04) 
> system and want to turn on logging in slapd, but although I can get slapd to 
> create a log file, it never actually writes anything.

I used misc debug flags for when I invoke slapd:

https://www.openldap.org/doc/admin24/runningslapd.html

Note these a bitflags, that can be combined:

  256 	(0x100 stats) 	stats log connections/operations/results
  512 	(0x200 stats2) 	stats log entries sent 

> 
> I have these two lines in  /etc/openldap/slapd.d/cn=config.ldif:
> 
> olcLogFile: /var/log/slapd/log
> olcLogLevel: conns BER config ACL stats none
> 
> And although /var/log/slapd/log gets created, nothing is ever written to it.
> 
> What am I missing?
> 
> -- 
> Robert Heller             -- 978-544-6933
> Deepwoods Software        -- Custom Software Services
> http://www.deepsoft.com/  -- Linux Administration Services
> heller@xxxxxxxxxxxx       -- Webhosting Services
>                                                                       
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos

-- 
Brian Reichert				<reichert@xxxxxxxxxxx>
BSD admin/developer at large	
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux