Hello,
I just tried to update my XS Advanced from Patch Level 9 (from initial installation of Rev. 110) to Patch Level 13 (latest available) after installing HANA Rev. 111.
Basically everything went OK, but in the end I got an error:
6:05:38.321 - INFO: --------------------------------------------------------- 16:05:38.321 - INFO: Calling postInstall event handler 16:05:38.321 - INFO: --------------------------------------------------------- 16:05:38.321 - INFO: isUpdate=1 16:05:38.321 - INFO: ------------------------------------------------------- 16:05:38.321 - INFO: Starting system... 16:05:38.321 - INFO: ------------------------------------------------------- 16:05:38.322 - INFO: Starting instance on host 'hdb' (worker, xs_worker)... 16:05:38.322 - INFO: Parameters: instance number = 00, user = hdbadm 16:05:38.326 - INFO: Instance is already running 16:05:38.326 - INFO: Instance on host 'hdb' (worker, xs_worker) started 16:05:38.326 - INFO: ------------------------------------------------------- 16:05:38.326 - INFO: END: Start system 16:05:38.326 - INFO: ------------------------------------------------------- 16:05:38.326 - INFO: Configuring software... 16:05:38.326 - INFO: 6 Package(s) installed 16:05:38.326 - INFO: baseVersion = 1.00.00.262519 16:05:38.326 - INFO: Write parameters to secure store 16:05:38.379 - INFO: Starting external program /hana/shared/HDB/xs/installation-scripts/installation/storeParameters 16:05:38.380 - INFO: Command line is: /hana/shared/HDB/xs/installation-scripts/installation/storeParameters 16:05:38.584 - INFO: Output line 1: Initially filling HANA Secure Store with parameters 16:05:38.634 - INFO: Output line 2: RSecSSFs: Entering function "RSecSSFsGetRecord" [/bas/745_REL/src/krn/rsec/rsecssfs.c 1433] 16:05:38.634 - INFO: Output line 3: RSecSSFs: Using explicitly set configuration data [/bas/745_REL/src/krn/rsec/rsecssfs.c 7811] 16:05:38.634 - INFO: Output line 4: RSecSSFs: SSFS-1440: File "/usr/sap/HDB/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.DAT" cannot be opened in mode "rb": No such file or directory (errno = 2) [/bas/745_REL/src/krn/rsec/rsecssfs.c 1794] 16:05:38.634 - INFO: Output line 5: RSecSSFs: SSFS-4182: Data file "/usr/sap/HDB/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.DAT" does not exist (this is not an error per se: a non-existing data file is a valid situation and treated equally as one without entries) [/bas/745_REL/src/krn/rsec/rsecssfs.c 4908] 16:05:38.634 - INFO: Output line 6: RSecSSFs: SSFS-4187: Record with key "XSA/CORE/RUNTIME_DB_USER_NAME" not found in secure storage [/bas/745_REL/src/krn/rsec/rsecssfs.c 4911] 16:05:38.634 - INFO: Output line 7: RSecSSFs: Exiting function "RSecSSFsGetRecord" with return code 1 (message: SSFS-4187: Record with key "XSA/CORE/RUNTIME_DB_USER_NAME" not found in secure storage <-- SSFS-4182: Data file "/usr/sap/HDB/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.DAT" does not exist (this is not an error per se: a non-existing data file is a valid situation and treated equally as one without entries) <-- SSFS-1440: File "/usr/sap/HDB/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.DAT" cannot be opened in mode "rb": No such file or directory (errno = 2)) [/bas/745_REL/src/krn/rsec/rsecssfs.c 1522] 16:05:40.916 - INFO: Output line 8: Exception in thread "main" com.sap.security.nw.SecStoreFS.SecStoreFSException: SSFS-1560: Could not open lockfile; open(/usr/sap/HDB/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.LCK) == 2 (No such file or directory) [17=EEXIST,13=EACCES,2=ENOENT,22=EINVAL,20=ENOTDIR] (RC = -3) 16:05:40.916 - INFO: Output line 9: at com.sap.security.nw.SecStoreFS.SecStoreFS.putRecord(Native Method) 16:05:40.917 - INFO: Output line 10: at com.sap.xs2rt.installation.impl.util.InstallationParameterWriterSecureStoreImpl.initParameters(InstallationParameterWriterSecureStoreImpl.java:235) 16:05:40.917 - INFO: Output line 11: at com.sap.xs2rt.installation.impl.util.InstallationParameterWriterSecureStoreImpl.<init>(InstallationParameterWriterSecureStoreImpl.java:213) 16:05:40.917 - INFO: Output line 12: at com.sap.xs2rt.installation.impl.util.InstallationParameterWriterSecureStoreImpl.createFromStdIn(InstallationParameterWriterSecureStoreImpl.java:142) 16:05:40.917 - INFO: Output line 13: at com.sap.xs2rt.installation.impl.util.InstallationParameterWriterSecureStoreImpl.main(InstallationParameterWriterSecureStoreImpl.java:121) 16:05:40.922 - INFO: Program terminated with exit code 1 16:05:40.922 - INFO: Failed to write parameters to secure store. 16:05:40.922 - ERR : Custom event postInstall failed 16:05:40.922 - INFO: --------------------------------------------------------- 16:05:40.922 - INFO: END: postInstall event handler (start: 16:05:38.321 duration: 00:00:02.601) 16:05:40.922 - INFO: --------------------------------------------------------- 16:05:40.923 - INFO: ----------------------------------------------------------- 16:05:40.923 - INFO: END: Installing SAP HANA XS RUNTIME (start: 16:05:17.192 duration: 00:00:23.730) 16:05:40.923 - INFO: ----------------------------------------------------------- 16:05:40.922 - ERR : Cannot install 16:05:40.923 - ERR : error installing 16:05:40.923 - ERR : Installation failed 16:05:40.923 - INFO: Summary of critical errors 16:05:40.923 - ERR : Installation failed 16:05:40.923 - ERR : error installing 16:05:40.922 - ERR : Cannot install 16:05:40.922 - ERR : Custom event postInstall failed
Of course the file /usr/sap/HDB/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.DAT doesn't exist since it is at /usr/sap/HDB/SYS/global/security/rsecssfs/data/SSFS_HDB.DAT (there is one "/HDB" too much in the path).
It looks like installation was nearly complete, but now xscontroller, xsexecagent and xsuaaserver are not running (status red via studio). There are no errors related to those 3 processes in trace folder, but I found out that the number of instances have been set to 0 in daemon.ini configuration file.
What am I supposed to do now? Should I try setting the number of instances to 1? Is this an error in PL 13?
Any hints appreciated,
Fabian