cancel
Showing results for 
Search instead for 
Did you mean: 

Startup Problems in SAPup!!!

Former Member
0 Kudos

Hi all,

I am trying to start PREPARE for the first time for doing a BW upgrade from 3.1 C to BI7.0.

Since I do not have access to the OPT device of the server, I did the following:

1) CPYFRMSTMF FROMSTMF('BI70_OBJS/UMN_OS400_PPC64/UPGRADE/LODINST')

TOMBR('/QSYS.LIB/QTEMP.LIB/LODINST.FILE')

2)RSTOBJ OBJ(LODINST) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QTEMP/LODINST )

3) CALL PGM(QTEMP/LODINST) PARM('BI70_OBJS

')

Where cd root= BI70_OBJS

The above three steps created the SAPup library. After that the next thing to do was to patch up SAPup..So what we did is(after uncaring the SAPUP7002.SAR on windows and transferring the SAVF SAPUP7002 to iSeries)

RSTOBJ OBJ(ALL) SAVLIB(GEN700AOPT) DEV(SAVF) SAVF(QGPL/SAPUP7002) RSTLIB(SAPUP) OUTPUT(*PRINT)

The above thing restored the latest version as shown:

SAPUP2PCH *FILE SAVF R3OWNER NEW

R3INSTFIX *PGM CLP R3OWNER NEW

Restored 2 objects from GEN700AOPT to SAPUP, 0 not restored, 0 excluded

at 03/20/07 15:17:58.

Objects were restored from save file SAPUP7002 in QGPL, saved at 02/21/07 15:1

After that, I logged on as <SID>OFR and did the following:

addlible SAPUP

Go SAPUP-->option 1 (start prepare) and gave the SID and the root dorectory of the CD in the IFS and the upgrade directory as /usr/sap/put and hit enter:It shows me :

:

:

:

Enter one of these options [

EXIT] :=

SERVER

Waiting for SAP Upgrade Assistant Server (UaServer) to connect at port number

4240 (System request 2 to interrupt)

After that I did http://<host>:4240 and it showed me the following error.

Waiting for SAP Upgrade Assistant Server (UaServer) to connect at port number

4240 (System request 2 to interrupt) ...

Upgrade assistant server connected

SEVERE ERROR: received wrong reply handle from UaServer

The thing which I do not understand is that , it is not unpacking the upgrade assistant in the /usr/sap/put/ua directory, as that directory is not even created....as the upgrade guide mentions it...all other directories are created in usr/sap/put. we do not see anything in the ua directory...

I even tried creating the ua directory manually and then running the PREPARE for the first time...but still no success...My ua directory remains empty...no matter what...

What could be a possible reason? Could it be that I am not running it with the "LODRUN" command(since the DVD drive is not accessible as it is at a remote location) and hence something is missing, which was not captured in the first three steps of mine...

Thanks all

Abhi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I guess I missed this part:

UPDIFS HYBLIB(SAPup) IFSPATH('/usr/sap/put/bin') MODE(SELECT) APPLYLINK(NO) TYPE(*IFS)

and I did not use the APYR3FIX command to patch the SAPup library....Do I really need to do a APYR3FIX only?? can't a RSTOBJ work here??

Will try tommorrow these and let you know all...

Thanks

Abhi

Former Member
0 Kudos

Hi Abhi,

the first thing without LODRUN is even a hack - might be OK.

BUT: To apply a kernel patch with RSTOBJ instead of APYR3FIX is totally crazy !!!

If it should work, you should go, but I would support NOTHING here, because you are WITHOUT any reason are not ussing the reliable running SAP tools ...

yes, UPDIFS is for sure necessary

Then I would always test the scroll mode if UA doesn't work, because scroll is very stable - I typically ALWAYS use scroll mode and then in batch and that is really perfect ...

Regards

Volker Gueldenpfennig, consolut.gmbh

http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

0 Kudos

Hi Abhi, Volker,

It is very dangerous to apply patches without the dedicated tools (APYR3FIX from release 7.00 in this case). Patches usually bring a second version of a database file containing updated IFS objects. This has to be merged into the existing database file. If you just restore it into your original library you potentially loose data!

The correct way to patch objects in SAPUP library is described in <b>note 822296</b>. Please read this note carefully and follow the instructions there. If anything is not correct there, we are very willing to update it.

Regarding Upgrade Assistent: This is a very stable tool meanwhile. The correct access via browser would have been http://<host>:4239

Regards,

Thomas

Former Member
0 Kudos

Hi,

@Volker: Thanks a lot for the response. Now I do not have access to the optical device. Hence was using the substitute for it as mentioned in one of the notes.

Well, I never personally prefer RSTOBJ...coz Thomas mentioned it once on the forum not to use it. The only reason I may have used it coz note number 821032 just mentioned : "iSeries: Import the patch for the SAPup library". Doesn't mention anything & how...I agree u may say that importing a patch is always APYR3FIX..but just didn't click to me at that time..and when I went home that evening..I looked and realized that it has to be done with APYR3FIX...

That's why..I wrote later that i will try different thing tommorrow...

@Thomas: Took your point long time ago but this time just did not click to me that you have to patch the SAPup with APYR3FIX as well ...

Just wanted to confirm if the alternative to LODRUN works in 7.00

But the thing which surprise me is that there is no "ua" folder...

From an earlier forumn question..I get a similar error like "java.lang.NoClassDefFoundError: UaServer "...

and the same reason as there is no "ua" folder.

Let me try today again and will update with the results....

Thanks

Abhi

Former Member
0 Kudos

Hi,

the UA folder becomes created in the VERY first steps of prepare ... therefore it should be there either by the point when it waits for a connect or a few minutes later ...

as mentioned, try SCROLL a few minutes and then you will se it )

