Visit Our UNIX and Linux User Community


/etc/cronlog.conf not working


 
Thread Tools Search this Thread
Operating Systems AIX /etc/cronlog.conf not working
# 1  
Old 04-29-2005
/etc/cronlog.conf not working

I am trying to get the /etc/cronlog.conf working, but so far have not been able to.

I created the /etc/cronlog.conf file with the following entries.

logfile=/var/adm/cron/log
size=30k
rotate=2
compress

Then I kill the current cron daemon and check to make sure that it has respawned with a new pid. However, it still does not seem to work. I have tried pointing the logfile to another file to see if it is working, but it still points to the default cron log file.

Any ideas?

Thanks Smilie
# 2  
Old 05-01-2005
Is it possible that the initscript for cron is already specifying a alternate file for configuration? (cron -f /some/file). Try restarting cron forcing the configuration file location: cron -f /etc/cronlog.conf.

Cheers,

Keith
# 3  
Old 05-02-2005
Tools

the reason why it was not working is due to the fact this is a new option for Aix 5.3. I was trying to get this to work on Aix 5.2. The problem was I was doing a search on IBM' pSeries and Aix Information center and I could not tell which version this applied to.
# 4  
Old 05-31-2005
Would this cause cronjobs that ran fine under 4.3.3 to not run on 5.3 of AIX?

Mike
# 5  
Old 05-31-2005
we only have gotten as high as Aix 5.2, so I am not sure about 5.3. Did you check the /var/adm/cron/log file?

Previous Thread | Next Thread
Test Your Knowledge in Computers #581
Difficulty: Easy
In a typical unix-based system, everything is a file.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Disk Space Utilization in HTML format working in one environment and not working on the other

Hi Team, I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system. df -h | awk -v host=`hostname` ' BEGIN { print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 Replies

2. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies

3. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

4. Shell Programming and Scripting

Perl script to extract last 24 hrs logs from cronlog

Hi Friends, Can anybody help me to create a perl script to generate log file for last 24 hrs from cron log file ?? Thank You (2 Replies)
Discussion started by: syamji.vm
2 Replies

5. UNIX for Dummies Questions & Answers

Yum.conf baseurl is not working.

Hi friends, This is my /etc/yum.conf. I think my basurl and updateurl is not correct. When I am installing something, it is giving error. My yum.conf file is this : Please help me. Thanks, Mukund (0 Replies)
Discussion started by: mukundranjan
0 Replies

6. UNIX for Dummies Questions & Answers

Sendmail not working anymore after resolv.conf change

Hi there, I am having a small issue with the mail function on our controllers. Recently we set up all the boxes as NFS slave servers and mail sending was not affected. We then had to change the servers addresses in resolv.conf and now email is being queued and not being sent. I have restarted... (3 Replies)
Discussion started by: lodey
3 Replies

7. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

8. Red Hat

SD.conf and LPFC.conf

What would be Redhat RHEL 4.0 equivalent for Solaris sd.conf and lpfc.conf? What are the files called and where are the files located? (1 Reply)
Discussion started by: soupbone38
1 Replies

9. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

10. AIX

AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log

Hi, I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
Discussion started by: Keith Johnson
0 Replies

Featured Tech Videos