Sometimes the ENDTCPSVR cmd has trouble shutting it down when you need
to restart things as quickly as possible (like a major panic)
Here is how to instantly terminate the web server via 2 manual steps
from the cmd line.

1. QSH CMD('ps -s QHTTPSVR')
This will display all the processes in the QHTTPSVR subsystem.
Scroll to the main entry for your web server (the one with pgm-qzhbmain
) and note (or cut/paste) the process id in the first column.
Press ENTER to exit the display.

2. QSH CMD('kill -s ''kill'' 999999')
Where 99999 is the process ID from step 1.
The web server will instantly dematerialize (so cool)

Cheers, Peter





-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Booth Martin
Sent: Friday, 3 October 2008 8:37 a.m.
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Web server will not shut down

Web server will not shut down

I am using the "IBM Web Administration for i5/OS" on port 2001. I have
a server that I want to stop and it just sits in "stopping" status. Is
there another way to stop this server?

Am I the only one using this tool? Is it a bad tool?

--
---------------------------------
Booth Martin
http://www.Martinvt.com
---------------------------------

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.

#####################################################################################
This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Veda Advantage. If you need assistance, please contact Veda Advantage on either :- Australia 133124 or New Zealand +64 9 367 6200

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.