- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding a port in /etc/services
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
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
тАО01-12-2001 02:46 AM
тАО01-12-2001 02:46 AM
Adding a port in /etc/services
I am trying to access my Oracle 8i in my HP unix box via SQL*net. While configuring the connection via Oracle Net8 Configuration assistant, I am using the default port 1521. But I do not see this port in /etc/services. Hence my connection fails.
Do I need this entry in the /etc/services file? What should the entry be like? How do I activate it?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2001 04:39 AM
тАО01-12-2001 04:39 AM
Re: Adding a port in /etc/services
Just add a line like the samples :
tcptlisrv 1521/tcp oracle #SQL*Net V2 Listener
tcptlisrv 1526/tcp oracle #SQL*Net V2 Listener
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2001 04:43 AM
тАО01-12-2001 04:43 AM
Re: Adding a port in /etc/services
An entry in /etc/services is mandatory if SQL*Net is handled by inetd. If not, it depends on SQL*Net code itself.
In the first case, you also need an entry in /etc/inetd.conf, with the proper value for each column. You can't devise them, SQL*Net installation program should create this entry for you.
To ensure that inetd configuration is up to date, execute "inetd -c" as root.
Regards, Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2001 12:23 AM
тАО01-15-2001 12:23 AM
Re: Adding a port in /etc/services
Maybe it is not started or configured.
In file listener.ora there should be an entry with the server name, database SID and port the clients are connecting to.
Than you have to stop and restart the listener.
Regards
Chiara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2001 11:46 AM
тАО01-15-2001 11:46 AM
Re: Adding a port in /etc/services
The last answer is right--the problem is neither with "/etc/services", nor with "/etc/inetd.conf". We have no problem with SQL*Net connections to our HP-UX server, and we have nothing in either of those files with regards to SQL*Net. Oracle's "listener" is independent of "inetd".
I would suggest taking a look at the various ".ora" files that SQL*Net uses on both your local machine and the server ("sqlnet.ora", "tnsnames.ora", "listener.ora"). The "tnsnames.ora" file is usually the culprit. That's where the IP connection info (host name/IP address, port #) is stored, as well the Oracle instance name. Also check the listener status on your server--go into "lsnrctl" and type "status".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2001 01:51 PM
тАО01-15-2001 01:51 PM
Re: Adding a port in /etc/services
Or you can use 'lsof' to display the ports the listener is waiting at.