[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] errors from cron.hourly
- Subject: [cobalt-users] errors from cron.hourly
- From: "Malcolm Hills" <associates@xxxxxxxxxxxxxx>
- Date: Sat Sep 21 07:54:01 2002
- Organization: Hills Associates
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Since messing about trying to get Frontpage to work, I must have done
something else stupid.
I am now getting an hourly error as below
"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"
cron.hourly contains one file 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.
Malcolm