Hi all,
I am trying to update SAP ASE 16.00.01 to 16.00.02 on Windows 2012 R2 using sapdbctrl (following note 1982469).
Using latest PL191 of saphostagent.
Now, running the first command (saphostctrl without force option) starts but it was actually hanging on following:
[PID 4296] switch to user: [domain]\sybsmp
[PID 4296] Error: 5, Access is denied.[PID 4296] CreateProcessAsUser failed
[PID 4296] Updating ASE software failed. Check logfile F:\sybase\SMP\log\ASE_Suite.log for errors.
After turning off the UAC, I was able to restart the process (this time with force option), but it cancels agains on following (after 5 minutes approx):
[PID 3516] errors occured during ASE setup.
[PID 3516] LiveUpdateOption update ASE software failed
[PID 3516] *** ERROR => 'Database live update' failed: errors occured during ASE setup.
There is no more details. This is log from dev_sabdbctrl from work directory. Last entry in ASEcommon (runtime) log is that DB was shut down There is another log file - ASE_Suite.log and everything looks like finished successfully. I tried to execute syb_update_db.txt manually and it finishes successfully as well.
Checking DB it has patch level PL 02 (sql @@version), everything looks fine but I cannot be sure that it is truth.
I tried with sapdbctrl directly but it is complaining about securestore even though the entry is there and password is correct. (oh and I think force option for sapdbctrl is having typo in SAP note, somehow there appears "IDS" instead of <SAPSID>).
ERROR: Database user authentication failed: No access to SecureStore or DB_CONNECT/SYB/SADB_USER or DB_CONNECT/SYB/SADB_PASSWORD is missing in SecureStore or password is incorrect. Provide credentials for user sapsa via command input or provide access to SecureStore.
rsecssfs list (I have added SAUPDDB_USER as per note)
| DB_CONNECT/DEFAULT_DB_PASSWORD | Encrypted | 2014-10-13 10:49:52 UTC |
| DB_CONNECT/DEFAULT_DB_USER | Plaintext | 2014-10-13 10:49:50 UTC |
| DB_CONNECT/SYB/SADB_PASSWORD | Encrypted | 2014-10-13 14:17:41 UTC |
| DB_CONNECT/SYB/SADB_USER | Plaintext | 2014-10-13 14:17:34 UTC |
| DB_CONNECT/SYB/SAUPDDB_PASSWORD | Encrypted | 2014-10-13 14:09:59 UTC |
| DB_CONNECT/SYB/SAUPDDB_USER | Plaintext | 2014-10-13 14:09:51 UTC |
| DB_CONNECT/SYB/SSODB_PASSWORD | Encrypted | 2014-10-13 10:50:01 UTC |
| DB_CONNECT/SYB/SSODB_USER | Plaintext | 2014-10-13 10:49:58 UTC |
| DB_CONNECT/SYB/SYBSID_PASSWORD | Encrypted | 2014-10-13 10:50:05 UTC |
| DB_CONNECT/SYB/SYBSID_USER | Plaintext | 2014-10-13 10:50:02 UTC |
It is domain installation, central installation on 1 host.
Logs in work\SMP folder looks also fine.
Any ideas?
Thank you.