Koozali.org: home of the SME Server

bash: /dev/null: Permission denied

jdarrough

bash: /dev/null: Permission denied
« on: February 17, 2004, 08:51:32 PM »
My friend has SME 5.5 installed and CRON is now sending him the following email every five minutes. I suspect something got clobbered during a power outage. Can someone shed some light on what to do to remedy the problem?

Thanks, Jim Darrough

CRON message follows:
>Delivered-To: his-email-address@e-smith-server.e-smith-server
>Delivered-To: alias-localdelivery-rewing@e-smith-server
>Delivered-To: root@e-smith-server.e-smith-server
>Date: 17 Feb 2004 17:40:01 -0000
>From: root@e-smith-server.e-smith-server (Cron Daemon)
>To: root@e-smith-server.e-smith-server
>Subject: Cron <root@e-smith-server> /etc/startmail
>X-Cron-Env: <SHELL=/bin/bash>
>X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin>
>X-Cron-Env: <MAILTO=root>
>X-Cron-Env: <HOME=/root>
>X-Cron-Env: <LOGNAME=root>
>
>-bash: /dev/null: Permission denied
>-bash: /dev/null: Permission denied
>-bash: /dev/null: Permission denied

Offline smeghead

  • *
  • 563
  • +0/-0
bash: /dev/null: Permission denied
« Reply #1 on: February 18, 2004, 02:32:38 AM »
cron message is occuring due to the multipop mail pickup failing to execute properly (the /etc/startmail item).

/etc/startmail script calls /etc/fetchmail.

reconfigure mail to standard, save, then configure back to multipop.  This should force the templates to regen the scripts and hopefully fix the prob.

(have a look at the /etc/fetchmail cript and see if it is corrupted)

HTH
..................