Sponsored Content
Operating Systems AIX Logrotate - /etc/logrotate.conf does't exist Post 302824399 by Just Ice on Thursday 20th of June 2013 09:36:05 PM
Old 06-20-2013
your errors is exactly because of the missing /etc/logrotate.conf and /etc/logrotate.d ...

your options:

(1) create a symlink for /opt/freeware/etc/logrotate.conf into /etc/logrotate.conf and /opt/freeware/etc/logrotate.d into /etc/logrotate.d

(2) manually create /etc/logrotate.d and copy /opt/freeware/etc/logrotate.conf into /etc/logrotate.conf

i would suggest creating the symlinks first and see if that works as that way is cleaner and you do not have to worry about maintaining 2 versions of the logrotate.conf file ...

btw, you might also want to consult the logrotate man page ...
This User Gave Thanks to Just Ice For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

logrotate.conf

I changed the logrotate.conf file to make a new log file to be automatically rotated daily. But after a night, I have not seen the rotated file. When does this rotation happen? I mean what is the exact time? In addition, do I have to restart what deamon to make the change take effect? (10 Replies)
Discussion started by: fredao
10 Replies

2. UNIX for Dummies Questions & Answers

how to set size in logrotate.conf

Hi,guys: recently,i am puzzled by a question .when i create a new file named by /etc/logrotate.d/debug. The cont. is listed as follow: /var/log/debug { rotate 3 missingok notifempty size=2k prerotate /bin/kill -HUP `cat... (0 Replies)
Discussion started by: icehero
0 Replies

3. UNIX for Advanced & Expert Users

logrotate bug?

I have been mailing myself logs for a while, but just ran into a problem because of a process that cannot HUP its log. (I realize thats why they implemented the "copytruncate" option in the first place) When I use logrotate with "copytruncate" and "compress" there is a problem. The "myScript"... (0 Replies)
Discussion started by: jjinno
0 Replies

4. UNIX for Advanced & Expert Users

logrotate with /etc/logrotate.conf file

Hi there, I want to rotate the logfiles which are located in /var/log/jboss/tomcat* so I have created a file named as 'tomat' in /etc/logrotate.d/tomcat with the following content. # cat /etc/logrotate.d/tomcat /var/log/jboss/tomcat_access_log*.log { daily nocreate ... (2 Replies)
Discussion started by: skmdu
2 Replies

5. Linux

LogRotate

Hi I am trying to rotate specific log by using logrotate function in unix I have made following entry in the /etc/logrotate.conf file /var/log/testlog/debug_log { daily rotate 7 create compress } But only issue is that my other logs like /var/log/messages,... (2 Replies)
Discussion started by: SiddhV
2 Replies

6. Red Hat

Some questions about Logrotate.conf

Hi all, I have to configure the logrotate.conf file on some Linux RedHat servers. So, by default I seen the file is as follow: # see "man logrotate" for details # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 4 # create new (empty) log files after rotating... (5 Replies)
Discussion started by: idro
5 Replies

7. Linux

Logrotate every 15days

Hi all, I have been asked to configure logrotate for a perticular log file for every 15 days. I do not find options other than weekly or monthly.Need you expertise on the same:confused: (0 Replies)
Discussion started by: iron_michael86
0 Replies

8. SuSE

Which logs to logrotate?

Hi all We've had new servers coming in and one of the requirement was to keep logs for up to 8 months. I know logrotate can do the job, but by default (on Suse Enterprise10, 11) we have these logs in /etc/logrotate.d dir as default logs which are rotated: -rw-r--r-- 1 root root 140 Jul... (0 Replies)
Discussion started by: hedkandi
0 Replies

9. Shell Programming and Scripting

Logrotate - I am not able to rotate files using logrotate

I have written script which is working in Home directory perfectly and also compressing log files and rotating correctly. But, when i try to run script for /var/log/ i am able to get compressed log files but not able to get rotation of compressed log files. Please suggest. I am using below command... (5 Replies)
Discussion started by: VSom007
5 Replies

10. AIX

Logrotate.conf

Hey Admins, I have installed logrotate on AIX server. I want to configure it for 1. /var/log/messages – keep 90 days, i.e., weekly rotate 13 2. Syslog – keep 90 days i.e., weekly rotate 13 3. Wtmp – keep 90 days i.e., weekly rotate 13 4. Sulog – keep 90 days i.e., weekly rotate 13 What... (1 Reply)
Discussion started by: snchaudhari2
1 Replies
BUILDSLAVE(1)							   User Commands						     BUILDSLAVE(1)

NAME
buildslave - a tool for managing buildbot slave instances SYNOPSIS
buildslave [ global options ] command [ command options ] buildslave create-slave [ -q|--quiet ] [ -f|--force ] [ -r|--relocatable ] [ -n|--no-logrotate ] [ -k|--keepalive TIME ] [ --usepty {0|1} ] [ --umask UMASK ] [ -s|--log-size SIZE ] [ -l|--log-count COUNT ] [ --verbose ] PATH MASTER USERNAME PASSWORD buildslave [ --verbose ] { start|stop|restart } [ PATH ] buildslave [ --verbose ] { --help|--version } buildslave command -h|--help DESCRIPTION
The `buildslave' command-line tool can be used to start or stop a buildslave or create a new buildslave instance. OPTIONS
Commands create-slave Create and populate a directory for a new buildslave start Start a buildslave stop Stop a buildslave restart Restart a buildslave Global options -h|--help Print the list of available commands and global options. All subsequent commands are ignored. --version Print twistd and buildslave version. All subsequent commands are ignored. --verbose Verbose output. create-slave command options -f|--force Re-use an existing directory. -h|--help Show help for current command and exit. All subsequent commands are ignored. -k|--keepalive Send keepalive requests to buildmaster every TIME seconds. Default value is 600 seconds. -l|--log-count Limit the number of kept old twisted log files to COUNT. All files are kept by default. -q|--quiet Do not emit the commands being run. -r|--relocatable Create a relocatable buildbot.tac. -n|--no-logrotate Do not permit buildslave rotate logs by itself. -s|--log-size Set size at which twisted lof file is rotated to SIZE bytes. Default value is 1000000 bytes. --umask Set umask for files created by buildslave. Default value is 077 which means only owner can access the files. See umask(2) for more details. --usepty Set wether child processes should be run in a pty (0 means do not run in a pty). Default value is 0. PATH Path to buildslave base directory. MASTER Set the host and port of buildbot master to attach to in form HOST:PORT. This should be provided by buildmaster administrator. USERNAME Buildslave name to connect with. This should be provided by buildmaster administrator. PASSWORD Buildslave password to connect with. This should be provided by buildmaster administrator. SEE ALSO
buildbot(1), umask(2), The complete documentation is available in texinfo format. To use it, run info buildbot. Buildbot August 2010 BUILDSLAVE(1)
All times are GMT -4. The time now is 08:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy