cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Install instance SCS01 in SAP Netweaver 7.4 SR2

Former Member
0 Kudos

Hi everyone,

I'm installing the SAP Netweaver 7.4 SR2(as Application Server JAVA) for SAP Mobile Documents installation and the installation stopped in this point.

An error occurred while processing option SAP NetWeaver 7.4 Support Release 2 > MS SQL Server > SAP Systems > Application Server Java > Standard System > Standard System( Last error reported by the step: Instance SMD/SCS01 [PARTIAL] did not start after 5:00 minutes. Giving up.). You can now:

Choose Retry to repeat the current step.

Choose Log Files to get more information about the error.

Stop the option and continue later.

Log files are written to C:\Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/.

I have attached the screenshot for the same along with error logs.

Regards,

Suraj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Guys,

After resolving the hostname to ip.

We are  now able to move forward from that error.

But now the Java engine is not starting.

We are getting error:

Installation state did not persist. DIAGNOSIS: The last state of the installation was not saved by the persistency layer because at least one table container could not be written. SOLUTION: Check sapinst_dev.log to solve the problem and choose 'Retry'. If you cannot solve the problem, contact SAP Support. Do not cancel the installation with the kill command or task manager because you lose the current state of the installation.

Any ideas on this?

Regards,

Suraj

Former Member
0 Kudos

Hi Suraj,

can you post sapinst_dev log and any java.log file you can find under installation directory?

Former Member
0 Kudos

Hi Stanislav,

Please find the sapinst_dev log and java file and the dev_ files from C:\usr\sap\XYZ\J00\work folder.


The sapinst_dev is too large



Regards,


Suraj

Reagan
Advisor
Advisor
0 Kudos

F    arg[30] = -Xmx4096m

F    arg[33] = -Xms4096m


J  Error occurred during initialization of VM

J  Could not reserve enough space for object heap

Problem with memory.

Restart the Windows sever and start SAP. If it fails then reduce the Heap assignment from 4 GB to 2 GB and restart SAP.

Former Member
0 Kudos

Hello Suraj,

You have to use configtool to reduce the heap assignment from 4096 to your personal settings.

Here you can find how to do this and the recomended parameter with differents resources:

Configuring JVM Parameters - Configuration of SAP NetWeaver CE - SAP Library

Former Member
0 Kudos

Hello Jose,

We changed the maxheap size to 2048 by selecting vendor as GLOBAL in VM Parameters.

We cannot set it for vendor sap.

We restarted the machine again,then we continued the installation from it had stopped previously; but we are stuck at the same point.


Regards,

Suraj Nair

Former Member
0 Kudos

Hi Suraj, change also initialHeapSize

Former Member
0 Kudos

Hi Stanislav,

We changes the initialHeapSize to 1024--> restarted the server --> and continued installation from previous position.

Yet no difference to the outcome.!

Regards,

Suraj

Former Member
0 Kudos

Hello Suraj,

can you see if the error in the logs are same ?

Former Member
0 Kudos

Hi Stanislav,

Attaching dev_server0 logs

They are different.

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Suraj,


Hope you are doing good.
Nice to hear from you again.

The issue is:

"

F [Thr 1964] Tue Jan 20 16:21:49 2015

F  [Thr 1964] *** LOG => SfCJavaVm: exit hook is called. (rc = 335)
"

This is usually a SCS connection issue.

Please see note 1658385 - J2EE System fails with "exitcode = -334". Also have a look at the below notes and make sure that the network connection is fine. We have seen similar issues due to bad/ slow network connection. Please check the below notes with your network to ascertain the network health:

#124562     Hostname resolution problems (DNS timeouts)

#500235     Network Diagnosis with NIPING

#413330     Network timeout

Also add the below parameters to the SCS instance file: <sid>_SCS01_<host> in folder /usr/sap/<sid>/SYS/profile

ms/max_clients = 600

ms/max_open_requests = 2000

ms/audit=1

and

jstartup/keep_old_logfiles=3

The latter 2 parameters will prevent  overwritting log files in case of restart.

Let me know how it goes
____________
Kind Regards,
Hemanth
SAP AGS

Former Member
0 Kudos

How much memory has been allocated to server/VM which this instance is running on? Are there any other programs running on this server/VM? Please check system performance/bottlenecks with your system administrator during SAP instance startup.

Former Member
0 Kudos

We are using 2.2 GB RAM.

Paging size (Swap size) is system managed size.

No other programs running.

Regards,

Suraj

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Suraj, the latest issue is not with the memory.
Please have a look at my last reply. can you also attach the std_server and this will have the exact details of the error.

Former Member
0 Kudos

You have allocated insufficient amount of physical memory for server/VM to run SAP system smoothly. More likely exit code 335 is result of problems with garbage collection pauses/lack of free memory.

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Roman,

I would like to question that.
The exit code details are:

-334 server/dispatcher process is restarted because of error

        getting confirmation during reattach to the message server.

        Support component for this case is BC-CST-MS.


-335 server/dispatcher process is restarted because of timeout

        for reconnecting to message server has reached. Support

        component for this case is BC-CST-MS.

This is not a memory issue.

Regards,
Hemanth

Former Member
0 Kudos

Hi Hemanth,

I really appreciate your valuable comments. No one argues about the meaning of these exit codes. But the reasons for it appearance can be different. According to trace files provided it is clear that problems exists that relate to insufficient amount of memory installed that lead to bottlenecks at OS level (more likely related to high paging activity). Amount of memory that can be allocated by jvm is up to 3GB. 2.2GB installed is really not enough. Timeouts for reconnecting to message server can be related to performance issues on OS level. In any way (even if these problems have no relations to each other) it is desirable to perform proper sizing procedure to avoid problems with insufficient amount of memory.

Regards,

Roman

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Roman,

Of course you are right . With just the dev_server0, we can never be sure; all settings need to be checked.
Great point!

regards,
hemanth

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

It has got installed !!

We allocated more RAM to the VM and continued the installation... and it worked.

It definitely was memory issue.

Thanks all for your help and valuable suggestions

To summarize, the hostname has to be resolved and adequate RAM size has to be allocated.

Will continue with further installation for SMD.

Regards,

Suraj

Former Member
0 Kudos

Heeyy Suraj,

Great news!! Good luck with the rest of the installation .

Regards,

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

phew..finally some good news Suraj

Reagan
Advisor
Advisor
0 Kudos

Could you supply the latest std_server trace file?

If possible restart the Windows server and start the SAP system using the MMC and supply the latest std_server trace file.

Former Member
0 Kudos

Hi Reagan,

I am attaching the std_server0.out(:\usr\sap\XYZ\J00\work) logs after restarting the server and starting sap system from SAP.

I always have to start this after restart, is that correct behavior or should it start automatically ?

Regards,

Suraj

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Suraj,


Hope you are doing good. The server did not stop as per the std_server0 log. Was the engine hanging?

You do not need to manually start/restart just the SCS. This is counter productive.
When you run the startsap script/ or SAPMMC, it takes care of the start process of the entire server.

Regards,
Hemanth

Former Member
0 Kudos

Hi Hemanth,

The server was definitely a bit slow  during the installation process due to RAM allocation.

Well, after every restart of server, I have to start the SAP system by starting mmc and then manually starting the instance inside..

Regards,

Suraj

Reagan
Advisor
Advisor
0 Kudos

Hello Suraj

Could you restart the whole server and manually start SAP using the MMC please?

The logs are from yesterday.

RB

Former Member
0 Kudos

Hi Reagan,

I did just that.

They are the logs after restart of server.

I just restarted the machine again and started from mmc.

The logs remain same.

Regards,

Suraj

Former Member
0 Kudos

Hello Suraj,

Can you attach your dev_icm and dev_ms log files?

Anyway if cant allocate memory you cannot work with message server or dispatcher.

In my last post I have posted a link to change your parameters acording with your resources (maybe must read it to check if all is ok).

I saw this in your log:

