LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   cron.daily missing from webmin's cron listing (https://www.linuxquestions.org/questions/linux-server-73/cron-daily-missing-from-webmins-cron-listing-4175518388/)

anon091 09-12-2014 01:48 PM

cron.daily missing from webmin's cron listing
 
Just installed logwatch on a server, and wanted to go into webmin to make sure it was in cron.daily, but webmin isn't showing /etc/cron.daily, although it shows /etc/cron.hourly.

0logwatch does show up in /etc/cron.daily looking on the server, but shouldn't webmin show it too?

Habitual 09-23-2014 12:24 PM

webmin version?

anon091 09-23-2014 12:40 PM

1.700

Habitual 09-23-2014 01:43 PM

I have the same version,
and I see them (it, really) under "Scheduled Cron Jobs":
Code:

/etc/cron.daily/man-db
/etc/cron.daily/popularity-contest
/etc/cron.daily/update-notifier-common
/etc/cron.daily/passwd
/etc/cron.daily/bsdmainutils
/etc/cron.daily/standard
/etc/cron.daily/dpkg
/etc/cron.daily/logrotate
/etc/cron.daily/mlocate
/etc/cron.daily/apt
/etc/cron.daily/aptitude
/etc/cron.daily/apport
/etc/cron.daily/apt-show-versions

after I installed the "The Webmin Cron Jobs module".
Are we on the same page so far?

anon091 09-23-2014 01:46 PM

I think we're on the same page :-)

In webmin, when I go under System/Scheduled Cron Jobs, I only see the following stuff show up
root Yes /usr/lib64/sa/sa1 1 1
root No /usr/lib64/sa/sa1 600 6 &
root Yes /usr/lib64/sa/sa2 -A
root Yes /etc/cron.hourly/0anacron
/etc/cron.hourly/mcelog.cron
root Yes /usr/sbin/raid-check

I don't get it. Webmin's the only thing that ever works right out of the box for me hahaha

Habitual 09-23-2014 02:15 PM

and how was it installed and what OS/distro?

anon091 09-23-2014 02:45 PM

The "installing the rpm" section of this
http://www.webmin.com/rpm.html

CentOS 6.5

Habitual 09-23-2014 04:08 PM

and you've verified the directory /etc/cron.daily on the drive outside of webmin, and its contents?

anon091 09-23-2014 04:35 PM

yup, I can cd to it and ls it and see stuff.

Habitual 09-23-2014 04:50 PM

I'm fresh out of ideas today.
Perhaps a good night's sleep will help?
See you tomorrow.

anon091 09-23-2014 04:56 PM

I tried sleeping on it a night too, it led to my post haha. ttyl.

Habitual 09-23-2014 08:10 PM

and it came up like an itch, I have to scratch.
Are you logging in as root or with a user that has sudo privs?

Itch scratched, Good Night.

anon091 09-24-2014 08:11 AM

correct. logging in to webmin as root.

Habitual 09-24-2014 08:53 AM

Yeah, I'm not sure. I have the same version on Centos 6.5 that I got from
Code:

wget http://superb-dca2.dl.sourceforge.net/project/webadmin/webmin/1.700/webmin-1.700-1.noarch.rpm
Lacking any real solution, I would remove the rpm by using
Code:

rpm -e --nodeps <package>
where <package> is result of
Code:

rpm -qa | grep webmin
and re-install using the wget link shown.

anon091 09-24-2014 10:46 AM

Yeah, i'm kind of at a loss too. maybe i'll let this one hang in the breeze since it's minor, maybe someone else has seen and conquered this before. Thanks for all the suggestions though.


All times are GMT -5. The time now is 11:04 PM.