[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Cron.hourly error messages



Is anyone able to shed any light on this Raq4 error message please

cron.hourly is sending the following message every time it runs

error reading from directory /etc/rc.d/init.d: No such file or
directoryerror reading from directory /etc/rc.d/init.d: No such file
or directory


the only file in cron.hourly is

 asp_monitor.sh which contains the
following:
___________________

#!/bin/sh

# public server, port 3001
/sbin/chkconfig --list | /bin/grep asp-apache | grep ':on' > /dev/null
2>&1
if [ $? -eq 0 ]; then
  /home/chiliasp/asp-apache-3000/caspctrl status > /dev/null 2>&1
  if [ $? != 0 ]; then
    /etc/rc.d/init.d/asp-apache-3000 restart > /dev/null 2>&1
  fi
fi

# admin server, port 5102
/sbin/chkconfig --list | /bin/grep asp-admin | grep ':on' > /dev/null
2>&1
if [ $? -eq 0 ]; then
  /home/chiliasp/admin/bin/caspctrl status > /dev/null 2>&1
  if [ $? != 0 ]; then
    /etc/rc.d/init.d/asp-admin-5100 restart > /dev/null 2>&1
  fi
fi
_________

I have no idea if the error is referring to this, or to something
else,  but the contents of asp_monitor.sh mean nothing to me.

Could someone please point me in the right direction to finding the
cause of this error, and fixing it

Malcolm