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


ADVERTISEMENT

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

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

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

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

General :: Dns Server Unable To Resolve Domain / Fix It?

Nov 15, 2010

There seems to be some problem in my dns server.
The configuration is perfectly ok.But what happens sometimes is,
it couldn't resolve some domains sometimes.After restarting the
named,it again resolves the domain.
whats happening on my dns server

View 10 Replies View Related

Software :: Unable To Properly Configure PowerDNS / Won't Resolve Domain Name

Mar 17, 2011

I am using CentOS 5.5 and have installed PowerDNS with MySQL backend. I have Apache and PHP installed and I'm using PowerAdmin to create the master zone.I have tried to configure the zone to resolve my domain name and I have had no success.I've googled and read tutorials and have tried suggested methods, but it's still not working.This is a new adventure for me and I would like to be able to host a site from my home for experimental purposes. I am a mature (read OLD) student enrolled in Networking and have done some units in Web Design (though I'm not very good at it).

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

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 :: Won't Let Me Use The Sudo Command In Terminal ?

Feb 27, 2010

Ubuntu won't let me use the sudo command in terminal. If I try, sudo: must be setuid root pops up. Also, if I try any tasks that require permission, the authentication box pops up and then disappears within one second.

View 9 Replies View Related

Ubuntu :: Set Domain/machine Name From The Terminal Command Line?

Mar 16, 2011

I have both desktop and notebook with Ubuntu 10.10.In the desktop, net domain correctly displays domain and server name, but in the notebook both appear as blank. Maybe that's the reason why I can't see the shares in the desktop from the notebook.How do I set the domain and machine name from the terminal command line?

View 2 Replies View Related

Ubuntu :: Install Gimp With The Terminal Command:sudo?

Jan 12, 2011

when i try to install gimp with the terminal command:sudo apt-get install gimpI get this Error(yes its in german i know):Die folgenden Pakete haben unerflte Abhngigkeiten: gimp : Hgt ab von: libpoppler-glib4 (>= 0.12) ist aber nicht installierbarE: Beschdigte Paketeit says, that the packet: libpoppler-glib4 is corrupt.i already tried to reinstall libpoppler-glib4, but it wouldnt let me

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 :: 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 View Related

Networking :: Domain Name And Host Name ?

Feb 23, 2011

Domain name which is registered on the DNS for an IP and the name of the host with that IP need not be the same. am i right? I mean domain name and host name need not be the same. Is this correct?

View 2 Replies View Related

Ubuntu :: No Internet Connection Unless Run Command In Terminal - Sudo Dhclient Eth0

Feb 21, 2011

Running 10.04. For some reason, starting today, I have no internet connection unless I run this command in terminal - sudo dhclient eth0. I have a hard wired ethernet connection on a Desktop PC with a static IP address (there are a number of devices in the house) and it has been running 100% for months and months. Why suddenly do I have to enter this command to get connection? When I switch on I get a connection in that when I click on the Top Panel icon and right click Connection Information it tells me I have an active connection to my router on the normal IP address. I cannot ping the router and Firefox says Server not found. After sudo dhclient eth0 everything works - what has happened since yesterday evening and this morning to stop what has been 100% for months?

View 6 Replies View Related

Networking :: Dns Server Not Able To Resolve Local Domain Names

Mar 19, 2009

I recently installed bind9 on mandriva 2008.1, after having done the necessary configuration.. I still can't find my domain I configured cant ping on other machines on the LAN but can actually ping on any other website on the internet even though name server is configured to point to local machine..... I dont understand what I'm doing wrong.

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

Networking :: Resolve A Standalone RHEL Machine Under Windows Domain Controller?

Feb 4, 2010

How to resolve a standalone RHEL machine under Windows Domain Controller?

View 4 Replies View Related

Ubuntu Networking :: Windows Clients Lose Ability To Resolve Local Domain Names

Dec 2, 2010

I have an internal domain (dev.lan) for which my Ubuntu server is authoritative. We have a number of subdomains under that domain (test.dev.lan, svn.dev.lan, etc.). The server also acts as the primary DNS server for my office. It was originally set up under Ubuntu 8 and worked great.

However, ever since we upgraded to Ubuntu 10, our Windows clients periodically lose the ability to resolve domains on the dev.lan domain. Internal IP addresses can still be pinged from the Windows machines so it does not appear to be a network-connectivity issue. External domain names continue to resolve without any problems. The only workaround is to restart networking on the Windows clients. It's frustrating because it happens several times a day.

bind9 logs no obvious error messages.

View 3 Replies View Related

Server :: Unable To Resolve Domain Name With Local DNS Server / Sort It?

Jan 18, 2011

I have set up DNS server set up on my RH 5.5 system. It is working perfectly as Caching only Server but but when i tried to make it a primary server for a zone it didn't resolved. I am actually a newbie so please correct me if i am wrong somewhere. Here are my configuration files code...

View 10 Replies View Related

Ubuntu Installation :: Unable To Use Sudo Command In 9.10?

Feb 24, 2010

i am using ubuntu 9.10 .i recently installed vmware server in ubuntu. since during installation of vmware i gave default values the default username for vmware server is root. inorder to access vmware server i changed the root password in terminal. i gave the following command in terminalsudo password rootit prompted for new password and i entered the password. after that i accessed the vmware server using the username as root and password. it worked fine,i created a virtual machine and it worked fine.now the problem is when i restarted the system and login to vmware server i was unable to access virtual machines created previously. also now i am not able to use sudo command .the following message shows up. sudo: must be setuid root. may be this prob is due to the command i gave sudo password root. can someone help me resolve this prob and go back to my previous state.before when i used to give a sudo command it asked for my account password.

View 9 Replies View Related

Fedora Networking :: Local Host Names Without Domain Using Bind?

May 10, 2009

I want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).

Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?

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

CentOS 5 :: Should /etc/hosts Contain 127.0.0.1 Host.domain Host?

Nov 14, 2009

I have installed CentOS 5.4 machine named test.example.com (192.168.1.1)File /etc/hosts contains:127.0.0.1 test.example.com test localhost.localdomain localhostI have read that the loopback addres should not be assigned to host name,only to localhost and the host name should be assigned to 192.168.1.1, like this:127.0.0.1 localhost.localdomain localhost192.168.1.1 test.example.com testIs there any reason why it should be one or another way?

View 6 Replies View Related

Ubuntu :: Command Line Mail Taking Too Long To Send; Unable To Qualify Own Domain Name?

Feb 5, 2010

I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete.In the below, datestamp is just a simple script to put in a no-white-space date/time stamp.

Code:
$ datestamp ; mail woodnt; datestamp
02-05-10@193844

[code]....

View 9 Replies View Related

Fedora :: Terminal Won't Let Enter Password After Enter Sudo Command ?

Jan 12, 2011

I am pasting sudo commands without problems as a user (ales in my case) and then immediately the ask the user password.

The keyboard seems to be dead, no keys work, not allowing me to enter the password.

View 6 Replies View Related

Ubuntu Networking :: Sudo: Usb_modeswitch: Command Not Found

Aug 21, 2010

when i type this command

sudo /usr/sbin/initmodem.sh

the output is

sudo: usb_modeswitch: command not found

I am trying to install BSNL capitel modem in Ubuntu 10.04.

View 2 Replies View Related







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