Suspiciously long running GC (turn this off via -XX:-DumpGCStatisticForLongGCs or change the time threshold via -XX:LongGCTime=<time in seconds>)

Sometimes when you cant resolve your alias or IPs in a good time, its helpful start separalety all components of system. You can too, add more time to the threshold indicated in the log.

I hope this can help you.

Regards,

Former Member
0 Kudos

Hi friends,

I had stopped the server yesterday.

Today I restarted the server and straightaway continued installation.

We have moved ahead from the stuck situation.

One thing I did change before server shutdown is that I changed is the Processor scheduling to  'Programs' instead of Background services.

Currently I am at Deploy Java components stage. Maybe it was something to do with memory (no change in RAM has been made as yet)

Will let you all know how it turns out.

Regards,

Suraj

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Suraj,


Thats great news. Please keep us posted .

____________
Kind Regards,
Hemanth
SAP AGS
 

Former Member
0 Kudos

It still is at the same point.

We haven't got any errors as yet.

Not sure there has been any improvement.

We have seen messages  such as :

Deployment: deployment triggered: tc~ep~epcftoolbox~api/sap.com

Deployment: Deployment of [name: 'tc~obn~migrator', vendor: 'sap.com' (sda)] finished.

etc.


And now when I check today I am seeing  performing offline deployment. Elapsed time: 0:06 minutes...

Any ideas?

Regards,

Suraj

Former Member
0 Kudos

Hello Suraj,

Offline deployment is a part of the installation. You must be sure that the installation is running checking the activity of your server, the active process of SAP or the last entries of your sapinst.log (checking the date and time of the last entries).

Can you post the last entries of sapinst.log?

Regards,

Former Member
0 Kudos

Hi Jose,

The last lines of the sapinst.log file:

21.01.2015 12:19:19

GetProcessList

OK

name, description, dispstatus, textstatus, starttime, elapsedtime, pid

jstart.EXE, J2EE Server, GREEN, All processes running, 2015 01 21 12:09:31, 0:09:48, 3900

igswd.EXE, IGS Watchdog, GREEN, Running, 2015 01 21 12:09:32, 0:09:47, 1888

INFO 2015-01-21 12:19:19.878

Working directory changed to C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD.

INFO 2015-01-21 12:19:20.161

Execute step createDeployList of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|Prepare_Deployment_Using_Product_Version_Descriptor|ind|ind|ind|ind|deploy_pvd|0|Deployment_Using_Product_Version_Descriptor|ind|ind|ind|ind|deploy|0

INFO 2015-01-21 12:19:34.321

Creating file C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\componentsInLoad.lst.

INFO 2015-01-21 12:19:36.784

Creating file C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\deploy.lst.

INFO 2015-01-21 12:19:36.865

Working directory changed to C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD.

INFO 2015-01-21 12:19:37.294

Execute step deploySoftwareComponents of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|Prepare_Deployment_Using_Product_Version_Descriptor|ind|ind|ind|ind|deploy_pvd|0|Deployment_Using_Product_Version_Descriptor|ind|ind|ind|ind|deploy|0

INFO 2015-01-21 12:19:39.279

Creating file C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\deploycontroller.log.

INFO 2015-01-21 12:19:39.621

Output of "C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/install/lib;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_jce.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_jsse.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_smime.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_ssl.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/w3c_http.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~exception~impl.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~je~clientlib~impl.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~logging~java~impl.jar;C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/install/lib/tc~je~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner deploy -l "C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\deploy.lst" -e stop -u lower -w safety --lcm bulk -t 14400000 --host SMDTest --port 50004 is written to the logfile deploycontroller.log.

Regards,

Suraj

Former Member
0 Kudos

Well well,

It seems the process has got stuck.

Some of the entries in sapinst.log are

Error ] Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61599]. Check if the host and port specified are correct and AS Java is up and running.

