Debian Configuration :: Ssh: Could Not Resolve Hostname

Apr 18, 2011

So I recently upgraded from Debian 5 to Debian 6 and now for some reason I cant SSH into my server FROM my server. All of the following fail with the same error:

[URL]

They all come back with: ssh: Could not resolve hostname 127.0.0.1: Name or service not known. I never actually tried this before upgrading so I'm not sure if its caused by the upgrade, but I would like to get this fixed. Also, ping with all of the above hostnames fails as well. I can SSH in from other computers and I can SSH out from the server. For whatever reason, I cant SSH from the server to the server though.

View 4 Replies


ADVERTISEMENT

Debian Configuration :: Load A Webpage Gives A Cannot Resolve Hostname Error

Jun 11, 2010

Any attempt to load a webpage gives a Cannot Resolve Hostname error. i can ping [URL], but cannot load the page. However, the page will load by typing its IP address [URL] I have been trying to figure this out for days. cat /etc/resolv.conf nameserver 192.168.1.254

View 9 Replies View Related

Networking :: Configure DNS To Resolve Hostname

Sep 8, 2010

I got an application deployed on Websphere Application Server on SUSE Linux V 10. We are accessing the application using the IP address in the URL. Please let me know how to configure the DNS, so that we can use the Host name in the URL and the Host name is automatically mapped to the IP address.

View 1 Replies View Related

Networking :: Unable To Resolve IP To Hostname

Aug 1, 2010

i searched the internet on how to resolve IP to hostname in my internal network. However, i could not find any solution to it. Any gurus around have any knowledge on this? i have tried whois, dig and nslookup however it doesnt give me anything.

View 1 Replies View Related

Debian Configuration :: Ssh Cannot Resolve Nodename After Wakeonlan

Jul 9, 2015

Previously, I issued a wakeonlan command to my sleeping debian (wheezy stable) server from (a mac) within my home network and then ssh in no problem. Worked like a charm. I could put it to sleep again and wake it up etc. Perfecto.

However, for some reasonI can now only ssh in once the server is rebooted (by physically switching it off then on again). If I put it to sleep then wake it, it does wake up --- however, ssh cannot then resolve the hostname:

---
>> ssh -vX bob@cerberus.local
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/bob/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
ssh: Could not resolve hostname cerberus.local: nodename nor servname
provided, or not known

View 0 Replies View Related

Debian Configuration :: Can't Run Any Machine On VirtualBox OSE / Resolve This?

Apr 10, 2011

I've installed newest Debian (Squeeze) and then on fresh system made instalation of VirtualBox OSE as it is written on http://wiki.debian.org/VirtualBox.
I've also created virtual machine, however when I try to run it I got error message:

RTR3Init failed with rc=-1912(rc=-1912)
Please install the virtual-ose-dkms package and execute 'modprobe vboxdrv' as root

And later on code...

View 14 Replies View Related

Ubuntu Servers :: Can't Resolve Hostname From Windows

Mar 3, 2010

I have two computers.

Computer A = windows 7.
Computer B = Ubuntu Server 9.10

Computer B automatically receives an IP address from my router.

I can ping computer B from computer A using the IP address. I cannot ping computer B from computer A using its hostname.

My router did not show a hostname under it's active clients table. After some searching I found a threat where somebody suggested modifying /etc/dhcp3/dhclient.conf and adding 'send hostname "blahblah"' This allowed me to see the hostname in my router but I still cannot resolve it from my windows box.

View 9 Replies View Related

Ubuntu Networking :: Can't Resolve Hostname For Ping - Ssh ?

Jan 7, 2011

I have a weird problem since yesterday that I can't solve. I can't ping / ssh my machine anymore using its hostname... says "unknown host", "network unreachable". I have no idea why - it used to work perfectly. I can still ping / ssh using the IP so it must be a problem of hostname not being resolved.

