Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Michail Pappas on October 26, 2011, 09:39:28 AM
-
Can someone please tell me whether the stock SME 7.5.1 (after updates of course) contains any/all of the following files:
-rw-r--r-- 1 root root 269 Oct 22 13:26 smolt
-rw-r--r-- 1 root root 188 Jul 22 09:01 sysstat
-rw-r--r-- 1 root root 139 Jan 9 2007 mrtg
-rw-r--r-- 1 root root 198 Mar 14 2006 purge_junkmail
-rw-r--r-- 1 root root 111 Mar 8 2002 warnquota
-
Here's the output of ls -lt /etc/cron.d on my SME 7.5.1 system:
-rw-r--r-- 1 root root 188 Feb 17 2011 sysstat
-rw-r--r-- 1 root root 268 Jul 24 2010 smolt
-rw-r--r-- 1 root root 365 Nov 23 2009 LearnAsHam.cron
-rw-r--r-- 1 root root 366 Nov 23 2009 LearnAsSpam.cron
-rw-r--r-- 1 root root 425 Jul 28 2007 mailstats.cron
-rw-r--r-- 1 root root 198 Mar 14 2006 purge_junkmail
-rw-r--r-- 1 root root 111 Mar 7 2002 warnquota
LearnAsHam.cron, LearnAsSpam.cron and mailstats.cron were all added after installation from instructions in the wiki.
-
Thanks for the info my friend. Are you perhaps aware whether these files also exist in 8.0b6?
-
Thanks for the info my friend. Are you perhaps aware whether these files also exist in 8.0b6?
Why are you asking? What is your issue or what are you after?
-
Why are you asking? What is your issue or what are you after?
Had one 7.5.1 installation that someone, unwisely, upgraded to 8.0b6. A number of leftover packages had to be cleaned (see other threads of mine here). So I was wondering whether these cron jobs were leftovers from 7.5.1 as well. Mainly asking because as far as I can see, most cron jobs are organized in /etc/cron.daily cron.weekly etc. And not /etc/cron.d
-
Had one 7.5.1 installation that someone, unwisely, upgraded to 8.0b6. A number of leftover packages had to be cleaned (see other threads of mine here). So I was wondering whether these cron jobs were leftovers from 7.5.1 as well. Mainly asking because as far as I can see, most cron jobs are organized in /etc/cron.daily cron.weekly etc. And not /etc/cron.d
You should have been able to find out by using the rpm -q --whatprovides instructions IMHO.
-
You should have been able to find out by using the rpm -q --whatprovides instructions IMHO.
Cool. I didn't know that rpm would do that!
On my (reasonably fresh) SME 8b6, I have three files /etc/cron.d:
-rw-r--r-- 1 root root 198 Mar 14 2006 purge_junkmail
-rw-r--r-- 1 root root 269 Sep 24 12:30 smolt
-rw-r--r-- 1 root root 111 Mar 7 2002 warnquota
And with cactus's prompting, I've figured out the following command, which lists all the filenames in the current directory and the rpms from which they come:for f in *; do echo -e "$(pwd)/$f:\t$(rpm -qf $(pwd)/$f)"; done
.
On my SME8b6 system, the results look like this:
[root@sme8 ~]# cd /etc/cron.d
[root@sme8 cron.d]# for f in *; do echo -e "$(pwd)/$f:\t$(rpm -qf $(pwd)/$f)"; done
/etc/cron.d/purge_junkmail: e-smith-email-5.2.0-14.el5.sme
/etc/cron.d/smolt: smolt-1.4.3-4.el5.sme
/etc/cron.d/warnquota: e-smith-quota-2.2.0-8.el5.sme
Which I think confirms that all three files came with SME8, since the release version for the rpms is "-x.el5.sme" instead of "-x.el4.sme".
On my SME 7 server, the same commands return:
[root@sme7 ~]# cd /etc/cron.d
[root@sme7 cron.d]# for f in *; do echo -e "$(pwd)/$f:\t$(rpm -qf $(pwd)/$f)"; done
/etc/cron.d/LearnAsHam.cron: file /etc/cron.d/LearnAsHam.cron is not owned by any package
/etc/cron.d/LearnAsSpam.cron: file /etc/cron.d/LearnAsSpam.cron is not owned by any package
/etc/cron.d/mailstats.cron: file /etc/cron.d/mailstats.cron is not owned by any package
/etc/cron.d/purge_junkmail: e-smith-email-5.0.0-9.el4.sme
/etc/cron.d/smolt: smolt-1.4.3-4.el4.sme
/etc/cron.d/sysstat: sysstat-5.0.5-27.el4
/etc/cron.d/warnquota: e-smith-quota-2.0.0-2.el4.sme
(After which rpm -qfi /etc/cron.d/sysstat lets me know that this rpm came from CentOS...)