cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with start SAP

Former Member
0 Kudos

Hello colleagues,

When try start SAP in the log std_server0.out i have this error,

com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Connect to SAP gateway failed

Connect_PM  TYPE=A ASHOST=sapbgd00-g SYSNR=01 GWHOST=sapbgd00-g GWSERV=sapgw01 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       hostname '?' unknown

TIME        Mon Dec 22 10:51:34 2014

RELEASE     721

COMPONENT   NI (network interface)

VERSION     40

RC          -2

DETAIL      NiErrSet

COUNTER     2

    at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)

    at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)

    at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)

    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)

    at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)

    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed

Connect_PM  TYPE=A ASHOST=sapbgd00-g SYSNR=01 GWHOST=sapbgd00-g GWSERV=sapgw01 PCS=1

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       hostname '?' unknown

TIME        Mon Dec 22 10:51:34 2014

RELEASE     721

COMPONENT   NI (network interface)

VERSION     40

RC          -2

DETAIL      NiErrSet

COUNTER     2

    at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)

    at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:447)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)

    at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)

    at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)

    ... 6 more

[Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

Dec 22, 2014 10:51:34...            com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_66] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

Heap

par new generation   reserved 614400K, committed 614400K, used 364668K [0x0000000001930000, 0x0000000027130000, 0x0000000027130000)

  eden space 409600K,  83% used [0x0000000001930000, 0x0000000016926f28, 0x000000001a930000)

  from space 102400K,  20% used [0x000000001a930000, 0x000000001bd58468, 0x0000000020d30000)

  to   space 102400K,   0% used [0x0000000020d30000, 0x0000000020d30000, 0x0000000027130000)

concurrent mark-sweep generation reserved 1482752K, committed 1482752K, used 0K [0x0000000027130000, 0x0000000081930000, 0x0000000081930000)

concurrent-mark-sweep perm gen reserved 524288K, committed 524288K, used 34815K [0x0000000081930000, 0x00000000a1930000, 0x00000000a1930000)

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185239
Active Contributor
0 Kudos

Hi Victor,

Run the command

nohub gwrd  -force pf=/usr/sap/PGD/SYS/profile/PGD_SCS01_lgeepgd0 &

Then open the jcmon pf=PGD_JC00_lgeepgd0 &

Restart the instnace your server0 will come up

With Regards

Ashutosh Chaturvedi

Answers (2)

Answers (2)

srinivasan_vinayagam
Active Contributor
0 Kudos

Hi Victor,

Are you changed anything UME related area?

If did, revert it will work.

com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Connect to SAP gateway failed



http://scn.sap.com/thread/3146051

Reagan
Advisor
Advisor
0 Kudos

LOCATION    CPIC (TCP/IP) on local host with Unicode

ERROR       hostname '?' unknown

TIME        Mon Dec 22 10:51:34 2014

What system is this? Any information in the gateway trace (dev_rd)?

Did you make any changes to the system prior to this issue?

Open the configtool and check the hostname for the UME.

Check the entries in the hosts files and if required maintain them in the hosts file.

Former Member
0 Kudos

Hello Reagan,

I dont see the file dev_rd

host0:user 97> ll dev*

-rw-r--r--. 1 useradm sapsys   534 Dec 22 12:12 dev_enqadm

-rw-r--r--. 1 useradm sapsys   534 Dec 22 10:21 dev_enqadm.old

-rw-r--r--. 1 useradm sapsys   644 Dec 22 12:12 dev_enqio_0

-rw-r--r--. 1 useradm sapsys   644 Dec 22 10:22 dev_enqio_0.old

-rw-r--r--. 1 useradm sapsys   614 Dec 22 12:12 dev_enqlisten

-rw-r--r--. 1 useradm sapsys   614 Dec 22 10:21 dev_enqlisten.old

-rw-r--r--. 1 useradm sapsys   802 Dec 22 12:12 dev_enqsig

-rw-r--r--. 1 useradm sapsys   802 Dec 22 10:21 dev_enqsig.old

-rw-r--r--. 1 useradm sapsys  1281 Dec 22 12:12 dev_enqsrv

-rw-r--r--. 1 useradm sapsys  1528 Dec 22 12:11 dev_enqsrv.old

-rw-r--r--. 1 useradm sapsys   703 Dec 22 12:12 dev_enqwork

-rw-r--r--. 1 useradm sapsys   885 Dec 22 12:11 dev_enqwork.old

-rw-r--r--. 1 useradm sapsys  6703 Dec 22 12:15 dev_ms

-rw-r--r--. 1 useradm sapsys 10861 Dec 22 12:11 dev_ms.old

-rw-r--r--. 1 useradm sapsys   827 Dec 22 12:12 dev_sapstart

When try open the configtool i show this error,

112> ./configtool.sh
X11 connection rejected because of wrong authentication.
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:331)
        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.

        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:147)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)
        at java.awt.Window.init(Window.java:231)
        at java.awt.Window.<init>(Window.java:275)
        at java.awt.Frame.<init>(Frame.java:401)
        at javax.swing.JFrame.<init>(JFrame.java:193)
        at com.sap.engine.configtool.visual.ConfigToolView.<init>(ConfigToolView.java:82)
        at com.sap.engine.configtool.visual.ConfigTool.<init>(ConfigTool.java:111)
        at com.sap.engine.configtool.visual.ConfigTool.main(ConfigTool.java:1176)
        ... 5 more

In the hostname i have the new and old machine.

Thanks.

Former Member
0 Kudos

Hello Sriam,

When try open the configtool show this error,

lgeepgd0:pgdadm 112> ./configtool.sh
X11 connection rejected because of wrong authentication.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:331)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:147)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)
at java.awt.Window.init(Window.java:231)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at javax.swing.JFrame.<init>(JFrame.java:193)
at com.sap.engine.configtool.visual.ConfigToolView.<init>(ConfigToolView.java:82)
at com.sap.engine.configtool.visual.ConfigTool.<init>(ConfigTool.java:111)
at com.sap.engine.configtool.visual.ConfigTool.main(ConfigTool.java:1176)
... 5 more
lgeepgd0:pgdadm 113>

Reagan
Advisor
Advisor
0 Kudos

Hello Victor

I thought the DISPLAY issue was fixed as you already marked the other thread as resolved.

If you are using Putty to launch the configtool then it will fail.

Like I said start the VNCserver on the server and use VNCviewer to connect to the system.

You should then set the DISPLAY variable and launch the tool.

What happens when you run xclock ?

su - <SID>adm

setenv DISPLAY hostname:1.0

xclock

Cheers

RB