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

Re: [cobalt-users] REPOST: Qube2 - Log reset



On my Qube2 at least, I can't telnet in as admin.  I have to telnet in as
root.
Just my experience,
Scott

Jeff Lovell wrote:

> Jason Aspinall wrote:
> >
> > Anyone know how to reset the logs on a Qube2 so that the web stats
> > page on the admin site, are returned to zero?
> >
> > I figured downloading the logs locally would trip some flag into
> > restarting the logs again.. no such luck...
> >
> > The httpd log is getting mighty big now... and would really like to
> > reset it without telnetting in, deleting the log file, then rebooting
> > the Qube2.. there *has* to be an easier way...
>
> Telnet into the box as admin.
> su to root
> run: "/usr/admserv/cgi-bin/.cobalt/webUsage/parseReport.pl -l /dev/null
> -a /dev/null /usr/admserv/html/.cobalt/webUsage"
>
> This will reset the web stats page.  If you want to start fresh
> you need to remove the log file also.  Just do '>
> /var/log/httpd/home-acceess'.
> That will empty out the log file.
>
> No need to reboot, but you do need to telnet into the box.
>
> Jeff
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users

--
      Scott V. Blomquist
   Director of Network Services
Inner Traditions International Rochester, VT
  802-767-3174(v) 802-767-3726(f)
    scott@xxxxxxxxxxxxxxxxxxx