Ubuntu Networking :: Could Not Resolve Host Name?

Apr 29, 2010

I'm having an issue where some of my machines hostnames are no longer able to be resolved after setting up a mythbuntu backend to allow netboot. Also it seems that which machines hostnames get resolved is not consistent. (ie sometimes one gets resolved and sometimes it doesn't) I suspect that it has something to do with the changes I made to "/etc/ltsp/dhcpd.conf" to get the netboot running.

I have a Verizon DSL modem/router as 192.168.1.1. Up until playing with the "/etc/ltsp/dhcpd.conf" I saw hostnames of all of my machines show up in its network map. Now, some of my machines still get network access but their hostnames are no longer resolved. What did I do wrong? Here is my dhcpd.conf file:

Code:
# Default LTSP dhcpd.conf config file.
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.250;

[Code]...

View 4 Replies


ADVERTISEMENT

Ubuntu Networking :: Domain - Unable To Resolve Host Whenever Try To Use The Sudo Command In The Terminal

Nov 4, 2010

Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo

steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....

View 1 Replies View Related

Networking :: 'Unable To Resolve Host Address' Errors With Newer Distributions

Mar 10, 2010

I'm trying to troubleshoot some strange networking problems. The pattern seems to be that only newer distributions are affected. CentOS 5.4 and Ubuntu 8.04 work fine out-of-the-box. But Arch, Sidux, AntiX, Fedora, etc. show the same pattern of errors.Certain websites cannot be found unless I disable ipv6 in Firefox. And certain addresses cannot be resolved using various terminal commands (wget, apt-get, yum, etc.). What I would ideally like is a permanent solution, perhaps changing some settings on my router, so that I don't have to deal with this each time I test-drive a new distro. I have a hunch the issue has something to do with my DSL provider (Fairpoint) filing for bankruptcy.

One more piece of information that may or may not be relevant: I recently switched a website from one hosting company to another. I noticed there was a delay of several days where I saw the old version at the old host, but viewing the site at a friend's house or the coffee shop showed the new site on the new host. This leads me to suspect DNS issues perhaps, but this is not an area of expertise.

View 3 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 :: Unable To Resolve Host Tims-Laptop

Aug 11, 2010

i am having a problem in the terminal window. When i try to do various operations i get the following message before the operation starts.

sudo: unable to resolve host Tims-Laptop

View 6 Replies View Related

General :: 'sudo -i' And Resolve Host

Mar 10, 2011

why does a machine try to resolve host when I issue 'sudo -i' or some other command prefixed with sudo.What is happening in the background?

View 11 Replies View Related

Ubuntu :: Sudo: Unable To Resolve Host Username Getting Error?

Nov 26, 2010

When I try to launch something from terminal, it shows this error.

gksudo gedit /etc/hosts

Quote:

127.0.0.1localhost
127.0.1.1matt-laptop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

My computer always had this name and I never had concerns related to his name. So, what's wrong now?

View 8 Replies View Related

General :: Host Key Verification Failed / Resolve This?

Mar 29, 2011

I know that there are multiple threads with problems like this, but still i didn't found my answer.

The situation is like this:
I have a local server and a remote server, i did a ssh key swap so i can log on to the remote server with no problems (automatically logging on, no need to enter pass or login).
I've made a script that copies (with SCP) a file FROM the REMOTE server TO the LOCAL server (NOT FROM the LOCAL server to the REMOTE server !!!!), and then i get an error like code...

View 2 Replies View Related

Slackware :: Php Curl Can't Resolve Host Getting Error?

Jan 26, 2011

I have a strange problem with using curl function in php on slackware machines. So far I tested this on 2 PCs. I din't test it on any other distributions, so I don't know if it's only slackware problem.

Problem is that I can't use php curl in normal way. It can be tested wit simple code:

Code:
$ch = curl_init("url");
$content = curl_exec($ch);
if (curl_error($ch)) {
echo(curl_error($ch) . "<br>");
}
echo($content);
When I'm opening this php script in browser I'm getting error message:

Code:
Couldn't resolve host 'google.lv'
but I can use curl command in terminal, also it works when I run this php script in terminal like:

