LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2013, 09:27 AM   #1
Latman
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Rep: Reputation: Disabled
Sybase connection from Windows


Our DBA's have installed Sybase on to redhat 5.8 and would like to connect to it using ISQL/w.
I have disabled the firewall since it is only an internal server but they still cannot connect.
I also cannot telnet to this port from a PC.

I get the foolowing shown:
/]# nmap -sS -O 127.0.0.1

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-01-29 16:00 GMT
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1672 closed ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
111/tcp open rpcbind
631/tcp open ipp
971/tcp open unknown
5800/tcp open vnc-http
5801/tcp open vnc-http-1


Is there anything else I can do?
 
Old 01-29-2013, 01:51 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Check http://infocenter.sybase.com/help/to...018594631.html for an extensive list of ports Sybase seems to use.

an nmap in "default" mode (nmap -sS -O 127.0.0.1) may not be sufficient.

Which port is referenced when you said "I also cannot telnet to this port from a PC."

telnet localhost <port> from the sybase host should work.

I'd try
Code:
netstat -an
or
Code:
netstat -plaunt | grep base
on the sybase host and look for the sybase port (this assumes the service/daemon is started...) then
Code:
nmap -sS -O 127.0.0.1 -p 1024-2048
with an additional
Code:
nmap -sS -O 127.0.0.1 -p 2049-4096
The goal here is to find a range of IPs and nmap those. Or just use "the port" you mentioned and skip the whole nmap'ing a range, but use nmap -sS -O 127.0.0.1 -p <port_you_mentioned>

If the sybase port is running and they still cannot connect, they should try
Code:
ping <server_name>
or
Code:
ping <IP>
to verify "They" can 'see' the server from client PCs.

Are they behind a corporate firewall, or other another device that may be "in the way"? (Not a firewall as you mentioned)

Please let us know...

Last edited by Habitual; 01-29-2013 at 01:53 PM.
 
Old 01-29-2013, 07:03 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,352

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
127.0.0.1 is (as it says) the localhost aka loopback addr.
You need to look at the network addr (eg as used by eth0).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 05:55 PM
sybase connection through odbc on redhat linux enterprise As4 kalidoss Linux - Software 2 11-07-2009 12:50 AM
sybase on linux sailu_mvn Linux - Software 6 08-24-2006 04:59 AM
C + Sybase mfrick Programming 0 12-08-2005 09:45 PM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration