LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-11-2020, 08:25 AM   #1
macfanpl
LQ Newbie
 
Registered: Jul 2020
Posts: 3

Rep: Reputation: Disabled
Strange entries in cron.log file || Ubuntu Server


I am head admin for one of our servers running Ubuntu.

Browsing through logs Ive found strange entries, supposedly made by sysstat software.

Well, ok, but I have not installed this. Only I have both direct access to root. People who can use sudo is 10, But, none of them can do anything with apt.

Thats strange. It seems that Canonical pushed sysstat with update.

When I try apt purge sysstat, I get: https://imgur.com/9qsSXns
What may cause this? And how to stop logs from being spammed with things from unexisting software?

Thanks
 
Old 07-11-2020, 08:43 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
How do you know that the cron logs are from sysstat?
Have you checked the crontabs?
Have you checked the apt logs?
 
Old 07-11-2020, 08:59 AM   #3
macfanpl
LQ Newbie
 
Registered: Jul 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
How do you know that the cron logs are from sysstat?
Have you checked the crontabs?
Have you checked the apt logs?
1. Because this is indicated within the logs itself.
2. Yes, nothing there....
3. Here, also no trace of sysstat being installed manually......
 
Old 07-11-2020, 10:32 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by macfanpl View Post
1. Because this is indicated within the logs itself.
I'd like to see them.

Note that more recent versions of Ubuntu, 16 and later if I am not wrong, have cron logs in the journal.
Code:
journalctl -u cron
 
Old 07-11-2020, 10:44 AM   #5
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
I just checked on my Ubuntu 16. It has the sysstat package, though it's disabled. It is executed by /etc/cron.daily/sysstat and would, if it were enabled, generate log files in /var/log/sysstat. To enable it, I'd have to set ENABLED=true in /etc/default/sysstat.
There is also a file /etc/crond.d/sysstat.
There is no trace of sysstat in the cron log, though cron.daily, executed by anacron, is reported in /var/log/syslog.
You may want to check all this on your system.

Last edited by berndbausch; 07-11-2020 at 10:46 AM.
 
Old 07-12-2020, 07:47 AM   #6
macfanpl
LQ Newbie
 
Registered: Jul 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
I just checked on my Ubuntu 16. It has the sysstat package, though it's disabled. It is executed by /etc/cron.daily/sysstat and would, if it were enabled, generate log files in /var/log/sysstat. To enable it, I'd have to set ENABLED=true in /etc/default/sysstat.
There is also a file /etc/crond.d/sysstat.
There is no trace of sysstat in the cron log, though cron.daily, executed by anacron, is reported in /var/log/syslog.
You may want to check all this on your system.
No anacron here, sorry....
Also journalctl -e cron gives nothing
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Cron directories: /var/spool/cron/cron.GfqqGO Woodsman Slackware 4 05-11-2011 02:37 PM
Diagnosing reason of server shut down (strange log entries..) kirtimaan_bkn Linux - Security 9 04-05-2010 06:20 PM
Strange log entries in apache log under debian... hacking tentative ? strelok Linux - Security 4 11-11-2009 06:55 AM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration