Sybase Connection Issue


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Sybase Connection Issue
# 1  
Old 04-22-2009
Sybase Connection Issue

I am trying this

Code:
>$ /usr/sybase/bin/isql -UABC -Pdef -SXYZ -b

Getting the following error.
Quote:
Msg 4002, Level 14, State 1:
Server 'XYZ':
Login failed.
CT-LIBRARY error:
ct_connect(): protocol specific layer: external error: The attempt to connect to the server failed.
Help is appreciated
# 2  
Old 04-22-2009
Typically you need $SYBASE set pointing to the correct directory.
You need to have a $SYBASE/interfaces file with server XYZ correctly defined.
XYZ must have account ABC defined and unlocked with password "def"
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Sybase ASE Soundex Function Issue -Need Suggestion

Dear Team I am using Sybase Adaptive Server Enterprise/15.7 (ASE). Trying my luck on SOUNDEX function to get unique records Though the command works for characters and provides unique code for similar outputs. But when i try with Starting numbers ( Followed with Street address ) , soundex... (1 Reply)
Discussion started by: Perlbaby
1 Replies

2. Programming

Sybase ASE: Query to find correct format issue.

Hi Team , I am new to Sybase Adaptive Server Enterprise/15.7 (ASE) and need some guidance to find the different values in serial format column. SELECT DISTINCT SERIAL_FORMAT FROM PRODUCTS It has values with below format which contains 12 digits hexadecimal characters with... (2 Replies)
Discussion started by: Perlbaby
2 Replies

3. Shell Programming and Scripting

FTP connection refused issue

Hi All, I am using the below script to get some files from the remote location HOST='Test03' USER='root' PASSWD='*****' FILE='/home/user/d.txt' ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD get $FILE quit END_SCRIPT exit 0 But ist is giving me the... (3 Replies)
Discussion started by: sharsour
3 Replies

4. Shell Programming and Scripting

Sybase connection failing through shell script

Hi All, I'm trying to connect to Sybase via shell script. i'm getting the following error. Please let me know where i'm going wrong. Note that i'm not having this issue when connecting via terminal. #!/usr/bin/bash SYBASE=/usr/sybase ISQL=$SYBASE/bin/isql export SYBASE ISQL ... (6 Replies)
Discussion started by: Irishboy24
6 Replies

5. Shell Programming and Scripting

SSH connection issue

Hi Guys, Asking your kind help to solve the issue connecting to remote server via ssh Purpose not to use password Server A (Client) commands used mkdir -p $HOME/.ssh chmod 0700 $HOME/.ssh ssh-keygen -t dsa -f $HOME/.ssh/id_dsa -P '' copied the public key in server B... (3 Replies)
Discussion started by: Pratik4891
3 Replies

6. Programming

Sybase load statement issue

hi, I am trying to load a sybase table using a file ( unit separator is the delimiter) which is in IQ server. I Used load statment as below execute ('LOAD TABLE schemaname.tablename (' || ' name, age, date, Symbols) from ' || ' '' /filepath/file.txt '' ' || ' QUOTES off ' || ' DELIMITED... (0 Replies)
Discussion started by: irudayaraj
0 Replies

7. UNIX for Advanced & Expert Users

Users Connection issue

Hi Guys... I am having a issue... The thing is like other users have connected to my system through VNC Viewer. But I don't know who all are connected to my system... Is there any solution or Unix Command to find out who all are connected to my system (atleast it should show the IP... (2 Replies)
Discussion started by: mraghunandanan
2 Replies

8. UNIX for Dummies Questions & Answers

sybase connection through shell-script

:mad: how do i connect to sybase through shell script written in linux (9 Replies)
Discussion started by: Amitabh
9 Replies

9. HP-UX

connection issue

I have a HP-UX 11 server running on HP L3000 server When I telnet to the server - it takes 30 seconds for login prompt.. However if I restart the server, I can log in straight away after reboot.. Eventually it degrades again and it takes 30 seconds to get a login prompt. Also in this state... (0 Replies)
Discussion started by: frustrated1
0 Replies

10. Shell Programming and Scripting

remote sybase connection and php error.

Hi all, I am trying to connect to a remote sybase database server (sitting on windows) from my freebsd apache webserver. My Webserver has installed; Apache2.0 PHP 4.3.8 Freetds with ODBC enables ( tsql works but isql doesnt ) unixODBC syabse-ocsd When i connect with tsql from... (4 Replies)
Discussion started by: lealyz
4 Replies
Login or Register to Ask a Question