[ LOG EXCEPTION ]  :: Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61600]. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception during getInitialContext operation. Cannot establish connection to the remote server. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:416)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:338)

  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

  at javax.naming.InitialContext.init(InitialContext.java:223)

  at javax.naming.InitialContext.<init>(InitialContext.java:197)

  at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.reconnectDeployer(DeployProcessorImpl.java:1954)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.waitResultForOfflineDeploy(DeployProcessorImpl.java:1626)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:903)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.performOperation(DeployCommand.java:208)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.executeCommand(DeployCommand.java:540)

  at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:197)

  at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)

  at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)

Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.

  at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:164)

  at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:79)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:315)

  ... 14 more

Caused by: java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61600]

  at com.sap.engine.services.rmi_p4.ClientConnection.run(ClientConnection.java:501)

  at java.lang.Thread.run(Thread.java:763)

[ Error ] Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61600]. Check if the host and port specified are correct and AS Java is up and running.

[ LOG EXCEPTION ]  :: Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61601]. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception during getInitialContext operation. Cannot establish connection to the remote server. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:416)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:338)

  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

  at javax.naming.InitialContext.init(InitialContext.java:223)

  at javax.naming.InitialContext.<init>(InitialContext.java:197)

  at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.reconnectDeployer(DeployProcessorImpl.java:1954)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.waitResultForOfflineDeploy(DeployProcessorImpl.java:1626)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:903)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.performOperation(DeployCommand.java:208)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.executeCommand(DeployCommand.java:540)

  at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:197)

  at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)

  at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)

Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.

  at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:164)

  at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:79)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:315)

  ... 14 more

Caused by: java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61601]

  at com.sap.engine.services.rmi_p4.ClientConnection.run(ClientConnection.java:501)

  at java.lang.Thread.run(Thread.java:763)

[ Error ] Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61601]. Check if the host and port specified are correct and AS Java is up and running.

[ LOG EXCEPTION ]  :: Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61603]. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception during getInitialContext operation. Cannot establish connection to the remote server. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:416)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:338)

  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

  at javax.naming.InitialContext.init(InitialContext.java:223)

  at javax.naming.InitialContext.<init>(InitialContext.java:197)

  at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.reconnectDeployer(DeployProcessorImpl.java:1954)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.waitResultForOfflineDeploy(DeployProcessorImpl.java:1626)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:903)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.performOperation(DeployCommand.java:208)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.executeCommand(DeployCommand.java:540)

  at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:197)

  at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)

  at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)

Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.

  at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:164)

  at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:79)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:315)

  ... 14 more

Caused by: java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61603]

  at com.sap.engine.services.rmi_p4.ClientConnection.run(ClientConnection.java:501)

  at java.lang.Thread.run(Thread.java:763)

[ Error ] Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61603]. Check if the host and port specified are correct and AS Java is up and running.

[ Info ] +++ Wait for server response +++. Deploying offline [6,407] seconds. Will timeout in [7,992] seconds.

[ LOG EXCEPTION ]  :: Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61604]. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception during getInitialContext operation. Cannot establish connection to the remote server. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:416)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:338)

  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

  at javax.naming.InitialContext.init(InitialContext.java:223)

  at javax.naming.InitialContext.<init>(InitialContext.java:197)

  at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.reconnectDeployer(DeployProcessorImpl.java:1954)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.waitResultForOfflineDeploy(DeployProcessorImpl.java:1626)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:903)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.performOperation(DeployCommand.java:208)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.executeCommand(DeployCommand.java:540)

  at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:197)

  at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)

  at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)

Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.

  at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:164)

  at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:79)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:315)

  ... 14 more

And latest entries include:

104

Component:EP-ADMIN ( sap.com)

Status:Aborted

Description:

  1. Contains Aborted deployment component:

sap.com_com.sap.portal.appdesigner.pageeditor

Component:EP-RUNTIME ( sap.com)

Status:Skipped

Description:

Component:UWLJWF ( sap.com)

Status:Skipped

Description:

Component:EP-APPS-EXT ( sap.com)

Status:Skipped

Description:

Component:EP-WPC ( sap.com)

Status:Skipped

Description:

Component:NET-PDK ( sap.com)

Status:Skipped

Description:

Component:KMC-BC ( sap.com)

Status:Skipped

Description:

