About this list Date view Thread view Subject view Author view Attachment view

From: Roderick A. Anderson (raanders_at_acm.org)
Date: Wed 07 Apr 2004 - 21:42:26 BST


On Tue, 6 Apr 2004, Herbert Poetzl wrote:

> hmm, probably your error log was accidentially
> removed, along with the copy of your scripts, so
> please resend them ...

Never attached them thought I'd get a chance to look at it sooner.

Here is the VSERVER.sh

#!/bin/sh
case $1 in
pre-start)
        /usr/bin/smbmount //backup/VSERVER /vservers/VSERVER/var/log/httpd
-o username=USERNAME,password=PASSWORD,port=445
        sleep 5
        ;;
post-start)
        ;;
pre-stop)
        ;;
post-stop)
        /usr/bin/smbumount /vservers/VSERVER/var/log/httpd
        ;;
*)
        echo $0 pre-start
        echo $0 pre-stop
        echo $0 post-start
        echo $0 post-stop
        ;;
esac

Here is the lines from httpd.conf

LogFormat "%{%Y-%m-%d}t\t%{%H:%M:%S}t\t%a\t%A\t%p\t%m\t%U\t%q\t%s\t%B\t%T\t%H\t%V\t%{User-agent}i\t%{Cookie}i\t%{Referer}i" W3CExtended

CustomLog "|/usr/sbin/rotatelogs /var/logs/httpd/ex%y%m%d.log 86400 -480 " W3CExtended

And here is the error_log
   Or so I thought. It appears it got 'lost'. Basically is said it could
not create the file. I'm now wondering if I missread the documentation
for rotatelogs or it doesn't work the way I understood it would. As I
reread this stuff I realize I probably missunderstood the documentation
and I can't dynamically generate the filename.

Sorry for the wasted bandwidth.

Rod

-- 
    "Open Source Software - You usually get more than you pay for..."
     "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"

_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 07 Apr 2004 - 21:43:10 BST by hypermail 2.1.3