logrotate-3.5.2

  • Follow


I downloaded the binary version of logrotate-3.5.2 for Solaris 8 from
www.sunfreeware.com

I have installed it on a my Solaris 8 machine and set up the config file as
per the man pages and documents.

When I run the program I get the following error messages


 ##R##-gauss->[110] ##> cat /etc/logrotate.config
/var/log/messages {
rotate 15
}

##R##-gauss->[111] ##> !105
logrotate -d -s /etc/logrotate.status /etc/logrotate.config
reading config file /etc/logrotate.config
reading config info for /var/log/messages {
error: /etc/logrotate.config:1 unexpected text
error: /etc/logrotate.config:2 lines must begin with a keyword or a filename
(possibly in double quotes)
error: /etc/logrotate.config:3 lines must begin with a keyword or a filename
(possibly in double quotes)
error: /etc/logrotate.config:4 lines must begin with a keyword or a filename
(possibly in double quotes)

I like this program because it is part of RH Linux but does not do much good
if it does not work on Solaris.

Does anyone out their use logrotate?

What is causing the error in my config file?

Thanks

Robert


0
Reply Robert 6/24/2003 4:26:02 PM

On Tue, 24 Jun 2003 11:26:02 -0500, Robert McGraw wrote:

> I downloaded the binary version of logrotate-3.5.2 for Solaris 8 from
> www.sunfreeware.com
> 
> I have installed it on a my Solaris 8 machine and set up the config file as
> per the man pages and documents.
> 
> When I run the program I get the following error messages
> 
> 
>  ##R##-gauss->[110] ##> cat /etc/logrotate.config
> /var/log/messages {
> rotate 15
> }

Do you really have a /var/log/messages?

0
Reply Dave 6/24/2003 5:00:15 PM


Yes,

Thanks
Robert

"Dave Uhring" <daveuhring@yahoo.com> wrote in message
news:pan.2003.06.24.17.00.13.423978@yahoo.com...
> On Tue, 24 Jun 2003 11:26:02 -0500, Robert McGraw wrote:
>
> > I downloaded the binary version of logrotate-3.5.2 for Solaris 8 from
> > www.sunfreeware.com
> >
> > I have installed it on a my Solaris 8 machine and set up the config file
as
> > per the man pages and documents.
> >
> > When I run the program I get the following error messages
> >
> >
> >  ##R##-gauss->[110] ##> cat /etc/logrotate.config
> > /var/log/messages {
> > rotate 15
> > }
>
> Do you really have a /var/log/messages?
>


0
Reply Robert 6/24/2003 6:20:39 PM

On Tue, 24 Jun 2003 13:20:39 -0500, Robert McGraw wrote:

Top posting corrected.

> "Dave Uhring" <daveuhring@yahoo.com> wrote in message
> news:pan.2003.06.24.17.00.13.423978@yahoo.com...
>>
>> Do you really have a /var/log/messages?
>>
> 
> Yes,

That is unique; Solaris 8 and 9 both syslog messages in /var/adm.

0
Reply Dave 6/24/2003 6:49:57 PM

3 Replies
247 Views

(page loaded in 7.198 seconds)

Similiar Articles:













7/17/2012 12:23:16 PM


Reply: