- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.31 / Apache 2.0.59 unable to resolve hostn...
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
Forums
Discussions
Discussions
Discussions
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
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
03-13-2009 07:45 AM
03-13-2009 07:45 AM
Running HPUX 11.31 with hpuxwsAPACHE B.2.0.59.07.03 suite.
Got about 15 virtual IPs assigned to the same nic card (lan0:1, lan0:2, etc), one for each web site.
On THAT server, if I try to `wget wget http://devintranet2/index.html` it will be SUPER slow! Will timeout after like 1 min... Stuck at Resolving devintranet2...
If I try the same thing from another server, it's fast! No problems.
I tried the same thing on the problematic server, but using the IP instead of the hostname, it's fast.
So, figured it most be a lookup problem. Tried `nslookup devintranet2`. No problem there!! Same has `ping devintranet2`.
I'm thinking it's something within Apache... but, if it's stuck at "resolving..." does it even GET to Apache?
I don't get it...
Can anyone help?
Thanks so much!
Patrick
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2009 07:48 AM
03-13-2009 07:48 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
hosts: files [NOTFOUND=continue] dns
ipnodes: files [NOTFOUND=continue] dns
That's all I've got in there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2009 08:42 AM
03-13-2009 08:42 AM
Solutionare you using DNS?
Check for contents of /etc/resolv.conf (if any). You see that also by nslookup devintranet2, does it use Name Server or files?
Please post an output of nslookup devintranet2.
I agree it's most likely a resolution problem, I'd think that as by IP addresses everything works well.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2009 08:49 AM
03-13-2009 08:49 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 05:31 AM
03-17-2009 05:31 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
root@pscdweb1:/ # nslookup devintranet2
Using /etc/hosts on: pscdweb1
looking up FILES
Trying DNS
Name: devintranet2.psc-cfp.gc.ca
Address: 198.73.83.73
(Note that I had just for the hell of it tried specifying it in the /etc/hosts. Doesn't change a thing.
And my resolv.conf reads :
root@pscdweb1:/ # cat /etc/resolv.conf
domain psc-cfp.gc.ca
nameserver 192.168.81.250
nameserver 198.73.83.78
nameserver 198.73.83.79
nameserver 198.73.83.249
AHH! I just tried a wget http://devintranet2.psc-cfp.gc.ca/index.html and it was fast!! (included the domain name in the the url instead of just the hostname!)
**why didn't I think of trying that before!??
Anyways... it has something to do with Apache not appending the domain name??
Looking more into it.. if anyone else can suggest something??
And TG, logs don't tell me a thing. No errors and I'll just a 200 return code in my access logs (it's just slow...)
Thanks again all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 05:45 AM
03-17-2009 05:45 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
#grep -i servername httpd.conf
point to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 06:07 AM
03-17-2009 06:07 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
Using /etc/hosts on: pscdweb1
looking up FILES
Trying DNS
Name: devintranet2.psc-cfp.gc.ca
Address: 198.73.83.73"
Why is it working with FQDN and with simple hostname.
You need to mention the hostname also in /etc/hosts
198.73.83.73 devintranet2.psc-cfp.gc.ca devintranet2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 06:55 AM
03-17-2009 06:55 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
Anyhow, I had tried it.
Also, ServerName reads devintranet2 in the http.conf file. I also tried it with devintranet2.psc-cfp.gc.ca. No luck...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 06:58 AM
03-17-2009 06:58 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
Could you post the output of
# nslookup devintranet2
After doing the changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 07:02 AM
03-17-2009 07:02 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
root@pscdweb1:/tmp# echo "198.73.83.73 devintranet2.psc-cfp.gc.ca devintranet2" >> /etc/hosts
root@pscdweb1:/tmp# nslookup devintranet2
Using /etc/hosts on: pscdweb1
looking up FILES
Name: devintranet2.psc-cfp.gc.ca
Address: 198.73.83.73
Aliases: devintranet2
It now goes to files...
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 10:10 AM
03-17-2009 10:10 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
I installed both Lynx and Links text based web browser. Going to that http://devintranet2/ is fast! But using either wget or mozilla found on the same server == slow! (??).
Plus, 'telnet devintranet2 80' is fast!
And I just picked up this:
Seems like it has nothing to do with the web stuff! It just depends on the service!
From that server, doing a 'telnet serverB' == Fast! But doing a 'ssh serverB' == Slow!!!
What should I be looking for here ??
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 10:16 AM
03-17-2009 10:16 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
You can turn off IPv6 lookup for SSH in ssh_config via:
/opt/ssh/etc/ssh_config :
# AddressFamily any
AddressFamily inet
Restart ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 10:17 AM
03-17-2009 10:17 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1237313656709+28353475&threadId=1311413
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 10:42 AM
03-17-2009 10:42 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
wget --inet4-only http://devintranet2/index.html works fast now! I also confirmed by doing only inet looks with ssh.
Now just got to figure out how to disable all this IPV6 stuff... or at least make it so it doesn't slow me down...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2009 11:57 AM
03-17-2009 11:57 AM
Re: HPUX 11.31 / Apache 2.0.59 unable to resolve hostname on same server?
Solution was to change
ipnodes: files [NOTFOUND=continue] dns
to simply:
ipnodes: files
in the /etc/nsswitch.conf file!!
I believe if ipnodes isn't there, then it should be added!
Thank you all for your help!
Pat