Re: {bb} logadm : /var/log/messages is empty
Tom Schmidt <[email protected]> Mon, 29 Jan 2007 11:13:13 -0700
| Newsgroups | gmane.network.bb4.general |
|---|---|
| Organization | Micron Technology, Inc. |
| Message-ID | <[email protected]> |
You can also set the CHKMSGLEN variable to FALSE in the bbc/etc/bbdef-client.sh script to tell BB not to check the size of the messages file. The default value is TRUE. Tom Robert Sigillito wrote: > Josephine, > > The easiest way I found was to put the following line in root's crontab: > > /usr/bin/logger -p alert "Syslog Rotated" > > bob > > > Josephine Tsikoudaki wrote: > >> Hello, >> >> I am running bb client in Solaris 9 and i am using logadm to rotate >> log files >> The problem is that I get an alert every time the file is being >> rotated for as long as it is empty. >> >> I would like to avoid this alarms without disabling the msg check >> >> While searching in the bb archives I found a similar problem that was >> solved by adding a line to the newsyslog file, so every time the file >> rotates, a line is added and the file is not empty... >> >> Is there any way to do this (or something similar) using logadm? >> >> Thank you all in advance >> >> josephine >> >> -- >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= >> To unsubscribe from this list, or to subscribe to the bb-digest list >> send e-mail to mailto:[email protected] with unsubscribe bb -and/or- >> subscribe bb-digest in the BODY of the message. > > > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= > To unsubscribe from this list, or to subscribe to the bb-digest list > send e-mail to mailto:[email protected] with unsubscribe bb -and/or- > subscribe bb-digest in the BODY of the message. -- Tom L. Schmidt, Manager/SysAdmin Characterization Equipment Micron Technology, Inc. http://www.micron.com/ 8000 S. Federal Way P.O. Box 6 Mail Stop 01-371 Boise, Idaho USA 83707-0006 mailto:[email protected] http://peadmin.micron.com/ -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list, or to subscribe to the bb-digest list send e-mail to mailto:[email protected] with unsubscribe bb -and/or- subscribe bb-digest in the BODY of the message.