rs_init cannot connect to ASE server

Hi,

I'm trying to install a new rep server 12.6 on Fedora 11. It's the first 
one so it's also an ID server.  The ASE server is 15.0.3. 

I'm using rs_init with a resource file to install the rep server. However 
it is unable to connect to the ASE server. 

I know that the server is spelled correctly because otherwise the error 
message would say that the server is not in the interfaces file. In 
addition, I can connect to the ASE server with the same server name and 
userid/passwd.

I started ASE with traceflag 4001 to see if it was trying to login with 
an invalid userid or password. However no login message was produced, 
which proves that's it's not even trying to connect to the server.

Here is the log file of the installation attempt,

2009/10/28 18:47:35 BEGIN ENVIRONMENT INFORMATION

USER ENVIRONMENT
----------------------------------------
user name:                     Andrei
current directory:             /home/sybase/work/repserver/rs
character set:                 iso_1
language:                      us_english
Component Directory:           /opt/sybase/repserver126/REP-12_6
working release directory:     /opt/sybase/repserver126


2009/10/28 18:47:35 END ENVIRONMENT INFORMATION
2009/10/28 18:47:35 Directory service provider: 'InterfacesDriver'.
2009/10/28 18:47:35 Using resource file 'install_REP01.rs' for product
                    attributes.
2009/10/28 18:47:35 CONNECTIVITY ERROR: CT-Library error: 'ct_connect(): 
network
                    packet layer: internal net library error: Net-Lib 
protocol
                    driver call to connect two endpoints failed'.
2009/10/28 18:47:35 CONNECTIVITY ERROR: Login attempt failed: server = 
'RSSD01'.
2009/10/28 18:47:35 Running task: update interfaces information for the ID
                    Server.
2009/10/28 18:47:35 Task succeeded: update interfaces information for the 
ID
                    Server.
2009/10/28 18:47:35 Running task: update interfaces information for the
                    Replication Server.
2009/10/28 18:47:35 Task succeeded: update interfaces information for the
                    Replication Server.
2009/10/28 18:47:35 Running task: check the RSSD SQL Server.
2009/10/28 18:47:35 Unable to connect to the RSSD SQL Server 
'RSSD01'.Make sure
                    that the SQL Server is running, and the 'sa' password 
is
                    correct.
2009/10/28 18:47:35 Task failed: check the RSSD SQL Server. Terminating
                    configuration.
2009/10/28 18:47:35 Configuration failed.
2009/10/28 18:47:35 Exiting.
2009/10/28 18:47:35 The log file for this session is
                    '/opt/sybase/repserver126/REP-12_6/init/logs/
log1028.016'.
2009/10/28 18:47:35 Log close.

Any help will be appreciated.

Thanks in advance.


0
Andrei
10/28/2009 11:46:34 PM
sybase.rep-server 2969 articles. 0 followers. Follow

13 Replies
301 Views

Similar Articles

[PageSpeed] 48

Hi Andrei

It looks like rs_init fails to connect to RSSD dataserver. Check that 
the RSSD01 entry in the interfaces file points to the correct host and 
port. Note that if you installed RS and ASE in different $SYBASE 
directories then you should check interfaces file under $SYBASE where RS 
is installed. If you installed RS under dedicated OS user then login 
with this user, verify that all RS-related environment variables are set 
and verify that you can connect to RSSD01 via isql.

Hope it helps
Leonid Gvirtz
http://www.gvirtz-consulting.com


Andrei R wrote:
> Hi,
>
> I'm trying to install a new rep server 12.6 on Fedora 11. It's the first 
> one so it's also an ID server.  The ASE server is 15.0.3. 
>
> I'm using rs_init with a resource file to install the rep server. However 
> it is unable to connect to the ASE server. 
>
> I know that the server is spelled correctly because otherwise the error 
> message would say that the server is not in the interfaces file. In 
> addition, I can connect to the ASE server with the same server name and 
> userid/passwd.
>
> I started ASE with traceflag 4001 to see if it was trying to login with 
> an invalid userid or password. However no login message was produced, 
> which proves that's it's not even trying to connect to the server.
>
> Here is the log file of the installation attempt,
>
> 2009/10/28 18:47:35 BEGIN ENVIRONMENT INFORMATION
>
> USER ENVIRONMENT
> ----------------------------------------
> user name:                     Andrei
> current directory:             /home/sybase/work/repserver/rs
> character set:                 iso_1
> language:                      us_english
> Component Directory:           /opt/sybase/repserver126/REP-12_6
> working release directory:     /opt/sybase/repserver126
>
>
> 2009/10/28 18:47:35 END ENVIRONMENT INFORMATION
> 2009/10/28 18:47:35 Directory service provider: 'InterfacesDriver'.
> 2009/10/28 18:47:35 Using resource file 'install_REP01.rs' for product
>                     attributes.
> 2009/10/28 18:47:35 CONNECTIVITY ERROR: CT-Library error: 'ct_connect(): 
> network
>                     packet layer: internal net library error: Net-Lib 
> protocol
>                     driver call to connect two endpoints failed'.
> 2009/10/28 18:47:35 CONNECTIVITY ERROR: Login attempt failed: server = 
> 'RSSD01'.
> 2009/10/28 18:47:35 Running task: update interfaces information for the ID
>                     Server.
> 2009/10/28 18:47:35 Task succeeded: update interfaces information for the 
> ID
>                     Server.
> 2009/10/28 18:47:35 Running task: update interfaces information for the
>                     Replication Server.
> 2009/10/28 18:47:35 Task succeeded: update interfaces information for the
>                     Replication Server.
> 2009/10/28 18:47:35 Running task: check the RSSD SQL Server.
> 2009/10/28 18:47:35 Unable to connect to the RSSD SQL Server 
> 'RSSD01'.Make sure
>                     that the SQL Server is running, and the 'sa' password 
> is
>                     correct.
> 2009/10/28 18:47:35 Task failed: check the RSSD SQL Server. Terminating
>                     configuration.
> 2009/10/28 18:47:35 Configuration failed.
> 2009/10/28 18:47:35 Exiting.
> 2009/10/28 18:47:35 The log file for this session is
>                     '/opt/sybase/repserver126/REP-12_6/init/logs/
> log1028.016'.
> 2009/10/28 18:47:35 Log close.
>
> Any help will be appreciated.
>
> Thanks in advance.
>
>
>   
0
Leonid
10/29/2009 6:14:58 PM
Hi Leonid,

I linked the interfaces file under the repserver $SYBASE directory to the 
ASE $SYBASE directory. I initially had trouble connecting to using isql 
also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH 
and then I was able to connect with isql. However, rs_init still can't 
connect to ASE. I get the same error I had before as listed below.

Does rs_init use open client to connect to ASE?

On Thu, 29 Oct 2009 10:14:58 -0800, Leonid Gvirtz wrote:

> Hi Andrei
> 
> It looks like rs_init fails to connect to RSSD dataserver. Check that
> the RSSD01 entry in the interfaces file points to the correct host and
> port. Note that if you installed RS and ASE in different $SYBASE
> directories then you should check interfaces file under $SYBASE where RS
> is installed. If you installed RS under dedicated OS user then login
> with this user, verify that all RS-related environment variables are set
> and verify that you can connect to RSSD01 via isql.
> 
> Hope it helps
> Leonid Gvirtz
> http://www.gvirtz-consulting.com
> 
> 
> Andrei R wrote:
>> Hi,
>>
>> I'm trying to install a new rep server 12.6 on Fedora 11. It's the
>> first one so it's also an ID server.  The ASE server is 15.0.3.
>>
>> I'm using rs_init with a resource file to install the rep server.
>> However it is unable to connect to the ASE server.
>>
>> I know that the server is spelled correctly because otherwise the error
>> message would say that the server is not in the interfaces file. In
>> addition, I can connect to the ASE server with the same server name and
>> userid/passwd.
>>
>> I started ASE with traceflag 4001 to see if it was trying to login with
>> an invalid userid or password. However no login message was produced,
>> which proves that's it's not even trying to connect to the server.
>>
>> Here is the log file of the installation attempt,
>>
>> 2009/10/28 18:47:35 BEGIN ENVIRONMENT INFORMATION
>>
>> USER ENVIRONMENT
>> ---------------------------------------- user name:                    
>> Andrei current directory:             /home/sybase/work/repserver/rs
>> character set:                 iso_1
>> language:                      us_english Component Directory:         
>>  /opt/sybase/repserver126/REP-12_6 working release directory:    
>> /opt/sybase/repserver126
>>
>>
>> 2009/10/28 18:47:35 END ENVIRONMENT INFORMATION 2009/10/28 18:47:35
>> Directory service provider: 'InterfacesDriver'. 2009/10/28 18:47:35
>> Using resource file 'install_REP01.rs' for product
>>                     attributes.
>> 2009/10/28 18:47:35 CONNECTIVITY ERROR: CT-Library error:
>> 'ct_connect(): network
>>                     packet layer: internal net library error: Net-Lib
>> protocol
>>                     driver call to connect two endpoints failed'.
>> 2009/10/28 18:47:35 CONNECTIVITY ERROR: Login attempt failed: server =
>> 'RSSD01'.
>> 2009/10/28 18:47:35 Running task: update interfaces information for the
>> ID
>>                     Server.
>> 2009/10/28 18:47:35 Task succeeded: update interfaces information for
>> the ID
>>                     Server.
>> 2009/10/28 18:47:35 Running task: update interfaces information for the
>>                     Replication Server.
>> 2009/10/28 18:47:35 Task succeeded: update interfaces information for
>> the
>>                     Replication Server.
>> 2009/10/28 18:47:35 Running task: check the RSSD SQL Server. 2009/10/28
>> 18:47:35 Unable to connect to the RSSD SQL Server 'RSSD01'.Make sure
>>                     that the SQL Server is running, and the 'sa'
>>                     password
>> is
>>                     correct.
>> 2009/10/28 18:47:35 Task failed: check the RSSD SQL Server. Terminating
>>                     configuration.
>> 2009/10/28 18:47:35 Configuration failed. 2009/10/28 18:47:35 Exiting.
>> 2009/10/28 18:47:35 The log file for this session is
>>                     '/opt/sybase/repserver126/REP-12_6/init/logs/
>> log1028.016'.
>> 2009/10/28 18:47:35 Log close.
>>
>> Any help will be appreciated.
>>
>> Thanks in advance.
>>
>>
>>

0
Andrei
10/30/2009 12:02:33 AM
Hmmm, if your SYBASE.[c]sh resource file is correct, and you had sourced the appropriate resource file before running 
isql, you shouldn't have needed to add the OCS-15_0/bin directory to your $PATH variable (ie, this is taken care of in 
the SYBASE.[c]sh script).

So this brings up a few basic questions:

1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh) under each of your $SYBASE directories?  if not, 
that's problematic since those files should have been created when you ran the 'setup' program to install the software

2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their contents to make sure they're accurate?  I 
know, how do you tell if they're accurate?  at a minimum the SYBASE variable should be defined with the correct 
directory, and all follow-on path/lib settings should be using the same $SYBASE value as their root [I've seen problems 
where the DBA copied the SYBASE.[c]sh script from a different version of ASE, then forgot to update *ALL* of the 
variables with the appropriate values]

3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in your $SYBASE directory?




Andrei R wrote:
> Hi Leonid,
> 
> I linked the interfaces file under the repserver $SYBASE directory to the 
> ASE $SYBASE directory. I initially had trouble connecting to using isql 
> also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH 
> and then I was able to connect with isql. However, rs_init still can't 
> connect to ASE. I get the same error I had before as listed below.
0
Mark
10/30/2009 12:13:44 AM
Note that I am running Repserver 12.6 with ASE 15.0.3.

The SYBASE.sh file is correct. It was produced by the setup. It used to 
work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only 
difference now is that I'm running on Fedora 11 with ASE 15.0.3.

Here is a log of what I did now. You will see that all variables are set 
properly and that it only works when I add OCS-15_0/bin/ to the path. 
Nevertheless, the rs_init doesn't work even with the new path.

[sybase@desktop1 ~]$ su - sybase
Password: 
[sybase@desktop1 ~]$ env | grep -i sybase
USER=sybase
MAIL=/var/spool/mail/sybase
PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/
bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/home/sybase
HOME=/home/sybase
LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 ~]$ cd /opt/sybase/repserver126/
[sybase@desktop1 repserver126]$ ls
charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh  SYSAM-1_0
collate   jConnect-5_5  OCS-12_5  RSM-12_6           SYBASE.env  uninstall
config    _jvmrep       OCS-15_0  sample_interfaces  SYBASE.sh   
vpd.properties
data      locales       REP-12_6  shared-1_0         sybcent41
[sybase@desktop1 repserver126]$ . SYBASE.sh
[sybase@desktop1 repserver126]$ env | grep -i sybase
SYBASE_SYSAM=SYSAM-1_0
OLDPWD=/home/sybase
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/
usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 repserver126]$ set -o vi
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 


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 /opt/sybase/repserver126. Check the 
environment variable SYBASE if it is not the one you want!
Using locale name "en_US.UTF-8" defined in environment variable LANG
Locale name "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
locales/locales.dat file
An error occurred when attempting to allocate localization-related 
structures.
[sybase@desktop1 repserver126]$ unset LANG
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
Password: 
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error: 
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql
[sybase@desktop1 repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/
bin:$PATH
[sybase@desktop1 repserver126]$ echo $PATH
-bash: ק: command not found
[sybase@desktop1 repserver126]$echo $PATH
/opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/
bin
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/ASE1503/OCS-15_0/bin/isql
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
Password: 
1> 



On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:

> Hmmm, if your SYBASE.[c]sh resource file is correct, and you had sourced
> the appropriate resource file before running isql, you shouldn't have
> needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
> this is taken care of in the SYBASE.[c]sh script).
> 
> So this brings up a few basic questions:
> 
> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
> under each of your $SYBASE directories?  if not, that's problematic
> since those files should have been created when you ran the 'setup'
> program to install the software
> 
> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
> contents to make sure they're accurate?  I know, how do you tell if
> they're accurate?  at a minimum the SYBASE variable should be defined
> with the correct directory, and all follow-on path/lib settings should
> be using the same $SYBASE value as their root [I've seen problems where
> the DBA copied the SYBASE.[c]sh script from a different version of ASE,
> then forgot to update *ALL* of the variables with the appropriate
> values]
> 
> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
> your $SYBASE directory?
> 
> 
> 
> 
> Andrei R wrote:
>> Hi Leonid,
>> 
>> I linked the interfaces file under the repserver $SYBASE directory to
>> the ASE $SYBASE directory. I initially had trouble connecting to using
>> isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
>> $PATH and then I was able to connect with isql. However, rs_init still
>> can't connect to ASE. I get the same error I had before as listed
>> below.

0
Andrei
10/30/2009 12:59:09 AM
This is a multi-part message in MIME format.
--------------010608030506060309060608
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi Andrei

I still tend to suspect that interfaces file under 
/opt/sybase/repserver126 is not OK. In other words, RSSD01 entry in this 
file points to a wrong host/port, or maybe has a wrong structure. You 
can verify it by running dscp before and after you add OCS 15 to your 
PATH and see the difference. You can also use "config" command in dscp 
to see the information about Sybase environment. In addition, you can 
delete and re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in 
case if some hidden characters appears in interfaces file.

Yes, rs_init uses OpenClient to connect to all RS and dataservers 
involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6 
components only, so I don't think that adding ASE 15 components to RS 
12.6 environment is the right solution in general. Environments of RS 
12.6 and ASE 15.0.3 should be separate.

Hope it helps
Leonid Gvirtz

Andrei R wrote:
> Note that I am running Repserver 12.6 with ASE 15.0.3.
>
> The SYBASE.sh file is correct. It was produced by the setup. It used to 
> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only 
> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
>
> Here is a log of what I did now. You will see that all variables are set 
> properly and that it only works when I add OCS-15_0/bin/ to the path. 
> Nevertheless, the rs_init doesn't work even with the new path.
>
> [sybase@desktop1 ~]$ su - sybase
> Password: 
> [sybase@desktop1 ~]$ env | grep -i sybase
> USER=sybase
> MAIL=/var/spool/mail/sybase
> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/
> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/home/sybase
> HOME=/home/sybase
> LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/
> [sybase@desktop1 repserver126]$ ls
> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh  SYSAM-1_0
> collate   jConnect-5_5  OCS-12_5  RSM-12_6           SYBASE.env  uninstall
> config    _jvmrep       OCS-15_0  sample_interfaces  SYBASE.sh   
> vpd.properties
> data      locales       REP-12_6  shared-1_0         sybcent41
> [sybase@desktop1 repserver126]$ . SYBASE.sh
> [sybase@desktop1 repserver126]$ env | grep -i sybase
> SYBASE_SYSAM=SYSAM-1_0
> OLDPWD=/home/sybase
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/
> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
> LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 repserver126]$ set -o vi
> [sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
>
>
> 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 /opt/sybase/repserver126. Check the 
> environment variable SYBASE if it is not the one you want!
> Using locale name "en_US.UTF-8" defined in environment variable LANG
> Locale name "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
> locales/locales.dat file
> An error occurred when attempting to allocate localization-related 
> structures.
> [sybase@desktop1 repserver126]$ unset LANG
> [sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
> Password: 
> CT-LIBRARY error:
> 	ct_connect(): network packet layer: internal net library error: 
> Net-Lib protocol driver call to connect two endpoints failed
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql
> [sybase@desktop1 repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/
> bin:$PATH
> [sybase@desktop1 repserver126]$ echo $PATH
> -bash: ק: command not found
> [sybase@desktop1 repserver126]$echo $PATH
> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/
> bin
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/ASE1503/OCS-15_0/bin/isql
> [sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
> Password: 
> 1> 
>
>
>
> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
>
>   
>> Hmmm, if your SYBASE.[c]sh resource file is correct, and you had sourced
>> the appropriate resource file before running isql, you shouldn't have
>> needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
>> this is taken care of in the SYBASE.[c]sh script).
>>
>> So this brings up a few basic questions:
>>
>> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
>> under each of your $SYBASE directories?  if not, that's problematic
>> since those files should have been created when you ran the 'setup'
>> program to install the software
>>
>> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
>> contents to make sure they're accurate?  I know, how do you tell if
>> they're accurate?  at a minimum the SYBASE variable should be defined
>> with the correct directory, and all follow-on path/lib settings should
>> be using the same $SYBASE value as their root [I've seen problems where
>> the DBA copied the SYBASE.[c]sh script from a different version of ASE,
>> then forgot to update *ALL* of the variables with the appropriate
>> values]
>>
>> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
>> your $SYBASE directory?
>>
>>
>>
>>
>> Andrei R wrote:
>>     
>>> Hi Leonid,
>>>
>>> I linked the interfaces file under the repserver $SYBASE directory to
>>> the ASE $SYBASE directory. I initially had trouble connecting to using
>>> isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
>>> $PATH and then I was able to connect with isql. However, rs_init still
>>> can't connect to ASE. I get the same error I had before as listed
>>> below.
>>>       
>
>   


--------------010608030506060309060608
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Andrei<br>
<br>
I still tend to suspect that interfaces file under
/opt/sybase/repserver126
is not OK. In other words, RSSD01 entry in this file points to a wrong
host/port, or maybe has a wrong structure. You can verify it by running
dscp before and after you add OCS 15 to your PATH and see the
difference. You can also use "config" command in dscp to see the
information about Sybase environment. In addition, you can delete and
re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in case if
some hidden characters appears in interfaces file.<br>
<br>
Yes, rs_init uses OpenClient to connect to all RS and dataservers
involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
components only, so I don't think that adding ASE 15 components to RS
12.6 environment is the right solution in general. Environments of RS
12.6 and ASE 15.0.3 should be separate.<br>
<br>
Hope it helps<br>
Leonid Gvirtz<br>
</tt><br>
Andrei R wrote:
<blockquote cite="mid:4aea3a5d$1@forums-1-dub" type="cite">
  <pre wrap="">Note that I am running Repserver 12.6 with ASE 15.0.3.

The SYBASE.sh file is correct. It was produced by the setup. It used to 
work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only 
difference now is that I'm running on Fedora 11 with ASE 15.0.3.

Here is a log of what I did now. You will see that all variables are set 
properly and that it only works when I add OCS-15_0/bin/ to the path. 
Nevertheless, the rs_init doesn't work even with the new path.

[sybase@desktop1 ~]$ su - sybase
Password: 
[sybase@desktop1 ~]$ env | grep -i sybase
USER=sybase
MAIL=/var/spool/mail/sybase
PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/
bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/home/sybase
HOME=/home/sybase
LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 ~]$ cd /opt/sybase/repserver126/
[sybase@desktop1 repserver126]$ ls
charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh  SYSAM-1_0
collate   jConnect-5_5  OCS-12_5  RSM-12_6           SYBASE.env  uninstall
config    _jvmrep       OCS-15_0  sample_interfaces  SYBASE.sh   
vpd.properties
data      locales       REP-12_6  shared-1_0         sybcent41
[sybase@desktop1 repserver126]$ . SYBASE.sh
[sybase@desktop1 repserver126]$ env | grep -i sybase
SYBASE_SYSAM=SYSAM-1_0
OLDPWD=/home/sybase
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/
usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 repserver126]$ set -o vi
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 


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 /opt/sybase/repserver126. Check the 
environment variable SYBASE if it is not the one you want!
Using locale name "en_US.UTF-8" defined in environment variable LANG
Locale name "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
locales/locales.dat file
An error occurred when attempting to allocate localization-related 
structures.
[sybase@desktop1 repserver126]$ unset LANG
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
Password: 
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error: 
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql
[sybase@desktop1 repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/
bin:$PATH
[sybase@desktop1 repserver126]$ echo $PATH
-bash: ק: command not found
[sybase@desktop1 repserver126]$echo $PATH
/opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/
bin
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/ASE1503/OCS-15_0/bin/isql
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
Password: 
1&gt; 



On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hmmm, if your SYBASE.[c]sh resource file is correct, and you had sourced
the appropriate resource file before running isql, you shouldn't have
needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
this is taken care of in the SYBASE.[c]sh script).

So this brings up a few basic questions:

1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
under each of your $SYBASE directories?  if not, that's problematic
since those files should have been created when you ran the 'setup'
program to install the software

2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
contents to make sure they're accurate?  I know, how do you tell if
they're accurate?  at a minimum the SYBASE variable should be defined
with the correct directory, and all follow-on path/lib settings should
be using the same $SYBASE value as their root [I've seen problems where
the DBA copied the SYBASE.[c]sh script from a different version of ASE,
then forgot to update *ALL* of the variables with the appropriate
values]

3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
your $SYBASE directory?




Andrei R wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi Leonid,

I linked the interfaces file under the repserver $SYBASE directory to
the ASE $SYBASE directory. I initially had trouble connecting to using
isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
$PATH and then I was able to connect with isql. However, rs_init still
can't connect to ASE. I get the same error I had before as listed
below.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

--------------010608030506060309060608--
0
Leonid
10/30/2009 8:05:48 AM
Leonid,

I deleted the entry and readded them using dscp and still the same 
problem. (The interfaces couldn't  be the problem anyway since the 15.0.3 
isql worked fine with the same interfaces. Besides the entry was created 
by the server build)

Is it possible the problem is with the 64 bit Linux OS? Is the repserver 
12.6 isql 32 bit? Here is the isql version that does not work.

[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql
[sybase@desktop1 repserver126]$ isql -v
Sybase CTISQL Utility/12.5.1/P/DRV.12.5.1.0/Linux Intel/Linux 
2.4.18-18.7.xsmp i686/BUILD1251-004/OPT/Mon Nov 10 12:16:01 2003

Confidential property of Sybase, Inc.
Copyright 1987, 2003
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of 
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation 
by
the  U.S.  Government  is  subject  to  restrictions set forth in a 
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  
written
agreement  specifying  the  Government's rights to use the software and 
any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA



On Fri, 30 Oct 2009 00:05:48 -0800, Leonid Gvirtz wrote:

> Hi Andrei
> 
> I still tend to suspect that interfaces file under
> /opt/sybase/repserver126 is not OK. In other words, RSSD01 entry in this
> file points to a wrong host/port, or maybe has a wrong structure. You
> can verify it by running dscp before and after you add OCS 15 to your
> PATH and see the difference. You can also use "config" command in dscp
> to see the information about Sybase environment. In addition, you can
> delete and re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in
> case if some hidden characters appears in interfaces file.
> 
> Yes, rs_init uses OpenClient to connect to all RS and dataservers
> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
> components only, so I don't think that adding ASE 15 components to RS
> 12.6 environment is the right solution in general. Environments of RS
> 12.6 and ASE 15.0.3 should be separate.
> 
> Hope it helps
> Leonid Gvirtz
> 
> Andrei R wrote:
>> Note that I am running Repserver 12.6 with ASE 15.0.3.
>>
>> The SYBASE.sh file is correct. It was produced by the setup. It used to
>> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
>> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
>>
>> Here is a log of what I did now. You will see that all variables are
>> set properly and that it only works when I add OCS-15_0/bin/ to the
>> path. Nevertheless, the rs_init doesn't work even with the new path.
>>
>> [sybase@desktop1 ~]$ su - sybase
>> Password:
>> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
>> MAIL=/var/spool/mail/sybase
>> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
local/
>> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=/home/sybase
>> HOME=/home/sybase
>> LOGNAME=sybase
>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
>> repserver126]$ ls
>> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh 
>> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6          
>> SYBASE.env  uninstall config    _jvmrep       OCS-15_0 
>> sample_interfaces  SYBASE.sh vpd.properties
>> data      locales       REP-12_6  shared-1_0         sybcent41
>> [sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
>> repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
>> OLDPWD=/home/sybase
>> USER=sybase
>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>> repserver126/OCS-12_5/lib3p:
>> SYBASE_OCS=OCS-12_5
>> SYBASE=/opt/sybase/repserver126
>> SYBASE_RSM=RSM-12_6
>> MAIL=/var/spool/mail/sybase
>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
bin:/
>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=/opt/sybase/repserver126
>> SYBASE_REP=REP-12_6
>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
>> HOME=/home/sybase
>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
>> repserver126]$ isql -U sa -S RSSD01
>>
>>
>> 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 /opt/sybase/repserver126. Check the
>> environment variable SYBASE if it is not the one you want! Using locale
>> name "en_US.UTF-8" defined in environment variable LANG Locale name
>> "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
>> locales/locales.dat file
>> An error occurred when attempting to allocate localization-related
>> structures.
>> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
>> repserver126]$ isql -U sa -S RSSD01 Password:
>> CT-LIBRARY error:
>> 	ct_connect(): network packet layer: internal net library error:
>> Net-Lib protocol driver call to connect two endpoints failed
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
>> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
>> [sybase@desktop1 repserver126]$echo $PATH
>> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/
bin:/
>> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
>> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
>> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/
ccache:/
>> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
sybase/
>> bin
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
>> isql -U sa -S RSSD01 Password:
>> 1>
>>
>>
>>
>> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
>>
>>
>>> Hmmm, if your SYBASE.[c]sh resource file is correct, and you had
>>> sourced the appropriate resource file before running isql, you
>>> shouldn't have needed to add the OCS-15_0/bin directory to your $PATH
>>> variable (ie, this is taken care of in the SYBASE.[c]sh script).
>>>
>>> So this brings up a few basic questions:
>>>
>>> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
>>> under each of your $SYBASE directories?  if not, that's problematic
>>> since those files should have been created when you ran the 'setup'
>>> program to install the software
>>>
>>> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at
>>> their contents to make sure they're accurate?  I know, how do you tell
>>> if they're accurate?  at a minimum the SYBASE variable should be
>>> defined with the correct directory, and all follow-on path/lib
>>> settings should be using the same $SYBASE value as their root [I've
>>> seen problems where the DBA copied the SYBASE.[c]sh script from a
>>> different version of ASE, then forgot to update *ALL* of the variables
>>> with the appropriate values]
>>>
>>> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script
>>> in your $SYBASE directory?
>>>
>>>
>>>
>>>
>>> Andrei R wrote:
>>>     
>>>> Hi Leonid,
>>>>
>>>> I linked the interfaces file under the repserver $SYBASE directory to
>>>> the ASE $SYBASE directory. I initially had trouble connecting to
>>>> using isql also but then I added
>>>> /opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH and then I was
>>>> able to connect with isql. However, rs_init still can't connect to
>>>> ASE. I get the same error I had before as listed below.
>>>>       
>>>>       
>>
>>   
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
> <head>
>   <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
>   <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000"> <tt>Hi Andrei<br>
> <br>
> I still tend to suspect that interfaces file under
> /opt/sybase/repserver126
> is not OK. In other words, RSSD01 entry in this file points to a wrong
> host/port, or maybe has a wrong structure. You can verify it by running
> dscp before and after you add OCS 15 to your PATH and see the
> difference. You can also use "config" command in dscp to see the
> information about Sybase environment. In addition, you can delete and
> re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in case if
> some hidden characters appears in interfaces file.<br> <br>
> Yes, rs_init uses OpenClient to connect to all RS and dataservers
> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
> components only, so I don't think that adding ASE 15 components to RS
> 12.6 environment is the right solution in general. Environments of RS
> 12.6 and ASE 15.0.3 should be separate.<br> <br>
> Hope it helps<br>
> Leonid Gvirtz<br>
> </tt><br>
> Andrei R wrote:
> <blockquote cite="mid:4aea3a5d$1@forums-1-dub" type="cite">
>   <pre wrap="">Note that I am running Repserver 12.6 with ASE 15.0.3.
> 
> The SYBASE.sh file is correct. It was produced by the setup. It used to
> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
> 
> Here is a log of what I did now. You will see that all variables are set
> properly and that it only works when I add OCS-15_0/bin/ to the path.
> Nevertheless, the rs_init doesn't work even with the new path.
> 
> [sybase@desktop1 ~]$ su - sybase
> Password:
> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
> MAIL=/var/spool/mail/sybase
> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
local/
> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/home/sybase
> HOME=/home/sybase
> LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
> repserver126]$ ls
> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh 
> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6          
> SYBASE.env  uninstall config    _jvmrep       OCS-15_0 
> sample_interfaces  SYBASE.sh vpd.properties
> data      locales       REP-12_6  shared-1_0         sybcent41
> [sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
> repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
> OLDPWD=/home/sybase
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
bin:/
> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01
> 
> 
> 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 /opt/sybase/repserver126. Check the
> environment variable SYBASE if it is not the one you want! Using locale
> name "en_US.UTF-8" defined in environment variable LANG Locale name
> "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
> locales/locales.dat file
> An error occurred when attempting to allocate localization-related
> structures.
> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01 Password:
> CT-LIBRARY error:
> 	ct_connect(): network packet layer: internal net library error:
> Net-Lib protocol driver call to connect two endpoints failed
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
> [sybase@desktop1 repserver126]$echo $PATH
> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
sybase/
> bin
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
> isql -U sa -S RSSD01 Password:
> 1&gt;
> 
> 
> 
> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
> 
>   </pre>
>   <blockquote type="cite">
>     <pre wrap="">Hmmm, if your SYBASE.[c]sh resource file is correct,
>     and you had sourced
> the appropriate resource file before running isql, you shouldn't have
> needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
> this is taken care of in the SYBASE.[c]sh script).
> 
> So this brings up a few basic questions:
> 
> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
> under each of your $SYBASE directories?  if not, that's problematic
> since those files should have been created when you ran the 'setup'
> program to install the software
> 
> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
> contents to make sure they're accurate?  I know, how do you tell if
> they're accurate?  at a minimum the SYBASE variable should be defined
> with the correct directory, and all follow-on path/lib settings should
> be using the same $SYBASE value as their root [I've seen problems where
> the DBA copied the SYBASE.[c]sh script from a different version of ASE,
> then forgot to update *ALL* of the variables with the appropriate
> values]
> 
> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
> your $SYBASE directory?
> 
> 
> 
> 
> Andrei R wrote:
>     </pre>
>     <blockquote type="cite">
>       <pre wrap="">Hi Leonid,
> 
> I linked the interfaces file under the repserver $SYBASE directory to
> the ASE $SYBASE directory. I initially had trouble connecting to using
> isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
> $PATH and then I was able to connect with isql. However, rs_init still
> can't connect to ASE. I get the same error I had before as listed below.
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->
>   </pre>
> </blockquote>
> <br>
> </body>
> </html>

