cronolog in ErrorLog entry stays running after apachectl graceful

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

 



Hi,

I am running Apache 2.2.6 on Solaris 10.  I use the following line in httpd.conf to specify where errors should be sent.

ErrorLog "|/path/to/cronolog /data/logs/apache/%Y/%m/error-%Y-%m-%d.log"

This works fine, but whenever I run apachectl graceful, it starts a new instance of cronolog and also keeps the old one around, thus increasing the number of processes by one every time I run apachectl graceful.

Does anyone know what I'm doing wrong?  Below are the steps I use to build Apache (2.2.6) and cronolog (1.6.2).

Thanks,
Justin

   cd $BUILD_DIR/httpd-2.2.6/srclib/apr
   # See http://subversion.tigris.org/faq.html#tiger-apr-0.9.6
   # for reason I set this variable.
   ac_cv_func_poll=no
   export ac_cv_func_poll
   env CC=cc CFLAGS="-I$INST_DIR/include" \
       CPPFLAGS="-I$INST_DIR/include" \
       LDFLAGS="-L$INST_DIR/lib" \
       ./configure \
          --prefix=$INST_DIR/apache2.2 \
          --enable-static=no \
          --enable-shared=yes \
          --enable-proxy \
          --enable-proxy-connect \
          --enable-proxy-http \
          --enable-headers
   make
   make install

   cd $BUILD_DIR/httpd-2.2.6/srclib/apr-util
   ac_cv_func_poll=no
   export ac_cv_func_poll
   env CC=cc CFLAGS="-I$INST_DIR/include -I$INST_DIR/apache2.2/include" \
       LDFLAGS="-L$INST_DIR/lib -L$INST_DIR/apache2.2/lib" \
       ./configure \
          --prefix=$INST_DIR/apache2.2 \
          --enable-static=no \
          --enable-shared=yes \
          --with-ldap=ldap \
          --with-ldap-include=$INST_DIR/include \
          --with-ldap-lib=$INST_DIR/lib \
          --enable-ldap=shared \
          --enable-authnz-ldap=shared \
          --with-apr=$INST_DIR/apache2.2/bin/apr-1-config \
          --enable-proxy \
          --enable-proxy-connect \
          --enable-proxy-http \
          --enable-headers
   make
   make install

   cd $BUILD_DIR/httpd-2.2.6
   ac_cv_func_poll=no
   export ac_cv_func_poll
   env CC=cc \
       ./configure \
          --prefix=$INST_DIR/apache2.2 \
          --with-apr=$INST_DIR/apache2.2/bin/apr-1-config \
          --with-apr-util=$INST_DIR/apache2.2/bin/apu-1-config \
          --enable-static=no \
          --enable-shared=yes \
          --enable-so \
          --without-berkeley-db \
          --enable-dav=shared \
          --enable-dav-fs=shared \
          --enable-dav-lock=shared \
          --enable-ldap \
          --with-ldap=$INST_DIR \
          --with-ldap-include=$INST_DIR/include \
          --with-ldap-lib=$INST_DIR/lib \
          --enable-authnz-ldap \
          --enable-deflate \
          --with-z=$INST_DIR/lib \
          --enable-rewrite \
          --enable-proxy \
          --enable-proxy-connect \
          --enable-proxy-http \
          --enable-headers
   make
   make install

   cd $BUILD_DIR/cronolog-1.6.2
   env CC=cc ./configure --prefix=$INST_DIR
   make
   make install


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux