- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- opening port 1521
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 02:35 AM
тАО02-24-2010 02:35 AM
opening port 1521
I need the port 1521 in my RHEL 5.3 server to be opened inorder to set up an oracle.
I have my iptables and selinux diabled. But I could not "telnet IPAddress 1521" from server .
[root@ora~]# telnet 172.16.30.230 1521
Trying 172.16.30.230...
telnet: connect to address 172.16.3.220: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@ora ~]# telnet 127.0.0.1 1521
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
[root@ora ~]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 03:15 AM
тАО02-24-2010 03:15 AM
Re: opening port 1521
check if you have a firewall enabled ???
if yes you should make a exeption for the 1521 port.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 03:16 AM
тАО02-24-2010 03:16 AM
Re: opening port 1521
i forgot :
check if the port 1521 is opened for any connection :
netstat -na |grep -i listen |grep 1521
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 03:18 AM
тАО02-24-2010 03:18 AM
Re: opening port 1521
The listner is listening on port 1521?
Maybe you have a problem and your listner is dead.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 03:33 AM
тАО02-24-2010 03:33 AM
Re: opening port 1521
Are these the right IP addresses ?
=======================================
[root@ora~]# telnet 172.16.30.230 1521
Trying 172.16.30.230...
telnet: connect to address 172.16.3.220: Connection refused
=======================================
30.230 vs 3.220 ???
1) have you configured your listener (default port 1521) on the machine
2) can youn post the output of :
"lsnrctl status" command
3) if the listener is up and running , run the "tnsping
Check your listener log file.
Oracle product and version ?
Rgds
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 05:12 AM
тАО02-24-2010 05:12 AM
Re: opening port 1521
tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN
[root@ora etc]#
---------
lsnrctl status is not working in the system
---------
Firewall is disabled also selinux too
======
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 05:19 AM
тАО02-24-2010 05:19 AM
Re: opening port 1521
"Connection refused" normally means that
there is no one listening at that port.
> [...] to set up an oracle.
Disabling the firewall for a port does not
run any Oracle software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 05:30 AM
тАО02-24-2010 05:30 AM
Re: opening port 1521
What are you meant by. Do our ORACLE person has to set this up ...All everything ok from system side now ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 06:16 AM
тАО02-24-2010 06:16 AM
Re: opening port 1521
Connection refused means one of two things.
1) Firewall is blocking.
2) No service is listening on port 1521
1521 is a port commonly used by the Oracle Database. Oracle does not show the good manners to put an entry in /etc/services to reserve the port.
iptables -L
Look for a firewall rule or general rule blocking traffic. Consider changing the firewall to permit the traffic.
netstat -an | grep 1521
See if there is a service listening on port 1521. If not, see if you can start that service.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 06:17 AM
тАО02-24-2010 06:17 AM
Re: opening port 1521
> up ... [...]
Apparently.
> All everything ok from system side now ?
Perhaps. I'd expect a different complaint
if a firewall of some kind were blocking the
port.
> 2) can [you] post the output of :
> "lsnrctl status" command
> lsnrctl status is not working in the system
"Is not working" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 08:25 AM
тАО02-24-2010 08:25 AM
Re: opening port 1521
1 ) check does anything listen on port 1521, guys already described how to do it
2) open port 1521 on redhat 5 use as root
system-config-securitylevel
small window will open, then "other ports " and add port 1521.
Hope this helps
Regards,
Elko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 08:56 AM
тАО02-24-2010 08:56 AM
Re: opening port 1521
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/ch-basic-firewall.html
Regards,
Elko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 12:44 PM
тАО02-24-2010 12:44 PM
Re: opening port 1521
Try change it to 172.16.30.230 and restart the listener.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2011 10:56 PM
тАО01-04-2011 10:56 PM