cancel
Showing results for 
Search instead for 
Did you mean: 

trouble installing Rep Server

Former Member
0 Kudos

I am trying to install Rep Server on a linux host(Sandbox environment).

I am using a resource file but here is the error I receive after running the rs_init

$ $SYBASE/$SYBASE_REP/install/rs_init -r REP1.rs

The log file for this session is '/data/sybase/rep/15.7.1.SP207/REP-15_5/init/logs/log0826.006'.

CONNECTIVITY ERROR: CT-Library error: 'ct_ds_lookup(): directory service layer: internal directory control layer error: There was an error encountered while binding to the directory service.'.

INTERNAL ERROR: ct_ds_lookup() Failed

Check the log (/data/sybase/rep/15.7.1.SP207/REP-15_5/init/logs/log0826.006) for more information.  Please make a note of this error and contact your SAP representative.

Sort Order 'binary' is invalid.

Attribute 'rs_sortorder' could not be set because 'binary' is an invalid value.

The attribute 'do_add_replication_server' is set to no, but there is no entry in the interfaces file for Replication Server 'REP1'.

Attribute 'do_add_replication_server' could not be set because 'no' is an invalid value.

Exiting.

The log file for this session is '/data/sybase/rep/15.7.1.SP207/REP-15_5/init/logs/log0826.006'.

$ more $SYBASE/interfaces
REP1
        master tcp ether MyHostName 5002
        query tcp ether MyHostName 5002

REP1_ERSSD
        query tcp ether MyHostName 5001

please help.

$ ls $SYBASE/charsets/is*

/data/sybase/rep/15.7.1.SP207/charsets/iso_1:

binary.srt

Accepted Solutions (0)

Answers (1)

Answers (1)

terry_penna
Participant
0 Kudos

If you run rs_init interactively does it show binary as a sort order or does rs_init give an error running?

Binary is the default when you run rs_init interactively here is a n example of rs_init being run interactively, look at option 7:

Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.

Enter the number of your choice and press return:

REPLICATION SERVER INFORMATION

1.  Is this Replication Server the ID Server?  no
2.  Replication Server error log:  /work/tpenna/sp2061571RS/REP-15_5/install/rs
sort.log
3.  Replication Server configuration file:  /work/tpenna/sp2061571RS/REP-15_5/i
nstall/rssort.cfg

4.  Replication server SA password:

5.  Replication Server character set:  iso_1
6.  Replication Server language:  us_english
7.  Replication Server sort order:  binary

8.  Replication Server Interfaces Information               Incomplete
9.  Use SSL Service:  no

Ctrl-a Accept and Continue, Ctrl-x Exit Screen, ? Help.

Enter the number of your choice and press return:

So if running rs_init interactively does no work did your source the SYBASE.csh  environment file first before running rs_init?  If you don't it will not have all the correct env variables which may be why it cannot find binary.srt?

Regards

Terry Penna

Former Member
0 Kudos


Thanks Terry,

I tried using the interactive and yes 'binary' is the default sort order.

I am thinking a system variable wasn't set correctly or something when I installed the rep server(installed via an rpm)

I ended up cheating to make it work...

I used a compressed version of the .rs file from http://www.petersap.nl/SybaseWiki/index.php?title=Installation_guidelines_RepServer_15.7.1

but I will be tearing it down and rebuilding soon, so I can use your recommendations.

thanks again.

Rich