[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: Sonny Taite <sonny@xxxxxxxxx>
- Date: Sun Sep 22 15:07:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On 9/23/02 12:10 AM, "Malcolm Hills" <associates@xxxxxxxxxxxxxx> wrote:
> ----- Original Message -----
> From: "Sonny Taite"
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Sunday, September 22, 2002 11:59 AM
> Subject: Re: [cobalt-users] Cron.hourly error messages
>
>
>> Check to see if the file's "asp-admin-5100" and "asp-admin-3000"
> exist in
>> the /etc/rc.d/init.d directory:
>>
>> ls -la /etc/rc.d/init.d/asp*
>>
>> (as root)
>>
>> It sounds as though the shell script can't find them as described
> below.
>>
>> The chkconfig commands detail at which run-level your services
> should start
>> at - so running the chkconfig utility justs adds a symbolic link to
> the
>> associated rc directory - linking it back to the
> /etc/rc.d/init.d/foo
>> script.
>>
>> Long story short:
>>
>> The script below LOOKS like it sais - is the public server supposed
> to be on
>> - if so check its status - if it is not running - restart it by
> running the
>> following command: /etc/rc.d/init.d/asp-apache-3000 restart
>>
>> And the same for the admin server.
>>
>>
>> Does this help???? A wee bit of shell script tutorial review might
> help you
>> to understand how things "should" run on a Linux system - even a Sun
> Linux
>> System.... ;-)
>>
>>
>>
>> Sonny.
>>
>
> Sonny,
>
> Thanks, however problem still not solved
>
> "asp-admin-5100" and "asp-admin-3000" both exist in the
> /etc/rc.d/init.d directory, have tried restarting both, but still
> getting the same error message generated - what do I try next?
>
> Any ideas where I can find a decent "shell script tutorial " (I am
> capable of searching for one, however if you could recommend something
> it may save me the problems of looking at lots until I find the right
> one)
>
> Malcolm
>
Are you saying you ran:
/etc/rc.d/init.d/asp-admin-3000 restart
And you got the same error message??
1. Are you runnng it as root?
2. Does the script have execute permissions? (ls -la should = rwxr-xr-x or
something similar)
If these are ok, then the actual asp-admin-* scripts may be calling
something else in the /etc/rc.d/init.d directory - or at least trying to. I
don't have access to a Raq* machine so I can't tell you exactly how they
"should" work.
Try looking through
Tutorials are plentiful on the subject.... But you could try:
http://www1.freeos.com/guides/lsst/index.htm
As a starter anyway.
Sonny.