On Aug 5, 9:39 pm, Guto <gutom... at (no spam) gmail.com> wrote:
Hi there.
I'm starting to arrange a replication server at test environment, and
as I already have the same scenary at produciton, a primary ( venus )
and a replication ( mars ) servers, I just copied the /sybase/
REP-12_5/ folder from the replication server, and tried to run the
rs_init to configure, this way:
/sybase > . ./REP-12_5/SYBASE.sh
/sybase > echo $SYBASE
/sybase/REP-12_5
/sybase
Then
/sybase/REP-12_5/install > rs_init
but it's failing and I don't know why:
brutusrep:/sybase > /sybase/REP-12_5/install/rs_init
The SYBASE environment variable is being temporarily reset to '/
sybase' because rs_init is being invoked from that directory.
The context allocation routine failed when it tried to load
localization files!!
One or more following problems may caused the failure
Your sybase home directory is /sybase. Check the environment variable
SYBASE if it is not the one you want!
Cannot access file /sybase/config/objectid.dat
Could not allocate context structure in syb_system_default_charset().
The context allocation routine failed when it tried to load
localization files!!
One or more following problems may caused the failure
Your sybase home directory is /sybase. Check the environment variable
SYBASE if it is not the one you want!
Cannot access file /sybase/config/objectid.dat
Could not allocate context structure in syb_system_default_language().
The context allocation routine failed when it tried to load
localization files!!
One or more following problems may caused the failure
Your sybase home directory is /sybase. Check the environment variable
SYBASE if it is not the one you want!
Cannot access file /sybase/config/objectid.dat
INTERNAL ERROR: Unable to load messages for product 'sybinit' using
language 'us_english' and character set 'iso_1': could not locate the
localization file '/sybase/locales/us_english/iso_1/sybinit/
sybinit.loc'.
Please make a note of this error and contact your Sybase
representative.
INTERNAL ERROR: Unable to initialize the Localization Manager.
Please make a note of this error and contact your Sybase
representative.
Exiting.
Any ideas?
Solaris 8
ASE 12.5.4
REP-12.5
Thanks
Guto.
Hi Guto
If I understand you properly, you have copied only /sybase/REP-12_5
directory. If so - this is insufficient, you should copy the whole /
sybase directory (but not any datafiles or stable queues in case if
you created it under /sybase). Replication server (RS) needs Open
Client components in order to function properly. If, for some reason,
you can't copy the whole /sybase directory then, at the very minimum,
RS needs following directories/files under /sybase in order to
function properly:
charsets
collate
config
interfaces
locales
OCS-12_5
SYSAM-1_0
Of course, installing RS with EBF from scratch with installer is the
best option.
Hope it helps
Leonid
Gvirtzhttp://www.gvirtz-consulting.com