Code:
php ./curl_test.php
So problem is not in curl or php itself, but in apache, because this happens only when this script is running in apache.

Searching google a lot, I got to conclusion that apache can't read /etc/resolve.conf file during startup. Strange thing is that it happens only when httpd starts during system startup, but if I'm stopping httpd and starting it again manually, it works as it should until I'll reboot my PC. Restarting httpd also do not work, I need to do start -> stop.

I think that apache reads /etc/resolve.conf only when it starting up and as I have DHCP, maybe network is still not ready at the moment of httpd startup.

I didn't try to configure php as php-cgi instead of apache module, I think then it would work normally because each php script would be separate process and it would read dns information each time, so the same like starting php script in terminal with command:

Code:
php ./curl_test.php
I think there are some ways to workaround it, e.g. delay somehow start of httpd during system startup, or something like that, but I want to find reason of this problem and make it work without any workaround.

View 1 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

Fedora Installation :: YUM Error Couldn't Resolve Host Name

Dec 19, 2009

i get the following error when i try to install autoten: root@Tex dan]# rpm -Uvh [URL]... curl: (6) Couldn't resolve host 'dnmouse.org'
error: skipping [URL]... - transfer failed from reading other posts, it sounds like a dns error, but i don't know what to do to fix it.

View 14 Replies View Related

OpenSUSE Install :: Can't Resolve Host For Yast2 In Console?

Sep 3, 2011

