Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Backups no longer running -neither is cron - PAM/Permissions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-09-11
08:15 AM
2009-09-11
08:15 AM
Backups no longer running -neither is cron - PAM/Permissions
Everything worked fine until August 15th. We didn't notice that the backups were not running until just recently. Here is the output I get when looking at the cron log:
I believe that day is when we performed an update via apt, the current file in /etc/pam.d/cron looks like this....
I don't have a machine to cross-compile the development sparc environment to grab the original /etc/pam.d/conf file from, does anyone know what it is ? It is a ReadyNas 1100 Pro machine.
Thanks in advance,
SK
Aug 16 04:31:01 nas2 CRON[5851]: PAM no modules loaded for `cron' service
Aug 16 04:31:01 nas2 CRON[5851]: Permission denied
Aug 16 05:01:02 nas2 CRON[5892]: PAM no modules loaded for `cron' service
Aug 16 05:01:02 nas2 CRON[5892]: Permission denied
Aug 16 06:25:01 nas2 CRON[6003]: PAM no modules loaded for `cron' service
Aug 16 06:25:01 nas2 CRON[6003]: Permission denied
Aug 16 06:47:01 nas2 CRON[6030]: PAM no modules loaded for `cron' service
Aug 16 06:47:01 nas2 CRON[6030]: Permission denied
Aug 17 04:31:01 nas2 CRON[7769]: PAM no modules loaded for `cron' service
Aug 17 04:31:01 nas2 CRON[7769]: Permission denied
Aug 17 05:01:01 nas2 CRON[7810]: PAM no modules loaded for `cron' service
Aug 17 05:01:01 nas2 CRON[7810]: Permission denied
Aug 17 06:25:01 nas2 CRON[7923]: PAM no modules loaded for `cron' service
Aug 17 06:25:01 nas2 CRON[7923]: Permission denied
Aug 18 04:31:01 nas2 CRON[10707]: PAM no modules loaded for `cron' service
Aug 18 04:31:01 nas2 CRON[10707]: Permission denied
Aug 18 05:01:01 nas2 CRON[10748]: PAM no modules loaded for `cron' service
Aug 18 05:01:01 nas2 CRON[10748]: Permission denied
Aug 18 06:25:01 nas2 CRON[10853]: PAM no modules loaded for `cron' service
Aug 18 06:25:01 nas2 CRON[10853]: Permission denied
Aug 19 04:31:01 nas2 CRON[20002]: PAM no modules loaded for `cron' service
Aug 19 04:31:01 nas2 CRON[20002]: Permission denied
Aug 19 05:01:01 nas2 CRON[20041]: PAM no modules loaded for `cron' service
Aug 19 05:01:01 nas2 CRON[20041]: Permission denied
Aug 19 06:25:01 nas2 CRON[20148]: PAM no modules loaded for `cron' service
Aug 19 06:25:01 nas2 CRON[20148]: Permission denied
Aug 20 04:31:01 nas2 CRON[22123]: PAM no modules loaded for `cron' service
Aug 20 04:31:01 nas2 CRON[22123]: Permission denied
I believe that day is when we performed an update via apt, the current file in /etc/pam.d/cron looks like this....
#
# The PAM configuration file for the cron daemon
#
@include common-auth
auth required pam_env.so
@include common-account
@include common-session
# Sets up user limits, please uncomment and read /etc/security/limits.conf
# to enable this functionality.
# session required pam_limits.so
I don't have a machine to cross-compile the development sparc environment to grab the original /etc/pam.d/conf file from, does anyone know what it is ? It is a ReadyNas 1100 Pro machine.
Thanks in advance,
SK
Message 1 of 8
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-09-11
11:04 AM
2009-09-11
11:04 AM
Re: Backups no longer running -neither is cron - PAM/Permissions
I fixed this. Just so anyone else looking for the answer knows how to do it, here is the new file contents of /etc/pam.d/cron :
Hope this helps someone else!
SK
#
# The PAM configuration file for the cron daemon
#
account sufficient pam_unix.so
#account required pam_ldap.so
auth sufficient pam_unix.so nullok
#auth required pam_ldap.so try_first_pass
auth required pam_env.so
session required pam_unix.so
#session required pam_limits.so
Hope this helps someone else!
SK
Message 2 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-02
02:14 AM
2009-10-02
02:14 AM
Re: Backups no longer running -neither is cron - PAM/Permissions
scott.alan.kline wrote: I fixed this. Just so anyone else looking for the answer knows how to do it, here is the new file contents of /etc/pam.d/cron :
#
# The PAM configuration file for the cron daemon
#
account sufficient pam_unix.so
#account required pam_ldap.so
auth sufficient pam_unix.so nullok
#auth required pam_ldap.so try_first_pass
auth required pam_env.so
session required pam_unix.so
#session required pam_limits.so
Hope this helps someone else!
SK
It did... Thanks a lot!
Message 3 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-10-02
05:30 AM
2009-10-02
05:30 AM
Re: Backups no longer running -neither is cron - PAM/Permissions
No problem.
SK
SK
Message 4 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-03-04
05:10 AM
2010-03-04
05:10 AM
Re: Backups no longer running -neither is cron - PAM/Permissions
Thank you so much. I've been digging through numerous web pages regarding cron tasks not running. I finally managed to decipher what was going on in /var/log/cron.log and ended up here. Perfect fix. Thanks again
Message 5 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-21
10:22 PM
2010-07-21
10:22 PM
Re: Backups no longer running -neither is cron - PAM/Permiss
Helped me too, thanks for the tip !
Message 6 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2010-07-21
10:56 PM
2010-07-21
10:56 PM
Re: Backups no longer running -neither is cron - PAM/Permiss
apt update is not recommended, breaks stuff.
Message 7 of 8
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-12-16
07:00 AM
2011-12-16
07:00 AM
Re: Backups no longer running -neither is cron - PAM/Permiss
Hi
This is an old thread but thought I would take the chance. I have just posted http://www.readynas.com/forum/viewtopic.php?f=7&t=59559 and was querying whether you think the solution outlined here will help?
Thanks
This is an old thread but thought I would take the chance. I have just posted http://www.readynas.com/forum/viewtopic.php?f=7&t=59559 and was querying whether you think the solution outlined here will help?
Thanks
Message 8 of 8