Search code examples
linuxsybasesap-asegentoo

Can't connect to Sybase server


I just successfully installed Sybase ASE 16.02 Dev Edition on my Gentoo box. According to this command, the server is running:

igor@IgorReinCloud /opt $ /opt/sap/ASE-16_0/install/showserver 
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
0 S igor     20774 20773  0  80   0 -  9270 poll_s Dec14 ?        00:00:00 /opt/sap/ASE-16_0/bin/backupserver -e/opt/sap/data/ASE-16_0/install/IGORREINCLOUD_BS.log -N25 -C20 -I/opt/sap/data/interfaces -M/opt/sap/ASE-16_0/bin/sybmultbuf -SIGORREINCLOUD_BS
0 S igor     20655 20654  1  80   0 - 694197 futex_ Dec14 ?       00:47:25 /opt/sap/ASE-16_0/bin/dataserver -sIGORREINCLOUD -d/opt/sap/data/data/master.dat -e/opt/sap/data/ASE-16_0/install/IGORREINCLOUD.log -c/opt/sap/data/ASE-16_0/IGORREINCLOUD.cfg -M/opt/sap/data/ASE-16_0 -N/opt/sap/data/ASE-16_0/sysam/IGORREINCLOUD.properties -i/opt/sap/data

However, when I try to connect, I get this error:

igor@IgorReinCloud /opt $ /opt/sap/OCS-16_0/bin/isql64 -Usa -SIGORREINCLOUD
Password: 
CT-LIBRARY error:
    ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.

What am I missing?


Solution

  • Verify that your ASE server "IGORREINCLOUD" is defined in the file $SYBASE/interfaces (with $SYBASE your SYBASE home folder defined in your Linux user)

    Vince