It's been a while since I've use linux (specifically suse). But my wife and I are expecting our first child and our office/second bedroom is now being converted into the baby room. I built the computer that is currently in there and it is a really nice one that I do not want to get rid of. Two 500GB Sata2 drives and 8Gigs of RAM (not to mention my quad-core Phenom AMD processor and sweet asus motherboard) -- I just can't get rid of it. So what I planned to do was turn it into a small home server. I did some research and kept coming back to using opensuse as the server. I read this article The Perfect Server - OpenSUSE 11.4 x86_64 [ISPConfig 2] | HowtoForge - Linux Howtos and Tutorials and it seemed to have just about everything I'd like to do (maybe some extras that I don't really need, but might in the future). Everything was going fine until I got to a certain point. The install went fine, and I was starting to customize some of the settings for my own home setup. Now, the problem...

I've gotten to page 3 of the tutorial The Perfect Server - OpenSUSE 11.4 x86_64 [ISPConfig 2] - Page 3 | HowtoForge - Linux Howtos and Tutorials

and I am installing packages through yast2, and all the packages installed fine except for 'compat-readline4'. I think this is a form of command line editor or something to do with that. I am sure I am going to need it to finish the server set up, but I can't get it installed anywhere. I've tried to install it by pointing directly to the mirror found at rpm.pbone.net and still I get nowhere.

Yast2 auto refresh seems to fail everytime I run it. Even though I installed all the other packages, I get an error message that says it can't get the medium. When I look at the details of the error it says it can't resolve the host for downloads.opensuse.org.

View 9 Replies View Related

Slackware :: Unable To Resolve Host Address `dls.urt.voxel.net'

Jul 17, 2010

when tring to install (AssaultCube, UrbanTerror) i get this: unable to resolve host address `dls.urt.voxel.net'

View 2 Replies View Related

Ubuntu :: Sudo: Unable To Resolve Host / Setting Up Network Sharing With Samba?

May 21, 2010

I am having a problem with Ubuntu 10.04. I was setting up network sharing with Samba. Set up went fine, then I decided to change the hostname.

Following instructions I found on the web, I edited etc/samba/samba.conf to reflect my desired hostname.

Now I have to use superuser to run synaptic or update center. I don't know what else I have "broken".

I would like to change my hostname, if I did it incorrectly for 10.04 please enlighten me.

View 2 Replies View Related

Ubuntu Servers :: Unable To Resolve Host URL - Domain Setup / Home Based Web Server

Jan 18, 2011

I have setup a home based web server to host a photo blog for myself and my friends. I will be running wordpress and possibly a phpbb3 forum. I'd like to open this to discuss server administration, server setup, and server maintenance. However, I have a pretty good start on all of those but serving a domain name to my static ip. Here my static ip is 24.10.202.144. I registered a domain through [URL]... It appears that I have the domain working to forward to my ip. However, I am still getting this output file from apache.

[code]...

I have tested the domain name across a few different computers on different ips. It works appropriately. I just want to make sure I have it set correctly on the (apache) server side of things. Then I can get more into Zone Editing etc.

View 9 Replies View Related

OpenSUSE Install :: Unable To Upgrade To 11.4: Can't Resolve Host / Error Code: Connection Failed?

Apr 1, 2011

I'm currently running 11.3 and decided I'd try upgrading to 11.4 following the instructions here: SDB:System upgrade - openSUSEUnfortunately, my attempts are defeated at the point of trying to refresh the new repos; I get the following message (for the oss repo, in this case):

Download (curl) error for 'url':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'

With 11.4 replaced by 11.3 in the repo url, it refreshes just fine. The only repository that works when I change 11.3 to 11.4 is the Packman repo. I'm not really sure why the connection fails for 11.4 but not 11.3!

Further info: I have an old router with no IPv6 support, but have IPv6 disabled system-wide. I can enter the url for the repositories into firefox and they come up just fine - it's only with zypper/YaST that I get the above error message.I also tried upgrading using the network CD but ran into the same sort of problem. In this case it may be because the CD installer doesn't disable IPv6. (I didn't want to download the DVD at my connection speed, and the KDE live CD is not listed as suitable for upgrade).

View 9 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

Ubuntu Networking :: Host Able To Ssh To FreeBSD Host?

May 19, 2010

So here's the setup:

Ubuntu 10.04 host inbound port 22 open
FreeBSD 8.0 host no inbound ports open

Both hosts are running sshd currently. What would you do for the Ubuntu host to be able to ssh to the FreeBSD host? A tunnel?

View 6 Replies View Related

Networking :: Very Low Network Performance In Host-to-host Connections

Jan 27, 2009

The internal network is behind nat done by the PC Router.The TP Link is recieving wireless signal from outdoors and it has switching and basic routing capabilities. I'm using the PC router for better routing options.PC Router (or R for short) is a triple-booting machine - Linux, FreeBSD and Windows. It has two lan cards - external (ext_if) - 100Mbps Realtek 8139 and internal (int_if) - 1Gbps integrated Realtek 8169.The problem is that all traffic from R to the network is slow - about 5-20K, while the traffic in the oppoiste direction is all right - about 10MB that is fine for 100Mbps cables, NICs and switches. The problem persist no matter the OS the pc R is running.I've tried some debugging on the situation as follows:

- put another PC at the place of R - everything is fine. That exclude the possibility of damaged cables, RJ-45s, switches and etc.
- connected both of the NICs to the Internet while the internal network is being disconnected and they both work fine (no delays)
- traffic shaping is not running
- there is nothing in firewalls except NATing the internal network (and it is working fine). Actually these firewall rules have been operational for more than months and everything was fine untill a week or two ago.
- changed the internal NIC with another
- connected the internal network directly to the TP and all of the PCs are getting good network performance. Then connected the R machine to the TP as well and there was good performance between the internal network PCs and R.
- R has good performance to the TP. In fact everything has good performance directly to the TP (when not connecting trough R).
- the problem persist only between R and machines from the internal network.

View 2 Replies View Related

Ubuntu Installation :: "unable To Resolve Host" / Method Driver /usr/lib/apt/methods/https Could Not Be Found?

Jan 2, 2010

I'm trying to use a flash drive to try to repair the Intrepid installation on my netbook.

when I drop to a terminal and try "sudo apt-get update" i get

Code:
sudo: unable to resolve host ubuntu
E: The method driver /usr/lib/apt/methods/https could not be found
E: The method driver /usr/lib/apt/methods/https could not be found

View 1 Replies View Related

OpenSUSE Install :: Error Message: Couldn't Resolve Host 'download.opensuse.org'

Apr 20, 2011

This is an example of the error I receive when trying to do an update via YaST, YaST2, or zypper. Basically, curl is broken. With out it functioning normally, I can't use openSUSE's update mechanism to fix my system. Need to find a way to manually fix / upgrade curl.There was an error in the repository initialization.'Updates-for-openSUSE-11.4-11.4-0': [|] Valid metadata not found at specified URL(s)History:

- Unknown error reading from 'http://download.opensuse.org/update/11.4/'
- SKIP request: User-requested skipping of a file
- Download (curl) error for

[code]...

View 8 Replies View Related

Fedora :: Yum Error - "Couldn't Resolve Host"?

Aug 1, 2011

My latest issue seems to be with Yum; more specifically, I don't think it can contact the main "updates" server to see if there's any actual updates available. When I try, I get this:

Code:
[root@localhost ~]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit

[code]...

View 6 Replies View Related

OpenSUSE Network :: Cannot Resolve Host Names On Local Network?

Mar 9, 2010

I have a mac and an openSUSE box connected wirelessly to a router. From my mac, if I ping the Linux machine by both ip address and hostname "elmo.local", I get a response. If I ping my mac from the Linux machine using its ip address, I get a response. However, if I ping the mac from the Linux box using its name "kermit.local" - nothing!

This means in order to share files between them via the network, I have to use the ip address rather than name, but I'd rather not. When I had Ubuntu installed instead of openSUSE this all worked fine out of the box, so I'm assuming it's a problem with the setup of openSUSE rather than the router or the mac.

View 4 Replies View Related

Fedora Networking :: VM Can Ping Host And Internet But Host Can't Ping VM

Jan 19, 2010

Host - Fedora 12 64bit
KVM
VM - Windows Server 2008 64 bit
bridge-utils

VM can ping host and Internet but host can't ping VM.

I set VM static IP 192.168.0.205.

It turns out dynamic IP - 192.168.0.55

On host:

View 2 Replies View Related

Ubuntu Networking :: 10.04 - Cannot Resolve Names Using DNS

Sep 16, 2010

A while ago I downloaded a VMWare VM for 7.10. I then upgraded it to 8.10 and it was working just fine. I just did the upgrade to 10.04 and I'm having problems with my networking. The really odd thing is that I can ping machines on my local network and out on the Internet by IP address but it will not resolve names using DNS.

I've got the network set up for DHCP. I also tried DHCP address only and manually entered my DNS server addresses but still no luck on resolving names with DNS. At the end of the day, I don't really care if I get this fixed or just get a new VMWare VM. (I can't create one because I only have the player.)

View 6 Replies View Related

Ubuntu Networking :: Can't Transfer From Mobile To Pc / Resolve This?

Jan 13, 2010

I have a nokia n70 and currently i cant tarnsfer anything from mobile to my pc. i have setup my bluetooth device (usb) but everytime i try and send file from my mobile to pc, it says 'sending failed'. any solutions?

View 2 Replies View Related

Ubuntu Networking :: Wireless Won't Connect / Resolve This?

Jan 22, 2010

I'm very new to linux, I've just installed ubuntu 9.10 but it won't connect to the wireless for the internet. It sees my network and I can try to connect to it, it even asks me for the password (yes i'm using the right one) but soon as i tell it to connect it just says its connecting and then asks me for the password again and it keeps doing this?

View 1 Replies View Related

Ubuntu Networking :: NAS Server - Cannot Resolve Non DNS Names

Feb 14, 2010

I have a NAS server running Debian with Dnsmasq (local DNS and DHCP service). This is working well, including fetching upstream requests from my ISP's DNS service and caching them locally. I have another PC not running Ubuntu which happily resolves DNS and non-DNS names. E.g.
Code:
ping hagrid.
ping hagrid
both work.

However, this is not the case on my Ubuntu PC. It is only able to resolve DNS names, not non-DNS names.
Code:
ping hagrid.
works but
Code:
ping hagrid
does not.
I have the standard nsswitch.conf and host.conf.

View 2 Replies View Related

Ubuntu Networking :: Keep Getting Disconnected From All Im Clients / Resolve This?

Apr 18, 2010

I use a t-mobile usb mobile broadband stick; model usb stick 120.

the signal strength is 3g yet i randomly get disconnected from the likes of
pidgin
amsn messenger
ebuddy

can anyone tell me why, or how to fix it

View 4 Replies View Related







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