|
|
logrotate-3.5.2
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: logrotate for HP-UX 11.31 Itanium - comp.sys.hp.hpuxHello, has someone successfully compiled the tool logrotate on HP-UX 11.31 Itanium? This version is a little bit outdated and for PA-RISC only... comp.sys.hp.hpuxThis is page 0 of the comp.sys.hp.hpux group which contains 4415 articles. gmake error - comp.soft-sys.matlab... 11.31 Itanium - comp.sys.hp.hpux... com/downloads/3.7.8-6/ logrotate_3 ... solaris ... gcc errors on solaris 10 ... 12 C++ compiler 5.9 and g++ 3.4.3; gdb (GNU debugger) 6.2.1 ... swinstall with plain execute without analysis? - comp.sys.hp.hpux ...gmake error - comp.soft-sys.matlab I am trying to run a simulink model and I receive the ... downloads/3.7.8-6/ logrotate_3.7.8.orig.tar.gz> Without ... at)lapp Mime ... gdb for HP-UX Itanium 11.23 - comp.sys.hp.hpuxI can';t get it to build using the GNU source. I'm trying to build gdb 5.3. ... logrotate for HP-UX 11.31 Itanium - comp.sys.hp.hpux... compiled the tool logrotate on ... 10 free SysAdmin tools - comp.unix.solaris... sys.hp.hpux 10 free SysAdmin tools - comp.unix.solaris logrotate for HP-UX 11.31 Itanium - comp.sys.hp.hpux http://hpux.connect.org.uk/hppd/hpux/Sysadmin/logrotate-2.5 ... hpux 11.31, vgimport: Unable to read the physical volume. - comp ...... Import the refreshed vg # cat /tmp/vg_SSSUAT.map 1 lvol1 2 lvol2 3 lvol3 4 lvol4 5 ... 11.31, vgimport: Unable to read the physical volume. - comp ... logrotate ... Log print jobs HP-UX version B.11.00. - comp.sys.hp.hpux ...logrotate for HP-UX 11.31 Itanium - comp.sys.hp.hpux... compiled the tool logrotate on HP-UX 11.31 Itanium? This version is a ... each logfile I have one script and cron ... version of hp-ux - comp.sys.hp.hpuxI can';t get it to build using the GNU source. I'm trying to build gdb 5.3. ... 31 Itanium - comp.sys.hp.hpux Hello, has someone successfully compiled the tool logrotate ... Job Schedulers (preferably Open Source) - comp.unix.admin ...Last I worked with this type of product was at least 5 years ago, when the big 3 ... You mean something like "at 9am on April 5, change the logrotate job to run at 5am"? logrotate - Page 3 - Linux ArchiveHi, I have set ionice -c3 for logrotate application,what happens when the other program which has asked for disk IO during this period ? Thanks HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples2. Logrotate size option: Rotate the log file when file size reaches a specific limit. If you want to rotate a log file (for example, /tmp/output.log) for every 1KB, create ... 7/17/2012 12:23:16 PM
|
|
|
|
|
|
|
|
|