Results 1 to 5 of 5
Hi folks,
Ubuntu LAMP 6.06 amd64
I can't find cron.log
$ locate cron.log
No printout
$ ps aux | grep cron
Code:
root 8335 0.0 0.0 11424 884 ? Ss ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-17-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
I can't locate cron.log
Hi folks,
Ubuntu LAMP 6.06 amd64
I can't find cron.log
$ locate cron.log
No printout
$ ps aux | grep cronCode:root 8335 0.0 0.0 11424 884 ? Ss 19:02 0:00 /usr/sbin/cron satimis 8431 0.0 0.0 3944 900 pts/1 R+ 19:10 0:00 grep cron
Please advise. TIA
B.R.
satimis
- 07-17-2008 #2
Have you built the filename database?
Also, I suppose it's possible that you're not seeing any output because, as a regular user, you don't have access to the directories that contain cron.log. Try:Code:sudo updatedb
orCode:sudo locate cron.log
Code:sudo find / -name cron.log -print
- 07-22-2008 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
- 07-22-2008 #4Just Joined!
- Join Date
- Apr 2005
- Posts
- 88
Satimis:
Kindly check the under mentioned URL to fix the issue:
How to enable cron log in Ubuntu » Casual Code
Regards,
- 07-22-2008 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi KidCloudWala,
Thanks for your advice.
Performed following steps;
$ sudo nano /etc/syslog.conf
ucomment the line;
#cron.*
$ sudo /etc/init.d/sysklogd restartCode:* Restarting system log daemon... [ OK ]
$ sudo /etc/init.d/cron restartCode:* Restarting periodic command scheduler crond [ OK ]
$ sudo updatedb
$ locate cron.logI got it back now.Code:/var/log/cron.log
B.R.
satimis


Reply With Quote

