[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cron.hourly error messages
- Subject: Re: [cobalt-users] Cron.hourly error messages
- From: "roland" <roland@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun Sep 22 03:59:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Does the /etc/rc.d/init.d directory exist?
> 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
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users