HP3000-L Archives

September 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Thu, 28 Sep 2000 11:29:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Donna Garverick wrote:
>
> hi all!
>
> during mark bixby's talk at hpworld on the secure web
> server, he mentioned that apache should be killed rather
> that doing an abortjob on the server.  ok....how does one do
> it?  seeing as how i don't have mpelx36 on my system (yet
> :-), i'm logged on as mgr.apache and i try....
>
> :run sh.hpbin;info="kill `cat /APACHE/PUB/logs/httpd.pid`"
> kill 92: missing closing """
>
> <sigh> ok...trying all manner of quote combinations, i'm not
> making any progress....

The trick required here is you need to use the -c option to see the shell
you're executing a single command, i.e.:

        :XEQ SH.HPBIN.SYS "-c 'kill `cat logs/httpd.pid`'"

Which you will note uses every type of quote-like character there is.  ;-)

> so then i try going into the shell and....
>
> /APACHE/PUB: kill `cat /APACHE/PUB/logs/httpd.pid`
> kill: 65610: Operation not permitted

If you don't have the required patches, you need to be logged on as the
user.account in the HTTPD !JOB statement (WWW.APACHE?) in order to do the kill.

- Mark B.

ATOM RSS1 RSS2