LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2015, 03:08 AM   #16
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002

Quote:
Originally Posted by Huamin View Post
Thanks. Any advice to the following?

[oracle@hpi5 sbin]$ iptables -S
bash: iptables: command not found
[oracle@hpi5 sbin]$ ss -lntp | grep 8000
bash: ss: command not found
[oracle@hpi5 sbin]$
[oracle@hpi5 sbin]$ lsof -i :8000
bash: lsof: command not found

according to the given advice on #4 and #5.
Your system is missing essential software.
Or the essential software is in a directory which is not in your PATH.
In any case, you need to be root.
 
Old 11-18-2015, 03:08 AM   #17
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Huamin View Post
I done such command on server fine. But I still get same problem to telnet server on port 8000 on client machine.
Which command?
And what's the output?
 
Old 11-18-2015, 03:25 AM   #18
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
none of these commands (ss, netstat, lsof) will fix your issue, they are only used to check your config. They should be executed as root and please post the output exactly, do not need to explain/modify it, just post.
 
Old 11-18-2015, 04:14 AM   #19
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Here are what I get
[root@hpi5 sbin]# ptables -S
bash: ptables: command not found
[root@hpi5 sbin]# ss -lntp | grep 8000
bash: ss: command not found
[root@hpi5 sbin]#
[root@hpi5 sbin]# lsof -i :8000
bash: lsof: command not found
 
Old 11-18-2015, 04:17 AM   #20
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
that is no ptables, but iptables. please try again and also the netstat command I requested
 
Old 11-18-2015, 04:35 AM   #21
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
[root@hpi5 sbin]# iptables -S
bash: iptables: command not found
[root@hpi5 sbin]# ss -lntp | grep 8000
bash: ss: command not found
[root@hpi5 sbin]#
[root@hpi5 sbin]# lsof -i :8000
bash: lsof: command not found
[root@hpi5 sbin]#
[root@hpi5 sbin]# netstat -a | grep 8000
[root@hpi5 sbin]#
[root@hpi5 sbin]#
 
Old 11-18-2015, 06:16 AM   #22
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
thanks, it looks like port 8000 is not in use at all. So you need to find out what should listen on that port and start that application.
 
Old 11-18-2015, 07:54 AM   #23
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Huamin View Post
[root@hpi5 sbin]# iptables -S
bash: iptables: command not found
[root@hpi5 sbin]# ss -lntp | grep 8000
bash: ss: command not found
[root@hpi5 sbin]#
[root@hpi5 sbin]# lsof -i :8000
bash: lsof: command not found
[root@hpi5 sbin]#
[root@hpi5 sbin]# netstat -a | grep 8000
[root@hpi5 sbin]#
[root@hpi5 sbin]#
It's rare to find a system that has neither iptables nor lsof. Worrying, actually.
What distro and version is it?
 
Old 11-18-2015, 08:14 AM   #24
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Please see this
[oracle@hpi5 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
[oracle@hpi5 ~]$

Thanks a lot.
 
Old 11-18-2015, 08:32 AM   #25
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,927

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
probably /sbin/iptables -S will work. Can you check it?
 
Old 11-18-2015, 08:55 AM   #26
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by Huamin View Post
I've done such command on server fine. But I still get same problem to telnet server on port 8000 on client machine.
If there is nothing listening on the server machine, using the telnet client program won't connect to it.
Quote:
Originally Posted by Huamin View Post
As I cannot run the Oracle Form from Server machine, on client machine, while Oracle form does work through Port 8000. This is why I try the way to telnet through port 8000.
Start Oracle Form Server on the server that has it installed.
Verify it is running on the server using
Code:
netstat -a | grep 8000
Connect to the server port:8000 from the client machine.

Last edited by Habitual; 11-18-2015 at 09:36 AM.
 
Old 11-18-2015, 09:13 AM   #27
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Habitual View Post
If there is nothing listening on the client machine, using the telnet client program won't connect to it.
You mean server.
 
Old 11-18-2015, 09:36 AM   #28
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by berndbausch View Post
You mean server.
Corrected. Thank you!

Last edited by Habitual; 11-18-2015 at 10:39 AM.
 
Old 11-18-2015, 07:10 PM   #29
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
I still get
[root@hpi5 oracle]# /sbin/iptables
iptables v1.3.5: no command specified
Try `iptables -h' or 'iptables --help' for more information.
[root@hpi5 oracle]#

how to enable 8000 port on the server?
 
Old 11-18-2015, 07:42 PM   #30
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Huamin View Post
I still get
[root@hpi5 oracle]# /sbin/iptables
iptables v1.3.5: no command specified
Try `iptables -h' or 'iptables --help' for more information.
[root@hpi5 oracle]#

how to enable 8000 port on the server?
There are many comments in this thread. Please read them. Let me help you a little while Hungary is asleep:
Quote:
Originally Posted by pan64 View Post
probably /sbin/iptables -S will work. Can you check it?
Quote:
Originally Posted by pan64 View Post
thanks, it looks like port 8000 is not in use at all. So you need to find out what should listen on that port and start that application.
Quote:
Originally Posted by pan64 View Post
none of these commands (ss, netstat, lsof) will fix your issue, they are only used to check your config. They should be executed as root and please post the output exactly, do not need to explain/modify it, just post.
And this:
Quote:
Originally Posted by Habitual View Post
Start Oracle Form Server on the server that has it installed.
Verify it is running on the server using
Code:
netstat -a | grep 8000
Connect to the server port:8000 from the client machine.
To summarize: There are at least two prerequisites to connect to a TCP/IP port on a server:
  1. The firewall doesn't block the port. Check this with iptables -S or other firewall commands, depending on your distro version.
  2. A process is listening on that port. You checked this with the netstat command and found that no process is listening.
Since #2 is missing, start that process. Perhaps Habitual's answer goes into the right direction.
But you will also have to check #1.

Most importantly, when you ask for help, please read and follow people's suggestions. I find it mildly insulting that we tell you to do certain things and you persist not listening to us.

Last edited by berndbausch; 11-18-2015 at 07:45 PM.
 
  


Reply



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
telnet server not starting on Red Hat Enterprise 5.1 logsbyrn Linux - General 2 09-18-2008 03:31 AM
Telnet Server Install/Config on Red Hat 9 pldobs Linux - Software 12 10-27-2003 09:15 PM
Telnet on Red Hat 8.0 SAW Linux - Networking 3 06-24-2003 02:07 AM
Red Hat 8.0 Telnet The_Master Linux - General 3 12-09-2002 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:51 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