Component:KMC-COLL ( sap.com)

Status:Skipped

Description:

Component:KMC-CM ( sap.com)

Status:Skipped

Description:

Component:KMC-WPC ( sap.com)

Status:Skipped

Description:

Component:VC70RUNTIME ( sap.com)

Status:Skipped

Description:

Component:GROUPWARE ( sap.com)

Status:Skipped

Description:

Component:JWF ( sap.com)

Status:Skipped

Description:

[ Info ] Destroy command:[deploy]

ERROR 2015-01-22 12:54:50.607

CJS-30186  Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/install/lib;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_jce.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_jsse.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_smime.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_ssl.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/w3c_http.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~exception~impl.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~je~clientlib~impl.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~logging~java~impl.jar;C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/install/lib/tc~je~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner deploy -l "C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\deploy.lst" -e stop -u lower -w safety --lcm bulk -t 14400000 --host SMDTest --port 50004' aborts with return code 104. Error message is <b>'Component:EP-ADMIN ( sap.com) Status:Aborted Description: 1. Contains Aborted deployment component:  sap.com_com.sap.portal.appdesigner.pageeditor.</b> SOLUTION: Check 'C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\log\dc_log\deploy_api.0.log' and 'deploycontroller.log' for more information.

ERROR 2015-01-22 12:58:21.972

FCO-00011  The step deploySoftwareComponents with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|Prepare_Deployment_Using_Product_Version_Descriptor|ind|ind|ind|ind|deploy_pvd|0|Deployment_Using_Product_Version_Descriptor|ind|ind|ind|ind|deploy|0|deploySoftwareComponents was executed with status ERROR ( Last error reported by the step: Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/install/lib;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_jce.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_jsse.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_smime.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/iaik_ssl.jar;\\SMDTest/sapmnt/XYZ/SYS/global/security/lib/tools/w3c_http.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~exception~impl.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~je~clientlib~impl.jar;C:/usr/sap/XYZ/J00/j2ee/j2eeclient/sap.com~tc~logging~java~impl.jar;C:/Program Files/sapinst_instdir/NW740SR2/MSS/INSTALL/STD/install/lib/tc~je~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner deploy -l "C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\deploy.lst" -e stop -u lower -w safety --lcm bulk -t 14400000 --host SMDTest --port 50004' aborts with return code 104. Error message is <b>'Component:EP-ADMIN ( sap.com) Status:Aborted Description: 1. Contains Aborted deployment component:  sap.com_com.sap.portal.appdesigner.pageeditor.</b> SOLUTION: Check 'C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\log\dc_log\deploy_api.0.log' and 'deploycontroller.log' for more information.).

Regards,

Suraj

Former Member
0 Kudos

SOLUTION: Check 'C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\log\dc_log\deploy_api.0.log' and 'deploycontroller.log' for more information.).

Please attach these files also.

Former Member
0 Kudos

Hello Suraj,

If you can, you can try to start your Java system and retry this installation step.

Regards,

Former Member
0 Kudos

Hi Roman,

Attaching deploy_api.0.log and for reference


Below are entries of deploycontroler log :


[ Error ] Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61609]. Check if the host and port specified are correct and AS Java is up and running.

[ LOG EXCEPTION ]  :: Could not establish connection to AS Java on [SMDTest:50004]. End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61610]. Check if the host and port specified are correct and AS Java is up and running.

javax.naming.NamingException: Exception during getInitialContext operation. Cannot establish connection to the remote server. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:416)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:338)

  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

  at javax.naming.InitialContext.init(InitialContext.java:223)

  at javax.naming.InitialContext.<init>(InitialContext.java:197)

  at com.sap.engine.services.dc.api.session.impl.SessionImpl.getContext(SessionImpl.java:215)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.reconnectDeployer(DeployProcessorImpl.java:1954)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.waitResultForOfflineDeploy(DeployProcessorImpl.java:1626)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:903)

  at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.performOperation(DeployCommand.java:208)

  at com.sap.engine.services.dc.api.cmd.deploy.DeployCommand.executeCommand(DeployCommand.java:540)

  at com.sap.engine.services.dc.api.cmd.AbstractCommand.execute(AbstractCommand.java:197)

  at com.sap.engine.services.dc.api.cmd.Runner.execute(Runner.java:37)

  at com.sap.engine.services.dc.api.cmd.Runner.main(Runner.java:61)

Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.

  at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:164)

  at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:79)

  at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:315)

  ... 14 more

