Re: {bb} logadm : /var/log/messages is empty

Josephine Tsikoudaki <[email protected]> Tue, 30 Jan 2007 12:32:50 +0200
Newsgroups gmane.network.bb4.general
Message-ID <[email protected]>
Hi

Since i don't want to disable the CHKMSGLEN I added the logger in 
crontab to be executed after logadm

I think it works! :-)

Thank you all for the help!

Josephine

Tom Schmidt wrote:
> 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.
>

-- 

Josephine Tsikoudaki
Systems Administrator
IT Systems & Security Dept.
Vivodi Telecommunications S.A.
62a Ethnikis Antistaseos Str.
GR-15231, Chalandri, Athens, Greece
Tel: +30 2117503866
Fax: +30 2117509581


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.