[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: for those who have no log in their logfile



ok, thanks a lot, I would have better ask you directly some help before
post on the list a message that could let someone believe you had made
a mistake in your file... and moreover that was a very dirty way to
solve my problem !

so please everybody forget my poor first message... and forgive my
newbiness :)

I'll add that your packages worked perfectly for me, very good and
useful work !
At least my post gave a place to say that... :)

thx again Jehan

François Beretti


Le lun 24/02/2003 à 17:01, Jehan PROCACCIA a écrit :
> looking at the source RPMS, redhat added a "openldap-2.1.2-syslog.patch" 
> that enable the log to DAEMON facility.
> I just use the following line in my syslog.conf :
> 
> daemon.*		/var/log/daemon.log
> -> all openldap logs goes in there !.
> 
> Francois Beretti wrote:
> > Hello all
> > 
> > I just solved a problem, and I think I am not the first person who
> > encountered it, but I never found any website or post that give the
> > solution I found
> > 
> > I have openldap 2.1.12 on a redhat 8.0 (i386 arch.)
> > I use the rpms provided by Jehan Procaccia on his website :
> > 
> > http://www.int-evry.fr/mci/user/procacci/SRPMS/
> > 
> > And I had no log in my logfile
> > But my slapd.conf has
> > loglevel 	-1
> > 
> > and my syslog.conf
> > local4.debug		/var/log/slapd.log
> > 
> > and this file is world-writable
> > 
> > I have recompiled the src rpm with --enable-syslog but that didn't
> > solved my pb
> > 
> > All that I had to do to solve it is to remove "-l DEAMON" in the line :
> > daemon ${slapd} -u ldap -l DAEMON $OPTIONS $SLAPD_OPTIONS
> > 
> > ==> daemon ${slapd} -u ldap $OPTIONS $SLAPD_OPTIONS
> > 
> > in the startup script /etc/rc.d/ini.d/ldap
> > 
> > 
> > François Beretti
> > 
> 
> 
> 
> -- 
> Jehan Procaccia 			| Ingenieur Systemes & Reseaux
> Institut National des Telecommunications| Tel : +33 (0) 160764436
> MCI, Moyens Communs Informatiques  | Mail: Jehan.Procaccia@int-evry.fr
> 9 rue Charles Fourier 91011 Evry France | Fax : +33 (0) 160764321