I have a dynamic IP (I'm at work...) but that doesn't seem to be the problem - network manager automatically adds a line in /etc/hosts with <mycurrentip> <hostname> (I checked, it's indeed the IP given by ifconfig and that I can use to ping/ssh).

2nd question: Another computer has a similar problem but slightly different: the hostname is resolved but points to a wrong IP (seen in ping or nslookup), different from what ifconfig returns. As a result, ping times out and ssh says "no route to host".

View 9 Replies View Related

Server :: Resolve Hostname Between Openvpn Clients

Nov 8, 2010

I've a fully working openvpn network but it works only using ip address.Clients should comunicate each other thought the server. To semplify the managment of clients I'd like to use their hostname instead their ip. there are a way to achieve it?Now openvpn assign ip address to the clients, but if is needed I can install other software on the server, it's a Debian machine.

View 4 Replies View Related

Server :: Unable To Resolve Hostname Some Times

Feb 28, 2010

I have squid on my RHEL5 server and a no of windows clients ,on clients some sites opened without any error but some sites whilw opening says unable to resolve hostname ,why this kind of problem ?This may be DNS problem ,but it should happen for all address not some .

View 2 Replies View Related

Software :: Cannot Resolve Hostname - Image Loading

Nov 21, 2010

I am using a Dell Latitude D610 that is a few years old, and running Fedora 13. I do not think hardware is too relevant to my problem, nor is it an issue with my OS itself. I do not dare perform an upgrade to Fedora 14 at this point because this is an active work machine, for school use. To the heart of the problem, I am extremely irritated by the erratic behavior of Epiphany Browser (and just an hour ago, Midori). If I open more than a few pages at once (e.g. ctrl-clicking a bunch of Google search results) more often than not I get a chain of "cannot resolve hostname" blank tabs.

Oddly enough, I refresh the pages (one by one, of course - I don't know how to mass refresh) and they load properly! The problem is more prominent on Wikipedia - most articles have images embedded here and there amongst the text. When I visit the page, none of these show up - the page loads, and after I see the blue mercury-looking progress indicator shoot to the end, the spaces where the images should be are blanked and in the centers lie a little thumbnail of a grey photo with the corner turned up - e.g. generic-can't-show-the-image.

This is remediated by visiting wikimedia.org or refreshing the article itself, whereupon the images fall into place. The problem seems to carry over into Midori browser, which I installed a few hours ago just to use as an alternative - I say "had" because just now, the problem resolved itself. I strongly suspect that it has to do with my changing my cache size from 169 MB to 13 MB, which I did just now. That issue is now trivial; next question: Google Docs behaves very strangely in my browser. Whenever I make a normal alphanumeric keystroke, it shows up fine; but "backspace" and "delete" and "enter" are both doubled.

I double-space between my paragraphs by accident and when I make a mistake in my typing I often suck myself into a cycle of mistakes. E.g. "Polanrd" --> "Polan" --> "Pol" --> "Pold" (hitting backspace twice to trim off "rd", but Google Docs redoubles the keystrokes into four backspaces and I end up taking off too much and adding the lone "d" in the wrong place). The problem shows up to a lesser extent in the built-in chat, wherein backspace is not affected, but every time I hit "enter" my chat appears twice (as though I had hit enter twice).

View 6 Replies View Related

Debian Configuration :: Cannot Resolve Local Network Names Only

Jul 25, 2010

I have three Debian systems running, along with several XP laptops, PS3 and two DirecTV systems. I use two of the three Debian systems as media servers, and the third is an older system mostly for playing around with. My home network is running fine with the following nuisance. The two newer Debian (Lenny) systems are <barney> and <mitzi>, the older is named <oscar>, running Debian Sarge 3.1. From either locally or remote login to <barney> and <mitzi> I can ssh into either of the other two systems, however when logged into <oscar> I cannot ssh by name to either of the other systems. e.g. ssh: mitzi: Temporary failure in name resolution..However, from <oscar> I can ping outside my network (e.g. ping www.google.com) with no problems.I can also ssh to the other systems via IP address, just not by name.

I've compared the /etc/ssh/ssh_config, /etc/resolv.conf, /etc/ssh/sshd_config and other files between the two systems and not seeing anything peculiar. arp, route, etc., don't show different behavior between the systems either.

View 6 Replies View Related

Debian Configuration :: Can't Login As Root On Gnome / Resolve This?

Mar 9, 2011

I have squeeze with gnome. Various apps let me log in as root when needed to but if I logout as a user and try to login as root it won't let me (won't authenticate password). I had this problem before and reinstalled Debian and definitely checked for it to allow me to do this and it worked for a while after new install. Apparently some update overrode my preferences. This is a major defect and may force me to abandon Debian. I don't use root often but I don't have any use for a operating system that won't let me use it. Anyone know how to correct this. I am not interested in using a terminal on a regular basis or ever for that matter.

View 14 Replies View Related

Debian Configuration :: When Open A Web Browser - Can't Resolve The Host Name

Mar 29, 2011

I've just installed Debian Squeeze from a live CD. When I open a web browser (be it iceweasel or epiphany) and try to go to google.com, it tells me it can't resolve the host name. [Edit: They do, however, allow me to go anywhere on debian.org, minus the search feature] I also get the same error when I try to go to my website running on a local server. However, when I type the server's IP address (192.168.0.10), it goes to the website fine. Basically, any program I run that needs to resolve a host name returns an error, with the exception of the host command:

I've tried changing my DNS server IP from 192.168.0.1 (my router, configured to provide DNS) to 192.168.1.254 (my internet modem, also configured to provide DNS). That didn't help any. Then I changed my DNS server IP to the same one used by the modem, and now everything works.

I've tried googling my way out of the issue, and I've found where someone had the same issue as I've got and fixed it by adding "blacklist ipv6" to their /etc/modprobe.d/blacklist.conf file, but that didn't work for me.

So, recap: Why does resolving domain names fail for certain applications (except the "host" program) when the DNS server IP is that of my router or modem (which works fine for all of my other computers), but suddenly works when I point the computer straight to my ISP's DNS servers, and how can I permanently fix the problem?

View 4 Replies View Related

Ubuntu Servers :: Unable To Resolve Host / Hostname Is Set To (none)?

May 25, 2010

I just built out an Ubuntu Server 10.04.

My problem is setting the hostname. I cloned the machine, then normally on the clone, I would change the /etc/hostname and /etc/hosts file.


However, when I do this, upon restart, I get the message, "init hostname main process (some process number) terminated with status 1"Then, when the machine finally boots, the hostname is set to (none). Literally has braces like: user@(none):

I've tried: sudo hostname machine_name but it says can't resolve hostname (none).

I've Google'd around a lot but can't get it. It may have something to do with 10.04? I have been using 9.04, 9.10 with no problems.

eric@(none):~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
code....

View 9 Replies View Related

Ubuntu Networking :: Windows Can't Resolve Lucid Hostname

Aug 22, 2010

I am currently facing one issue with my network. I have several computers and this is what happens, everything works fine when I use the ip address, but when it comes to hostname.

-Windows computers can't ping/see the computer 5 (while it is running linux), but they can see computer 3 while running ubuntu 8.10 and computer 2 while on Mac OS X.

-computers 2 and 3 can see/ping everybody while on Mac/Linux.

-computer 5 can ping everybody.

-computers 1, 2, 3 and 4 (on every OS) can see/ping computer 5 while on windows xp.

Basically, the problem is with computer 5, it can see, but it is not seen by other computers (just when running ubuntu lucid)Computer 5 is supposed to be a printer server, so it must be seen by the others regardless of OS.When I ping computers 5 the TTL is 64, when I ping other computers, TTL is 128. I don't think this means anything, but I am not sure.Initially I thought this was a printer issue, but then I realized is something related to network when I tried to use ping/explore the computer 5 by ip/hostname (it works by ip, but not by hostname).Computer 5 is sending the hostname to the router properly, it appears in the dhcp client list.

View 7 Replies View Related

Networking :: Mount -t Smbfs Error Can't Resolve Hostname

Sep 24, 2009

I am trying to mount a NAS device using the hostname on my linux computer (running slax)

The command I am using is
mount //hostname/sharename /mnt/test -t smbfs -o username=***,password=***

i am getting back the error
mount error: could not find target server. TCP name hostname/sharename not found
No ip address specificed and hostname not found

I can do this mount from an older version of SLAX but i can't from this new version. smb:/ can find then through the file explorer window but I can't mount them from the command line.Is there something i am doing wrong?

View 1 Replies View Related

Server :: BIND Directly Resolve Hostname To Internet

Feb 1, 2011

Is there away to resolve the hostname after creating a new subdomain. So we don't need to wait internet need some times to able to resolve the hostname. For example, if I add new subdomain to "test.example.com", I can directly ping to this hostname from internet.

View 3 Replies View Related

Debian Configuration :: Networking: Connected To Wifi, Webpages Won't Resolve?

Oct 2, 2010

I just installed Debian with the latest testing iso, and I'm having problems connecting to the web via browser. I can ping hostnames (i.e. google.com, debian.org, etc.) from the terminal and it resolves just fine, but if I try to load a page from Iceweasel or Epiphany it says the page won't load because it can't resolve the hostname. Can someone tell me what I'm missing?the detail that I'm running amd64. I've checked iptables and found no entries, and for good measure I flushed it to be certain. I also checked resolv.conf but that looked normal, just a nameserver entry pointing to my home router. I'm new to Debian, but have used Linux for years, and I'm genuinely stumped. I'm sure the solution will smack me in the head for its simplicity, but nonetheless I need at least a shove in the right direction.

View 2 Replies View Related

Fedora Networking :: Cannot Resolve Hostname - Connect To Internet Via Firefox

Oct 31, 2010

Cannot connect to internet via Firefox or Midori on my Dell Inspiron 8200 laptop with a Netgear wireless card. However, I can update via yum, I can ping google from the CLI, I can ssh to my desktop, I can point a browser to find my router which /etc/resolv.conf points to, but can't get a browser to resolve hostname. I'm posting from a different machine (desktop), here is my /etc/resolv.conf:

[Code]....

View 14 Replies View Related

Ubuntu :: Unable To Access Samba Share By Hostname / Resolve This?

Apr 30, 2010

I got my server set up with 10.04, and with everything installed: DHCP, SSH, Samba, VBox, etc.

DHCP, SSH work fine, but I am having problems where I cannot ping the hostname of the machine.

It worked for a few minutes after I got everything installed and now it's not letting me connect via hostname. I can connect fine if I use the IP address. I cannot ping the machine by hostname unless I add it's IP address to the hosts file.

View 7 Replies View Related

SUSE :: URL Link Launcher Creation / Unable To Resolve Hostname

Aug 6, 2010

I am updating all of the company systems from Novell SuSE Desktop 10 SP2 to 11. We have several links on the desktops of users that are URL's. In version 10, I just did a Create Launcher, Type was Link and I could type in a URL. The LINK type no longer exist. I checked on my system at my desk which is OpenSuSE 11 and it also does not have the link type. I have been searching on the Internet for creating Launchers and then looking for information on creating links and have not been able to find anything. Can anyone point me to a good howto or document on creating URL link launchers (we have a system that runs Apache and from the users PC they click the link to connect to the server). I tried just creating a bookmark in Firefox and then dragging the bookmark to desktop and customizing icon. But, I build the systems at our corporate offices, and when I build, the IP address on the system is the actual IP and since it is not at the final location it can not connect, and the bookmark creation on desktop fails with error 'Unable to resolve hostname'

View 1 Replies View Related

Fedora :: Evolution: Cannot Resolve Hostname - Open Calendar: Unexpected HTTP Status

Aug 19, 2011

Evolution has balked at every webaddress I've thrown at it: Example: Code: Could not connect to imap.google.com (port imaps): Host lookup failed: imap.google.com: Name or service not known same thing happened for smtp as well as the canonical names provided by nslookup.

I was able to succeed in connecting my email finally by using the IP provided by nslookup, but still am unable to get my google Calendar to connect: Code: Cannot open calendar: Unexpected HTTP status code 2 returned (Cannot resolve hostname (www.google.com)) No proxy settings configured in Evolution or Fedora and none needed. Lemme know what else I can provide.

View 6 Replies View Related

Networking :: Ubuntu Server Cant Ping Or Connect External / Can Resolve Hostname And Domain

Oct 15, 2009

As the title suggest, I have downlaoded the latest copy of Ubuntu Server from the ubuntu website.Everything installed fine. DHCP configured ok as far as I can tell. I can ping other machines on my network (which are running Windows) and they can ping the Ubuntu machine and conenct to Apache which is running on it.If I try to ping google.com or any other domain, it gives the correct IP address but gives no response to any pings, dont telnet on port 80 (or any toher potr for that matter) on any machine on the internet. I checked the settings using ifconfig to see what DHCP had assigned, and they matched the windows machines configuration (other than the IP address obvisouly). I tried assigning a static IP, even reserving a particular IP for my NIC.

Whatever I do, i cant connect to any machine outside the network via IP or domain.I have searched everywhere and tried everything i can find on the net but still to no avail.The Windows machines are part of a domain called alcom-uk.local and run off of a Windows Small Business 2003 Server. Not sure if i need to manually setup Ubuntu to connect using a domain or anything.

View 14 Replies View Related

Server :: Hostname Configuration On BIND

Jan 2, 2010

I have read a lot of documentation but it is still hard to find a proper answer to my doubts.About the hostnames in a domain, how is it associate to a determinated port?

For example, when I type on the browser webmail.sparc86.net and then I get redirected to the port of 20000 of this same domain. Fine, but how does it work that it knows it should be redirected to the port 20000? From where is this information (the association webmail-port 20000) taken? The apache will manage this, right? But what about other services like ftp?Another example, If I wrote my own software listening, let's say on the port 40000 and I want to have a domain like "mystuff.sparc86.net" how would I let it be redirected to the port 40000 ?

View 1 Replies View Related

Ubuntu Installation :: Error "mount Error: Could Not Resolve Address For Servername: No Address Associated With Hostname

Jul 14, 2011

This morning it would not boot; when I tried to wake up the system, it gave me a bunch of errors, the last ones being as follows: "mount error: could not resolve address for servername: No address associated with hostname mountall: mount /media/shares [1402] terminated with status 1" I am writing this in Win 7 since I lost ubuntu. I am using ubuntu 11.04.

View 2 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

OpenSUSE Install :: Set $HOSTNAME To Dynamically Update With The Hostname That Is Specified For The Ip In DNS?

Apr 6, 2010

How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?

View 3 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved