× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The server needs to be in a stopped state before the IWS save server
command is allowed to run (the command will return an error if it is not
inactive). I assume the server is stopped?

The IWS command uses SAVACT(*NO) - is that the cause?



"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 09/12/2019 10:11:08
AM:

From: Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 09/12/2019 10:11 AM
Subject: [EXTERNAL] Re: [WEB400] Save of IWS services
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Ric, Nadir, et al,


It should be possible to shut down or "end" the instance before
backing it up. Or, perhaps use the SAV option:

Save active option . . . . . . . SAVACTOPT > *ALWCKPWRT

and set the attribute on those "log" files. Or simply *OMIT those
"log" files from the save ... if they are just "log" files, why
would you want to copy them to a new instance? It will create its
own new log files once started.

(Why is this not the default behavior of the IBM provided
"procedures" for backing up an IWS instance?)

HTH,

Mark S. Waterbury


On Thursday, September 12, 2019, 9:50:14 AM EDT, Richard Schoen
<richard@xxxxxxxxxxxxxxxxx> wrote:

If the save if also done in batch mode, you could make sure the job
logging level is set to 4 00 *SECLVL which will provide more
details in the job log I believe.

Regards,
Richard Schoen
Web: https://urldefense.proofpoint.com/v2/url?
u=http-3A__www.richardschoen.net&d=DwIGaQ&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-ew&m=xi_ov-wlBlyR1-

bIxk3UfLN7mBQI3sYlwee7B_6Np-g&s=F4VdXwzL7BcOpWd7sX5gDMz0E2i5jMuMHfjQXO5E7bs&e=
Email: richard@xxxxxxxxxxxxxxxxx
Phn: (612) 315-1745
-------------------------------

message: 1
date: Wed, 11 Sep 2019 12:09:28 -0500
from: "Nadir Amra" <amra@xxxxxxxxxx>
subject: Re: [WEB400] Save of IWS services

Issue the failed CL command from CL command line and see what pops
up. It did save most of the services, but something was not
(probably nothing to do with the services).




"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 09/11/2019
11:50:19
AM:

From: Ric Turner <rturner@xxxxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 09/11/2019 11:50 AM
Subject: [EXTERNAL] Re: [WEB400] Save of IWS services Sent by:
"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Has anyone had the following problems when trying to backup an IWS
server? If so, how do I view the "previous messages"?

saveWebServicesServer.sh -server TRACKER
-saveFile /qsys.lib/qgpl.lib/IWSTRACKER.file
-targetRelease *CURRENT -printErrorDetails
com.ibm.systemi.iws.WSSException: IWS00999E - Operation failed.
Error occurre
d in system program interface. See previous messages for more
details.
at
com.ibm.systemi.iws.scripts.SaveWebServicesServerCommandHandler.pr
ocessCommand(SaveWebServicesServerCommandHandler.java:205)
at
com.ibm.systemi.iws.scripts.ScriptProcessor.run(ScriptProcessor.ja
va:197)
at
com.ibm.systemi.iws.scripts.ScriptProcessor.main(ScriptProcessor.j
ava:269)
Caused by: java.lang.Exception: CL command failed to run
successfully. Comman
d:QSYS/SAV DEV('/QSYS.LIB/QGPL.LIB/IWSTRACKER.FILE') OBJ(('/www/
TRACKER' *INCLUDE)) PATTERN(('*' *INCLUDE)) SUBTREE(*ALL)
SAVACT(*NO) OUTPUT(*NONE) SYSTEM
(*LCL) PRECHK(*NO) TGTRLS(*CURRENT) CLEAR(*ALL) DTACPR(*DEV)
COMPACT(*DEV) AS
PDEV(*DFT) PVTAUT(*YES)
262 objects saved. 2 objects not saved.
at
com.ibm.systemi.iws.utilities.GeneralUtils.runCLCommandUnsafe(Gene
ralUtils.java:666)
--




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.