Crontab emails

The mail sent by your server’s cron jobs are refused by the recipient server due to: "Action: failed Final-Recipient: user;user@domain.com Status: 5.0.0 Remote-MTA: dns; inbound.smtp.domain.com Diagnostic-Code: smtp; 553 5.1.8 … Domain of sender address root@hostname.domain.com does not exist" Crontab will by default send from $LINUX_USER@$HOSTNAME. You can change this by connecting to the server via…

PHP Sessions causing Error

Currently your messages log is filling up with errors and the system is unstable. Check the message log: $ server# tail -f /var/log/messages Jul 28 08:57:30 mail kernel: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full! Check the sessions directory $ server# php -i | grep session.save_path session.save_path => /var/lib/php/session => /var/lib/php/session $ server# du…

Cron Job not working in Plesk Domain

Check you cron job. Make sure the path are okay. This is likely due to Plesk using a chrooted environment. The user that is executing the script doesn’t have access to PHP. You have a few options: 1. Add PHP to the user’s chroot – http://kb.sp.parallels.com/en/115842 2. Disable the chrooted environment entirely – http://blog.blums.eu/2013/01/25/parallels-plesk-panel-11-non-chrooted-cronjobs 3….

Show Cron Jobs

How do I view currently setup or all running cron jobs under Linux operating systems? The cron service searches its spool area (usually /var/spool/cron/crontabs) for crontab files (which are named after user accounts); crontabs found are loaded into memory. cron also reads /etc/crontab, which is in a slightly different format. Additionally, cron reads the files…