[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Chili!Soft ASP stops running
- Subject: Re: [cobalt-developers] Chili!Soft ASP stops running
- From: Will DeHaan <will@xxxxxxxxxx>
- Date: Fri Oct 6 11:30:43 2000
- Organization: Cobalt Networks
- List-id: Mailing list for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Mark Jaggers wrote:
>
> I was wondering if anyone has had this problem on the RAQ4
>
> Chilisoft ASP will be running find and then I come in the next day and I
> cant even access the ASP admin page. I end up having to uncheck ASP on the
> control panel, save it and then check ASP and save again. Then when I go to
> the ASP admin page the ASP server is obviously not running, so I have to
> restart it.
>
> thanks
>
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
> Mark Jaggers - Vice President
Mark,
Have you checked log files for any suspicious errors?
Specifically: /home/chiliasp/logs/error-3000
What you may want to do is drop the following bash script into
/etc/cron.hourly and mark it executable only by root. Adjust frequency
of execution and insert email notification to taste...
Obviously not the solution to any failing daemon but here's some
temporary relief:
#!/bin/sh
#
# Will DeHaan <will@xxxxxxxxxx> 10/05/2000
# A custodiat for the Chili!Soft ASP public daemon
chkconfig --list asp-apache-3000 | grep '3:off' > /dev/null 2>&1
if [ $? != 0 ]; then
/home/chiliasp/asp-apache-3000/caspctrl status > /dev/null 2>&1
if [ $? != 0 ]; then
# /bin/mail -s "restarting asp..." admin <
/home/chiliasp/logs/error-3000
/etc/rc.d/init.d/asp-apache-3000 restart > /dev/null 2>&1
fi
fi