0
Andrei
10/30/2009 2:54:38 PM
This is a multi-part message in MIME format.
--------------080608090703080202070701
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi Andrei

No, I don't think that the problem is related to using 32-bit client 
with 64-bit server, it is pretty much OK. I have RS 12.6 and ASE 15.0.3 
installations on my Fedora 9 32-bit VM. I tried to create an RS instance 
with RSSD in an ASE 15.0.3 database and it worked without any problem, 
so it is certainly doable also in your case. Note my RS 12.6 
installation is owned by rs126 OS user and my ASE 15.0.3 installation 
owned by ase15 OS user, it helps to separate RS and ASE environments. I 
source $SYBASE/SYBASE.sh automatically under both OS users. All I needed 
to do before running rs_init was to add entries for the RS and the 
dataserver that is holding the RSSD via dscp when connected with rs126 user.

In addition, you didn't mention the EBF (patch) level of your RS. 
According the OpenClient version that you have posted, I can conclude 
that you probably don't use the last RS EBF. Check which EBF you are 
using and install the latest one. I did my tests with:

[rs126@fedoravm RS126]$ repserver -v
Replication Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp 
i686/1/OPT/Wed Jun 13 16:49:24 2007

[rs126@fedoravm RS126]$ isql -v
Sybase CTISQL Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux 
Intel/Linux 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005

[ase15@fedoravm ~]$ dataserver -v
Adaptive Server Enterprise/15.0.3/EBF 16555 ESD#1/P/Linux Intel/Linux 
2.6.9-42.ELsmp i686/ase1503/2680/32-bit/FBO/Thu Mar  5 04:50:21 2009

I'm not sure if it is related to the problem, but who knows.

Leonid Gvirtz

Andrei R wrote:
> Leonid,
>
> I deleted the entry and readded them using dscp and still the same 
> problem. (The interfaces couldn't  be the problem anyway since the 15.0.3 
> isql worked fine with the same interfaces. Besides the entry was created 
> by the server build)
>
> Is it possible the problem is with the 64 bit Linux OS? Is the repserver 
> 12.6 isql 32 bit? Here is the isql version that does not work.
>
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql
> [sybase@desktop1 repserver126]$ isql -v
> Sybase CTISQL Utility/12.5.1/P/DRV.12.5.1.0/Linux Intel/Linux 
> 2.4.18-18.7.xsmp i686/BUILD1251-004/OPT/Mon Nov 10 12:16:01 2003
>
> Confidential property of Sybase, Inc.
> Copyright 1987, 2003
> Sybase, Inc.  All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
>
> This software contains confidential and trade secret information of 
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation 
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a 
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other  
> written
> agreement  specifying  the  Government's rights to use the software and 
> any
> applicable FAR provisions, for example, FAR 52.227-19.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
>
>
>
> On Fri, 30 Oct 2009 00:05:48 -0800, Leonid Gvirtz wrote:
>
>   
>> Hi Andrei
>>
>> I still tend to suspect that interfaces file under
>> /opt/sybase/repserver126 is not OK. In other words, RSSD01 entry in this
>> file points to a wrong host/port, or maybe has a wrong structure. You
>> can verify it by running dscp before and after you add OCS 15 to your
>> PATH and see the difference. You can also use "config" command in dscp
>> to see the information about Sybase environment. In addition, you can
>> delete and re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in
>> case if some hidden characters appears in interfaces file.
>>
>> Yes, rs_init uses OpenClient to connect to all RS and dataservers
>> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
>> components only, so I don't think that adding ASE 15 components to RS
>> 12.6 environment is the right solution in general. Environments of RS
>> 12.6 and ASE 15.0.3 should be separate.
>>
>> Hope it helps
>> Leonid Gvirtz
>>
>> Andrei R wrote:
>>     
>>> Note that I am running Repserver 12.6 with ASE 15.0.3.
>>>
>>> The SYBASE.sh file is correct. It was produced by the setup. It used to
>>> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
>>> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
>>>
>>> Here is a log of what I did now. You will see that all variables are
>>> set properly and that it only works when I add OCS-15_0/bin/ to the
>>> path. Nevertheless, the rs_init doesn't work even with the new path.
>>>
>>> [sybase@desktop1 ~]$ su - sybase
>>> Password:
>>> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
>>> MAIL=/var/spool/mail/sybase
>>> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
>>>       
> local/
>   
>>> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>> PWD=/home/sybase
>>> HOME=/home/sybase
>>> LOGNAME=sybase
>>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>>> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
>>> repserver126]$ ls
>>> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh 
>>> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6          
>>> SYBASE.env  uninstall config    _jvmrep       OCS-15_0 
>>> sample_interfaces  SYBASE.sh vpd.properties
>>> data      locales       REP-12_6  shared-1_0         sybcent41
>>> [sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
>>> repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
>>> OLDPWD=/home/sybase
>>> USER=sybase
>>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>>> repserver126/OCS-12_5/lib3p:
>>> SYBASE_OCS=OCS-12_5
>>> SYBASE=/opt/sybase/repserver126
>>> SYBASE_RSM=RSM-12_6
>>> MAIL=/var/spool/mail/sybase
>>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>>>       
> bin:/
>   
>>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>> PWD=/opt/sybase/repserver126
>>> SYBASE_REP=REP-12_6
>>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
>>> HOME=/home/sybase
>>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>>> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
>>> repserver126]$ isql -U sa -S RSSD01
>>>
>>>
>>> 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 /opt/sybase/repserver126. Check the
>>> environment variable SYBASE if it is not the one you want! Using locale
>>> name "en_US.UTF-8" defined in environment variable LANG Locale name
>>> "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
>>> locales/locales.dat file
>>> An error occurred when attempting to allocate localization-related
>>> structures.
>>> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
>>> repserver126]$ isql -U sa -S RSSD01 Password:
>>> CT-LIBRARY error:
>>> 	ct_connect(): network packet layer: internal net library error:
>>> Net-Lib protocol driver call to connect two endpoints failed
>>> [sybase@desktop1 repserver126]$ which isql
>>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>>> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
>>> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
>>> [sybase@desktop1 repserver126]$echo $PATH
>>> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/
>>>       
> bin:/
>   
>>> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
>>> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
>>> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/
>>>       
> ccache:/
>   
>>> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
>>>       
> sybase/
>   
>>> bin
>>> [sybase@desktop1 repserver126]$ which isql
>>> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
>>> isql -U sa -S RSSD01 Password:
>>> 1>
>>>
>>>
>>>
>>> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
>>>
>>>
>>>       
>>>> Hmmm, if your SYBASE.[c]sh resource file is correct, and you had
>>>> sourced the appropriate resource file before running isql, you
>>>> shouldn't have needed to add the OCS-15_0/bin directory to your $PATH
>>>> variable (ie, this is taken care of in the SYBASE.[c]sh script).
>>>>
>>>> So this brings up a few basic questions:
>>>>
>>>> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
>>>> under each of your $SYBASE directories?  if not, that's problematic
>>>> since those files should have been created when you ran the 'setup'
>>>> program to install the software
>>>>
>>>> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at
>>>> their contents to make sure they're accurate?  I know, how do you tell
>>>> if they're accurate?  at a minimum the SYBASE variable should be
>>>> defined with the correct directory, and all follow-on path/lib
>>>> settings should be using the same $SYBASE value as their root [I've
>>>> seen problems where the DBA copied the SYBASE.[c]sh script from a
>>>> different version of ASE, then forgot to update *ALL* of the variables
>>>> with the appropriate values]
>>>>
>>>> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script
>>>> in your $SYBASE directory?
>>>>
>>>>
>>>>
>>>>
>>>> Andrei R wrote:
>>>>     
>>>>         
>>>>> Hi Leonid,
>>>>>
>>>>> I linked the interfaces file under the repserver $SYBASE directory to
>>>>> the ASE $SYBASE directory. I initially had trouble connecting to
>>>>> using isql also but then I added
>>>>> /opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH and then I was
>>>>> able to connect with isql. However, rs_init still can't connect to
>>>>> ASE. I get the same error I had before as listed below.
>>>>>       
>>>>>       
>>>>>           
>>>   
>>>       
>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
>> <head>
>>   <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
>>   <title></title>
>> </head>
>> <body bgcolor="#ffffff" text="#000000"> <tt>Hi Andrei<br>
>> <br>
>> I still tend to suspect that interfaces file under
>> /opt/sybase/repserver126
>> is not OK. In other words, RSSD01 entry in this file points to a wrong
>> host/port, or maybe has a wrong structure. You can verify it by running
>> dscp before and after you add OCS 15 to your PATH and see the
>> difference. You can also use "config" command in dscp to see the
>> information about Sybase environment. In addition, you can delete and
>> re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in case if
>> some hidden characters appears in interfaces file.<br> <br>
>> Yes, rs_init uses OpenClient to connect to all RS and dataservers
>> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
>> components only, so I don't think that adding ASE 15 components to RS
>> 12.6 environment is the right solution in general. Environments of RS
>> 12.6 and ASE 15.0.3 should be separate.<br> <br>
>> Hope it helps<br>
>> Leonid Gvirtz<br>
>> </tt><br>
>> Andrei R wrote:
>> <blockquote cite="mid:4aea3a5d$1@forums-1-dub" type="cite">
>>   <pre wrap="">Note that I am running Repserver 12.6 with ASE 15.0.3.
>>
>> The SYBASE.sh file is correct. It was produced by the setup. It used to
>> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
>> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
>>
>> Here is a log of what I did now. You will see that all variables are set
>> properly and that it only works when I add OCS-15_0/bin/ to the path.
>> Nevertheless, the rs_init doesn't work even with the new path.
>>
>> [sybase@desktop1 ~]$ su - sybase
>> Password:
>> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
>> MAIL=/var/spool/mail/sybase
>> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
>>     
> local/
>   
>> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=/home/sybase
>> HOME=/home/sybase
>> LOGNAME=sybase
>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
>> repserver126]$ ls
>> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh 
>> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6          
>> SYBASE.env  uninstall config    _jvmrep       OCS-15_0 
>> sample_interfaces  SYBASE.sh vpd.properties
>> data      locales       REP-12_6  shared-1_0         sybcent41
>> [sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
>> repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
>> OLDPWD=/home/sybase
>> USER=sybase
>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>> repserver126/OCS-12_5/lib3p:
>> SYBASE_OCS=OCS-12_5
>> SYBASE=/opt/sybase/repserver126
>> SYBASE_RSM=RSM-12_6
>> MAIL=/var/spool/mail/sybase
>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>>     
> bin:/
>   
>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=/opt/sybase/repserver126
>> SYBASE_REP=REP-12_6
>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
>> HOME=/home/sybase
>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
>> repserver126]$ isql -U sa -S RSSD01
>>
>>
>> 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 /opt/sybase/repserver126. Check the
>> environment variable SYBASE if it is not the one you want! Using locale
>> name "en_US.UTF-8" defined in environment variable LANG Locale name
>> "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
>> locales/locales.dat file
>> An error occurred when attempting to allocate localization-related
>> structures.
>> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
>> repserver126]$ isql -U sa -S RSSD01 Password:
>> CT-LIBRARY error:
>> 	ct_connect(): network packet layer: internal net library error:
>> Net-Lib protocol driver call to connect two endpoints failed
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
>> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
>> [sybase@desktop1 repserver126]$echo $PATH
>> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
>> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
>> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
>> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
>> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
>>     
> sybase/
>   
>> bin
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
>> isql -U sa -S RSSD01 Password:
>> 1&gt;
>>
>>
>>
>> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
>>
>>   </pre>
>>   <blockquote type="cite">
>>     <pre wrap="">Hmmm, if your SYBASE.[c]sh resource file is correct,
>>     and you had sourced
>> the appropriate resource file before running isql, you shouldn't have
>> needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
>> this is taken care of in the SYBASE.[c]sh script).
>>
>> So this brings up a few basic questions:
>>
>> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
>> under each of your $SYBASE directories?  if not, that's problematic
>> since those files should have been created when you ran the 'setup'
>> program to install the software
>>
>> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
>> contents to make sure they're accurate?  I know, how do you tell if
>> they're accurate?  at a minimum the SYBASE variable should be defined
>> with the correct directory, and all follow-on path/lib settings should
>> be using the same $SYBASE value as their root [I've seen problems where
>> the DBA copied the SYBASE.[c]sh script from a different version of ASE,
>> then forgot to update *ALL* of the variables with the appropriate
>> values]
>>
>> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
>> your $SYBASE directory?
>>
>>
>>
>>
>> Andrei R wrote:
>>     </pre>
>>     <blockquote type="cite">
>>       <pre wrap="">Hi Leonid,
>>
>> I linked the interfaces file under the repserver $SYBASE directory to
>> the ASE $SYBASE directory. I initially had trouble connecting to using
>> isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
>> $PATH and then I was able to connect with isql. However, rs_init still
>> can't connect to ASE. I get the same error I had before as listed below.
>>       </pre>
>>     </blockquote>
>>   </blockquote>
>>   <pre wrap=""><!---->
>>   </pre>
>> </blockquote>
>> <br>
>> </body>
>> </html>
>>     
>
>   


--------------080608090703080202070701
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Andrei<br>
<br>
No, I don't think that the problem is related to using 32-bit client
with 64-bit server, it is pretty much OK. I have RS 12.6 and ASE 15.0.3
installations on my Fedora 9 32-bit VM. I tried to create an RS
instance with RSSD in an ASE 15.0.3 database and it worked without any
problem, so it is certainly doable also in your case. Note my RS 12.6
installation is owned by rs126 OS user and my ASE 15.0.3 installation
owned by ase15 OS user, it helps to separate RS and ASE environments. I
source $SYBASE/SYBASE.sh automatically under both OS users. All I
needed to do before running rs_init was to add entries for the RS and
the dataserver that is holding the RSSD via dscp when connected with
rs126 user.<br>
<br>
In addition, you didn't mention the EBF (patch) level of your RS.
According the OpenClient version that you have posted, I can conclude
that you probably don't use the last RS EBF. Check which EBF you are
using and install the latest one. I did my tests with:<br>
<br>
[rs126@fedoravm RS126]$ repserver -v<br>
Replication Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
i686/1/OPT/Wed Jun 13 16:49:24 2007<br>
<br>
[rs126@fedoravm RS126]$ isql -v<br>
Sybase CTISQL Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux
Intel/Linux 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57
2005<br>
<br>
[ase15@fedoravm ~]$ dataserver -v<br>
Adaptive Server Enterprise/15.0.3/EBF 16555 ESD#1/P/Linux Intel/Linux
2.6.9-42.ELsmp i686/ase1503/2680/32-bit/FBO/Thu Mar  5 04:50:21 2009<br>
<br>
I'm not sure if it is related to the problem, but who knows.<br>
<br>
Leonid Gvirtz<br>
</tt><br>
Andrei R wrote:
<blockquote cite="mid:4aeafe2e@forums-1-dub" type="cite">
  <pre wrap="">Leonid,

I deleted the entry and readded them using dscp and still the same 
problem. (The interfaces couldn't  be the problem anyway since the 15.0.3 
isql worked fine with the same interfaces. Besides the entry was created 
by the server build)

Is it possible the problem is with the 64 bit Linux OS? Is the repserver 
12.6 isql 32 bit? Here is the isql version that does not work.

[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql
[sybase@desktop1 repserver126]$ isql -v
Sybase CTISQL Utility/12.5.1/P/DRV.12.5.1.0/Linux Intel/Linux 
2.4.18-18.7.xsmp i686/BUILD1251-004/OPT/Mon Nov 10 12:16:01 2003

Confidential property of Sybase, Inc.
Copyright 1987, 2003
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of 
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation 
by
the  U.S.  Government  is  subject  to  restrictions set forth in a 
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  
written
agreement  specifying  the  Government's rights to use the software and 
any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA



On Fri, 30 Oct 2009 00:05:48 -0800, Leonid Gvirtz wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Andrei

I still tend to suspect that interfaces file under
/opt/sybase/repserver126 is not OK. In other words, RSSD01 entry in this
file points to a wrong host/port, or maybe has a wrong structure. You
can verify it by running dscp before and after you add OCS 15 to your
PATH and see the difference. You can also use "config" command in dscp
to see the information about Sybase environment. In addition, you can
delete and re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in
case if some hidden characters appears in interfaces file.

Yes, rs_init uses OpenClient to connect to all RS and dataservers
involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
components only, so I don't think that adding ASE 15 components to RS
12.6 environment is the right solution in general. Environments of RS
12.6 and ASE 15.0.3 should be separate.

Hope it helps
Leonid Gvirtz

Andrei R wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Note that I am running Repserver 12.6 with ASE 15.0.3.

The SYBASE.sh file is correct. It was produced by the setup. It used to
work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
difference now is that I'm running on Fedora 11 with ASE 15.0.3.

Here is a log of what I did now. You will see that all variables are
set properly and that it only works when I add OCS-15_0/bin/ to the
path. Nevertheless, the rs_init doesn't work even with the new path.

[sybase@desktop1 ~]$ su - sybase
Password:
[sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
MAIL=/var/spool/mail/sybase
PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->local/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/home/sybase
HOME=/home/sybase
LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
repserver126]$ ls
charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh 
SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6          
SYBASE.env  uninstall config    _jvmrep       OCS-15_0 
sample_interfaces  SYBASE.sh vpd.properties
data      locales       REP-12_6  shared-1_0         sybcent41
[sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
OLDPWD=/home/sybase
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->bin:/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01


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 /opt/sybase/repserver126. Check the
environment variable SYBASE if it is not the one you want! Using locale
name "en_US.UTF-8" defined in environment variable LANG Locale name
"en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
locales/locales.dat file
An error occurred when attempting to allocate localization-related
structures.
[sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01 Password:
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error:
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
[sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
[sybase@desktop1 repserver126]$echo $PATH
/opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->bin:/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->ccache:/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->sybase/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">bin
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
isql -U sa -S RSSD01 Password:
1&gt;



On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:


      </pre>
      <blockquote type="cite">
        <pre wrap="">Hmmm, if your SYBASE.[c]sh resource file is correct, and you had
sourced the appropriate resource file before running isql, you
shouldn't have needed to add the OCS-15_0/bin directory to your $PATH
variable (ie, this is taken care of in the SYBASE.[c]sh script).

So this brings up a few basic questions:

1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
under each of your $SYBASE directories?  if not, that's problematic
since those files should have been created when you ran the 'setup'
program to install the software

2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at
their contents to make sure they're accurate?  I know, how do you tell
if they're accurate?  at a minimum the SYBASE variable should be
defined with the correct directory, and all follow-on path/lib
settings should be using the same $SYBASE value as their root [I've
seen problems where the DBA copied the SYBASE.[c]sh script from a
different version of ASE, then forgot to update *ALL* of the variables
with the appropriate values]

3 - before running rs_init, are you sourcing the SYBASE.[c]sh script
in your $SYBASE directory?




Andrei R wrote:
    
        </pre>
        <blockquote type="cite">
          <pre wrap="">Hi Leonid,

I linked the interfaces file under the repserver $SYBASE directory to
the ASE $SYBASE directory. I initially had trouble connecting to
using isql also but then I added
/opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH and then I was
able to connect with isql. However, rs_init still can't connect to
ASE. I get the same error I had before as listed below.
      
      
          </pre>
        </blockquote>
      </blockquote>
      <pre wrap="">  
      </pre>
    </blockquote>
    <pre wrap="">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt; &lt;html&gt;
&lt;head&gt;
  &lt;meta content="text/html;charset=UTF-8" http-equiv="Content-Type"&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor="#ffffff" text="#000000"&gt; &lt;tt&gt;Hi Andrei&lt;br&gt;
&lt;br&gt;
I still tend to suspect that interfaces file under
/opt/sybase/repserver126
is not OK. In other words, RSSD01 entry in this file points to a wrong
host/port, or maybe has a wrong structure. You can verify it by running
dscp before and after you add OCS 15 to your PATH and see the
difference. You can also use "config" command in dscp to see the
information about Sybase environment. In addition, you can delete and
re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in case if
some hidden characters appears in interfaces file.&lt;br&gt; &lt;br&gt;
Yes, rs_init uses OpenClient to connect to all RS and dataservers
involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
components only, so I don't think that adding ASE 15 components to RS
12.6 environment is the right solution in general. Environments of RS
12.6 and ASE 15.0.3 should be separate.&lt;br&gt; &lt;br&gt;
Hope it helps&lt;br&gt;
Leonid Gvirtz&lt;br&gt;
&lt;/tt&gt;&lt;br&gt;
Andrei R wrote:
&lt;blockquote cite="mid:4aea3a5d$1@forums-1-dub" type="cite"&gt;
  &lt;pre wrap=""&gt;Note that I am running Repserver 12.6 with ASE 15.0.3.

The SYBASE.sh file is correct. It was produced by the setup. It used to
work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
difference now is that I'm running on Fedora 11 with ASE 15.0.3.

Here is a log of what I did now. You will see that all variables are set
properly and that it only works when I add OCS-15_0/bin/ to the path.
Nevertheless, the rs_init doesn't work even with the new path.

[sybase@desktop1 ~]$ su - sybase
Password:
[sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
MAIL=/var/spool/mail/sybase
PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
    </pre>
  </blockquote>
  <pre wrap=""><!---->local/
  </pre>
  <blockquote type="cite">
    <pre wrap="">bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/home/sybase
HOME=/home/sybase
LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
repserver126]$ ls
charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh 
SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6          
SYBASE.env  uninstall config    _jvmrep       OCS-15_0 
sample_interfaces  SYBASE.sh vpd.properties
data      locales       REP-12_6  shared-1_0         sybcent41
[sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
OLDPWD=/home/sybase
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
    </pre>
  </blockquote>
  <pre wrap=""><!---->bin:/
  </pre>
  <blockquote type="cite">
    <pre wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
XAUTHORITY=/home/sybase/.xauthehP7bJ
[sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01


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 /opt/sybase/repserver126. Check the
environment variable SYBASE if it is not the one you want! Using locale
name "en_US.UTF-8" defined in environment variable LANG Locale name
"en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
locales/locales.dat file
An error occurred when attempting to allocate localization-related
structures.
[sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01 Password:
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error:
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
[sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
[sybase@desktop1 repserver126]$echo $PATH
/opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
    </pre>
  </blockquote>
  <pre wrap=""><!---->sybase/
  </pre>
  <blockquote type="cite">
    <pre wrap="">bin
[sybase@desktop1 repserver126]$ which isql
/opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
isql -U sa -S RSSD01 Password:
1&amp;gt;



On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:

  &lt;/pre&gt;
  &lt;blockquote type="cite"&gt;
    &lt;pre wrap=""&gt;Hmmm, if your SYBASE.[c]sh resource file is correct,
    and you had sourced
the appropriate resource file before running isql, you shouldn't have
needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
this is taken care of in the SYBASE.[c]sh script).

So this brings up a few basic questions:

1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
under each of your $SYBASE directories?  if not, that's problematic
since those files should have been created when you ran the 'setup'
program to install the software

2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
contents to make sure they're accurate?  I know, how do you tell if
they're accurate?  at a minimum the SYBASE variable should be defined
with the correct directory, and all follow-on path/lib settings should
be using the same $SYBASE value as their root [I've seen problems where
the DBA copied the SYBASE.[c]sh script from a different version of ASE,
then forgot to update *ALL* of the variables with the appropriate
values]

3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
your $SYBASE directory?




Andrei R wrote:
    &lt;/pre&gt;
    &lt;blockquote type="cite"&gt;
      &lt;pre wrap=""&gt;Hi Leonid,

I linked the interfaces file under the repserver $SYBASE directory to
the ASE $SYBASE directory. I initially had trouble connecting to using
isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
$PATH and then I was able to connect with isql. However, rs_init still
can't connect to ASE. I get the same error I had before as listed below.
      &lt;/pre&gt;
    &lt;/blockquote&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=""&gt;&lt;!----&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

--------------080608090703080202070701--
0
Leonid
10/30/2009 7:19:17 PM
Leonid,

I installed the latest EBF and still get the same error. I see you're 
using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work with 
the 64 bit Fedora that I am running.

Here is the log with the versions. I demonstrate that it does run with 
15.0.3 isql and I also display the versions. Thanks

[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql
[sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
Password: 
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error: 
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S 
RSSD01
Password: 
1> select @@version
2> go
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 
 Adaptive Server Enterprise/15.0.3/EBF 16549 ESD#1/P/x86_64/Enterprise 
Linux/ase
	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47 
2009                                                                                                                                                                                                                                                                                                                                                                                                   

(1 row affected)
1> quit
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v
Sybase CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/
Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008

Confidential property of Sybase, Inc.
Copyright 1987, 2008
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of 
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation 
by
the  U.S.  Government  is  subject  to  restrictions set forth in a 
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  
written
agreement  specifying  the  Government's rights to use the software and 
any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ isql -v 
Sybase CTISQL Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/
Linux 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005

Confidential property of Sybase, Inc.
Copyright 1987, 2005
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of 
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation 
by
the  U.S.  Government  is  subject  to  restrictions set forth in a 
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  
written
agreement  specifying  the  Government's rights to use the software and 
any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ repserver -v
Replication Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp 
i686/1/OPT/Wed Jun 13 16:49:24 2007

Confidential property of Sybase, Inc.
Copyright 1992, 2007
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of 
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation 
by
the  U.S.  Government  is  subject  to  restrictions set forth in a 
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  
written
agreement  specifying  the  Government's rights to use the software and 
any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=desktop1.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib64/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib64/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/
usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
KDE_IS_PRELINKED=1
KDEDIRS=/usr
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
LOGNAME=sybase
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthmeh8MA
_=/bin/env
[sybase@desktop1 repserver126]$ 


On Fri, 30 Oct 2009 11:19:17 -0800, Leonid Gvirtz wrote:

> Hi Andrei
> 
> No, I don't think that the problem is related to using 32-bit client
> with 64-bit server, it is pretty much OK. I have RS 12.6 and ASE 15.0.3
> installations on my Fedora 9 32-bit VM. I tried to create an RS instance
> with RSSD in an ASE 15.0.3 database and it worked without any problem,
> so it is certainly doable also in your case. Note my RS 12.6
> installation is owned by rs126 OS user and my ASE 15.0.3 installation
> owned by ase15 OS user, it helps to separate RS and ASE environments. I
> source $SYBASE/SYBASE.sh automatically under both OS users. All I needed
> to do before running rs_init was to add entries for the RS and the
> dataserver that is holding the RSSD via dscp when connected with rs126
> user.
> 
> In addition, you didn't mention the EBF (patch) level of your RS.
> According the OpenClient version that you have posted, I can conclude
> that you probably don't use the last RS EBF. Check which EBF you are
> using and install the latest one. I did my tests with:
> 
> [rs126@fedoravm RS126]$ repserver -v
> Replication Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
> i686/1/OPT/Wed Jun 13 16:49:24 2007
> 
> [rs126@fedoravm RS126]$ isql -v
> Sybase CTISQL Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux
> Intel/Linux 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57
> 2005
> 
> [ase15@fedoravm ~]$ dataserver -v
> Adaptive Server Enterprise/15.0.3/EBF 16555 ESD#1/P/Linux Intel/Linux
> 2.6.9-42.ELsmp i686/ase1503/2680/32-bit/FBO/Thu Mar  5 04:50:21 2009
> 
> I'm not sure if it is related to the problem, but who knows.
> 
> Leonid Gvirtz
> 
> Andrei R wrote:
>> Leonid,
>>
>> I deleted the entry and readded them using dscp and still the same
>> problem. (The interfaces couldn't  be the problem anyway since the
>> 15.0.3 isql worked fine with the same interfaces. Besides the entry was
>> created by the server build)
>>
>> Is it possible the problem is with the 64 bit Linux OS? Is the
>> repserver 12.6 isql 32 bit? Here is the isql version that does not
>> work.
>>
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>> repserver126]$ isql -v Sybase CTISQL
>> Utility/12.5.1/P/DRV.12.5.1.0/Linux Intel/Linux 2.4.18-18.7.xsmp
>> i686/BUILD1251-004/OPT/Mon Nov 10 12:16:01 2003
>>
>> Confidential property of Sybase, Inc. Copyright 1987, 2003
>> Sybase, Inc.  All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>>
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and
>> documentation by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software and
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
>> Sybase Drive, Dublin, CA 94568, USA
>>
>>
>>
>> On Fri, 30 Oct 2009 00:05:48 -0800, Leonid Gvirtz wrote:
>>
>>
>>> Hi Andrei
>>>
>>> I still tend to suspect that interfaces file under
>>> /opt/sybase/repserver126 is not OK. In other words, RSSD01 entry in
>>> this file points to a wrong host/port, or maybe has a wrong structure.
>>> You can verify it by running dscp before and after you add OCS 15 to
>>> your PATH and see the difference. You can also use "config" command in
>>> dscp to see the information about Sybase environment. In addition, you
>>> can delete and re-add RSSD01 entry using RS 12.6 dscp, maybe it will
>>> help in case if some hidden characters appears in interfaces file.
>>>
>>> Yes, rs_init uses OpenClient to connect to all RS and dataservers
>>> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
>>> components only, so I don't think that adding ASE 15 components to RS
>>> 12.6 environment is the right solution in general. Environments of RS
>>> 12.6 and ASE 15.0.3 should be separate.
>>>
>>> Hope it helps
>>> Leonid Gvirtz
>>>
>>> Andrei R wrote:
>>>     
>>>> Note that I am running Repserver 12.6 with ASE 15.0.3.
>>>>
>>>> The SYBASE.sh file is correct. It was produced by the setup. It used
>>>> to work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
>>>> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
>>>>
>>>> Here is a log of what I did now. You will see that all variables are
>>>> set properly and that it only works when I add OCS-15_0/bin/ to the
>>>> path. Nevertheless, the rs_init doesn't work even with the new path.
>>>>
>>>> [sybase@desktop1 ~]$ su - sybase
>>>> Password:
>>>> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
>>>> MAIL=/var/spool/mail/sybase
>>>> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
>>>>       
>> local/
>>   
>>>> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>>> PWD=/home/sybase
>>>> HOME=/home/sybase
>>>> LOGNAME=sybase
>>>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>>>> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
>>>> repserver126]$ ls
>>>> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh
>>>> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6 SYBASE.env 
>>>> uninstall config    _jvmrep       OCS-15_0 sample_interfaces 
>>>> SYBASE.sh vpd.properties data      locales       REP-12_6  shared-1_0
>>>>         sybcent41 [sybase@desktop1 repserver126]$ . SYBASE.sh
>>>> [sybase@desktop1 repserver126]$ env | grep -i sybase
>>>> SYBASE_SYSAM=SYSAM-1_0 OLDPWD=/home/sybase
>>>> USER=sybase
>>>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>>>> repserver126/OCS-12_5/lib3p:
>>>> SYBASE_OCS=OCS-12_5
>>>> SYBASE=/opt/sybase/repserver126
>>>> SYBASE_RSM=RSM-12_6
>>>> MAIL=/var/spool/mail/sybase
>>>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>>>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>>>>       
>> bin:/
>>   
>>>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>>> PWD=/opt/sybase/repserver126
>>>> SYBASE_REP=REP-12_6
>>>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/
license.dat
>>>> HOME=/home/sybase
>>>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>>>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>>>> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
>>>> repserver126]$ isql -U sa -S RSSD01
>>>>
>>>>
>>>> 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 /opt/sybase/repserver126. Check the
>>>> environment variable SYBASE if it is not the one you want! Using
>>>> locale name "en_US.UTF-8" defined in environment variable LANG Locale
>>>> name "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
>>>> locales/locales.dat file
>>>> An error occurred when attempting to allocate localization-related
>>>> structures.
>>>> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
>>>> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
>>>> 	ct_connect(): network packet layer: internal net library error:
>>>> Net-Lib protocol driver call to connect two endpoints failed
>>>> [sybase@desktop1 repserver126]$ which isql
>>>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>>>> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
>>>> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not
>>>> found [sybase@desktop1 repserver126]$echo $PATH
>>>> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/
>>>>       
>> bin:/
>>   
>>>> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/
OCS-12_5/
>>>> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
>>>> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/
>>>>       
>> ccache:/
>>   
>>>> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
>>>>       
>> sybase/
>>   
>>>> bin
>>>> [sybase@desktop1 repserver126]$ which isql
>>>> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
>>>> isql -U sa -S RSSD01 Password:
>>>> 1>
>>>>
>>>>
>>>>
>>>> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
>>>>
>>>>
>>>>
>>>>> Hmmm, if your SYBASE.[c]sh resource file is correct, and you had
>>>>> sourced the appropriate resource file before running isql, you
>>>>> shouldn't have needed to add the OCS-15_0/bin directory to your
>>>>> $PATH variable (ie, this is taken care of in the SYBASE.[c]sh
>>>>> script).
>>>>>
>>>>> So this brings up a few basic questions:
>>>>>
>>>>> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
>>>>> under each of your $SYBASE directories?  if not, that's problematic
>>>>> since those files should have been created when you ran the 'setup'
>>>>> program to install the software
>>>>>
>>>>> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at
>>>>> their contents to make sure they're accurate?  I know, how do you
>>>>> tell if they're accurate?  at a minimum the SYBASE variable should
>>>>> be defined with the correct directory, and all follow-on path/lib
>>>>> settings should be using the same $SYBASE value as their root [I've
>>>>> seen problems where the DBA copied the SYBASE.[c]sh script from a
>>>>> different version of ASE, then forgot to update *ALL* of the
>>>>> variables with the appropriate values]
>>>>>
>>>>> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script
>>>>> in your $SYBASE directory?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Andrei R wrote:
>>>>>     
>>>>>     
>>>>>> Hi Leonid,
>>>>>>
>>>>>> I linked the interfaces file under the repserver $SYBASE directory
>>>>>> to the ASE $SYBASE directory. I initially had trouble connecting to
>>>>>> using isql also but then I added
>>>>>> /opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH and then I was
>>>>>> able to connect with isql. However, rs_init still can't connect to
>>>>>> ASE. I get the same error I had before as listed below.
>>>>>>       
>>>>>>       
>>>>>>       
>>>>>>           
>>>>   
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
>>> <head>
>>>   <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
>>>   <title></title>
>>> </head>
>>> <body bgcolor="#ffffff" text="#000000"> <tt>Hi Andrei<br> <br>
>>> I still tend to suspect that interfaces file under
>>> /opt/sybase/repserver126
>>> is not OK. In other words, RSSD01 entry in this file points to a wrong
>>> host/port, or maybe has a wrong structure. You can verify it by
>>> running dscp before and after you add OCS 15 to your PATH and see the
>>> difference. You can also use "config" command in dscp to see the
>>> information about Sybase environment. In addition, you can delete and
>>> re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in case if
>>> some hidden characters appears in interfaces file.<br> <br> Yes,
>>> rs_init uses OpenClient to connect to all RS and dataservers involved.
>>> In addition, rs_init of RS 12.6 is expected to use RS 12.6 components
>>> only, so I don't think that adding ASE 15 components to RS 12.6
>>> environment is the right solution in general. Environments of RS 12.6
>>> and ASE 15.0.3 should be separate.<br> <br> Hope it helps<br>
>>> Leonid Gvirtz<br>
>>> </tt><br>
>>> Andrei R wrote:
>>> <blockquote cite="mid:4aea3a5d$1@forums-1-dub" type="cite">
>>>   <pre wrap="">Note that I am running Repserver 12.6 with ASE 15.0.3.
>>>
>>> The SYBASE.sh file is correct. It was produced by the setup. It used
>>> to work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
>>> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
>>>
>>> Here is a log of what I did now. You will see that all variables are
>>> set properly and that it only works when I add OCS-15_0/bin/ to the
>>> path. Nevertheless, the rs_init doesn't work even with the new path.
>>>
>>> [sybase@desktop1 ~]$ su - sybase
>>> Password:
>>> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
>>> MAIL=/var/spool/mail/sybase
>>> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
>>>     
>> local/
>>   
>>> bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>> PWD=/home/sybase
>>> HOME=/home/sybase
>>> LOGNAME=sybase
>>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>>> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
>>> repserver126]$ ls
>>> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh
>>> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6 SYBASE.env 
>>> uninstall config    _jvmrep       OCS-15_0 sample_interfaces 
>>> SYBASE.sh vpd.properties data      locales       REP-12_6  shared-1_0 
>>>        sybcent41 [sybase@desktop1 repserver126]$ . SYBASE.sh
>>> [sybase@desktop1 repserver126]$ env | grep -i sybase
>>> SYBASE_SYSAM=SYSAM-1_0 OLDPWD=/home/sybase
>>> USER=sybase
>>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>>> repserver126/OCS-12_5/lib3p:
>>> SYBASE_OCS=OCS-12_5
>>> SYBASE=/opt/sybase/repserver126
>>> SYBASE_RSM=RSM-12_6
>>> MAIL=/var/spool/mail/sybase
>>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>>>     
>> bin:/
>>   
>>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>> PWD=/opt/sybase/repserver126
>>> SYBASE_REP=REP-12_6
>>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/
license.dat
>>> HOME=/home/sybase
>>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>>> XAUTHORITY=/home/sybase/.xauthehP7bJ
>>> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
>>> repserver126]$ isql -U sa -S RSSD01
>>>
>>>
>>> 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 /opt/sybase/repserver126. Check the
>>> environment variable SYBASE if it is not the one you want! Using
>>> locale name "en_US.UTF-8" defined in environment variable LANG Locale
>>> name "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
>>> locales/locales.dat file
>>> An error occurred when attempting to allocate localization-related
>>> structures.
>>> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
>>> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
>>> 	ct_connect(): network packet layer: internal net library error:
>>> Net-Lib protocol driver call to connect two endpoints failed
>>> [sybase@desktop1 repserver126]$ which isql
>>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>>> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
>>> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
>>> [sybase@desktop1 repserver126]$echo $PATH
>>> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/
bin:/
>>> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/
OCS-12_5/
>>> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
>>> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/
ccache:/
>>> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
>>>     
>> sybase/
>>   
>>> bin
>>> [sybase@desktop1 repserver126]$ which isql
>>> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
>>> isql -U sa -S RSSD01 Password:
>>> 1&gt;
>>>
>>>
>>>
>>> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
>>>
>>>   </pre>
>>>   <blockquote type="cite">
>>>     <pre wrap="">Hmmm, if your SYBASE.[c]sh resource file is correct,
>>>     and you had sourced
>>> the appropriate resource file before running isql, you shouldn't have
>>> needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
>>> this is taken care of in the SYBASE.[c]sh script).
>>>
>>> So this brings up a few basic questions:
>>>
>>> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
>>> under each of your $SYBASE directories?  if not, that's problematic
>>> since those files should have been created when you ran the 'setup'
>>> program to install the software
>>>
>>> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at
>>> their contents to make sure they're accurate?  I know, how do you tell
>>> if they're accurate?  at a minimum the SYBASE variable should be
>>> defined with the correct directory, and all follow-on path/lib
>>> settings should be using the same $SYBASE value as their root [I've
>>> seen problems where the DBA copied the SYBASE.[c]sh script from a
>>> different version of ASE, then forgot to update *ALL* of the variables
>>> with the appropriate values]
>>>
>>> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script
>>> in your $SYBASE directory?
>>>
>>>
>>>
>>>
>>> Andrei R wrote:
>>>     </pre>
>>>     <blockquote type="cite">
>>>       <pre wrap="">Hi Leonid,
>>>
>>> I linked the interfaces file under the repserver $SYBASE directory to
>>> the ASE $SYBASE directory. I initially had trouble connecting to using
>>> isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to
>>> the $PATH and then I was able to connect with isql. However, rs_init
>>> still can't connect to ASE. I get the same error I had before as
>>> listed below.
>>>       </pre>
>>>     </blockquote>
>>>   </blockquote>
>>>   <pre wrap=""><!---->
>>>   </pre>
>>> </blockquote>
>>> <br>
>>> </body>
>>> </html>
>>>     
>>>     
>>
>>   
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
> <head>
>   <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000"> <tt>Hi Andrei<br>
> <br>
> No, I don't think that the problem is related to using 32-bit client
> with 64-bit server, it is pretty much OK. I have RS 12.6 and ASE 15.0.3
> installations on my Fedora 9 32-bit VM. I tried to create an RS instance
> with RSSD in an ASE 15.0.3 database and it worked without any problem,
> so it is certainly doable also in your case. Note my RS 12.6
> installation is owned by rs126 OS user and my ASE 15.0.3 installation
> owned by ase15 OS user, it helps to separate RS and ASE environments. I
> source $SYBASE/SYBASE.sh automatically under both OS users. All I needed
> to do before running rs_init was to add entries for the RS and the
> dataserver that is holding the RSSD via dscp when connected with rs126
> user.<br>
> <br>
> In addition, you didn't mention the EBF (patch) level of your RS.
> According the OpenClient version that you have posted, I can conclude
> that you probably don't use the last RS EBF. Check which EBF you are
> using and install the latest one. I did my tests with:<br> <br>
> [rs126@fedoravm RS126]$ repserver -v<br> Replication Server/12.6/EBF
> 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp i686/1/OPT/Wed Jun 13
> 16:49:24 2007<br> <br>
> [rs126@fedoravm RS126]$ isql -v<br>
> Sybase CTISQL Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux
> Intel/Linux 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57
> 2005<br>
> <br>
> [ase15@fedoravm ~]$ dataserver -v<br> Adaptive Server
> Enterprise/15.0.3/EBF 16555 ESD#1/P/Linux Intel/Linux 2.6.9-42.ELsmp
> i686/ase1503/2680/32-bit/FBO/Thu Mar  5 04:50:21 2009<br> <br>
> I'm not sure if it is related to the problem, but who knows.<br> <br>
> Leonid Gvirtz<br>
> </tt><br>
> Andrei R wrote:
> <blockquote cite="mid:4aeafe2e@forums-1-dub" type="cite">
>   <pre wrap="">Leonid,
> 
> I deleted the entry and readded them using dscp and still the same
> problem. (The interfaces couldn't  be the problem anyway since the
> 15.0.3 isql worked fine with the same interfaces. Besides the entry was
> created by the server build)
> 
> Is it possible the problem is with the 64 bit Linux OS? Is the repserver
> 12.6 isql 32 bit? Here is the isql version that does not work.
> 
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
> repserver126]$ isql -v Sybase CTISQL Utility/12.5.1/P/DRV.12.5.1.0/Linux
> Intel/Linux 2.4.18-18.7.xsmp i686/BUILD1251-004/OPT/Mon Nov 10 12:16:01
> 2003
> 
> Confidential property of Sybase, Inc. Copyright 1987, 2003
> Sybase, Inc.  All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other
> written
> agreement  specifying  the  Government's rights to use the software and
> any
> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
> Sybase Drive, Dublin, CA 94568, USA
> 
> 
> 
> On Fri, 30 Oct 2009 00:05:48 -0800, Leonid Gvirtz wrote:
> 
>   </pre>
>   <blockquote type="cite">
>     <pre wrap="">Hi Andrei
> 
> I still tend to suspect that interfaces file under
> /opt/sybase/repserver126 is not OK. In other words, RSSD01 entry in this
> file points to a wrong host/port, or maybe has a wrong structure. You
> can verify it by running dscp before and after you add OCS 15 to your
> PATH and see the difference. You can also use "config" command in dscp
> to see the information about Sybase environment. In addition, you can
> delete and re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in
> case if some hidden characters appears in interfaces file.
> 
> Yes, rs_init uses OpenClient to connect to all RS and dataservers
> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
> components only, so I don't think that adding ASE 15 components to RS
> 12.6 environment is the right solution in general. Environments of RS
> 12.6 and ASE 15.0.3 should be separate.
> 
> Hope it helps
> Leonid Gvirtz
> 
> Andrei R wrote:
>     </pre>
>     <blockquote type="cite">
>       <pre wrap="">Note that I am running Repserver 12.6 with ASE
>       15.0.3.
> 
> The SYBASE.sh file is correct. It was produced by the setup. It used to
> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
> 
> Here is a log of what I did now. You will see that all variables are set
> properly and that it only works when I add OCS-15_0/bin/ to the path.
> Nevertheless, the rs_init doesn't work even with the new path.
> 
> [sybase@desktop1 ~]$ su - sybase
> Password:
> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
> MAIL=/var/spool/mail/sybase
> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->local/
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre
>       wrap="">bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
sybase/bin
> PWD=/home/sybase
> HOME=/home/sybase
> LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
> repserver126]$ ls
> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh
> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6 SYBASE.env 
> uninstall config    _jvmrep       OCS-15_0 sample_interfaces  SYBASE.sh
> vpd.properties data      locales       REP-12_6  shared-1_0        
> sybcent41 [sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
> repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
> OLDPWD=/home/sybase
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->bin:/
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre
>       wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01
> 
> 
> 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 /opt/sybase/repserver126. Check the
> environment variable SYBASE if it is not the one you want! Using locale
> name "en_US.UTF-8" defined in environment variable LANG Locale name
> "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
> locales/locales.dat file
> An error occurred when attempting to allocate localization-related
> structures.
> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
> 	ct_connect(): network packet layer: internal net library error:
> Net-Lib protocol driver call to connect two endpoints failed
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
> [sybase@desktop1 repserver126]$echo $PATH
> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->bin:/
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre
>       wrap="">opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/
repserver126/OCS-12_5/
> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->ccache:/
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre
>       wrap="">usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/
sbin:/home/
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->sybase/
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre wrap="">bin
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
> isql -U sa -S RSSD01 Password:
> 1&gt;
> 
> 
> 
> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
> 
> 
>       </pre>
>       <blockquote type="cite">
>         <pre wrap="">Hmmm, if your SYBASE.[c]sh resource file is
>         correct, and you had
> sourced the appropriate resource file before running isql, you shouldn't
> have needed to add the OCS-15_0/bin directory to your $PATH variable
> (ie, this is taken care of in the SYBASE.[c]sh script).
> 
> So this brings up a few basic questions:
> 
> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
> under each of your $SYBASE directories?  if not, that's problematic
> since those files should have been created when you ran the 'setup'
> program to install the software
> 
> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
> contents to make sure they're accurate?  I know, how do you tell if
> they're accurate?  at a minimum the SYBASE variable should be defined
> with the correct directory, and all follow-on path/lib settings should
> be using the same $SYBASE value as their root [I've seen problems where
> the DBA copied the SYBASE.[c]sh script from a different version of ASE,
> then forgot to update *ALL* of the variables with the appropriate
> values]
> 
> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
> your $SYBASE directory?
> 
> 
> 
> 
> Andrei R wrote:
>     
>         </pre>
>         <blockquote type="cite">
>           <pre wrap="">Hi Leonid,
> 
> I linked the interfaces file under the repserver $SYBASE directory to
> the ASE $SYBASE directory. I initially had trouble connecting to using
> isql also but then I added
> /opt/sybase/ASE1503/OCS-15_0/bin/isql to the $PATH and then I was able
> to connect with isql. However, rs_init still can't connect to ASE. I get
> the same error I had before as listed below.
>       
>       
>           </pre>
>         </blockquote>
>       </blockquote>
>       <pre wrap="">
>       </pre>
>     </blockquote>
>     <pre wrap="">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
>     Transitional//EN"&gt; &lt;html&gt;
> &lt;head&gt;
>   &lt;meta content="text/html;charset=UTF-8"
>   http-equiv="Content-Type"&gt; &lt;title&gt;&lt;/title&gt;
> &lt;/head&gt;
> &lt;body bgcolor="#ffffff" text="#000000"&gt; &lt;tt&gt;Hi
> Andrei&lt;br&gt; &lt;br&gt;
> I still tend to suspect that interfaces file under
> /opt/sybase/repserver126
> is not OK. In other words, RSSD01 entry in this file points to a wrong
> host/port, or maybe has a wrong structure. You can verify it by running
> dscp before and after you add OCS 15 to your PATH and see the
> difference. You can also use "config" command in dscp to see the
> information about Sybase environment. In addition, you can delete and
> re-add RSSD01 entry using RS 12.6 dscp, maybe it will help in case if
> some hidden characters appears in interfaces file.&lt;br&gt; &lt;br&gt;
> Yes, rs_init uses OpenClient to connect to all RS and dataservers
> involved. In addition, rs_init of RS 12.6 is expected to use RS 12.6
> components only, so I don't think that adding ASE 15 components to RS
> 12.6 environment is the right solution in general. Environments of RS
> 12.6 and ASE 15.0.3 should be separate.&lt;br&gt; &lt;br&gt; Hope it
> helps&lt;br&gt;
> Leonid Gvirtz&lt;br&gt;
> &lt;/tt&gt;&lt;br&gt;
> Andrei R wrote:
> &lt;blockquote cite="mid:4aea3a5d$1@forums-1-dub" type="cite"&gt;
>   &lt;pre wrap=""&gt;Note that I am running Repserver 12.6 with ASE
>   15.0.3.
> 
> The SYBASE.sh file is correct. It was produced by the setup. It used to
> work when I ran it on CENTOS 5 (=RHEL 5) with ASE 15.0.2. The only
> difference now is that I'm running on Fedora 11 with ASE 15.0.3.
> 
> Here is a log of what I did now. You will see that all variables are set
> properly and that it only works when I add OCS-15_0/bin/ to the path.
> Nevertheless, the rs_init doesn't work even with the new path.
> 
> [sybase@desktop1 ~]$ su - sybase
> Password:
> [sybase@desktop1 ~]$ env | grep -i sybase USER=sybase
> MAIL=/var/spool/mail/sybase
> PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->local/
>   </pre>
>   <blockquote type="cite">
>     <pre
>     wrap="">bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
sybase/bin
> PWD=/home/sybase
> HOME=/home/sybase
> LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 ~]$ cd /opt/sybase/repserver126/ [sybase@desktop1
> repserver126]$ ls
> charsets  interfaces    log.txt   RMP-12_6           SYBASE.csh
> SYSAM-1_0 collate   jConnect-5_5  OCS-12_5  RSM-12_6 SYBASE.env 
> uninstall config    _jvmrep       OCS-15_0 sample_interfaces  SYBASE.sh
> vpd.properties data      locales       REP-12_6  shared-1_0        
> sybcent41 [sybase@desktop1 repserver126]$ . SYBASE.sh [sybase@desktop1
> repserver126]$ env | grep -i sybase SYBASE_SYSAM=SYSAM-1_0
> OLDPWD=/home/sybase
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->bin:/
>   </pre>
>   <blockquote type="cite">
>     <pre
>     wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
> XAUTHORITY=/home/sybase/.xauthehP7bJ
> [sybase@desktop1 repserver126]$ set -o vi [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01
> 
> 
> 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 /opt/sybase/repserver126. Check the
> environment variable SYBASE if it is not the one you want! Using locale
> name "en_US.UTF-8" defined in environment variable LANG Locale name
> "en_US.UTF-8" doesn't exist in your /opt/sybase/repserver126/
> locales/locales.dat file
> An error occurred when attempting to allocate localization-related
> structures.
> [sybase@desktop1 repserver126]$ unset LANG [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
> 	ct_connect(): network packet layer: internal net library error:
> Net-Lib protocol driver call to connect two endpoints failed
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
> repserver126]$ export PATH=/opt/sybase/ASE1503/OCS-15_0/ bin:$PATH
> [sybase@desktop1 repserver126]$ echo $PATH -bash: ק: command not found
> [sybase@desktop1 repserver126]$echo $PATH
> /opt/sybase/ASE1503/OCS-15_0/bin:/opt/sybase/repserver126/OCS-12_5/bin:/
> opt/sybase/repserver126/RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/
> bin:/opt/sybase/repserver126/REP-12_6/bin:/opt/sybase/repserver126/
> OCS-12_5/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/
> usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->sybase/
>   </pre>
>   <blockquote type="cite">
>     <pre wrap="">bin
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/ASE1503/OCS-15_0/bin/isql [sybase@desktop1 repserver126]$
> isql -U sa -S RSSD01 Password:
> 1&amp;gt;
> 
> 
> 
> On Thu, 29 Oct 2009 16:13:44 -0800, Mark A. Parsons wrote:
> 
>   &lt;/pre&gt;
>   &lt;blockquote type="cite"&gt;
>     &lt;pre wrap=""&gt;Hmmm, if your SYBASE.[c]sh resource file is
>     correct, and you had sourced
> the appropriate resource file before running isql, you shouldn't have
> needed to add the OCS-15_0/bin directory to your $PATH variable (ie,
> this is taken care of in the SYBASE.[c]sh script).
> 
> So this brings up a few basic questions:
> 
> 1 - do you have (at least) 2 resource files (SYBASE.csh, SYBASE.sh)
> under each of your $SYBASE directories?  if not, that's problematic
> since those files should have been created when you ran the 'setup'
> program to install the software
> 
> 2 - if the SYBASE.[c]sh files *do* exist, have you taken a look at their
> contents to make sure they're accurate?  I know, how do you tell if
> they're accurate?  at a minimum the SYBASE variable should be defined
> with the correct directory, and all follow-on path/lib settings should
> be using the same $SYBASE value as their root [I've seen problems where
> the DBA copied the SYBASE.[c]sh script from a different version of ASE,
> then forgot to update *ALL* of the variables with the appropriate
> values]
> 
> 3 - before running rs_init, are you sourcing the SYBASE.[c]sh script in
> your $SYBASE directory?
> 
> 
> 
> 
> Andrei R wrote:
>     &lt;/pre&gt;
>     &lt;blockquote type="cite"&gt;
>       &lt;pre wrap=""&gt;Hi Leonid,
> 
> I linked the interfaces file under the repserver $SYBASE directory to
> the ASE $SYBASE directory. I initially had trouble connecting to using
> isql also but then I added /opt/sybase/ASE1503/OCS-15_0/bin/isql to the
> $PATH and then I was able to connect with isql. However, rs_init still
> can't connect to ASE. I get the same error I had before as listed below.
>       &lt;/pre&gt;
>     &lt;/blockquote&gt;
>   &lt;/blockquote&gt;
>   &lt;pre wrap=""&gt;&lt;!----&gt;
>   &lt;/pre&gt;
> &lt;/blockquote&gt;
> &lt;br&gt;
> &lt;/body&gt;
> &lt;/html&gt;
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->
>   </pre>
> </blockquote>
> <br>
> </body>
> </html>

0
Andrei
11/1/2009 4:51:28 AM
NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...

NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...

----------------

Just restating what we know at this point ...

- your Linux OS is 64-bit

- your ASE 15.0.3 dataserver (EBF 16549) is 64-bit
- your ASE 15.0.3 isql (EBF16297) is 64-bit; does work on Linux 64-bit

- your RS 12.6 repserver (EBF14705) is 32-bit
- your RS 12.6 isql (EBF12521) is 32-bit; does *not* work on Linux 64-bit

Question:

Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?

----------------

I ran some searches of solved cases @ sybase.com and found a couple cases that mention the need to have a 32-bit 
emulator package installed on 64-bit Linux systems when running 32-bit client applications (eg, isql).

Here are the notes on one of those cases:

=============================================
Case: 11515278

Case Description
----------------
The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unable to run isql from the same box as it always ends 
with an error:

# . /opt/sybase/SYBASE.sh
# isql -Stestpisdb -Usa -P
-bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file


Tip or Workaround
-----------------
ASE version is:
Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 
20:52:36 2008

OS version:
Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64 ia64 GNU/Linux

Client binaries are almost always built as 32-bit.

The ia32 emulation layer package is required to run 32-bit applications on 64-bit Linux

On a host where isql runs:
$ rpm -qa | grep ia32el
ia32el-1.6-10.EL4
$

On the host where isql does not run:
$ rpm -qa | grep ia32el
$

Resolution
----------
Install the ia32 emulation layer package, ia32el:

up2date ia32el
=============================================


While you're not getting the 'cannot execute binary file' error message, I'm wondering if you could be suffering from a 
related issue, ie, running 32-bit client (isql) software on a 64-bit Linux OS?

If your Centos/RHEL 5 machine was running 32-bit, that could explain why 32-bit isql worked on that machine.

If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit emulation package installed, that could explain 
why 32-bit isql worked on that machine.

----------------

I did a web search on 'linux 32 bit emulator package' and found tons of hits, eg:

	http://maketecheasier.com/run-32-bit-apps-in-64-bit-linux/2009/08/10

Sounds easy enough to load the 32-bit emulator and then run your 32-bit isql test again, eh?

NOTE:  I have no idea what the actual name of a 32-bit emulator package would be for your particular Linux OS version.

----------------

Another item I haven't seen discussed (or perhaps I missed it) ... have you verified that you're running with all of the 
Sybase recommended OS patches/packages in support of Repserver 12.6?  (See the RS 12.6 Install Guide, Config Guide and 
Release Bulletins.)



Andrei R wrote:
> Leonid,
> 
> I installed the latest EBF and still get the same error. I see you're 
> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work with 
> the 64 bit Fedora that I am running.
> 
> Here is the log with the versions. I demonstrate that it does run with 
> 15.0.3 isql and I also display the versions. Thanks
> 
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql
> [sybase@desktop1 repserver126]$ isql -U sa -S RSSD01 
> Password: 
> CT-LIBRARY error:
> 	ct_connect(): network packet layer: internal net library error: 
> Net-Lib protocol driver call to connect two endpoints failed
> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S 
> RSSD01
> Password: 
> 1> select @@version
> 2> go
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>  
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 
>  Adaptive Server Enterprise/15.0.3/EBF 16549 ESD#1/P/x86_64/Enterprise 
> Linux/ase
> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47 
> 2009                                                                                                                                                                                                                                                                                                                                                                                                   
> 
> (1 row affected)
> 1> quit
> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v
> Sybase CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/
> Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008
> 
> Confidential property of Sybase, Inc.
> Copyright 1987, 2008
> Sybase, Inc.  All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of 
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation 
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a 
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other  
> written
> agreement  specifying  the  Government's rights to use the software and 
> any
> applicable FAR provisions, for example, FAR 52.227-19.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
> 
> [sybase@desktop1 repserver126]$ isql -v 
> Sybase CTISQL Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/
> Linux 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
> 
> Confidential property of Sybase, Inc.
> Copyright 1987, 2005
> Sybase, Inc.  All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of 
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation 
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a 
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other  
> written
> agreement  specifying  the  Government's rights to use the software and 
> any
> applicable FAR provisions, for example, FAR 52.227-19.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
> 
> [sybase@desktop1 repserver126]$ repserver -v
> Replication Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp 
> i686/1/OPT/Wed Jun 13 16:49:24 2007
> 
> Confidential property of Sybase, Inc.
> Copyright 1992, 2007
> Sybase, Inc.  All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of 
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation 
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a 
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other  
> written
> agreement  specifying  the  Government's rights to use the software and 
> any
> applicable FAR provisions, for example, FAR 52.227-19.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
> 
> [sybase@desktop1 repserver126]$ env
> SYBASE_SYSAM=SYSAM-1_0
> HOSTNAME=desktop1.localdomain
> SHELL=/bin/bash
> TERM=xterm
> HISTSIZE=1000
> QTDIR=/usr/lib64/qt-3.3
> OLDPWD=/home/sybase
> QTINC=/usr/lib64/qt-3.3/include
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=
01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
> LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
> SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/
> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LANG=en_US.UTF-8
> KDE_IS_PRELINKED=1
> KDEDIRS=/usr
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
> SHLVL=1
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
> LOGNAME=sybase
> QTLIB=/usr/lib64/qt-3.3/lib
> CVS_RSH=ssh
> LESSOPEN=|/usr/bin/lesspipe.sh %s
> DISPLAY=:0.0
> G_BROKEN_FILENAMES=1
> XAUTHORITY=/home/sybase/.xauthmeh8MA
> _=/bin/env
> [sybase@desktop1 repserver126]$ 


.... snip ...


>>> Is it possible the problem is with the 64 bit Linux OS? Is the
>>> repserver 12.6 isql 32 bit? Here is the isql version that does not
>>> work.

.... snip ...
0
Mark
11/1/2009 6:28:01 PM
Hi,

It took me a few days, but I finally installed 32 bit Fedora 11 on a vm 
machine and I still have the same problem. I'm not sure which centos I 
used but I believe it was 64 bit.

Anyway here's the current output of my env and the log of the different 
isql commands I used:

[sybase@fc111 ~]$ cd /opt/sybase/repserver126/
[sybase@fc111 repserver126]$ . ./SYBASE.sh
[sybase@fc111 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=fc111.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/lib/
qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
LOGNAME=sybase
QTLIB=/usr/lib/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthplNdp4
_=/bin/env
[sybase@fc111 repserver126]$ uname -a
Linux fc111.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 
17:28:22 EDT 2009 i686 athlon i386 GNU/Linux
[sybase@fc111 repserver126]$ isql -U sa -S RSSD01
Password:
CT-LIBRARY error:
    ct_connect(): network packet layer: internal net library error: Net-
Lib protocol driver call to connect two endpoints failed
[sybase@fc111 repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa -
S RSSD01
Password:
1>



On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:

> NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...
> 
> NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...
> 
> ----------------
> 
> Just restating what we know at this point ...
> 
> - your Linux OS is 64-bit
> 
> - your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
> isql (EBF16297) is 64-bit; does work on Linux 64-bit
> 
> - your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
> (EBF12521) is 32-bit; does *not* work on Linux 64-bit
> 
> Question:
> 
> Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?
> 
> ----------------
> 
> I ran some searches of solved cases @ sybase.com and found a couple
> cases that mention the need to have a 32-bit emulator package installed
> on 64-bit Linux systems when running 32-bit client applications (eg,
> isql).
> 
> Here are the notes on one of those cases:
> 
> ============================================= Case: 11515278
> 
> Case Description
> ----------------
> The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unable
> to run isql from the same box as it always ends with an error:
> 
> # . /opt/sybase/SYBASE.sh
> # isql -Stestpisdb -Usa -P
> -bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file
> 
> 
> Tip or Workaround
> -----------------
> ASE version is:
> Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
> 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008
> 
> OS version:
> Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
> ia64 GNU/Linux
> 
> Client binaries are almost always built as 32-bit.
> 
> The ia32 emulation layer package is required to run 32-bit applications
> on 64-bit Linux
> 
> On a host where isql runs:
> $ rpm -qa | grep ia32el
> ia32el-1.6-10.EL4
> $
> 
> On the host where isql does not run:
> $ rpm -qa | grep ia32el
> $
> 
> Resolution
> ----------
> Install the ia32 emulation layer package, ia32el:
> 
> up2date ia32el
> =============================================
> 
> 
> While you're not getting the 'cannot execute binary file' error message,
> I'm wondering if you could be suffering from a related issue, ie,
> running 32-bit client (isql) software on a 64-bit Linux OS?
> 
> If your Centos/RHEL 5 machine was running 32-bit, that could explain why
> 32-bit isql worked on that machine.
> 
> If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
> emulation package installed, that could explain why 32-bit isql worked
> on that machine.
> 
> ----------------
> 
> I did a web search on 'linux 32 bit emulator package' and found tons of
> hits, eg:
> 
> 	http://maketecheasier.com/run-32-bit-apps-in-64-bit-
linux/2009/08/10
> 
> Sounds easy enough to load the 32-bit emulator and then run your 32-bit
> isql test again, eh?
> 
> NOTE:  I have no idea what the actual name of a 32-bit emulator package
> would be for your particular Linux OS version.
> 
> ----------------
> 
> Another item I haven't seen discussed (or perhaps I missed it) ... have
> you verified that you're running with all of the Sybase recommended OS
> patches/packages in support of Repserver 12.6?  (See the RS 12.6 Install
> Guide, Config Guide and Release Bulletins.)
> 
> 
> 
> Andrei R wrote:
>> Leonid,
>> 
>> I installed the latest EBF and still get the same error. I see you're
>> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work with
>> the 64 bit Fedora that I am running.
>> 
>> Here is the log with the versions. I demonstrate that it does run with
>> 15.0.3 isql and I also display the versions. Thanks
>> 
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>> repserver126]$ isql -U sa -S RSSD01 Password:
>> CT-LIBRARY error:
>> 	ct_connect(): network packet layer: internal net library error:
>> Net-Lib protocol driver call to connect two endpoints failed
>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
>> RSSD01
>> Password:
>> 1> select @@version
>> 2> go
>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>> 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>  Adaptive Server Enterprise/15.0.3/EBF 16549 ESD#1/P/x86_64/Enterprise
>> Linux/ase
>> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
>> 2009
>> 
>> (1 row affected)
>> 1> quit
>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v Sybase
>> CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/ Linux
>> 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008
>> 
>> Confidential property of Sybase, Inc. Copyright 1987, 2008
>> Sybase, Inc.  All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>> 
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and
>> documentation by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software and
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
>> Sybase Drive, Dublin, CA 94568, USA
>> 
>> [sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
>> Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
>> 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
>> 
>> Confidential property of Sybase, Inc. Copyright 1987, 2005
>> Sybase, Inc.  All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>> 
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and
>> documentation by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software and
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
>> Sybase Drive, Dublin, CA 94568, USA
>> 
>> [sybase@desktop1 repserver126]$ repserver -v Replication
>> Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
>> i686/1/OPT/Wed Jun 13 16:49:24 2007
>> 
>> Confidential property of Sybase, Inc. Copyright 1992, 2007
>> Sybase, Inc.  All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>> 
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and
>> documentation by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software and
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
>> Sybase Drive, Dublin, CA 94568, USA
>> 
>> [sybase@desktop1 repserver126]$ env
>> SYBASE_SYSAM=SYSAM-1_0
>> HOSTNAME=desktop1.localdomain
>> SHELL=/bin/bash
>> TERM=xterm
>> HISTSIZE=1000
>> QTDIR=/usr/lib64/qt-3.3
>> OLDPWD=/home/sybase
>> QTINC=/usr/lib64/qt-3.3/include
>> USER=sybase
>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>> repserver126/OCS-12_5/lib3p:
>> 
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=
> 
01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
>> LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri SYBASE_OCS=OCS-12_5
>> SYBASE=/opt/sybase/repserver126
>> SYBASE_RSM=RSM-12_6
>> MAIL=/var/spool/mail/sybase
>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
bin:/
>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=/opt/sybase/repserver126
>> SYBASE_REP=REP-12_6
>> LANG=en_US.UTF-8
>> KDE_IS_PRELINKED=1
>> KDEDIRS=/usr
>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
>> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
>> HOME=/home/sybase
>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>> QTLIB=/usr/lib64/qt-3.3/lib
>> CVS_RSH=ssh
>> LESSOPEN=|/usr/bin/lesspipe.sh %s
>> DISPLAY=:0.0
>> G_BROKEN_FILENAMES=1
>> XAUTHORITY=/home/sybase/.xauthmeh8MA
>> _=/bin/env
>> [sybase@desktop1 repserver126]$
> 
> 
> ... snip ...
> 
> 
>>>> Is it possible the problem is with the 64 bit Linux OS? Is the
>>>> repserver 12.6 isql 32 bit? Here is the isql version that does not
>>>> work.
> 
> ... snip ...

0
Andrei
11/6/2009 4:35:30 AM
This is a multi-part message in MIME format.
--------------080002080007030704080500
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Andrei

I think I have an idea about the reason of the problem. How did you=20
define RSSD01 dataserver in ASE 15 interfaces file? If you defined it as =

"localhost your_port_number" - that's may be your problem. I tried this=20
scenario and succeeded to reproduce your problem, at least the error=20
message is the same one. Check if it is the case and if it is - redefine =

RSSD01 in interfaces file as "your_host_name your_port_number" or=20
"your_ip your_port_number", restart the dataserver and see if it helps.

Leonid Gvirtz

Andrei R wrote:
> Hi,
>
> It took me a few days, but I finally installed 32 bit Fedora 11 on a vm=
=20
> machine and I still have the same problem. I'm not sure which centos I =

> used but I believe it was 64 bit.
>
> Anyway here's the current output of my env and the log of the different=
=20
> isql commands I used:
>
> [sybase@fc111 ~]$ cd /opt/sybase/repserver126/
> [sybase@fc111 repserver126]$ . ./SYBASE.sh
> [sybase@fc111 repserver126]$ env
> SYBASE_SYSAM=3DSYSAM-1_0
> HOSTNAME=3Dfc111.localdomain
> SHELL=3D/bin/bash
> TERM=3Dxterm
> HISTSIZE=3D1000
> QTDIR=3D/usr/lib/qt-3.3
> OLDPWD=3D/home/sybase
> QTINC=3D/usr/lib/qt-3.3/include
> USER=3Dsybase
> LD_LIBRARY_PATH=3D/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01;=
35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:mi=3D01;05;37;41:=
su=3D37;41:sg=3D30;43:ca=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01=
;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31=
:*.lzma=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D=
01;31:*.bz2=3D01;31:*.tbz2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.deb=3D01;3=
1:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*=
=2Ecpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.xz=3D01;31:*.jpg=3D01;35:*.jp=
eg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D=
01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01=
;35:*.png=3D01;35:*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35=
:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*=
=2Em4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.=
wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=
=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01=
;35:*.xwd=3D01;35:*.yuv=3D01;35:*.svg=3D01;35:*.svgz=3D01;35:*.axv=3D01;3=
5:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D01;36:*.au=3D01;36:*.=
flac=3D01;36:*.mid=3D01;36:*.midi=3D01;36:*.mka=3D01;36:*.mp3=3D01;36:*.m=
pc=3D01;36:*.ogg=3D01;36:*.ra=3D01;36:*.wav=3D01;36:*.axa=3D01;36:*.oga=3D=
01;36:*.spx=3D01;36:*.xspf=3D01;36:
> SYBASE_OCS=3DOCS-12_5
> SYBASE=3D/opt/sybase/repserver126
> SYBASE_RSM=3DRSM-12_6
> MAIL=3D/var/spool/mail/sybase
> PATH=3D/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/li=
b/
> qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
> bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=3D/opt/sybase/repserver126
> SYBASE_REP=3DREP-12_6
> LANG=3Den_US.UTF-8
> LM_LICENSE_FILE=3D/opt/sybase/repserver126/SYSAM-1_0/licenses/license.d=
at
> SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass
> SHLVL=3D1
> HOME=3D/home/sybase
> SYBASE_JRE=3D/opt/sybase/repserver126/shared-1_0/JRE-1_3
> LOGNAME=3Dsybase
> QTLIB=3D/usr/lib/qt-3.3/lib
> CVS_RSH=3Dssh
> LESSOPEN=3D|/usr/bin/lesspipe.sh %s
> DISPLAY=3D:0.0
> G_BROKEN_FILENAMES=3D1
> XAUTHORITY=3D/home/sybase/.xauthplNdp4
> _=3D/bin/env
> [sybase@fc111 repserver126]$ uname -a
> Linux fc111.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27=20
> 17:28:22 EDT 2009 i686 athlon i386 GNU/Linux
> [sybase@fc111 repserver126]$ isql -U sa -S RSSD01
> Password:
> CT-LIBRARY error:
>     ct_connect(): network packet layer: internal net library error: Net=
-
> Lib protocol driver call to connect two endpoints failed
> [sybase@fc111 repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U s=
a -
> S RSSD01
> Password:
> 1>
>
>
>
> On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:
>
>  =20
>> NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...
>>
>> NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...
>>
>> ----------------
>>
>> Just restating what we know at this point ...
>>
>> - your Linux OS is 64-bit
>>
>> - your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
>> isql (EBF16297) is 64-bit; does work on Linux 64-bit
>>
>> - your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
>> (EBF12521) is 32-bit; does *not* work on Linux 64-bit
>>
>> Question:
>>
>> Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?
>>
>> ----------------
>>
>> I ran some searches of solved cases @ sybase.com and found a couple
>> cases that mention the need to have a 32-bit emulator package installe=
d
>> on 64-bit Linux systems when running 32-bit client applications (eg,
>> isql).
>>
>> Here are the notes on one of those cases:
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Case: 115=
15278
>>
>> Case Description
>> ----------------
>> The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unab=
le
>> to run isql from the same box as it always ends with an error:
>>
>> # . /opt/sybase/SYBASE.sh
>> # isql -Stestpisdb -Usa -P
>> -bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file
>>
>>
>> Tip or Workaround
>> -----------------
>> ASE version is:
>> Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
>> 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008
>>
>> OS version:
>> Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
>> ia64 GNU/Linux
>>
>> Client binaries are almost always built as 32-bit.
>>
>> The ia32 emulation layer package is required to run 32-bit application=
s
>> on 64-bit Linux
>>
>> On a host where isql runs:
>> $ rpm -qa | grep ia32el
>> ia32el-1.6-10.EL4
>> $
>>
>> On the host where isql does not run:
>> $ rpm -qa | grep ia32el
>> $
>>
>> Resolution
>> ----------
>> Install the ia32 emulation layer package, ia32el:
>>
>> up2date ia32el
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>>
>> While you're not getting the 'cannot execute binary file' error messag=
e,
>> I'm wondering if you could be suffering from a related issue, ie,
>> running 32-bit client (isql) software on a 64-bit Linux OS?
>>
>> If your Centos/RHEL 5 machine was running 32-bit, that could explain w=
hy
>> 32-bit isql worked on that machine.
>>
>> If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
>> emulation package installed, that could explain why 32-bit isql worked=

>> on that machine.
>>
>> ----------------
>>
>> I did a web search on 'linux 32 bit emulator package' and found tons o=
f
>> hits, eg:
>>
>> 	http://maketecheasier.com/run-32-bit-apps-in-64-bit-
>>    =20
> linux/2009/08/10
>  =20
>> Sounds easy enough to load the 32-bit emulator and then run your 32-bi=
t
>> isql test again, eh?
>>
>> NOTE:  I have no idea what the actual name of a 32-bit emulator packag=
e
>> would be for your particular Linux OS version.
>>
>> ----------------
>>
>> Another item I haven't seen discussed (or perhaps I missed it) ... hav=
e
>> you verified that you're running with all of the Sybase recommended OS=

>> patches/packages in support of Repserver 12.6?  (See the RS 12.6 Insta=
ll
>> Guide, Config Guide and Release Bulletins.)
>>
>>
>>
>> Andrei R wrote:
>>    =20
>>> Leonid,
>>>
>>> I installed the latest EBF and still get the same error. I see you're=

>>> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work wi=
th
>>> the 64 bit Fedora that I am running.
>>>
>>> Here is the log with the versions. I demonstrate that it does run wit=
h
>>> 15.0.3 isql and I also display the versions. Thanks
>>>
>>> [sybase@desktop1 repserver126]$ which isql
>>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>>> repserver126]$ isql -U sa -S RSSD01 Password:
>>> CT-LIBRARY error:
>>> 	ct_connect(): network packet layer: internal net library error:
>>> Net-Lib protocol driver call to connect two endpoints failed
>>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S=

>>> RSSD01
>>> Password:
>>> 1> select @@version
>>> 2> go
>>>                                                                      =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
    =20
>>>                                                                      =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
    =20
>>>
>>>      =20
> -----------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-
>  =20
>>>  Adaptive Server Enterprise/15.0.3/EBF 16549 ESD#1/P/x86_64/Enterpris=
e
>>> Linux/ase
>>> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
>>> 2009
>>>
>>> (1 row affected)
>>> 1> quit
>>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v Sybas=
e
>>> CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/ Linux
>>> 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008
>>>
>>> Confidential property of Sybase, Inc. Copyright 1987, 2008
>>> Sybase, Inc.  All rights reserved.
>>> Unpublished rights reserved under U.S. copyright laws.
>>>
>>> This software contains confidential and trade secret information of
>>> Sybase,
>>> Inc.   Use,  duplication or disclosure of the software and
>>> documentation by
>>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>>> license
>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>> written
>>> agreement  specifying  the  Government's rights to use the software a=
nd
>>> any
>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. O=
ne
>>> Sybase Drive, Dublin, CA 94568, USA
>>>
>>> [sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
>>> Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
>>> 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
>>>
>>> Confidential property of Sybase, Inc. Copyright 1987, 2005
>>> Sybase, Inc.  All rights reserved.
>>> Unpublished rights reserved under U.S. copyright laws.
>>>
>>> This software contains confidential and trade secret information of
>>> Sybase,
>>> Inc.   Use,  duplication or disclosure of the software and
>>> documentation by
>>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>>> license
>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>> written
>>> agreement  specifying  the  Government's rights to use the software a=
nd
>>> any
>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. O=
ne
>>> Sybase Drive, Dublin, CA 94568, USA
>>>
>>> [sybase@desktop1 repserver126]$ repserver -v Replication
>>> Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
>>> i686/1/OPT/Wed Jun 13 16:49:24 2007
>>>
>>> Confidential property of Sybase, Inc. Copyright 1992, 2007
>>> Sybase, Inc.  All rights reserved.
>>> Unpublished rights reserved under U.S. copyright laws.
>>>
>>> This software contains confidential and trade secret information of
>>> Sybase,
>>> Inc.   Use,  duplication or disclosure of the software and
>>> documentation by
>>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>>> license
>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>> written
>>> agreement  specifying  the  Government's rights to use the software a=
nd
>>> any
>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. O=
ne
>>> Sybase Drive, Dublin, CA 94568, USA
>>>
>>> [sybase@desktop1 repserver126]$ env
>>> SYBASE_SYSAM=3DSYSAM-1_0
>>> HOSTNAME=3Ddesktop1.localdomain
>>> SHELL=3D/bin/bash
>>> TERM=3Dxterm
>>> HISTSIZE=3D1000
>>> QTDIR=3D/usr/lib64/qt-3.3
>>> OLDPWD=3D/home/sybase
>>> QTINC=3D/usr/lib64/qt-3.3/include
>>> USER=3Dsybase
>>> LD_LIBRARY_PATH=3D/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>>> repserver126/OCS-12_5/lib3p:
>>>
>>>      =20
> LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01;=
35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:mi=3D01;05;37;41:=
su=3D37;41:sg=3D30;43:ca=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01=
;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31=
:*.lzma=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D=
01;31:*.bz2=3D01;31:*.tbz2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.deb=3D01;3=
1:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*=
=2Ecpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.xz=3D01;31:*.jpg=3D01;35:*.jp=
eg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D=
01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01=
;35:*.png=3D01;35:*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35=
:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*=
=2Em4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.=
wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=
=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01=
;35:*.xwd=3D01;35:*.yuv=3D01;35:*.svg=3D01;35:*.svgz=3D01;35:*.axv=3D
>  =20
> 01;35:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D01;36:*.au=3D01=
;36:*.flac=3D01;36:*.mid=3D01;36:*.midi=3D01;36:*.mka=3D01;36:*.mp3=3D01;=
36:*.mpc=3D01;36:*.ogg=3D01;36:*.ra=3D01;36:*.wav=3D01;36:*.axa=3D01;36:*=
=2Eoga=3D01;36:*.spx=3D01;36:*.xspf=3D01;36:
>  =20
>>> LIBGL_DRIVERS_PATH=3D/usr/lib/dri:/usr/lib64/dri SYBASE_OCS=3DOCS-12_=
5
>>> SYBASE=3D/opt/sybase/repserver126
>>> SYBASE_RSM=3DRSM-12_6
>>> MAIL=3D/var/spool/mail/sybase
>>> PATH=3D/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126=
/
>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/=

>>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/=

>>>      =20
> bin:/
>  =20
>>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>> PWD=3D/opt/sybase/repserver126
>>> SYBASE_REP=3DREP-12_6
>>> LANG=3Den_US.UTF-8
>>> KDE_IS_PRELINKED=3D1
>>> KDEDIRS=3D/usr
>>> LM_LICENSE_FILE=3D/opt/sybase/repserver126/SYSAM-1_0/licenses/license=
=2Edat
>>> SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass SHLVL=3D1
>>> HOME=3D/home/sybase
>>> SYBASE_JRE=3D/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=3Dsy=
base
>>> QTLIB=3D/usr/lib64/qt-3.3/lib
>>> CVS_RSH=3Dssh
>>> LESSOPEN=3D|/usr/bin/lesspipe.sh %s
>>> DISPLAY=3D:0.0
>>> G_BROKEN_FILENAMES=3D1
>>> XAUTHORITY=3D/home/sybase/.xauthmeh8MA
>>> _=3D/bin/env
>>> [sybase@desktop1 repserver126]$
>>>      =20
>> ... snip ...
>>
>>
>>    =20
>>>>> Is it possible the problem is with the 64 bit Linux OS? Is the
>>>>> repserver 12.6 isql 32 bit? Here is the isql version that does not
>>>>> work.
>>>>>          =20
>> ... snip ...
>>    =20
>
>  =20


--------------080002080007030704080500
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Andrei<br>
<br>
I think I have an idea about the reason of the problem. How did you
define RSSD01 dataserver in ASE 15 interfaces file? If you defined it
as "localhost your_port_number" - that's may be your problem. I tried
this scenario and succeeded to reproduce your problem, at least the
error message is the same one. Check if it is the case and if it is -
redefine RSSD01 in interfaces file as "your_host_name your_port_number"
or "your_ip your_port_number", restart the dataserver and see if it
helps.<br>
<br>
Leonid Gvirtz<br>
</tt><br>
Andrei R wrote:
<blockquote cite="mid:4af3a792@forums-1-dub" type="cite">
  <pre wrap="">Hi,

It took me a few days, but I finally installed 32 bit Fedora 11 on a vm 
machine and I still have the same problem. I'm not sure which centos I 
used but I believe it was 64 bit.

Anyway here's the current output of my env and the log of the different 
isql commands I used:

[sybase@fc111 ~]$ cd /opt/sybase/repserver126/
[sybase@fc111 repserver126]$ . ./SYBASE.sh
[sybase@fc111 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=fc111.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=01
;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/lib/
qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3
LOGNAME=sybase
QTLIB=/usr/lib/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthplNdp4
_=/bin/env
[sybase@fc111 repserver126]$ uname -a
Linux fc111.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 
17:28:22 EDT 2009 i686 athlon i386 GNU/Linux
[sybase@fc111 repserver126]$ isql -U sa -S RSSD01
Password:
CT-LIBRARY error:
    ct_connect(): network packet layer: internal net library error: Net-
Lib protocol driver call to connect two endpoints failed
[sybase@fc111 repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa -
S RSSD01
Password:
1&gt;



On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...

NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...

----------------

Just restating what we know at this point ...

- your Linux OS is 64-bit

- your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
isql (EBF16297) is 64-bit; does work on Linux 64-bit

- your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
(EBF12521) is 32-bit; does *not* work on Linux 64-bit

Question:

Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?

----------------

I ran some searches of solved cases @ sybase.com and found a couple
cases that mention the need to have a 32-bit emulator package installed
on 64-bit Linux systems when running 32-bit client applications (eg,
isql).

Here are the notes on one of those cases:

============================================= Case: 11515278

Case Description
----------------
The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unable
to run isql from the same box as it always ends with an error:

# . /opt/sybase/SYBASE.sh
# isql -Stestpisdb -Usa -P
-bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file


Tip or Workaround
-----------------
ASE version is:
Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008

OS version:
Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
ia64 GNU/Linux

Client binaries are almost always built as 32-bit.

The ia32 emulation layer package is required to run 32-bit applications
on 64-bit Linux

On a host where isql runs:
$ rpm -qa | grep ia32el
ia32el-1.6-10.EL4
$

On the host where isql does not run:
$ rpm -qa | grep ia32el
$

Resolution
----------
Install the ia32 emulation layer package, ia32el:

up2date ia32el
=============================================


While you're not getting the 'cannot execute binary file' error message,
I'm wondering if you could be suffering from a related issue, ie,
running 32-bit client (isql) software on a 64-bit Linux OS?

If your Centos/RHEL 5 machine was running 32-bit, that could explain why
32-bit isql worked on that machine.

If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
emulation package installed, that could explain why 32-bit isql worked
on that machine.

----------------

I did a web search on 'linux 32 bit emulator package' and found tons of
hits, eg:

	<a class="moz-txt-link-freetext" href="http://maketecheasier.com/run-32-bit-apps-in-64-bit">http://maketecheasier.com/run-32-bit-apps-in-64-bit</a>-
    </pre>
  </blockquote>
  <pre wrap=""><!---->linux/2009/08/10
  </pre>
  <blockquote type="cite">
    <pre wrap="">Sounds easy enough to load the 32-bit emulator and then run your 32-bit
isql test again, eh?

NOTE:  I have no idea what the actual name of a 32-bit emulator package
would be for your particular Linux OS version.

----------------

Another item I haven't seen discussed (or perhaps I missed it) ... have
you verified that you're running with all of the Sybase recommended OS
patches/packages in support of Repserver 12.6?  (See the RS 12.6 Install
Guide, Config Guide and Release Bulletins.)



Andrei R wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Leonid,

I installed the latest EBF and still get the same error. I see you're
using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work with
the 64 bit Fedora that I am running.

Here is the log with the versions. I demonstrate that it does run with
15.0.3 isql and I also display the versions. Thanks

[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01 Password:
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error:
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
RSSD01
Password:
1&gt; select @@version
2&gt; go
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap=""> Adaptive Server Enterprise/15.0.3/EBF 16549 ESD#1/P/x86_64/Enterprise
Linux/ase
	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
2009

(1 row affected)
1&gt; quit
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v Sybase
CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/ Linux
2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008

Confidential property of Sybase, Inc. Copyright 1987, 2008
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and
documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software and
any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005

Confidential property of Sybase, Inc. Copyright 1987, 2005
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and
documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software and
any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ repserver -v Replication
Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
i686/1/OPT/Wed Jun 13 16:49:24 2007

Confidential property of Sybase, Inc. Copyright 1992, 2007
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and
documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software and
any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=desktop1.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib64/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib64/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35
:*.svgz=01;35:*.axv=
  </pre>
  <pre wrap=""><!---->01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->bin:/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
KDE_IS_PRELINKED=1
KDEDIRS=/usr
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthmeh8MA
_=/bin/env
[sybase@desktop1 repserver126]$
      </pre>
    </blockquote>
    <pre wrap="">
.... snip ...


    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">Is it possible the problem is with the 64 bit Linux OS? Is the
repserver 12.6 isql 32 bit? Here is the isql version that does not
work.
          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">... snip ...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

--------------080002080007030704080500--
0
Leonid
11/6/2009 8:38:30 AM
Brilliant! I redefined the host name from localhost to 127.0.0.1 and it 
worked on the 64 bit! Note that I only changed in on the ASE interfaces. 
I left it as localhost on the interfaces used by Repserver and it still 
worked.

Thanks so much for your work and help!

Does anyone have an explanation as to why this makes a difference?

On Fri, 06 Nov 2009 00:38:30 -0800, Leonid Gvirtz wrote:

> Hi Andrei
> 
> I think I have an idea about the reason of the problem. How did you
> define RSSD01 dataserver in ASE 15 interfaces file? If you defined it as
> "localhost your_port_number" - that's may be your problem. I tried this
> scenario and succeeded to reproduce your problem, at least the error
> message is the same one. Check if it is the case and if it is - redefine
> RSSD01 in interfaces file as "your_host_name your_port_number" or
> "your_ip your_port_number", restart the dataserver and see if it helps.
> 
> Leonid Gvirtz
> 
> Andrei R wrote:
>> Hi,
>>
>> It took me a few days, but I finally installed 32 bit Fedora 11 on a vm
>> machine and I still have the same problem. I'm not sure which centos I
>> used but I believe it was 64 bit.
>>
>> Anyway here's the current output of my env and the log of the different
>> isql commands I used:
>>
>> [sybase@fc111 ~]$ cd /opt/sybase/repserver126/ [sybase@fc111
>> repserver126]$ . ./SYBASE.sh [sybase@fc111 repserver126]$ env
>> SYBASE_SYSAM=SYSAM-1_0
>> HOSTNAME=fc111.localdomain
>> SHELL=/bin/bash
>> TERM=xterm
>> HISTSIZE=1000
>> QTDIR=/usr/lib/qt-3.3
>> OLDPWD=/home/sybase
>> QTINC=/usr/lib/qt-3.3/include
>> USER=sybase
>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>> repserver126/OCS-12_5/lib3p:
>> 
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
>> SYBASE_OCS=OCS-12_5
>> SYBASE=/opt/sybase/repserver126
>> SYBASE_RSM=RSM-12_6
>> MAIL=/var/spool/mail/sybase
>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib/
>> qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
>> bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=/opt/sybase/repserver126
>> SYBASE_REP=REP-12_6
>> LANG=en_US.UTF-8
>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
>> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
>> HOME=/home/sybase
>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>> QTLIB=/usr/lib/qt-3.3/lib
>> CVS_RSH=ssh
>> LESSOPEN=|/usr/bin/lesspipe.sh %s
>> DISPLAY=:0.0
>> G_BROKEN_FILENAMES=1
>> XAUTHORITY=/home/sybase/.xauthplNdp4
>> _=/bin/env
>> [sybase@fc111 repserver126]$ uname -a Linux fc111.localdomain
>> 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
>> athlon i386 GNU/Linux [sybase@fc111 repserver126]$ isql -U sa -S RSSD01
>> Password:
>> CT-LIBRARY error:
>>     ct_connect(): network packet layer: internal net library error:
>>     Net-
>> Lib protocol driver call to connect two endpoints failed [sybase@fc111
>> repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa - S RSSD01
>> Password:
>> 1>
>>
>>
>>
>> On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:
>>
>>
>>> NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...
>>>
>>> NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...
>>>
>>> ----------------
>>>
>>> Just restating what we know at this point ...
>>>
>>> - your Linux OS is 64-bit
>>>
>>> - your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
>>> isql (EBF16297) is 64-bit; does work on Linux 64-bit
>>>
>>> - your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
>>> (EBF12521) is 32-bit; does *not* work on Linux 64-bit
>>>
>>> Question:
>>>
>>> Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?
>>>
>>> ----------------
>>>
>>> I ran some searches of solved cases @ sybase.com and found a couple
>>> cases that mention the need to have a 32-bit emulator package
>>> installed on 64-bit Linux systems when running 32-bit client
>>> applications (eg, isql).
>>>
>>> Here are the notes on one of those cases:
>>>
>>> ============================================= Case: 11515278
>>>
>>> Case Description
>>> ----------------
>>> The customer installed ASE 15.0.2 on Linux IA-64 machine. They're
>>> unable to run isql from the same box as it always ends with an error:
>>>
>>> # . /opt/sybase/SYBASE.sh
>>> # isql -Stestpisdb -Usa -P
>>> -bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file
>>>
>>>
>>> Tip or Workaround
>>> -----------------
>>> ASE version is:
>>> Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
>>> 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008
>>>
>>> OS version:
>>> Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
>>> ia64 GNU/Linux
>>>
>>> Client binaries are almost always built as 32-bit.
>>>
>>> The ia32 emulation layer package is required to run 32-bit
>>> applications on 64-bit Linux
>>>
>>> On a host where isql runs:
>>> $ rpm -qa | grep ia32el
>>> ia32el-1.6-10.EL4
>>> $
>>>
>>> On the host where isql does not run:
>>> $ rpm -qa | grep ia32el
>>> $
>>>
>>> Resolution
>>> ----------
>>> Install the ia32 emulation layer package, ia32el:
>>>
>>> up2date ia32el
>>> =============================================
>>>
>>>
>>> While you're not getting the 'cannot execute binary file' error
>>> message, I'm wondering if you could be suffering from a related issue,
>>> ie, running 32-bit client (isql) software on a 64-bit Linux OS?
>>>
>>> If your Centos/RHEL 5 machine was running 32-bit, that could explain
>>> why 32-bit isql worked on that machine.
>>>
>>> If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
>>> emulation package installed, that could explain why 32-bit isql worked
>>> on that machine.
>>>
>>> ----------------
>>>
>>> I did a web search on 'linux 32 bit emulator package' and found tons
>>> of hits, eg:
>>>
>>> 	http://maketecheasier.com/run-32-bit-apps-in-64-bit-
>>>     
>> linux/2009/08/10
>>   
>>> Sounds easy enough to load the 32-bit emulator and then run your
>>> 32-bit isql test again, eh?
>>>
>>> NOTE:  I have no idea what the actual name of a 32-bit emulator
>>> package would be for your particular Linux OS version.
>>>
>>> ----------------
>>>
>>> Another item I haven't seen discussed (or perhaps I missed it) ...
>>> have you verified that you're running with all of the Sybase
>>> recommended OS patches/packages in support of Repserver 12.6?  (See
>>> the RS 12.6 Install Guide, Config Guide and Release Bulletins.)
>>>
>>>
>>>
>>> Andrei R wrote:
>>>     
>>>> Leonid,
>>>>
>>>> I installed the latest EBF and still get the same error. I see you're
>>>> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work
>>>> with the 64 bit Fedora that I am running.
>>>>
>>>> Here is the log with the versions. I demonstrate that it does run
>>>> with 15.0.3 isql and I also display the versions. Thanks
>>>>
>>>> [sybase@desktop1 repserver126]$ which isql
>>>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>>>> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
>>>> 	ct_connect(): network packet layer: internal net library error:
>>>> Net-Lib protocol driver call to connect two endpoints failed
>>>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
>>>> RSSD01
>>>> Password:
>>>> 1> select @@version
>>>> 2> go
>>>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>>>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>>>>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>>>>
>> 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>   
>>>>  Adaptive Server Enterprise/15.0.3/EBF 16549
>>>>  ESD#1/P/x86_64/Enterprise
>>>> Linux/ase
>>>> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
>>>> 2009
>>>>
>>>> (1 row affected)
>>>> 1> quit
>>>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v
>>>> Sybase CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/
>>>> Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22
>>>> 2008
>>>>
>>>> Confidential property of Sybase, Inc. Copyright 1987, 2008 Sybase,
>>>> Inc.  All rights reserved.
>>>> Unpublished rights reserved under U.S. copyright laws.
>>>>
>>>> This software contains confidential and trade secret information of
>>>> Sybase,
>>>> Inc.   Use,  duplication or disclosure of the software and
>>>> documentation by
>>>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>>>> license
>>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>>> written
>>>> agreement  specifying  the  Government's rights to use the software
>>>> and any
>>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.
>>>> One Sybase Drive, Dublin, CA 94568, USA
>>>>
>>>> [sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
>>>> Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
>>>> 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
>>>>
>>>> Confidential property of Sybase, Inc. Copyright 1987, 2005 Sybase,
>>>> Inc.  All rights reserved.
>>>> Unpublished rights reserved under U.S. copyright laws.
>>>>
>>>> This software contains confidential and trade secret information of
>>>> Sybase,
>>>> Inc.   Use,  duplication or disclosure of the software and
>>>> documentation by
>>>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>>>> license
>>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>>> written
>>>> agreement  specifying  the  Government's rights to use the software
>>>> and any
>>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.
>>>> One Sybase Drive, Dublin, CA 94568, USA
>>>>
>>>> [sybase@desktop1 repserver126]$ repserver -v Replication
>>>> Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
>>>> i686/1/OPT/Wed Jun 13 16:49:24 2007
>>>>
>>>> Confidential property of Sybase, Inc. Copyright 1992, 2007 Sybase,
>>>> Inc.  All rights reserved.
>>>> Unpublished rights reserved under U.S. copyright laws.
>>>>
>>>> This software contains confidential and trade secret information of
>>>> Sybase,
>>>> Inc.   Use,  duplication or disclosure of the software and
>>>> documentation by
>>>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>>>> license
>>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>>> written
>>>> agreement  specifying  the  Government's rights to use the software
>>>> and any
>>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.
>>>> One Sybase Drive, Dublin, CA 94568, USA
>>>>
>>>> [sybase@desktop1 repserver126]$ env
>>>> SYBASE_SYSAM=SYSAM-1_0
>>>> HOSTNAME=desktop1.localdomain
>>>> SHELL=/bin/bash
>>>> TERM=xterm
>>>> HISTSIZE=1000
>>>> QTDIR=/usr/lib64/qt-3.3
>>>> OLDPWD=/home/sybase
>>>> QTINC=/usr/lib64/qt-3.3/include
>>>> USER=sybase
>>>> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>>>> repserver126/OCS-12_5/lib3p:
>>>>
>>>>
>> 
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=
>>   
>> 
01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
>>   
>>>> LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri SYBASE_OCS=OCS-12_5
>>>> SYBASE=/opt/sybase/repserver126
>>>> SYBASE_RSM=RSM-12_6
>>>> MAIL=/var/spool/mail/sybase
>>>> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
>>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>>>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>>>>       
>> bin:/
>>   
>>>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>>> PWD=/opt/sybase/repserver126
>>>> SYBASE_REP=REP-12_6
>>>> LANG=en_US.UTF-8
>>>> KDE_IS_PRELINKED=1
>>>> KDEDIRS=/usr
>>>> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/
license.dat
>>>> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
>>>> HOME=/home/sybase
>>>> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
>>>> QTLIB=/usr/lib64/qt-3.3/lib
>>>> CVS_RSH=ssh
>>>> LESSOPEN=|/usr/bin/lesspipe.sh %s
>>>> DISPLAY=:0.0
>>>> G_BROKEN_FILENAMES=1
>>>> XAUTHORITY=/home/sybase/.xauthmeh8MA
>>>> _=/bin/env
>>>> [sybase@desktop1 repserver126]$
>>>>       
>>> ... snip ...
>>>
>>>
>>>
>>>>>> Is it possible the problem is with the 64 bit Linux OS? Is the
>>>>>> repserver 12.6 isql 32 bit? Here is the isql version that does not
>>>>>> work.
>>>>>>           
>>> ... snip ...
>>>     
>>>     
>>
>>   
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
> <head>
>   <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
>   <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000"> <tt>Hi Andrei<br>
> <br>
> I think I have an idea about the reason of the problem. How did you
> define RSSD01 dataserver in ASE 15 interfaces file? If you defined it as
> "localhost your_port_number" - that's may be your problem. I tried this
> scenario and succeeded to reproduce your problem, at least the error
> message is the same one. Check if it is the case and if it is - redefine
> RSSD01 in interfaces file as "your_host_name your_port_number" or
> "your_ip your_port_number", restart the dataserver and see if it
> helps.<br>
> <br>
> Leonid Gvirtz<br>
> </tt><br>
> Andrei R wrote:
> <blockquote cite="mid:4af3a792@forums-1-dub" type="cite">
>   <pre wrap="">Hi,
> 
> It took me a few days, but I finally installed 32 bit Fedora 11 on a vm
> machine and I still have the same problem. I'm not sure which centos I
> used but I believe it was 64 bit.
> 
> Anyway here's the current output of my env and the log of the different
> isql commands I used:
> 
> [sybase@fc111 ~]$ cd /opt/sybase/repserver126/ [sybase@fc111
> repserver126]$ . ./SYBASE.sh [sybase@fc111 repserver126]$ env
> SYBASE_SYSAM=SYSAM-1_0
> HOSTNAME=fc111.localdomain
> SHELL=/bin/bash
> TERM=xterm
> HISTSIZE=1000
> QTDIR=/usr/lib/qt-3.3
> OLDPWD=/home/sybase
> QTINC=/usr/lib/qt-3.3/include
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> 
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35:*.svgz=01;35:*.axv=01
> ;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
> SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib/
> qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
> bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LANG=en_US.UTF-8
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
> QTLIB=/usr/lib/qt-3.3/lib
> CVS_RSH=ssh
> LESSOPEN=|/usr/bin/lesspipe.sh %s
> DISPLAY=:0.0
> G_BROKEN_FILENAMES=1
> XAUTHORITY=/home/sybase/.xauthplNdp4
> _=/bin/env
> [sybase@fc111 repserver126]$ uname -a Linux fc111.localdomain
> 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
> athlon i386 GNU/Linux [sybase@fc111 repserver126]$ isql -U sa -S RSSD01
> Password:
> CT-LIBRARY error:
>     ct_connect(): network packet layer: internal net library error: Net-
> Lib protocol driver call to connect two endpoints failed [sybase@fc111
> repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa - S RSSD01
> Password:
> 1&gt;
> 
> 
> 
> On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:
> 
>   </pre>
>   <blockquote type="cite">
>     <pre wrap="">NOTE:  I think your musings about 32-bit vs 64-bit may
>     be valid ...
> 
> NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...
> 
> ----------------
> 
> Just restating what we know at this point ...
> 
> - your Linux OS is 64-bit
> 
> - your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
> isql (EBF16297) is 64-bit; does work on Linux 64-bit
> 
> - your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
> (EBF12521) is 32-bit; does *not* work on Linux 64-bit
> 
> Question:
> 
> Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?
> 
> ----------------
> 
> I ran some searches of solved cases @ sybase.com and found a couple
> cases that mention the need to have a 32-bit emulator package installed
> on 64-bit Linux systems when running 32-bit client applications (eg,
> isql).
> 
> Here are the notes on one of those cases:
> 
> ============================================= Case: 11515278
> 
> Case Description
> ----------------
> The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unable
> to run isql from the same box as it always ends with an error:
> 
> # . /opt/sybase/SYBASE.sh
> # isql -Stestpisdb -Usa -P
> -bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file
> 
> 
> Tip or Workaround
> -----------------
> ASE version is:
> Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
> 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008
> 
> OS version:
> Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
> ia64 GNU/Linux
> 
> Client binaries are almost always built as 32-bit.
> 
> The ia32 emulation layer package is required to run 32-bit applications
> on 64-bit Linux
> 
> On a host where isql runs:
> $ rpm -qa | grep ia32el
> ia32el-1.6-10.EL4
> $
> 
> On the host where isql does not run:
> $ rpm -qa | grep ia32el
> $
> 
> Resolution
> ----------
> Install the ia32 emulation layer package, ia32el:
> 
> up2date ia32el
> =============================================
> 
> 
> While you're not getting the 'cannot execute binary file' error message,
> I'm wondering if you could be suffering from a related issue, ie,
> running 32-bit client (isql) software on a 64-bit Linux OS?
> 
> If your Centos/RHEL 5 machine was running 32-bit, that could explain why
> 32-bit isql worked on that machine.
> 
> If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
> emulation package installed, that could explain why 32-bit isql worked
> on that machine.
> 
> ----------------
> 
> I did a web search on 'linux 32 bit emulator package' and found tons of
> hits, eg:
> 
> 	<a class="moz-txt-link-freetext"
> 	href="http://maketecheasier.com/run-32-bit-apps-in-64-bit">http://
maketecheasier.com/run-32-bit-apps-in-64-bit</a>-
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->linux/2009/08/10
>   </pre>
>   <blockquote type="cite">
>     <pre wrap="">Sounds easy enough to load the 32-bit emulator and then
>     run your 32-bit
> isql test again, eh?
> 
> NOTE:  I have no idea what the actual name of a 32-bit emulator package
> would be for your particular Linux OS version.
> 
> ----------------
> 
> Another item I haven't seen discussed (or perhaps I missed it) ... have
> you verified that you're running with all of the Sybase recommended OS
> patches/packages in support of Repserver 12.6?  (See the RS 12.6 Install
> Guide, Config Guide and Release Bulletins.)
> 
> 
> 
> Andrei R wrote:
>     </pre>
>     <blockquote type="cite">
>       <pre wrap="">Leonid,
> 
> I installed the latest EBF and still get the same error. I see you're
> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work with
> the 64 bit Fedora that I am running.
> 
> Here is the log with the versions. I demonstrate that it does run with
> 15.0.3 isql and I also display the versions. Thanks
> 
> [sybase@desktop1 repserver126]$ which isql
> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
> 	ct_connect(): network packet layer: internal net library error:
> Net-Lib protocol driver call to connect two endpoints failed
> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
> RSSD01
> Password:
> 1&gt; select @@version
> 2&gt; go
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre
>   wrap=""><!----
>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre wrap=""> Adaptive Server Enterprise/15.0.3/EBF 16549
>       ESD#1/P/x86_64/Enterprise
> Linux/ase
> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
> 2009
> 
> (1 row affected)
> 1&gt; quit
> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v Sybase
> CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/ Linux
> 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008
> 
> Confidential property of Sybase, Inc. Copyright 1987, 2008 Sybase, Inc. 
> All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other
> written
> agreement  specifying  the  Government's rights to use the software and
> any
> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
> Sybase Drive, Dublin, CA 94568, USA
> 
> [sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
> Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
> 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
> 
> Confidential property of Sybase, Inc. Copyright 1987, 2005 Sybase, Inc. 
> All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other
> written
> agreement  specifying  the  Government's rights to use the software and
> any
> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
> Sybase Drive, Dublin, CA 94568, USA
> 
> [sybase@desktop1 repserver126]$ repserver -v Replication Server/12.6/EBF
> 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp i686/1/OPT/Wed Jun 13
> 16:49:24 2007
> 
> Confidential property of Sybase, Inc. Copyright 1992, 2007 Sybase, Inc. 
> All rights reserved.
> Unpublished rights reserved under U.S. copyright laws.
> 
> This software contains confidential and trade secret information of
> Sybase,
> Inc.   Use,  duplication or disclosure of the software and documentation
> by
> the  U.S.  Government  is  subject  to  restrictions set forth in a
> license
> agreement  between  the  Government  and  Sybase,  Inc.  or  other
> written
> agreement  specifying  the  Government's rights to use the software and
> any
> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
> Sybase Drive, Dublin, CA 94568, USA
> 
> [sybase@desktop1 repserver126]$ env
> SYBASE_SYSAM=SYSAM-1_0
> HOSTNAME=desktop1.localdomain
> SHELL=/bin/bash
> TERM=xterm
> HISTSIZE=1000
> QTDIR=/usr/lib64/qt-3.3
> OLDPWD=/home/sybase
> QTINC=/usr/lib64/qt-3.3/include
> USER=sybase
> LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
> repserver126/OCS-12_5/lib3p:
> 
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre
>   wrap=""><!----
>LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35
> :*.svgz=01;35:*.axv=
>   </pre>
>   <pre
>   wrap=""><!----
>01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre wrap="">LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
>       SYBASE_OCS=OCS-12_5
> SYBASE=/opt/sybase/repserver126
> SYBASE_RSM=RSM-12_6
> MAIL=/var/spool/mail/sybase
> PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>       </pre>
>     </blockquote>
>   </blockquote>
>   <pre wrap=""><!---->bin:/
>   </pre>
>   <blockquote type="cite">
>     <blockquote type="cite">
>       <pre
>       wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
> PWD=/opt/sybase/repserver126
> SYBASE_REP=REP-12_6
> LANG=en_US.UTF-8
> KDE_IS_PRELINKED=1
> KDEDIRS=/usr
> LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
> SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
> HOME=/home/sybase
> SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
> QTLIB=/usr/lib64/qt-3.3/lib
> CVS_RSH=ssh
> LESSOPEN=|/usr/bin/lesspipe.sh %s
> DISPLAY=:0.0
> G_BROKEN_FILENAMES=1
> XAUTHORITY=/home/sybase/.xauthmeh8MA
> _=/bin/env
> [sybase@desktop1 repserver126]$
>       </pre>
>     </blockquote>
>     <pre wrap="">
> ... snip ...
> 
> 
>     </pre>
>     <blockquote type="cite">
>       <blockquote type="cite">
>         <blockquote type="cite">
>           <pre wrap="">Is it possible the problem is with the 64 bit
>           Linux OS? Is the
> repserver 12.6 isql 32 bit? Here is the isql version that does not work.
>           </pre>
>         </blockquote>
>       </blockquote>
>     </blockquote>
>     <pre wrap="">... snip ...
>     </pre>
>   </blockquote>
>   <pre wrap=""><!---->
>   </pre>
> </blockquote>
> <br>
> </body>
> </html>

0
Andrei
11/6/2009 9:18:39 PM
This is a multi-part message in MIME format.
--------------040309030808010301010901
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi Andrei

I'm not sure why the change you performed made such a difference for=20
your system. Maybe the content of /etc/hosts file may provide some clue. =

What happened is that you tried to connect from your RS's environment to =

the address that ASE was not listening on for some reason. By changing=20
the master entry in interfaces file, you changed the address ASE is=20
listening on. You can check what adresses/ports your ASE is listening by =

running "sp_listener status".
Now, for example, it is most probably impossible to connect to your=20
dataserver from outside your VM. You will need to configure the=20
dataserver to listen on the external IP of your VM either by adding it=20
as another master entry to interfaces file or by using of sp_listener.

Hope it helps
Leonid Gvirtz

Andrei R wrote:
> Brilliant! I redefined the host name from localhost to 127.0.0.1 and it=
=20
> worked on the 64 bit! Note that I only changed in on the ASE interfaces=
=2E=20
> I left it as localhost on the interfaces used by Repserver and it still=
=20
> worked.
>
> Thanks so much for your work and help!
>
> Does anyone have an explanation as to why this makes a difference?
>
> On Fri, 06 Nov 2009 00:38:30 -0800, Leonid Gvirtz wrote:
>
>  =20
>> Hi Andrei
>>
>> I think I have an idea about the reason of the problem. How did you
>> define RSSD01 dataserver in ASE 15 interfaces file? If you defined it =
as
>> "localhost your_port_number" - that's may be your problem. I tried thi=
s
>> scenario and succeeded to reproduce your problem, at least the error
>> message is the same one. Check if it is the case and if it is - redefi=
ne
>> RSSD01 in interfaces file as "your_host_name your_port_number" or
>> "your_ip your_port_number", restart the dataserver and see if it helps=
=2E
>>
>> Leonid Gvirtz
>>
>> Andrei R wrote:
>>    =20
>>> Hi,
>>>
>>> It took me a few days, but I finally installed 32 bit Fedora 11 on a =
vm
>>> machine and I still have the same problem. I'm not sure which centos =
I
>>> used but I believe it was 64 bit.
>>>
>>> Anyway here's the current output of my env and the log of the differe=
nt
>>> isql commands I used:
>>>
>>> [sybase@fc111 ~]$ cd /opt/sybase/repserver126/ [sybase@fc111
>>> repserver126]$ . ./SYBASE.sh [sybase@fc111 repserver126]$ env
>>> SYBASE_SYSAM=3DSYSAM-1_0
>>> HOSTNAME=3Dfc111.localdomain
>>> SHELL=3D/bin/bash
>>> TERM=3Dxterm
>>> HISTSIZE=3D1000
>>> QTDIR=3D/usr/lib/qt-3.3
>>> OLDPWD=3D/home/sybase
>>> QTINC=3D/usr/lib/qt-3.3/include
>>> USER=3Dsybase
>>> LD_LIBRARY_PATH=3D/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>>> repserver126/OCS-12_5/lib3p:
>>>
>>>      =20
> LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01;=
35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:mi=3D01;05;37;41:=
su=3D37;41:sg=3D30;43:ca=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01=
;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31=
:*.lzma=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D=
01;31:*.bz2=3D01;31:*.tbz2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.deb=3D01;3=
1:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*=
=2Ecpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.xz=3D01;31:*.jpg=3D01;35:*.jp=
eg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D=
01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01=
;35:*.png=3D01;35:*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35=
:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*=
=2Em4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.=
wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=
=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01=
;35:*.xwd=3D01;35:*.yuv=3D01;35:*.svg=3D01;35:*.svgz=3D01;35:*.axv=3D01;3=
5:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D01;36:*.au=3D01;36:*.=
flac=3D01;36:*.mid=3D01;36:*.midi=3D01;36:*.mka=3D01;36:*.mp3=3D01;36:*.m=
pc=3D01;36:*.ogg=3D01;36:*.ra=3D01;36:*.wav=3D01;36:*.axa=3D01;36:*.oga=3D=
01;36:*.spx=3D01;36:*.xspf=3D01;36:
>  =20
>>> SYBASE_OCS=3DOCS-12_5
>>> SYBASE=3D/opt/sybase/repserver126
>>> SYBASE_RSM=3DRSM-12_6
>>> MAIL=3D/var/spool/mail/sybase
>>> PATH=3D/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126=
/
>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/=

>>>      =20
> lib/
>  =20
>>> qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr=
/
>>> bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>> PWD=3D/opt/sybase/repserver126
>>> SYBASE_REP=3DREP-12_6
>>> LANG=3Den_US.UTF-8
>>> LM_LICENSE_FILE=3D/opt/sybase/repserver126/SYSAM-1_0/licenses/license=
=2Edat
>>> SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass SHLVL=3D1
>>> HOME=3D/home/sybase
>>> SYBASE_JRE=3D/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=3Dsy=
base
>>> QTLIB=3D/usr/lib/qt-3.3/lib
>>> CVS_RSH=3Dssh
>>> LESSOPEN=3D|/usr/bin/lesspipe.sh %s
>>> DISPLAY=3D:0.0
>>> G_BROKEN_FILENAMES=3D1
>>> XAUTHORITY=3D/home/sybase/.xauthplNdp4
>>> _=3D/bin/env
>>> [sybase@fc111 repserver126]$ uname -a Linux fc111.localdomain
>>> 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
>>> athlon i386 GNU/Linux [sybase@fc111 repserver126]$ isql -U sa -S RSSD=
01
>>> Password:
>>> CT-LIBRARY error:
>>>     ct_connect(): network packet layer: internal net library error:
>>>     Net-
>>> Lib protocol driver call to connect two endpoints failed [sybase@fc11=
1
>>> repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa - S RSSD01=

>>> Password:
>>> 1>
>>>
>>>
>>>
>>> On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:
>>>
>>>
>>>      =20
>>>> NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...
>>>>
>>>> NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...
>>>>
>>>> ----------------
>>>>
>>>> Just restating what we know at this point ...
>>>>
>>>> - your Linux OS is 64-bit
>>>>
>>>> - your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3=

>>>> isql (EBF16297) is 64-bit; does work on Linux 64-bit
>>>>
>>>> - your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
>>>> (EBF12521) is 32-bit; does *not* work on Linux 64-bit
>>>>
>>>> Question:
>>>>
>>>> Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?=

>>>>
>>>> ----------------
>>>>
>>>> I ran some searches of solved cases @ sybase.com and found a couple
>>>> cases that mention the need to have a 32-bit emulator package
>>>> installed on 64-bit Linux systems when running 32-bit client
>>>> applications (eg, isql).
>>>>
>>>> Here are the notes on one of those cases:
>>>>
>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Case: =
11515278
>>>>
>>>> Case Description
>>>> ----------------
>>>> The customer installed ASE 15.0.2 on Linux IA-64 machine. They're
>>>> unable to run isql from the same box as it always ends with an error=
:
>>>>
>>>> # . /opt/sybase/SYBASE.sh
>>>> # isql -Stestpisdb -Usa -P
>>>> -bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file
>>>>
>>>>
>>>> Tip or Workaround
>>>> -----------------
>>>> ASE version is:
>>>> Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
>>>> 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008
>>>>
>>>> OS version:
>>>> Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia6=
4
>>>> ia64 GNU/Linux
>>>>
>>>> Client binaries are almost always built as 32-bit.
>>>>
>>>> The ia32 emulation layer package is required to run 32-bit
>>>> applications on 64-bit Linux
>>>>
>>>> On a host where isql runs:
>>>> $ rpm -qa | grep ia32el
>>>> ia32el-1.6-10.EL4
>>>> $
>>>>
>>>> On the host where isql does not run:
>>>> $ rpm -qa | grep ia32el
>>>> $
>>>>
>>>> Resolution
>>>> ----------
>>>> Install the ia32 emulation layer package, ia32el:
>>>>
>>>> up2date ia32el
>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>>>
>>>>
>>>> While you're not getting the 'cannot execute binary file' error
>>>> message, I'm wondering if you could be suffering from a related issu=
e,
>>>> ie, running 32-bit client (isql) software on a 64-bit Linux OS?
>>>>
>>>> If your Centos/RHEL 5 machine was running 32-bit, that could explain=

>>>> why 32-bit isql worked on that machine.
>>>>
>>>> If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bi=
t
>>>> emulation package installed, that could explain why 32-bit isql work=
ed
>>>> on that machine.
>>>>
>>>> ----------------
>>>>
>>>> I did a web search on 'linux 32 bit emulator package' and found tons=

>>>> of hits, eg:
>>>>
>>>> 	http://maketecheasier.com/run-32-bit-apps-in-64-bit-
>>>>    =20
>>>>        =20
>>> linux/2009/08/10
>>>  =20
>>>      =20
>>>> Sounds easy enough to load the 32-bit emulator and then run your
>>>> 32-bit isql test again, eh?
>>>>
>>>> NOTE:  I have no idea what the actual name of a 32-bit emulator
>>>> package would be for your particular Linux OS version.
>>>>
>>>> ----------------
>>>>
>>>> Another item I haven't seen discussed (or perhaps I missed it) ...
>>>> have you verified that you're running with all of the Sybase
>>>> recommended OS patches/packages in support of Repserver 12.6?  (See
>>>> the RS 12.6 Install Guide, Config Guide and Release Bulletins.)
>>>>
>>>>
>>>>
>>>> Andrei R wrote:
>>>>    =20
>>>>        =20
>>>>> Leonid,
>>>>>
>>>>> I installed the latest EBF and still get the same error. I see you'=
re
>>>>> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work
>>>>> with the 64 bit Fedora that I am running.
>>>>>
>>>>> Here is the log with the versions. I demonstrate that it does run
>>>>> with 15.0.3 isql and I also display the versions. Thanks
>>>>>
>>>>> [sybase@desktop1 repserver126]$ which isql
>>>>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>>>>> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
>>>>> 	ct_connect(): network packet layer: internal net library error:
>>>>> Net-Lib protocol driver call to connect two endpoints failed
>>>>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa =
-S
>>>>> RSSD01
>>>>> Password:
>>>>> 1> select @@version
>>>>> 2> go
>>>>>                                                                    =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
      =20
>>>>>                                                                    =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
      =20
>>>>>                                                                    =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
      =20
>>>>>
>>>>>          =20
> -----------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-
>  =20
>>>  =20
>>>      =20
>>>>>  Adaptive Server Enterprise/15.0.3/EBF 16549
>>>>>  ESD#1/P/x86_64/Enterprise
>>>>> Linux/ase
>>>>> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
>>>>> 2009
>>>>>
>>>>> (1 row affected)
>>>>> 1> quit
>>>>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v
>>>>> Sybase CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Inte=
l/
>>>>> Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:2=
2
>>>>> 2008
>>>>>
>>>>> Confidential property of Sybase, Inc. Copyright 1987, 2008 Sybase,
>>>>> Inc.  All rights reserved.
>>>>> Unpublished rights reserved under U.S. copyright laws.
>>>>>
>>>>> This software contains confidential and trade secret information of=

>>>>> Sybase,
>>>>> Inc.   Use,  duplication or disclosure of the software and
>>>>> documentation by
>>>>> the  U.S.  Government  is  subject  to  restrictions set forth in a=

>>>>> license
>>>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>>>> written
>>>>> agreement  specifying  the  Government's rights to use the software=

>>>>> and any
>>>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.=

>>>>> One Sybase Drive, Dublin, CA 94568, USA
>>>>>
>>>>> [sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
>>>>> Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
>>>>> 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
>>>>>
>>>>> Confidential property of Sybase, Inc. Copyright 1987, 2005 Sybase,
>>>>> Inc.  All rights reserved.
>>>>> Unpublished rights reserved under U.S. copyright laws.
>>>>>
>>>>> This software contains confidential and trade secret information of=

>>>>> Sybase,
>>>>> Inc.   Use,  duplication or disclosure of the software and
>>>>> documentation by
>>>>> the  U.S.  Government  is  subject  to  restrictions set forth in a=

>>>>> license
>>>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>>>> written
>>>>> agreement  specifying  the  Government's rights to use the software=

>>>>> and any
>>>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.=

>>>>> One Sybase Drive, Dublin, CA 94568, USA
>>>>>
>>>>> [sybase@desktop1 repserver126]$ repserver -v Replication
>>>>> Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
>>>>> i686/1/OPT/Wed Jun 13 16:49:24 2007
>>>>>
>>>>> Confidential property of Sybase, Inc. Copyright 1992, 2007 Sybase,
>>>>> Inc.  All rights reserved.
>>>>> Unpublished rights reserved under U.S. copyright laws.
>>>>>
>>>>> This software contains confidential and trade secret information of=

>>>>> Sybase,
>>>>> Inc.   Use,  duplication or disclosure of the software and
>>>>> documentation by
>>>>> the  U.S.  Government  is  subject  to  restrictions set forth in a=

>>>>> license
>>>>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>>>>> written
>>>>> agreement  specifying  the  Government's rights to use the software=

>>>>> and any
>>>>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.=

>>>>> One Sybase Drive, Dublin, CA 94568, USA
>>>>>
>>>>> [sybase@desktop1 repserver126]$ env
>>>>> SYBASE_SYSAM=3DSYSAM-1_0
>>>>> HOSTNAME=3Ddesktop1.localdomain
>>>>> SHELL=3D/bin/bash
>>>>> TERM=3Dxterm
>>>>> HISTSIZE=3D1000
>>>>> QTDIR=3D/usr/lib64/qt-3.3
>>>>> OLDPWD=3D/home/sybase
>>>>> QTINC=3D/usr/lib64/qt-3.3/include
>>>>> USER=3Dsybase
>>>>> LD_LIBRARY_PATH=3D/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase=
/
>>>>> repserver126/OCS-12_5/lib3p:
>>>>>
>>>>>
>>>>>          =20
> LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01;=
35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:mi=3D01;05;37;41:=
su=3D37;41:sg=3D30;43:ca=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01=
;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31=
:*.lzma=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D=
01;31:*.bz2=3D01;31:*.tbz2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.deb=3D01;3=
1:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*=
=2Ecpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.xz=3D01;31:*.jpg=3D01;35:*.jp=
eg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D=
01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01=
;35:*.png=3D01;35:*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35=
:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*=
=2Em4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.=
wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=
=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01=
;35:*.xwd=3D01;35:*.yuv=3D01;35:*.svg=3D01;35:*.svgz=3D01;35:*.axv=3D
>  =20
>>>  =20
>>>
>>>      =20
> 01;35:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D01;36:*.au=3D01=
;36:*.flac=3D01;36:*.mid=3D01;36:*.midi=3D01;36:*.mka=3D01;36:*.mp3=3D01;=
36:*.mpc=3D01;36:*.ogg=3D01;36:*.ra=3D01;36:*.wav=3D01;36:*.axa=3D01;36:*=
=2Eoga=3D01;36:*.spx=3D01;36:*.xspf=3D01;36:
>  =20
>>>  =20
>>>      =20
>>>>> LIBGL_DRIVERS_PATH=3D/usr/lib/dri:/usr/lib64/dri SYBASE_OCS=3DOCS-1=
2_5
>>>>> SYBASE=3D/opt/sybase/repserver126
>>>>> SYBASE_RSM=3DRSM-12_6
>>>>> MAIL=3D/var/spool/mail/sybase
>>>>> PATH=3D/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver1=
26/
>>>>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>>>>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/us=
r/
>>>>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin=
:/
>>>>>      =20
>>>>>          =20
>>> bin:/
>>>  =20
>>>      =20
>>>>> usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>>>>> PWD=3D/opt/sybase/repserver126
>>>>> SYBASE_REP=3DREP-12_6
>>>>> LANG=3Den_US.UTF-8
>>>>> KDE_IS_PRELINKED=3D1
>>>>> KDEDIRS=3D/usr
>>>>> LM_LICENSE_FILE=3D/opt/sybase/repserver126/SYSAM-1_0/licenses/
>>>>>          =20
> license.dat
>  =20
>>>>> SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass SHLVL=3D1
>>>>> HOME=3D/home/sybase
>>>>> SYBASE_JRE=3D/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=3D=
sybase
>>>>> QTLIB=3D/usr/lib64/qt-3.3/lib
>>>>> CVS_RSH=3Dssh
>>>>> LESSOPEN=3D|/usr/bin/lesspipe.sh %s
>>>>> DISPLAY=3D:0.0
>>>>> G_BROKEN_FILENAMES=3D1
>>>>> XAUTHORITY=3D/home/sybase/.xauthmeh8MA
>>>>> _=3D/bin/env
>>>>> [sybase@desktop1 repserver126]$
>>>>>      =20
>>>>>          =20
>>>> ... snip ...
>>>>
>>>>
>>>>
>>>>        =20
>>>>>>> Is it possible the problem is with the 64 bit Linux OS? Is the
>>>>>>> repserver 12.6 isql 32 bit? Here is the isql version that does no=
t
>>>>>>> work.
>>>>>>>          =20
>>>>>>>              =20
>>>> ... snip ...
>>>>    =20
>>>>    =20
>>>>        =20
>>>  =20
>>>      =20
>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>=

>> <head>
>>   <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Ty=
pe">
>>   <title></title>
>> </head>
>> <body bgcolor=3D"#ffffff" text=3D"#000000"> <tt>Hi Andrei<br>
>> <br>
>> I think I have an idea about the reason of the problem. How did you
>> define RSSD01 dataserver in ASE 15 interfaces file? If you defined it =
as
>> "localhost your_port_number" - that's may be your problem. I tried thi=
s
>> scenario and succeeded to reproduce your problem, at least the error
>> message is the same one. Check if it is the case and if it is - redefi=
ne
>> RSSD01 in interfaces file as "your_host_name your_port_number" or
>> "your_ip your_port_number", restart the dataserver and see if it
>> helps.<br>
>> <br>
>> Leonid Gvirtz<br>
>> </tt><br>
>> Andrei R wrote:
>> <blockquote cite=3D"mid:4af3a792@forums-1-dub" type=3D"cite">
>>   <pre wrap=3D"">Hi,
>>
>> It took me a few days, but I finally installed 32 bit Fedora 11 on a v=
m
>> machine and I still have the same problem. I'm not sure which centos I=

>> used but I believe it was 64 bit.
>>
>> Anyway here's the current output of my env and the log of the differen=
t
>> isql commands I used:
>>
>> [sybase@fc111 ~]$ cd /opt/sybase/repserver126/ [sybase@fc111
>> repserver126]$ . ./SYBASE.sh [sybase@fc111 repserver126]$ env
>> SYBASE_SYSAM=3DSYSAM-1_0
>> HOSTNAME=3Dfc111.localdomain
>> SHELL=3D/bin/bash
>> TERM=3Dxterm
>> HISTSIZE=3D1000
>> QTDIR=3D/usr/lib/qt-3.3
>> OLDPWD=3D/home/sybase
>> QTINC=3D/usr/lib/qt-3.3/include
>> USER=3Dsybase
>> LD_LIBRARY_PATH=3D/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>> repserver126/OCS-12_5/lib3p:
>>
>>    =20
> LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01;=
35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:mi=3D01;05;37;41:=
su=3D37;41:sg=3D30;43:ca=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D01=
;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;31=
:*.lzma=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D=
01;31:*.bz2=3D01;31:*.tbz2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.deb=3D01;3=
1:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*=
=2Ecpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.xz=3D01;31:*.jpg=3D01;35:*.jp=
eg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D=
01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01=
;35:*.png=3D01;35:*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35=
:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*=
=2Em4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.=
wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=
=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01=
;35:*.xwd=3D01;35:*.yuv=3D01;35:*.svg=3D01;35:*.svgz=3D01;35:*.axv=3D01
>  =20
>> ;35:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D01;36:*.au=3D01;=
36:*.flac=3D01;36:*.mid=3D01;36:*.midi=3D01;36:*.mka=3D01;36:*.mp3=3D01;3=
6:*.mpc=3D01;36:*.ogg=3D01;36:*.ra=3D01;36:*.wav=3D01;36:*.axa=3D01;36:*.=
oga=3D01;36:*.spx=3D01;36:*.xspf=3D01;36:
>> SYBASE_OCS=3DOCS-12_5
>> SYBASE=3D/opt/sybase/repserver126
>> SYBASE_RSM=3DRSM-12_6
>> MAIL=3D/var/spool/mail/sybase
>> PATH=3D/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/=

>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>>    =20
> lib/
>  =20
>> qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/=

>> bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
>> PWD=3D/opt/sybase/repserver126
>> SYBASE_REP=3DREP-12_6
>> LANG=3Den_US.UTF-8
>> LM_LICENSE_FILE=3D/opt/sybase/repserver126/SYSAM-1_0/licenses/license.=
dat
>> SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass SHLVL=3D1
>> HOME=3D/home/sybase
>> SYBASE_JRE=3D/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=3Dsyb=
ase
>> QTLIB=3D/usr/lib/qt-3.3/lib
>> CVS_RSH=3Dssh
>> LESSOPEN=3D|/usr/bin/lesspipe.sh %s
>> DISPLAY=3D:0.0
>> G_BROKEN_FILENAMES=3D1
>> XAUTHORITY=3D/home/sybase/.xauthplNdp4
>> _=3D/bin/env
>> [sybase@fc111 repserver126]$ uname -a Linux fc111.localdomain
>> 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
>> athlon i386 GNU/Linux [sybase@fc111 repserver126]$ isql -U sa -S RSSD0=
1
>> Password:
>> CT-LIBRARY error:
>>     ct_connect(): network packet layer: internal net library error: Ne=
t-
>> Lib protocol driver call to connect two endpoints failed [sybase@fc111=

>> repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa - S RSSD01
>> Password:
>> 1&gt;
>>
>>
>>
>> On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:
>>
>>   </pre>
>>   <blockquote type=3D"cite">
>>     <pre wrap=3D"">NOTE:  I think your musings about 32-bit vs 64-bit =
may
>>     be valid ...
>>
>> NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...
>>
>> ----------------
>>
>> Just restating what we know at this point ...
>>
>> - your Linux OS is 64-bit
>>
>> - your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
>> isql (EBF16297) is 64-bit; does work on Linux 64-bit
>>
>> - your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
>> (EBF12521) is 32-bit; does *not* work on Linux 64-bit
>>
>> Question:
>>
>> Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?
>>
>> ----------------
>>
>> I ran some searches of solved cases @ sybase.com and found a couple
>> cases that mention the need to have a 32-bit emulator package installe=
d
>> on 64-bit Linux systems when running 32-bit client applications (eg,
>> isql).
>>
>> Here are the notes on one of those cases:
>>
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Case: 115=
15278
>>
>> Case Description
>> ----------------
>> The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unab=
le
>> to run isql from the same box as it always ends with an error:
>>
>> # . /opt/sybase/SYBASE.sh
>> # isql -Stestpisdb -Usa -P
>> -bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file
>>
>>
>> Tip or Workaround
>> -----------------
>> ASE version is:
>> Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
>> 2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008
>>
>> OS version:
>> Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
>> ia64 GNU/Linux
>>
>> Client binaries are almost always built as 32-bit.
>>
>> The ia32 emulation layer package is required to run 32-bit application=
s
>> on 64-bit Linux
>>
>> On a host where isql runs:
>> $ rpm -qa | grep ia32el
>> ia32el-1.6-10.EL4
>> $
>>
>> On the host where isql does not run:
>> $ rpm -qa | grep ia32el
>> $
>>
>> Resolution
>> ----------
>> Install the ia32 emulation layer package, ia32el:
>>
>> up2date ia32el
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>>
>> While you're not getting the 'cannot execute binary file' error messag=
e,
>> I'm wondering if you could be suffering from a related issue, ie,
>> running 32-bit client (isql) software on a 64-bit Linux OS?
>>
>> If your Centos/RHEL 5 machine was running 32-bit, that could explain w=
hy
>> 32-bit isql worked on that machine.
>>
>> If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
>> emulation package installed, that could explain why 32-bit isql worked=

>> on that machine.
>>
>> ----------------
>>
>> I did a web search on 'linux 32 bit emulator package' and found tons o=
f
>> hits, eg:
>>
>> 	<a class=3D"moz-txt-link-freetext"
>> 	href=3D"http://maketecheasier.com/run-32-bit-apps-in-64-bit">http://
>>    =20
> maketecheasier.com/run-32-bit-apps-in-64-bit</a>-
>  =20
>>     </pre>
>>   </blockquote>
>>   <pre wrap=3D""><!---->linux/2009/08/10
>>   </pre>
>>   <blockquote type=3D"cite">
>>     <pre wrap=3D"">Sounds easy enough to load the 32-bit emulator and =
then
>>     run your 32-bit
>> isql test again, eh?
>>
>> NOTE:  I have no idea what the actual name of a 32-bit emulator packag=
e
>> would be for your particular Linux OS version.
>>
>> ----------------
>>
>> Another item I haven't seen discussed (or perhaps I missed it) ... hav=
e
>> you verified that you're running with all of the Sybase recommended OS=

>> patches/packages in support of Repserver 12.6?  (See the RS 12.6 Insta=
ll
>> Guide, Config Guide and Release Bulletins.)
>>
>>
>>
>> Andrei R wrote:
>>     </pre>
>>     <blockquote type=3D"cite">
>>       <pre wrap=3D"">Leonid,
>>
>> I installed the latest EBF and still get the same error. I see you're
>> using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work wit=
h
>> the 64 bit Fedora that I am running.
>>
>> Here is the log with the versions. I demonstrate that it does run with=

>> 15.0.3 isql and I also display the versions. Thanks
>>
>> [sybase@desktop1 repserver126]$ which isql
>> /opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
>> repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
>> 	ct_connect(): network packet layer: internal net library error:
>> Net-Lib protocol driver call to connect two endpoints failed
>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
>> RSSD01
>> Password:
>> 1&gt; select @@version
>> 2&gt; go
>>                                                                       =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
   =20
>>                                                                       =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
   =20
>>                                                                       =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
                                                                         =
   =20
>>       </pre>
>>     </blockquote>
>>   </blockquote>
>>   <pre
>>   wrap=3D""><!----
>> ----------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
-------------------------------------------------------------------------=
--
>>   </pre>
>>   <blockquote type=3D"cite">
>>     <blockquote type=3D"cite">
>>       <pre wrap=3D""> Adaptive Server Enterprise/15.0.3/EBF 16549
>>       ESD#1/P/x86_64/Enterprise
>> Linux/ase
>> 	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
>> 2009
>>
>> (1 row affected)
>> 1&gt; quit
>> [sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v Sybase=

>> CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/ Linux
>> 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008
>>
>> Confidential property of Sybase, Inc. Copyright 1987, 2008 Sybase, Inc=
=2E=20
>> All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>>
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and documentati=
on
>> by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software an=
d
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. On=
e
>> Sybase Drive, Dublin, CA 94568, USA
>>
>> [sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
>> Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
>> 2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005
>>
>> Confidential property of Sybase, Inc. Copyright 1987, 2005 Sybase, Inc=
=2E=20
>> All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>>
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and documentati=
on
>> by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software an=
d
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. On=
e
>> Sybase Drive, Dublin, CA 94568, USA
>>
>> [sybase@desktop1 repserver126]$ repserver -v Replication Server/12.6/E=
BF
>> 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp i686/1/OPT/Wed Jun 13
>> 16:49:24 2007
>>
>> Confidential property of Sybase, Inc. Copyright 1992, 2007 Sybase, Inc=
=2E=20
>> All rights reserved.
>> Unpublished rights reserved under U.S. copyright laws.
>>
>> This software contains confidential and trade secret information of
>> Sybase,
>> Inc.   Use,  duplication or disclosure of the software and documentati=
on
>> by
>> the  U.S.  Government  is  subject  to  restrictions set forth in a
>> license
>> agreement  between  the  Government  and  Sybase,  Inc.  or  other
>> written
>> agreement  specifying  the  Government's rights to use the software an=
d
>> any
>> applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. On=
e
>> Sybase Drive, Dublin, CA 94568, USA
>>
>> [sybase@desktop1 repserver126]$ env
>> SYBASE_SYSAM=3DSYSAM-1_0
>> HOSTNAME=3Ddesktop1.localdomain
>> SHELL=3D/bin/bash
>> TERM=3Dxterm
>> HISTSIZE=3D1000
>> QTDIR=3D/usr/lib64/qt-3.3
>> OLDPWD=3D/home/sybase
>> QTINC=3D/usr/lib64/qt-3.3/include
>> USER=3Dsybase
>> LD_LIBRARY_PATH=3D/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
>> repserver126/OCS-12_5/lib3p:
>>
>>       </pre>
>>     </blockquote>
>>   </blockquote>
>>   <pre
>>   wrap=3D""><!----
>> LS_COLORS=3Drs=3D0:di=3D01;34:ln=3D01;36:hl=3D44;37:pi=3D40;33:so=3D01=
;35:do=3D01;35:bd=3D40;33;01:cd=3D40;33;01:or=3D40;31;01:mi=3D01;05;37;41=
:su=3D37;41:sg=3D30;43:ca=3D30;41:tw=3D30;42:ow=3D34;42:st=3D37;44:ex=3D0=
1;32:*.tar=3D01;31:*.tgz=3D01;31:*.arj=3D01;31:*.taz=3D01;31:*.lzh=3D01;3=
1:*.lzma=3D01;31:*.zip=3D01;31:*.z=3D01;31:*.Z=3D01;31:*.dz=3D01;31:*.gz=3D=
01;31:*.bz2=3D01;31:*.tbz2=3D01;31:*.bz=3D01;31:*.tz=3D01;31:*.deb=3D01;3=
1:*.rpm=3D01;31:*.jar=3D01;31:*.rar=3D01;31:*.ace=3D01;31:*.zoo=3D01;31:*=
=2Ecpio=3D01;31:*.7z=3D01;31:*.rz=3D01;31:*.xz=3D01;31:*.jpg=3D01;35:*.jp=
eg=3D01;35:*.gif=3D01;35:*.bmp=3D01;35:*.pbm=3D01;35:*.pgm=3D01;35:*.ppm=3D=
01;35:*.tga=3D01;35:*.xbm=3D01;35:*.xpm=3D01;35:*.tif=3D01;35:*.tiff=3D01=
;35:*.png=3D01;35:*.mng=3D01;35:*.pcx=3D01;35:*.mov=3D01;35:*.mpg=3D01;35=
:*.mpeg=3D01;35:*.m2v=3D01;35:*.mkv=3D01;35:*.ogm=3D01;35:*.mp4=3D01;35:*=
=2Em4v=3D01;35:*.mp4v=3D01;35:*.vob=3D01;35:*.qt=3D01;35:*.nuv=3D01;35:*.=
wmv=3D01;35:*.asf=3D01;35:*.rm=3D01;35:*.rmvb=3D01;35:*.flc=3D01;35:*.avi=
=3D01;35:*.fli=3D01;35:*.flv=3D01;35:*.gl=3D01;35:*.dl=3D01;35:*.xcf=3D01=
;35:*.xwd=3D01;35:*.yuv=3D01;35:*.svg=3D01;35
>> :*.svgz=3D01;35:*.axv=3D
>>   </pre>
>>   <pre
>>   wrap=3D""><!----
>> 01;35:*.anx=3D01;35:*.ogv=3D01;35:*.ogx=3D01;35:*.aac=3D01;36:*.au=3D0=
1;36:*.flac=3D01;36:*.mid=3D01;36:*.midi=3D01;36:*.mka=3D01;36:*.mp3=3D01=
;36:*.mpc=3D01;36:*.ogg=3D01;36:*.ra=3D01;36:*.wav=3D01;36:*.axa=3D01;36:=
*.oga=3D01;36:*.spx=3D01;36:*.xspf=3D01;36:
>>   </pre>
>>   <blockquote type=3D"cite">
>>     <blockquote type=3D"cite">
>>       <pre wrap=3D"">LIBGL_DRIVERS_PATH=3D/usr/lib/dri:/usr/lib64/dri
>>       SYBASE_OCS=3DOCS-12_5
>> SYBASE=3D/opt/sybase/repserver126
>> SYBASE_RSM=3DRSM-12_6
>> MAIL=3D/var/spool/mail/sybase
>> PATH=3D/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/=

>> RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
>> repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
>> lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
>>       </pre>
>>     </blockquote>
>>   </blockquote>
>>   <pre wrap=3D""><!---->bin:/
>>   </pre>
>>   <blockquote type=3D"cite">
>>     <blockquote type=3D"cite">
>>       <pre
>>       wrap=3D"">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/b=
in
>> PWD=3D/opt/sybase/repserver126
>> SYBASE_REP=3DREP-12_6
>> LANG=3Den_US.UTF-8
>> KDE_IS_PRELINKED=3D1
>> KDEDIRS=3D/usr
>> LM_LICENSE_FILE=3D/opt/sybase/repserver126/SYSAM-1_0/licenses/license.=
dat
>> SSH_ASKPASS=3D/usr/libexec/openssh/gnome-ssh-askpass SHLVL=3D1
>> HOME=3D/home/sybase
>> SYBASE_JRE=3D/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=3Dsyb=
ase
>> QTLIB=3D/usr/lib64/qt-3.3/lib
>> CVS_RSH=3Dssh
>> LESSOPEN=3D|/usr/bin/lesspipe.sh %s
>> DISPLAY=3D:0.0
>> G_BROKEN_FILENAMES=3D1
>> XAUTHORITY=3D/home/sybase/.xauthmeh8MA
>> _=3D/bin/env
>> [sybase@desktop1 repserver126]$
>>       </pre>
>>     </blockquote>
>>     <pre wrap=3D"">
>> ... snip ...
>>
>>
>>     </pre>
>>     <blockquote type=3D"cite">
>>       <blockquote type=3D"cite">
>>         <blockquote type=3D"cite">
>>           <pre wrap=3D"">Is it possible the problem is with the 64 bit=

>>           Linux OS? Is the
>> repserver 12.6 isql 32 bit? Here is the isql version that does not wor=
k.
>>           </pre>
>>         </blockquote>
>>       </blockquote>
>>     </blockquote>
>>     <pre wrap=3D"">... snip ...
>>     </pre>
>>   </blockquote>
>>   <pre wrap=3D""><!---->
>>   </pre>
>> </blockquote>
>> <br>
>> </body>
>> </html>
>>    =20
>
>  =20


--------------040309030808010301010901
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Andrei<br>
<br>
I'm not sure why the change you performed made such a difference for
your system. Maybe the content of /etc/hosts file may provide some
clue. What happened is that you tried to connect from your RS's
environment to the address that ASE was not listening on for some
reason. By changing the master entry in interfaces file, you changed
the address ASE is listening on. You can check what adresses/ports your
ASE is listening by running "sp_listener status". <br>
Now, for example, it is most probably impossible to connect to your
dataserver from outside your VM. You will need to configure the
dataserver to listen on the external IP of your VM either by adding it
as another master entry to interfaces file or by using of sp_listener.<br>
<br>
Hope it helps<br>
Leonid Gvirtz<br>
</tt><br>
Andrei R wrote:
<blockquote cite="mid:4af492af@forums-1-dub" type="cite">
  <pre wrap="">Brilliant! I redefined the host name from localhost to 127.0.0.1 and it 
worked on the 64 bit! Note that I only changed in on the ASE interfaces. 
I left it as localhost on the interfaces used by Repserver and it still 
worked.

Thanks so much for your work and help!

Does anyone have an explanation as to why this makes a difference?

On Fri, 06 Nov 2009 00:38:30 -0800, Leonid Gvirtz wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Andrei

I think I have an idea about the reason of the problem. How did you
define RSSD01 dataserver in ASE 15 interfaces file? If you defined it as
"localhost your_port_number" - that's may be your problem. I tried this
scenario and succeeded to reproduce your problem, at least the error
message is the same one. Check if it is the case and if it is - redefine
RSSD01 in interfaces file as "your_host_name your_port_number" or
"your_ip your_port_number", restart the dataserver and see if it helps.

Leonid Gvirtz

Andrei R wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi,

It took me a few days, but I finally installed 32 bit Fedora 11 on a vm
machine and I still have the same problem. I'm not sure which centos I
used but I believe it was 64 bit.

Anyway here's the current output of my env and the log of the different
isql commands I used:

[sybase@fc111 ~]$ cd /opt/sybase/repserver126/ [sybase@fc111
repserver126]$ . ./SYBASE.sh [sybase@fc111 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=fc111.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35
:*.svgz=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->lib/
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
QTLIB=/usr/lib/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthplNdp4
_=/bin/env
[sybase@fc111 repserver126]$ uname -a Linux fc111.localdomain
2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
athlon i386 GNU/Linux [sybase@fc111 repserver126]$ isql -U sa -S RSSD01
Password:
CT-LIBRARY error:
    ct_connect(): network packet layer: internal net library error:
    Net-
Lib protocol driver call to connect two endpoints failed [sybase@fc111
repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa - S RSSD01
Password:
1&gt;



On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:


      </pre>
      <blockquote type="cite">
        <pre wrap="">NOTE:  I think your musings about 32-bit vs 64-bit may be valid ...

NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...

----------------

Just restating what we know at this point ...

- your Linux OS is 64-bit

- your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
isql (EBF16297) is 64-bit; does work on Linux 64-bit

- your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
(EBF12521) is 32-bit; does *not* work on Linux 64-bit

Question:

Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?

----------------

I ran some searches of solved cases @ sybase.com and found a couple
cases that mention the need to have a 32-bit emulator package
installed on 64-bit Linux systems when running 32-bit client
applications (eg, isql).

Here are the notes on one of those cases:

============================================= Case: 11515278

Case Description
----------------
The customer installed ASE 15.0.2 on Linux IA-64 machine. They're
unable to run isql from the same box as it always ends with an error:

# . /opt/sybase/SYBASE.sh
# isql -Stestpisdb -Usa -P
-bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file


Tip or Workaround
-----------------
ASE version is:
Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008

OS version:
Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
ia64 GNU/Linux

Client binaries are almost always built as 32-bit.

The ia32 emulation layer package is required to run 32-bit
applications on 64-bit Linux

On a host where isql runs:
$ rpm -qa | grep ia32el
ia32el-1.6-10.EL4
$

On the host where isql does not run:
$ rpm -qa | grep ia32el
$

Resolution
----------
Install the ia32 emulation layer package, ia32el:

up2date ia32el
=============================================


While you're not getting the 'cannot execute binary file' error
message, I'm wondering if you could be suffering from a related issue,
ie, running 32-bit client (isql) software on a 64-bit Linux OS?

If your Centos/RHEL 5 machine was running 32-bit, that could explain
why 32-bit isql worked on that machine.

If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
emulation package installed, that could explain why 32-bit isql worked
on that machine.

----------------

I did a web search on 'linux 32 bit emulator package' and found tons
of hits, eg:

	<a class="moz-txt-link-freetext" href="http://maketecheasier.com/run-32-bit-apps-in-64-bit">http://maketecheasier.com/run-32-bit-apps-in-64-bit</a>-
    
        </pre>
      </blockquote>
      <pre wrap="">linux/2009/08/10
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Sounds easy enough to load the 32-bit emulator and then run your
32-bit isql test again, eh?

NOTE:  I have no idea what the actual name of a 32-bit emulator
package would be for your particular Linux OS version.

----------------

Another item I haven't seen discussed (or perhaps I missed it) ...
have you verified that you're running with all of the Sybase
recommended OS patches/packages in support of Repserver 12.6?  (See
the RS 12.6 Install Guide, Config Guide and Release Bulletins.)



Andrei R wrote:
    
        </pre>
        <blockquote type="cite">
          <pre wrap="">Leonid,

I installed the latest EBF and still get the same error. I see you're
using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work
with the 64 bit Fedora that I am running.

Here is the log with the versions. I demonstrate that it does run
with 15.0.3 isql and I also display the versions. Thanks

[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error:
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
RSSD01
Password:
1&gt; select @@version
2&gt; go
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">  
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap=""> Adaptive Server Enterprise/15.0.3/EBF 16549
 ESD#1/P/x86_64/Enterprise
Linux/ase
	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
2009

(1 row affected)
1&gt; quit
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v
Sybase CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/
Linux 2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22
2008

Confidential property of Sybase, Inc. Copyright 1987, 2008 Sybase,
Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and
documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software
and any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.
One Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005

Confidential property of Sybase, Inc. Copyright 1987, 2005 Sybase,
Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and
documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software
and any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.
One Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ repserver -v Replication
Server/12.6/EBF 14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp
i686/1/OPT/Wed Jun 13 16:49:24 2007

Confidential property of Sybase, Inc. Copyright 1992, 2007 Sybase,
Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and
documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software
and any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc.
One Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=desktop1.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib64/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib64/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:


          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35
:*.svgz=01;35:*.axv=
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">  

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">  
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
      
          </pre>
        </blockquote>
      </blockquote>
      <pre wrap="">bin:/
  
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
KDE_IS_PRELINKED=1
KDEDIRS=/usr
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/
          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->license.dat
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthmeh8MA
_=/bin/env
[sybase@desktop1 repserver126]$
      
          </pre>
        </blockquote>
        <pre wrap="">... snip ...



        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <pre wrap="">Is it possible the problem is with the 64 bit Linux OS? Is the
repserver 12.6 isql 32 bit? Here is the isql version that does not
work.
          
              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
        <pre wrap="">... snip ...
    
    
        </pre>
      </blockquote>
      <pre wrap="">  
      </pre>
    </blockquote>
    <pre wrap="">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt; &lt;html&gt;
&lt;head&gt;
  &lt;meta content="text/html;charset=UTF-8" http-equiv="Content-Type"&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor="#ffffff" text="#000000"&gt; &lt;tt&gt;Hi Andrei&lt;br&gt;
&lt;br&gt;
I think I have an idea about the reason of the problem. How did you
define RSSD01 dataserver in ASE 15 interfaces file? If you defined it as
"localhost your_port_number" - that's may be your problem. I tried this
scenario and succeeded to reproduce your problem, at least the error
message is the same one. Check if it is the case and if it is - redefine
RSSD01 in interfaces file as "your_host_name your_port_number" or
"your_ip your_port_number", restart the dataserver and see if it
helps.&lt;br&gt;
&lt;br&gt;
Leonid Gvirtz&lt;br&gt;
&lt;/tt&gt;&lt;br&gt;
Andrei R wrote:
&lt;blockquote cite="mid:4af3a792@forums-1-dub" type="cite"&gt;
  &lt;pre wrap=""&gt;Hi,

It took me a few days, but I finally installed 32 bit Fedora 11 on a vm
machine and I still have the same problem. I'm not sure which centos I
used but I believe it was 64 bit.

Anyway here's the current output of my env and the log of the different
isql commands I used:

[sybase@fc111 ~]$ cd /opt/sybase/repserver126/ [sybase@fc111
repserver126]$ . ./SYBASE.sh [sybase@fc111 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=fc111.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:

    </pre>
  </blockquote>
  <pre wrap=""><!---->LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35
:*.svgz=01;35:*.axv=01
  </pre>
  <blockquote type="cite">
    <pre wrap="">;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
    </pre>
  </blockquote>
  <pre wrap=""><!---->lib/
  </pre>
  <blockquote type="cite">
    <pre wrap="">qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/
bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
QTLIB=/usr/lib/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthplNdp4
_=/bin/env
[sybase@fc111 repserver126]$ uname -a Linux fc111.localdomain
2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
athlon i386 GNU/Linux [sybase@fc111 repserver126]$ isql -U sa -S RSSD01
Password:
CT-LIBRARY error:
    ct_connect(): network packet layer: internal net library error: Net-
Lib protocol driver call to connect two endpoints failed [sybase@fc111
repserver126]$ /opt/sybase/ase1503/OCS-15_0/bin/isql -U sa - S RSSD01
Password:
1&amp;gt;



On Sun, 01 Nov 2009 10:28:01 -0800, Mark A. Parsons wrote:

  &lt;/pre&gt;
  &lt;blockquote type="cite"&gt;
    &lt;pre wrap=""&gt;NOTE:  I think your musings about 32-bit vs 64-bit may
    be valid ...

NOTE:  I'm not a Linux admin, nor a big user of Linux, so fwiw ...

----------------

Just restating what we know at this point ...

- your Linux OS is 64-bit

- your ASE 15.0.3 dataserver (EBF 16549) is 64-bit - your ASE 15.0.3
isql (EBF16297) is 64-bit; does work on Linux 64-bit

- your RS 12.6 repserver (EBF14705) is 32-bit - your RS 12.6 isql
(EBF12521) is 32-bit; does *not* work on Linux 64-bit

Question:

Was your Centos/RHEL 5 system running the 32-bit or 64-bit Linux OS?

----------------

I ran some searches of solved cases @ sybase.com and found a couple
cases that mention the need to have a 32-bit emulator package installed
on 64-bit Linux systems when running 32-bit client applications (eg,
isql).

Here are the notes on one of those cases:

============================================= Case: 11515278

Case Description
----------------
The customer installed ASE 15.0.2 on Linux IA-64 machine. They're unable
to run isql from the same box as it always ends with an error:

# . /opt/sybase/SYBASE.sh
# isql -Stestpisdb -Usa -P
-bash: /opt/sybase/OCS-15_0/bin/isql: cannot execute binary file


Tip or Workaround
-----------------
ASE version is:
Adaptive Server Enterprise/15.0.2/EBF 15781/P/Linux Intel/Linux
2.6.9-42.EL ia64/ase1502/2510/64-bit/FBO/Thu May 29 20:52:36 2008

OS version:
Linux xxxxxx 2.6.9-67.EL #1 SMP Wed Nov 7 13:43:35 EST 2007 ia64 ia64
ia64 GNU/Linux

Client binaries are almost always built as 32-bit.

The ia32 emulation layer package is required to run 32-bit applications
on 64-bit Linux

On a host where isql runs:
$ rpm -qa | grep ia32el
ia32el-1.6-10.EL4
$

On the host where isql does not run:
$ rpm -qa | grep ia32el
$

Resolution
----------
Install the ia32 emulation layer package, ia32el:

up2date ia32el
=============================================


While you're not getting the 'cannot execute binary file' error message,
I'm wondering if you could be suffering from a related issue, ie,
running 32-bit client (isql) software on a 64-bit Linux OS?

If your Centos/RHEL 5 machine was running 32-bit, that could explain why
32-bit isql worked on that machine.

If your Centos/RHEL 5 machine was running 64-bit but you had a 32-bit
emulation package installed, that could explain why 32-bit isql worked
on that machine.

----------------

I did a web search on 'linux 32 bit emulator package' and found tons of
hits, eg:

	&lt;a class="moz-txt-link-freetext"
	href=<a class="moz-txt-link-rfc2396E" href="http://maketecheasier.com/run-32-bit-apps-in-64-bit">"http://maketecheasier.com/run-32-bit-apps-in-64-bit"</a>&gt;<a class="moz-txt-link-freetext" href="http://">http://</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->maketecheasier.com/run-32-bit-apps-in-64-bit&lt;/a&gt;-
  </pre>
  <blockquote type="cite">
    <pre wrap="">    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=""&gt;&lt;!----&gt;linux/2009/08/10
  &lt;/pre&gt;
  &lt;blockquote type="cite"&gt;
    &lt;pre wrap=""&gt;Sounds easy enough to load the 32-bit emulator and then
    run your 32-bit
isql test again, eh?

NOTE:  I have no idea what the actual name of a 32-bit emulator package
would be for your particular Linux OS version.

----------------

Another item I haven't seen discussed (or perhaps I missed it) ... have
you verified that you're running with all of the Sybase recommended OS
patches/packages in support of Repserver 12.6?  (See the RS 12.6 Install
Guide, Config Guide and Release Bulletins.)



Andrei R wrote:
    &lt;/pre&gt;
    &lt;blockquote type="cite"&gt;
      &lt;pre wrap=""&gt;Leonid,

I installed the latest EBF and still get the same error. I see you're
using 32 bit fedora. Perhaps Repserver 12.6 for linux doesn't work with
the 64 bit Fedora that I am running.

Here is the log with the versions. I demonstrate that it does run with
15.0.3 isql and I also display the versions. Thanks

[sybase@desktop1 repserver126]$ which isql
/opt/sybase/repserver126/OCS-12_5/bin/isql [sybase@desktop1
repserver126]$ isql -U sa -S RSSD01 Password: CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error:
Net-Lib protocol driver call to connect two endpoints failed
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -U sa -S
RSSD01
Password:
1&amp;gt; select @@version
2&amp;gt; go
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
      &lt;/pre&gt;
    &lt;/blockquote&gt;
  &lt;/blockquote&gt;
  &lt;pre
  wrap=""&gt;&lt;!----
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  &lt;/pre&gt;
  &lt;blockquote type="cite"&gt;
    &lt;blockquote type="cite"&gt;
      &lt;pre wrap=""&gt; Adaptive Server Enterprise/15.0.3/EBF 16549
      ESD#1/P/x86_64/Enterprise
Linux/ase
	 1503/2681/64-bit/FBO/Mon Mar  9 04:10:47
2009

(1 row affected)
1&amp;gt; quit
[sybase@desktop1 repserver126]$ ../ASE1503/OCS-15_0/bin/isql -v Sybase
CTISQL Utility/15.0/P-EBF16297 ESD #16/DRV.15.0.7/Linux Intel/ Linux
2.4.21-47.0.1.ELsmp i686/BUILD1500-112/OPT/Mon Oct 13 03:17:22 2008

Confidential property of Sybase, Inc. Copyright 1987, 2008 Sybase, Inc. 
All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation
by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software and
any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ isql -v Sybase CTISQL
Utility/12.5.1/P-EBF12521 ESD #8/DRV.12.5.1.3/Linux Intel/ Linux
2.4.18-18.7.xsmp i686/BUILD1251-041/OPT/Sun Apr 10 19:06:57 2005

Confidential property of Sybase, Inc. Copyright 1987, 2005 Sybase, Inc. 
All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation
by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software and
any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ repserver -v Replication Server/12.6/EBF
14705 ESD#9/Linux Intel/Linux 2.4.9-e.27smp i686/1/OPT/Wed Jun 13
16:49:24 2007

Confidential property of Sybase, Inc. Copyright 1992, 2007 Sybase, Inc. 
All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of
Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation
by
the  U.S.  Government  is  subject  to  restrictions set forth in a
license
agreement  between  the  Government  and  Sybase,  Inc.  or  other
written
agreement  specifying  the  Government's rights to use the software and
any
applicable FAR provisions, for example, FAR 52.227-19. Sybase, Inc. One
Sybase Drive, Dublin, CA 94568, USA

[sybase@desktop1 repserver126]$ env
SYBASE_SYSAM=SYSAM-1_0
HOSTNAME=desktop1.localdomain
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
QTDIR=/usr/lib64/qt-3.3
OLDPWD=/home/sybase
QTINC=/usr/lib64/qt-3.3/include
USER=sybase
LD_LIBRARY_PATH=/opt/sybase/repserver126/OCS-12_5/lib:/opt/sybase/
repserver126/OCS-12_5/lib3p:

      &lt;/pre&gt;
    &lt;/blockquote&gt;
  &lt;/blockquote&gt;
  &lt;pre
  wrap=""&gt;&lt;!----
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.xz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.svg=01;35
:*.svgz=01;35:*.axv=
  &lt;/pre&gt;
  &lt;pre
  wrap=""&gt;&lt;!----
01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
  &lt;/pre&gt;
  &lt;blockquote type="cite"&gt;
    &lt;blockquote type="cite"&gt;
      &lt;pre wrap=""&gt;LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib64/dri
      SYBASE_OCS=OCS-12_5
SYBASE=/opt/sybase/repserver126
SYBASE_RSM=RSM-12_6
MAIL=/var/spool/mail/sybase
PATH=/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/repserver126/
RSM-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/opt/sybase/
repserver126/REP-12_6/bin:/opt/sybase/repserver126/OCS-12_5/bin:/usr/
lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/
      &lt;/pre&gt;
    &lt;/blockquote&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=""&gt;&lt;!----&gt;bin:/
  &lt;/pre&gt;
  &lt;blockquote type="cite"&gt;
    &lt;blockquote type="cite"&gt;
      &lt;pre
      wrap=""&gt;usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sybase/bin
PWD=/opt/sybase/repserver126
SYBASE_REP=REP-12_6
LANG=en_US.UTF-8
KDE_IS_PRELINKED=1
KDEDIRS=/usr
LM_LICENSE_FILE=/opt/sybase/repserver126/SYSAM-1_0/licenses/license.dat
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SHLVL=1
HOME=/home/sybase
SYBASE_JRE=/opt/sybase/repserver126/shared-1_0/JRE-1_3 LOGNAME=sybase
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
LESSOPEN=|/usr/bin/lesspipe.sh %s
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
XAUTHORITY=/home/sybase/.xauthmeh8MA
_=/bin/env
[sybase@desktop1 repserver126]$
      &lt;/pre&gt;
    &lt;/blockquote&gt;
    &lt;pre wrap=""&gt;
.... snip ...


    &lt;/pre&gt;
    &lt;blockquote type="cite"&gt;
      &lt;blockquote type="cite"&gt;
        &lt;blockquote type="cite"&gt;
          &lt;pre wrap=""&gt;Is it possible the problem is with the 64 bit
          Linux OS? Is the
repserver 12.6 isql 32 bit? Here is the isql version that does not work.
          &lt;/pre&gt;
        &lt;/blockquote&gt;
      &lt;/blockquote&gt;
    &lt;/blockquote&gt;
    &lt;pre wrap=""&gt;... snip ...
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=""&gt;&lt;!----&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

--------------040309030808010301010901--
0
Leonid
11/9/2009 11:55:29 AM
Reply:

Similar Artilces:

ASE to Rep Server to Rep Server to ASE Configuration
Hello I am hoping someone can help me. I am relatively new to Rep server and definately new to this configuration. I am trying to set up replication from ASE to Rep server to remote Rep Server to ASE. I am doing this type of configuration because the one ASE server is in North America and one is in England. This was recommended to me by Sybase becuase the transformation/language of Rep Server to Rep Server is quicker over the wan. Anyway. I have a ASE to rep server to ASE configuration and had no problem setting that up. Now I am trying to set up a new replication environme...

Server to Server, both Servers in same Tree
Hi, where could be problem when some time connection is not established after server restart, but some time it is OK. (I waited whole day) Filters are opened for all IP from and to both servers in VPN. Both servers are BM3.7 SP2, NDS Version 10350.19 March 18, 2003 Slave server contain RW replica of the container where the server resides. (I tried also Master replica) here are also licenses for NW6 and BM3.7 Master server is in different replica which is not on slave server. Both servers are on same subnet. Packet capture shows only IP 57 communication from Master to ...

server or no server
i have been looking in to slipstreaming windows up dates over the net work ..i have also been thinking (bad thing to do ) installing the os over the net (image).i know you can do this over win2k server using rras server but could i do this in novell 5.1 with out bulding and paying for a server lience. our network is spread across 6 sites one server to each site a gig backbone on each site but connect by 100 mb line .not knowing novell to well but they seem not to be use the OS and Server to well .any help or info would be useful Nigel, > i have been looking in to...

could not connect to server (server name); the connection was refused
I'm using a hotmail account and TB returns this error "could not connect to server (server name); the connection was refused" ware (server name) is 127.0.0.1 if some one could help with this problem it would be greatly appreciated drewmalone@hotmail.com wrote: > I'm using a hotmail account and TB returns this error "could not > connect to server (server name); the connection was refused" ware > (server name) is 127.0.0.1 if some one could help with this problem > it would be greatly appreciated > 1st check whether POP/SMTP servers a...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not all
When i enter log in, I get the following error page.    Server Error in '/' Application. An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the err...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not all #2
I get the following error and have been trying to figure out why I keep getting it.  Initially, I had placed my project under wwwroot folder and ran it under IIS and it gave this error.  Then I moved it to my local C drive and same thing.  I am sharing this project with two other co-workers and all our config files and code files are same...they don't get this error but I do.  I checked that SQL Server Client Network Utility has TCP/IP and the 'Named Pipes' enabled.  I thought maybe I have setting in the Visual Studio 2005 that I'm not aware of that&#...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allo
My site works fine in VWD2008 express, but I get this error when I try to use it on my live website. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.  According to this article: http://support.microsoft.com/kb/914277  I am supposed to: 1. Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration. Ok, th...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not all #6
hi there! I've uploaded my website at online server. which has its database on its local server. Now whenever Im trying to open the website. I get the following message instead of website. "An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) " Im using sql server 2000 for database. Asp.net 2.0 Please hel...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not all #4
Hi,I have SQL Server Express Edition. I tried working out some ASP.NET Labs in my local system. Here is the link of the Virtual Lab which I tried. http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032286906&EventCategory=3&culture=en-US&CountryCode=USI recieve this error in my local system. An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Cou...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not all #5
An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)   <sessionState mode="SQLServer"sqlConnectionString="data source=LHX00CNU7401SQG\Session; integrated security=true"/>   I have done all the settings: --> enabling the protocols --> Starting teh SQlbrowser but still no luck. Pleas...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not all #3
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, Hi  I think you are trying to connect with remote server using windows authentication mode.Sql won't allow this ,so try to connect with server using sql authentication mode with(username and password)Happy ProgrammingShashi.  Check if this thread on the same discussion can help.http://forums.asp.net/p/1193329/2062685.aspx...

Error : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does
Hi All, i am using tha conncetion string in web.config. <add name="MyLocalSqlConnection" connectionString="Data Source=.\SqlExpress;AttachDbFilename=|DataDirectory|\SqlServer\OC00003SQL.mdf;User Instance=false" providerName="System.Data.SqlClient"/>  Instance=false and true both i have used  but i am getting error like that. on my web hosting site  Error : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Serv...

SSL server to server connections
Does anyone know how to configure and create ssl server to server connections? Id like to create an SSL tunnel between my MySql server and my Asp.Net app, both on their own machine. R...

This version of Microsoft Sql Server Management Studio can only be used to connect to Sql Server 2000 and Sql Server 2005 servers
When I connect SQL Server 2005 to a remote database i get the error: "This version of Microsoft Sql Server Management Studio can only be used to connect to Sql Server 2000 and Sql Server 2005 servers". Can I confirm it is because: the remote db is of SQL Server 2008? There is a soln mentioned in http://forums.asp.net/t/1324047.aspx Did anybody try this (installing 2008 express: http://www.microsoft.com/express/sql/download/)? I am just checking again, whether it will disturb my existing SQL Server installation, in any means...? Though it is mentioned that it will g...

ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10
Hi, I am randomly getting the following error message in my application. ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP Address of the server'(10048) ERROR [HY000] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'IP of the server' (10048) I am using .Net 2.0 with VS2005 having ODBC 3.51.14 Driver.  Can any body point out the core reasons of the above error message? Thanks. Nouman Khawaja. I do have the same problem, help me out. Thanks  If the going seems easy, You are going DownHill... When I was writing an app in C# I had to download MySQL driver for connecting to MySQL DB. Try downloading the one from http://dev.mysql.com/downloads/dotnet.html or google for: mysql connector netPlease remember to click “Mark as Answer” if the post helped you well I've been using this website since a long time. And it didn't prompt this error atleast since last 6 months.Today suddenly it started to display this message.If the going seems easy, You are going DownHill... Well from what I've read on mysql site this driver is old. First I would simply try to download a new driver. Wasn't the MySQL DB engine upgraded when it started to be buggy?Please remember to click “Mark as Answer” if the post helped you Well as I've told you that my site was in running condition since last 6 months. And it was working fine. And today i faced this problem. If the going seems e...

Dev servers consolidation
I like to gather thoughts on how your firms setup Dev boxes for ASE servers. 1. Does any developer have their own ASE to work on? 2. Or they can share 1 ASE, with their own databases? My firm has too many ASE dev servers, I like to find a Good way to reduce ASE counts. If Oracle or MS-SQL or DB2 have better methods to accommodate more developers simultaneous working on 1 project, I like to know. Are there some 3rd party tool or home grown tools can facility create a big ASE with many many databases; and developers can do the works w/o interfere with each other. For example,...

2008 IIS7 connection to SQL Server 2000 on Web Server 2000: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I am setting up a windows 2008 IIS7 web server, and trying to connect to a windows 2000 sql server 2000 database. I have an IIS6 Windows 2000 web server activately connected just fine. I have anonymous and windows authentication enabled. And in my web.config I have identity impersonate="true" My sql server 2000 typically uses the IISUSER anonymous user set up in IIS6 on my original windows 2000 web server. But this new IIS7 is giving me grief. I can't seem to setup the IUSR or IISUSER or anything in it. I can't even use sql server credentials in my connection string altho...

ASE 15.0.2 Connect to REP Server 12.5
Hi Can ASE 15.0.2's rep agent connect to Rep Server 12.5? I am using sp_config_rep_agent to configure a database connection but I keep getting the error 'Check username and password' but I am sure that I am using the right username and password. Please post the complete error message(s) that you're getting, as well as any associated entries from the ASE and RS errorlogs. In the meantime, have you tried the following: 1 - log into machine where ASE is running 2 - source the same resource file (SYBASE.[c]sh) used to startup your ASE 3 - use isql to log into...

connect a database in remote server (can connect to the server via SSH)
Hi, All: I am a new to perl. My perl code need to connect to the database in the remote server, and I can login that server via SSH. Can anyone give me a hint about how can I do that? Many thanks. On 7/17/07, zhangxiaoyu912@gmail.com <zhangxiaoyu912@gmail.com> wrote: > I am a new to perl. My perl code need to connect to the database in > the remote server, and I can login that server via SSH. Can anyone > give me a hint about how can I do that? Many thanks. Have you seen what's on CPAN? http://search.cpan.org/search?query=ssh&mode=all Good luck w...

Problem connecting to Oracle from Production server
Hello;   We are getting this message from our PROD site: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor What is really odd is the exact same code in UAT connects no problem.  We have had an Oracle DBA in and he has confirmed that the Oracle server is receiving requests OK, but for some reason our PROD server won't connect.  Our server support group here has forced us developers to take ownership of this problem, although we are suspicious it is security related (to the PROD server).  But maybe there is an I...

web server connecting to LDAP server
I am looking for software that will allow my web server to connect to an = LDAP server, and extract information from the ldap directory. My web = server runs apache on a Sun Solaris machine. I do most of my programming = in perl and have used DBI/DBD quite extensively. I searched on CPAN to see if they have any modules that can do what I = want. I notice that there is a DBD::LDAP. I read the documentation a bit = and at first glance I thought it was the answer since I am already = familiar with DBI/DBD. However, when I got to the section that explained = that ldap is not a relational...

Error while establishing a connection to the SQL server 2005
Hi, I had an old web application created during asp.net 1.1 and it have a connection problem with the sql server 2005 when it is mirgrated to a new webserver with dotnet framework 2.0 platform. I have enabled the remote access(TCP/IP and named pipes) in sql server 2005, did all the neccessary things, check whether the TCP/IP is enabled, named pipe is enabled...  I created another web application using VS 2005. The database connection works perfectly well.This are the connectionString from the old web application.<appSettings>    <add key="ConnectionString" value=...

Connect Central Server to Remote Servers
We are trying to stablish a way to dinamically connect a central server to network servers, we are planning to have a sybase central server that could query sybase database servers and send the results to an external source, the external sourcer server will trigger the request to the central server and this one will connect to the required network server based on some parameters provided by the external source server. The limitation is that the external source server only can connect to sybase central server, please feel free to suggest a solution and let me know if you need...

Connecting to SQL Server from Web Server
This is probably a very basic question, but I'm not sure how to go about doing this.  If I have a SQL server on our LAN and our Web server (running Microsoft Web Server OS) in my DMZ, and I want my Web server in the DMZ to be able to connect to the SQL server on the LAN, how do I go about doing that?  Do I use an ODBC connection?  I can't use SQL client tools because the Web Server OS will not allow me to install it.  Any help would be great.  Thanks in advance. Ryan   Do you have it hooked up in your web.config file?   <connecti...

Web resources about - rs_init cannot connect to ASE server - sybase.rep-server

Resources last updated: 2/18/2016 11:05:46 PM