- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle Listener cannot understand hostname
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
тАО07-20-2001 08:13 AM
тАО07-20-2001 08:13 AM
Oracle Listener cannot understand hostname
In the listener.ora, if the hostname is used the listener is failing to get started, whereas if we use the IP address of the machine it is working fine.
Also getip `hostname` does not give any output when executed as oracle user.
Is there any problem with machine hostname configuration. Everything seems to be fine with /etc/hosts and /etc/rc.config.d/netconf
Are we missing something.
Br
Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2001 08:30 AM
тАО07-20-2001 08:30 AM
Re: Oracle Listener cannot understand hostname
If getip will not work then you definitely have a problem with hostname resolution. When you say that user getip fails as user oracle does that mean that it does work with other users? Don't just try it as root; also try as another regular users. We're looking for permission problems.
Check the permissions on /etc/hosts (should be 644 owned by root). If you are running DNS,
check both the contents and permissions of /etc/resolv.conf and test with nslookup.
If you are running NIS, make sure that ypcat hosts works. Also, check /etc/nsswitch.conf and make sure that it is set correctly.
One of these should point you in the right direction.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2001 09:11 AM
тАО07-20-2001 09:11 AM
Re: Oracle Listener cannot understand hostname
Check these things
1. /etc/nsswitch.conf ( Check fr hosts entry weather it's looks for DNS the local file.)
2.Check resolv.conf in /etc
3. Try running with nslookup whether it resolves the address with IP or by name
It seems this is a DNS issue here.
..USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2001 07:19 PM
тАО07-21-2001 07:19 PM
Re: Oracle Listener cannot understand hostname
have you checked the permissions of your "/etc/hosts",
"/etc/resolv.conf", and "/etc/nsswitch.conf"?
Your problems will occur if only root has read permissions
there...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2001 12:36 AM
тАО07-22-2001 12:36 AM
Re: Oracle Listener cannot understand hostname
cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
OR
Check traceroute hostname
and correct any router settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2001 10:10 AM
тАО07-22-2001 10:10 AM
Re: Oracle Listener cannot understand hostname
hosts: files [NOTFOUND=continue] dns
and /etc/hosts has 444 bin:bin ...
this seems to be OK...???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2001 10:32 AM
тАО07-22-2001 10:32 AM
Re: Oracle Listener cannot understand hostname
I had missed out nsswitch.conf, the permissions were not set right.
Now everything is working fine. Thanks everyone.