Re: Multilog failing to rotate logfiles

Charles Cazabon <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Robert Fisher <[email protected]> wrote:
> >>
> >>/usr/local/bin/multilog t s10000000 /var/log/qmail

Uh-huh.  That /should/ give you 10 log files of about 10MB each.

> [root@ns qmail]# ls -lh
> ???? 738M
> -rwxr--r--    1 qmaill   nofiles       11M 11?? 20 23:58 
> @40000000419f5bfa2f617a7c.s
> -rwxr--r--    1 qmaill   nofiles       23M 11?? 21 15:50 
> @4000000041a03b4312b5351c.s
> -rwxr--r--    1 qmaill   nofiles       86K 11?? 21 23:58 
> @4000000041a0ad7a2bc6f66c.s
> -rwxr--r--    1 qmaill   nofiles       46M 11?? 22 11:33 
> @4000000041a14ff00cded29c.s
> -rwxr--r--    1 qmaill   nofiles      196K 11?? 22 23:32 
> @4000000041a1fefa1c8640f4.s
> -rwxr--r--    1 qmaill   nofiles       93M 11?? 23 23:47 
> @4000000041a3507a21a11ba4.s
> -rwxr--r--    1 qmaill   nofiles      187M 11?? 24 10:58 
> @4000000041a3eb1f16982824.s
> -rwxr--r--    1 qmaill   nofiles      260K 11?? 24 23:57 
> @4000000041a4a1fa2ea8d4f4.s
> -rwxr--r--    1 qmaill   nofiles      374M 11?? 25 11:03 
> @4000000041a53db22956e89c.s

... which isn't happening.  That leads me to believe that the above arguments
aren't yet in effect.  Did you restart the logging subservices after you
changed the service/log/run script?  Your changes to the log/run script don't
take effect until the logging subservice is restarted.

What does `ps wwwaux | grep multilog` show?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                              <[email protected]>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.