on 08-08-2016 9:30 PM
Hi
Need help . We have upgraded ASE 15.5 and RS 15.6 to ASE 15.7 and RS 15.7 on new host . After upgrade Since Last two weeks it was working fine .(There are several replication servers/route which are still running in 15.6) .
This weekend host was bounced and some how we last cfg file ... no idea how ...(this happened second time on this host) . Now replication server is down ..
I tried below steps ... temporally it is up but if we restart it will go down again ..
1) Replication server was not coming up due to missing cfg file
2) Copy the CFG file from old host (REP- 15.6) to current server
3) try to start repserver but it failed due to missing enry of RS_random
4) Copy the RS_random from another server to this server
5) try to start replication . failed with error
Failed to decrypt because of invalid salt. --
understand failed because i copied RS_random from different server .
Failed to decrypt because of invalid salt. |
E. 2016/08/08 11:58:12. ERROR #31331 GLOBAL RS(GLOBAL RS) - ic\encrypt\enc_csi.c(1788)
The value for entry 'RS_random' in config file is invalid. |
F. 2016/08/08 11:58:12. FATAL ERROR #18028 GLOBAL RS(GLOBAL RS) - \servmain\servmain.c(596)
Initialization failed. Server is shutting down. |
Got one Solution ...
2065456 - ERROR #171: Failed to decrypt because of invalid salt - SAP Replication Server
I follow the below steps and able to start replication server but last step is failing in rs_init -- saying out your "The current site version is '1550'.
this will work only after 15.7. but we can not upgraded site version 15.7 as other servsre (ID servers and many more servers are still in lower version)
But if i shutdown replication servers then it will not start again due to RS_random. So we have to reset sa password and remove rs_random and restart again replication ....
So can we resolve this issue without upgrading site_version.
1> sysadmin site_version
2> go
The current site version is '1550'.
1> admin version
2> go
Version
------------------------------------------------------------------------------------------------------------------
Replication Server/15.7.1/EBF 25153 SP301 rs1571sp301/NT (IX86)/Windows 2008 R2/2093/OPT/Tue Sep 01 15:17:21 2015
1>
Appreciate your help ....
Cause
rs_random is lost or corrupted.
Resolution
Hi,
If you don't set site version to 15.7.1 or later, you use rs_init from the version of the replicaiton server that are upgrading from, which is 15.5, to change the encrpted password in configuration file. The document about "Password Encryption" is at the link - http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc35817.1571/doc/html/jer1334141712511.... You do the same steps in the KBA except in step 8, set Sybase environment to 15.5 and start rs_init.
In rs_init, select 1 to set repserver name and select 4 to specify 1571 Replication Server configuration file.
Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.
Enter the number of your choice and press return: 4
Enter the Replication Server configuration file location:
Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.
Enter the number of your choice and press return: 4
Enter the Replication Server configuration file location:
ALTER A REPLICATION SERVER CONFIGURATION FILE PASSWORD
1. Replication Server Name: PRS
2. RS SA user: sa
3. RS SA password:
4. Replication Server configuration file: /work/liub/sybase/RS1571SP304/REP-1
5_5/install/PRS.cfg
5. Configuration file parameter for password:
6. New password:
Binh Liu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks got a very simple Solution ...
alter encryption key rs_password_key regenerate
This generate password for RS_random ... and update config file ....
Regenerates an encryption key.
alter encryption key key_name regenerate
alter encryption key requires sa permission.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.