Caused by: java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.97.139.193,port=50004,localport=61610]

  at com.sap.engine.services.rmi_p4.ClientConnection.run(ClientConnection.java:501)

  at java.lang.Thread.run(Thread.java:763)

Regards,

Suraj

Former Member
0 Kudos

Can you check the state of AS Java instance and attach latest dev_server0 trace file? More likely you faced with the same problems as before.

Former Member
0 Kudos

Attaching the dev_server0 after restart of machine and trying installation again.

Same error

Former Member
0 Kudos

Hi Jose,

Tried the installation again after restart.

Same error as yesterday.

Former Member
0 Kudos

You need to increase memory amount for server/VM. After that it might require to adjust jvm memory related parameters.

Former Member
0 Kudos

Ok to sumarize it all make sure you have configuration like this:

1)SMDTest and SMDTest.ww930.my-it-solutions.net resolves to same IP and you can ping both of them

2) you have sapmsXYZ  3601/tcp        #01 is instance number

                    sapgw01      3301/tcp

the error you getting is concering resolve of FQN of a server

*** ERROR => GwInitHostAdrs: GwHostToAddr(SMDTest.ww930.my-it-solutions.net) failed, rc=-2 [gwxxaddr.c   427]

that means it cant resolve the IP behind SMDTest.ww930.my-it-solutions.net

so make 100% sure you can ping SMDTest.ww930.my-it-solutions.net and the IP you get is the IP of a box where you install SCS instance

sapstartsrv service need to be stopped and shared memory cleanup (alternatively restart server)

delete the installation folder and repeat installation of SCS instance again

Former Member
0 Kudos

Hi,

At the moment, we are unable to ping SMDTest.ww930.my-it-solutions.net (we are working on that)


Other than that, we have already done step for sapstartsrv.exe; i.e we had stopped the sapstartsrv and restarted the server.After that we tried the installation steps again, but we cannot move forward.

Thanks,

Suraj


Former Member
0 Kudos

I'm wondering how come you are able to install SAP on hostname with more than 13 characters.

Please refer  611361 - Hostnames of SAP servers

Former Member
0 Kudos


is no more than 13 SMDTest is 7 characters, the above hostname is FQN

so hostname.domain.net

manumohandas82
Active Contributor
0 Kudos

Hi Suraj ,

Did you disable the firewall ..

Thanks ,

Manu

Former Member
0 Kudos

Hi ,

We tried a fresh installation on a new 2012 R2 server which is a WorkGroup machine.

We are stuck on the same error again!

We have tried steps suggested above by Mr. Sriram,Mr. Yogesh and Mr. Reagan.

Below are the some errors found in

C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\sapinst_dev.log

WARNING    2015-01-15 12:09:58.170 [iaxxcmsclient.cpp:67]

          CIaMsgClient::CIaMsgClient(SMDTest, 3901)

Connect to message server (SMDTest/3901) failed: MSENILAYER.

TRACE      2015-01-15 12:09:58.326 [jsextension.hpp:145]

          JSExceptionHandler::setJSException()

Member function 'Installer.invokeModuleCall()' has thrown ESAPinstMsgException. Converting to JavaScript exception EJS::Exception.

NWException thrown: nw.msConnectException:

<html> <head> </head> <body> An exception occurred while connecting to the message server instance XYZ/SCS01 on host SMDTest, port 3901.<br>DIAGNOSIS: The original exception was: wapsmod.ms.MsAttachFailed:

Connect to message server (SMDTest/3901) failed: MSENILAYER..<br>SOLUTION: Make sure that the message server is started. </body></html>

Additionally we also tried to open sapstartsrv.exe which is working fine..(check screenshot attached)


Along with it we are attaching the dev_ms and dev_rd files from C:\usr\sap\XYZ\SCS01\work


UAC is disabled and internet is blocked on it..(only intranet)


Regards,

Suraj

Reagan
Advisor
Advisor
0 Kudos

*** ERROR => GwInitHostAdrs: GwHostToAddr(SMDTest.ww930.my-it-solutions.net) failed, rc=-2 [gwxxaddr.c   427]

***LOG S10=> GwInitReader, GwInitHostAdrs () [gwxxrd.c     2078]

Like I said before you have issues with the Gateway and the problem looks more likely with the hostname of the system? Check the hosts file and correct the entries if required.

Cheers

RB

Former Member
0 Kudos

Agree here

SMDTest.ww930.my-it-solutions.net

is this hostname  in DNS or at least in hostfile ?

Former Member
0 Kudos

Hi

Is it necessary to have the machine in a Domain?

We are trying it on a Workgroup virtual machine server!

Regards,

Suraj

Former Member
0 Kudos

the DNS is not mandatory as long as hostname can be resolved for example localy

simplified if you can ping the hostname(so it resolve the IP behind)

Former Member
0 Kudos

Hi,

We did try that,

As we are using Workgroup details;

we are able to resove SMDTest and the IP

but when trying SMDTest.'domainname' we get error 'Ping request could not find host' 

Regards,

Suraj

Former Member
0 Kudos

yea I assumed that,

is it possible to put an alias to SMDTest also with full quilified domain name?

then it resolves

Other question is, during SWPM installation you did probably choose to uses FQN for SCS ? i remember it was possible to uncheck the possibility, then the shortname SMDTest will be used

Former Member
0 Kudos

hi Stanislav,

Regarding your second question:

We did use SMDTest while installation (by unchecking FQDN option), even then we are getting this error!

About alias to SMDTest, what would be its effect/use?

Regards,

Suraj

Former Member
0 Kudos

you an assign to 1 IP address  several hostnames

for example:

10.1.1.1 SMDTest SMDTest.ww930.my-it-solutions.net

you can set it localy under Windows folder System32/drivers/etc/hosts.txt

in this case both hostnames resolves to same IP address.


there is also a second solution you can try,but each time installation adjust profiles you gonna change them manually:


under /usr/sap/SMD/SYS/profile directory check for parameters

SAPLOCALHOSTFULL and change that to SMDTest

Former Member
0 Kudos

Hi Stanislav,

We have already added that to the hosts file.

Under under \usr\sap\XYZ\SYS\profile inside XYZ_SCS01_SMDTest file, we found information as,

SAPSYSTEMNAME = XYZ

SAPGLOBALHOST = SMDTest

SAPSYSTEM = 01

INSTANCE_NAME = SCS01

No mention of SAPLOCALHOSTFULL

Thanks,

Suraj

Former Member
0 Kudos

Have you tried to restart installation process?

maybe you zip and attach SAP profiles here?

Former Member
0 Kudos

Hello Suraj,

You have to be sure that you can ping to SMDTest and SMDTest.ww930.my-it-solutions.net.

You can use traceroute for this hosts to ensure that all its ok.

Furthermore, you must check if sapgw##, sapmsSID have the correct ports on your services file too.


I hope this can help you.


Regards,

Former Member
0 Kudos

Hi Stanislav,

Please find attached the profile details

Former Member
0 Kudos

Hi Jose,

Where can I find  sapgw##, sapmsSID details?

Regards,

Suraj

Former Member
0 Kudos

So the profiles are OK not using FQN.

So basically if you can ping now full qualified name and it gives same IP as short name try this :

As smdadm  user

stopsap SCS01

startsap SCS01 SMDTest

Former Member
0 Kudos

Hello Suraj,

You can find it in "C:\Windows\System32\drivers\etc".

Regards,

Former Member
0 Kudos

Hi Jose,

The  sapgw## have ports from 3300-3399

Cannot find about sapmsSID though


Thanks,

Suraj Nair

Former Member
0 Kudos

Hello,

Try to add this entries:

sapmsXYZ     3600/tcp

"or"

sapmsXYZ     3601/tcp

When you have added this entry (one of two options), stop all, clean memory and sapstrsrv process and try again.

Regards,

Former Member
0 Kudos

Hi,

I added sapmsXYZ 3600/tcp

Then restarted the server, and tried installation once again.

But we are stuck on the same error.

Regards,

Suraj

Former Member
0 Kudos

Did you check the logs in the work folder of the SCS instance. You should be able to find something there. Usually I have seen this happens when the kernel is too old and it not matching the OS. You will find evidence in the logs.

Former Member
0 Kudos

Thanks Yogesh,

We are using 2012 R2 server and Kernel version also seems to be the latest (51049350_10).

Which log file exactly do we have to check in the work folder?

I am attaching the logs of C:\Program Files\sapinst_instdir\NW740SR2\MSS\INSTALL\STD\sapinst_dev for reference.

Regards,

Suraj

Sriram2009
Active Contributor
0 Kudos

Hi Nair

1.  On your Windows OS have you disable the firewall & UAC?

2. SIDADM & SAPServiceSID user id as part of loacl admin group?

3.  Just do the full restart and then try again in the same phase.

BR

SS

Former Member
0 Kudos

Check the following.

- check MMC, I am sure the SAP service is grey or orange. Check which service? message server etc.

- if it is the SCS service, check the following folder assuming your SID is XYZ and drive is K. K:\usr\sap\XYZ\SCS10\work. Sort files on time and check the first few files. They would have some error which is more accurate.

- as Sriram said, trey stopping sapinst. rebooting the system and start again, make sure to select to start from the point it stopped.

- One more thing you can try is double click on the sapstartsrv.exe file, see if the window pops up to install service. if it does not means ur kernel is definitely not correct. Check and let me know the error.

Former Member
0 Kudos

We had gone through K:\usr\sap\XYZ\SCS10\work for logs ...

We found errors such as ;

WARNING    2015-01-08 11:44:57.377 [synxcpath.cpp:1010]

           CSyPath::getOSNodeType(bool) lib=syslib module=syslib

Unable to get information about path \\LABEL.ASC\ using GetVolumeInformation. Operating system error message: The specified path is invalid.

ERROR      2015-01-08 11:50:53.797

           CJSlibModule::writeError_impl()

CJS-30086  Instance SMD/SCS01 [PARTIAL] did not start after 5:10 minutes. Giving up.

Current access token

====================

Could not get thread token. Last error: 1008. I assume that no thread token exists.

Any idea on those?

We are planning to do a fresh installation on new OS.

BR

Suraj

Reagan
Advisor
Advisor
0 Kudos

The problem is during the start of the instance so the SCS will be started first and it looks like the central services fails to start. You should supply the logs from the <Drive>:\usr\sap\SID\SCS<NN>\work directory to understand the reasons behind that.

Try starting the instance manually from the MMC and check the latest logs.

Former Member
0 Kudos

Hi Reagan,

The logs have already been attached.

I am attaching it again.

Reagan
Advisor
Advisor
0 Kudos

This is the log from installation directory, right?

Aren't there logs (Eg: dev_ms) in the SCS work directory?

Former Member
0 Kudos

Hi Reagan,

The logs attached are from \usr\sap\XYZ\SCS10\work folder only.

Reagan
Advisor
Advisor
0 Kudos

Hello Suraj

>>

GetProcessList

OK

name, description, dispstatus, textstatus, starttime, elapsedtime, pid

msg_server.EXE, MessageServer, GREEN, Running, 2015 01 08 11:45:43, 0:05:10, 3796

enserver.EXE, EnqueueServer, GREEN, Running, 2015 01 08 11:45:43, 0:05:10, 2384

gwrd.EXE, Gateway, GRAY, Stopped, 2015 01 08 11:45:45, 0:00:00, -1

<<

There is a problem with the gateway.

Check the gateway trace file (dev_rd) to know why the gateway fails to start.

Cheers

RB