on 11-17-2014 3:18 PM
Hi all,
I am doing a CRM upgrade, but the SUM doesn't start.
I got the following error from SDTServer file.
<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[2.0.7.1006]/-->
<!--NAME[S:\SUM\sdt\log\SDTServer.log]/-->
<!--PATTERN[SDTServer.log]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Nov 17, 2014 3:29:17 PM [Info]: *************************************************
Nov 17, 2014 3:29:17 PM [Info]: Starting SL Controller listening on port 4241 ...
Nov 17, 2014 3:29:17 PM [Info]: Starting StorageService ...
Nov 17, 2014 3:29:17 PM [Info]: Initializing SecurityManager ...
Nov 17, 2014 3:29:19 PM [Info]: Server certificate fingerprint is 1E B6 6F B0 3D C6 D5 7E F4 C2 17 C0 E7 67 CB 9F
Nov 17, 2014 3:29:19 PM [Info]: Configuring HTTPManager ...
Nov 17, 2014 3:29:19 PM [Info]: Starting WebstartService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting RoleService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting AlertService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting NotesService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting ProcessService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting MIDService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting FileService ...
Nov 17, 2014 3:29:19 PM [Info]: LogService switched off.
Nov 17, 2014 3:29:19 PM [Info]: Starting MailService ...
Nov 17, 2014 3:29:19 PM [Info]: Starting services ...
Nov 17, 2014 3:29:19 PM [Info]: Starting service "UseCaseService" ...
Nov 17, 2014 3:29:20 PM [Info]: Starting MIDService ...
Nov 17, 2014 3:29:36 PM [Error]: Start of "UseCaseService" failed.
Nov 17, 2014 3:29:36 PM [Error]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of a null object loaded from local variable 'instProfileDir'
Nov 17, 2014 3:29:36 PM [Error]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of a null object loaded from local variable 'instProfileDir'
Nov 17, 2014 3:29:36 PM [Fatal]: Error during controller startup.
Nov 17, 2014 3:29:36 PM [Fatal]: SL Controller exiting.
Any idea about this error, we have java install in this server?
Thanks
Reza
S:\SUM\sdt\log\
seems you are running it from the network.
Please extract the sum file in \usr\sap\SID\ and then try to run STARTUP.bat with SIDadm(Run as Admin)
regards,
pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Thanks for all reply. This is a sap high availability installation.
I have increase sdt tracing too please the added file.
I have done alle your advices, but still the same.
<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[2.0.7.1006]/-->
<!--NAME[S:\\sum-\\SUM-\\sdt\\trc\\server.trc]/-->
<!--PATTERN[server.trc]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Nov 17, 2014 7:31:38 PM [Error]: com.sap.sdt.server.core.admin.SDTServerAdmin.startGuiService(SDTServerAdmin.java:1195) [Thread[main,5,main]]: Start of "UseCaseService" failed.
Nov 17, 2014 7:31:38 PM [Error]: com.sap.sdt.server.core.admin.SDTServerAdmin.startServices(SDTServerAdmin.java:1171) [Thread[main,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of a null object loaded from local variable 'instProfileDir'
Nov 17, 2014 7:31:38 PM [Error]: com.sap.sdt.server.core.admin.SDTServerAdmin.startGuiService(SDTServerAdmin.java:1196) [Thread[main,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of a null object loaded from local variable 'instProfileDir'
Nov 17, 2014 7:31:38 PM [Error]: com.sap.sdt.server.core.admin.SDTServerAdmin [Thread[main,5,main]]:
Nov 17, 2014 7:31:38 PM [Fatal]: com.sap.sdt.server.core.admin.SDTServerAdmin.startServices(SDTServerAdmin.java:1173) [Thread[main,5,main]]: Error during controller startup.
Nov 17, 2014 7:31:38 PM [Fatal]: com.sap.sdt.server.core.admin.SDTServerAdmin.startServices(SDTServerAdmin.java:1174) [Thread[main,5,main]]: SL Controller exiting.
Thanks
Reza
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.ProfileDirDetector [Thread[main,5,main]]: Image path data: ImagePath REG_EXPAND_SZ "S:\usr\sap\QC1\DVEBMGS02\exe\sapstartsrv.exe" pf="\\sapqc1\sapmnt\QC1\SYS\profile\START_DVEBMGS02_DKRDSSAP377"
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.ProfileDirDetector [Thread[main,5,main]]: Profile directory is \\sapqc1\sapmnt\QC1\SYS\profile
Nov 17, 2014 7:55:17 PM [Info]: com.sap.sdt.lup.sysinfo.InstanceDetector [Thread[main,5,main]]: SID dir:[S:\usr\sap\QC1]
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: Checking directory S:\usr\sap\QC1\DVEBMGS02.
Nov 17, 2014 7:55:17 PM [Info]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: Detected Instance DVEBMGS02 with profile \\sapqc1\sapmnt\QC1\SYS\profile\QC1_DVEBMGS02_DKRDSSAP377 and hostname DKRDSSAP377.
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: Checking directory S:\usr\sap\QC1\DVEBMGS04.
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: Profile \\sapqc1\sapmnt\QC1\SYS\profile\QC1_DVEBMGS04_DKRDSSAP377 does not exist
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: No profiles with prefix QC1_DVEBMGS04_ found in \\sapqc1\sapmnt\QC1\SYS\profile
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.ProfileDirDetector [Thread[main,5,main]]: Looking for profile directory in S:\usr\sap\QC1
The problem looks like an issue with the profiles for the instance QC1 with system number 04.
The tool is able to locate the profile for system with instance number 02 and then it check for the system with the instance number 04.
Was there an upgrade/update executed on this server prior to this? and if yes was the execution successful?
I would stop the current SUM execution and remove the SUM directory and download the new SUM archive and extract it. Start the SUM tool and check how it goes.
Reagan
Are you sure that it was due to the Java stack of the system? If this was a dual stack system then there wont be a separate instance number for the J2EE stack. If there was a separate J2EE stack then instance will be JC<NN> with a separate instance number but the log says it is looking for the ABAP stack. Are there any orphan entries in the registry that are pointing to the wrong system number? Possibly that could be the issue.
Hi Reza,
I can only speculate, but was a dual stack split done on the server? That can lead to :
"
As I know this sap CRM system was a dual stack, for some time ago that Java part was removed.
"
If this is the case, it would be a good idea to check all the profile parameters. Please go through the below note thoroughly and make sure that the right parameters are set:
SAP Note No. 741289: Profile parameters of the J2EE Engine are lost
Have a great day!
Thanks and Best regards,
Hemanth
Great Reza. If the server is 7.1+, below is the link:
Instance Profiles - Configuration in the CCMS - SAP Library
SAP note 741289 is not valid in this case (for 7.1+ servers).
Best regards,
Hemanth
Hi Reza,
Nice to hear issue has been resolved.Kindly close the thread.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Share the latest logs.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reza,
Checking directory S:\usr\sap\QC1\DVEBMGS04.
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: Profile \\sapqc1\sapmnt\QC1\SYS\profile\QC1_DVEBMGS04_DKRDSSAP377 does not exist
Nov 17, 2014 7:55:17 PM [Debug]: com.sap.sdt.lup.sysinfo.InstanceDetector$InstanceDirFilter [Thread[main,5,main]]: No profiles with prefix QC1_DVEBMGS04_ found in \\sapqc1\sapmnt\QC1\SYS\profile
As the tool is looking for profile QC1_DVEBMGS04_DKRDSSAP377 and unable to find the same at the location,so as also suggested by Reagan try to extract a new SUM and re run the process by replacing the old one.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check your JAVA version? remove JAVA_HOME if wrong version is there.
Uncar SUM tool again and run SUM Tool again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reza,
Hope you are doing good.
Nice to hear from you again.
As you would be aware, a java.lang.NullPointerException exception is a runtime Exception thrown by the JVM when your application code, other referenced API(s) or middleware (Weblogic, WAS, JBoss...)
is attempting to invoke an instance method of a null object or modify a particular field of a null object.
Most likely the SUM tool is looking for a profile (or any other file )that no longer exists.
Just increase sdt tracing as follows:
- exit tool
- Open the file <UPG_DIR>/sdt/param/logging.properties
- Find commented line "#### Set up tracing severity"
- Set "com.sap.sdt.severity = DEBUG" and Save
- restart the tool and repeat the failing step to generate new trace file with more details. This will give to the exact file affected.
Thank you!
____________
Kind Regards,
Hemanth
SAP AGS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reza,
Could you check
1) whether you are using sidadm user to perform the upgrade
2) Environment variables are set correctly for JAVA_HOME. Check using echo $JAVA_HOME
3) DISPLAY variables are set correctly. Check using echo $DISPLAY.
4) Check in /etc/services whether port 4241 is not occupied by any other service
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From where are you running sum ?
I hope it's not a network drive.
can you share other logs too..
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.