Regards

Volker Gueldenpfennig, consolut.gmbh

http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

Former Member
0 Kudos

Hi Volker/Thomas,

Problem was solved.

The main thing which I was missing and came to know was from one of the previous posts, the subject of which was "java.lang.NoClassDefFoundError: UaServer "

Earlier We were running prepare like:

PREPARE SID(<SID>) CDPATH('/BI70_OBJS') PUTDIR(/usr/sap/put) SAPUPLIB(SAPUP) SAPUPSRV(SAPUPSRV)

and not like this as shown below, which is the correct way

PREPARE SID(<SID>) CDPATH('/BI70_OBJS/UMN_OS400_PPC64') PUTDIR(/usr/sap/put) SAPUPLIB(SAPUP) SAPUPSRV(SAPUPSRV)

Where my CD ROOT ='/BI70_OBJS' in the IFS.

Coz of the above way, no "ua" directory was created.

Once I ran the prepare the above way, exited out and then started the Upgrade assistant server, where it asked for the admin password and then

it was http://<server>:4239

@Volker/Thomas: One thing, which I am not aware of is What exactly is a scroll mode, how do u start it and how come it is considered to me more stable?

Thanks a lot for your help guys...

Abhi

Former Member
0 Kudos

Hi Volker/Thomas,

Problem was solved.

The main thing which I was missing and came to know was from one of the previous posts, the subject of which was "java.lang.NoClassDefFoundError: UaServer "

Earlier We were running prepare like:

PREPARE SID(<SID>) CDPATH('/BI70_OBJS') PUTDIR(/usr/sap/put) SAPUPLIB(SAPUP) SAPUPSRV(SAPUPSRV)

and not like this as shown below, which is the correct way

PREPARE SID(<SID>) CDPATH('/BI70_OBJS/UMN_OS400_PPC64') PUTDIR(/usr/sap/put) SAPUPLIB(SAPUP) SAPUPSRV(SAPUPSRV)

Where my CD ROOT ='/BI70_OBJS' in the IFS.

Coz of the above way, no "ua" directory was created.

Once I ran the prepare the above way, exited out and then started the Upgrade assistant server, where it asked for the admin password and then

it was http://<server>:4239

@Volker/Thomas: One thing, which I am not aware of is What exactly is a scroll mode, how do u start it and how come it is considered to me more stable?

Thanks a lot for your help guys...

Abhi

0 Kudos

Hi Abhi,

The first time you start SAPup (or PREPARE) you usually do this on green screen. You stay there until the content of directory DIR_PUT/ua is extracted. Then you are asked how you want to continue. Options are

SERVER

SCROLL

EXIT.

If you choose SCROLL SAPup stays alive and all dialogs are processed in this active session. What Volker mentioned as well is the option to submit this very first job to batch and communicate with SAPup via overriding STDIN/STDOUT. Details can be found in note 86557.

Haven't tried this for ages. Therefore, some modifications might be needed. Any feedback is welcome!

HTH,

Thomas

Former Member
0 Kudos

Hi Thomas,

Thanks for the great Info...

Will let you know, if we face any problems in the SCROLL mode, if we try that..:))

Thanks

Abhi

Former Member
0 Kudos

Hi Thomas,

I saw the note and think that the SCROLL mode is beyond us...:))

mean..we were not very comfortable using that...

I guess we will stick to starting the UA server and then using the browser & then launching the SAPup from there.

Thanks anyway for the great note.

Abhi

Answers (0)