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

Re: error that doesn't make sense to me

--On Sunday, January 02, 2005 7:46 PM -0700 Craig White <craigwhite@azapple.com> wrote:

On Sun, 2005-01-02 at 18:10 -0800, Quanah Gibson-Mount wrote:

You might try starting slapd with the -d -1 flag. That will cause it not to fork, and send out a ton of debugging info. I suggest catching stdout/stderr into a file when doing this so you can parse through it there, rather than having it stream by.

# /usr/local/libexec/slapd -d -1 2&>1 > /root/test.slapd.log

writes absolutely nothing to file...I feel really stupid. Is there a
trick to this?

Using "sh" as my shell, I generally do:

/usr/local/lib/slapd -d -1 -h "ldap:///"; 1>/tmp/out.1 2>/tmp/out.2

just to separate them.

You could end it with 2>&1


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin