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
ADVERTISEMENT
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
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
Mar 24, 2010
When I run sudo apt-get update I get the following message at the bottom:
[Code]....
I have tried numerous ways to add the keys i.e: gpg --keyserver keyserver.ubuntu.com --recv-keys EF4186FE247510BE && gpg --export --armor EF4186FE247510BE | sudo apt-key add - However, I then get the following message:
[Code]....
View 3 Replies
View Related
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
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
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
May 1, 2010
I'm trying to add the Mactel sources via Terminal:
[Code]...
View 4 Replies
View Related
Nov 13, 2010
create a VM here with virsh. I've managed to create the XML file and got it to work properly, however running it is the problem. These are the errors I get error: Failed to start domain Cent-OS, internal error process exited while connecting to monitor: open /dev/kvm: No such file or directory ,Could not initialize KVM, will disable KVM support qemu: could not open disk image /media/55D123D9E79ABF54/VM/Cent-OS-5.5.img: Permission denied
I've tried setting SElinux to permissive mode.
Fedora 14 X64
hypervisor qemu
XML:
[code]...
View 2 Replies
View Related
Apr 5, 2010
I'm playing with Fedora 12 and can't get GRUB to work. To boot, I've been using GRUB4DOS. While that works fine, I'd like to figure out what's wrong with regular GRUB 0.97. After the initial installation, GRUB came up on reboot, but it was broken -- it couldn't read the config file apparently, and no commands would work correctly. So I attempted to reinstall grub via the grub prompt. No matter what I do, or which hard disk I install GRUB on, I get "Error 18". I tried using the "grub-install" command as well as the prompt, and that did the same thing.
My system here is an ASUS M4A785TD-M EVO mo/bo. I've got four hard drives. Two 1TB SATA drives and a couple of PATA drives (300 and 500GB) on a Si608 controller card. Using the BIOS "BBS" boot menu, I can boot NTLDR and BOOTMGR off active partitions on any of the drives (with proper Boot.ini modifications to handle the change in drive order). GRUB4DOS works as well, and will boot Fedora 12 correctly off any of them (with proper menu.lst ministrations). But GRUB 0.97 that comes with Fedora just refuses to do anything other than say "Error 18".
View 4 Replies
View Related
Jan 23, 2010
I wrote a simple code using Open Inventor(OpenGL) classes to print a Sphere in a .png file.I tested it on Windows and it worked well.But when I run it on Fedora 10, I got the following error with no output .png file:
Coin error in glxglue_init(): Couldn't open NULL display. Coin warning in SoOffscreenRenderer::renderFromBase(): Could not set up an offscreen OpenGL context.
Segmentation fault
View 2 Replies
View Related
Apr 25, 2010
I switched back to Fedora after a long time and wow a lot of things have changed! Fedora 12 is looking amazing and the best part is I could install it on my USB so easily. And then I found I couldnt open any PDF files on Fedora - I tried installing AdobeReader, xpdf and openoffice. All of them are just throwing some file format errors.... <I cant push a screenshot now since i removed the packages>
Initally i thought it might be some version conflict but it turned out I couldnt open any pdf's including docs from 5 years back to docs with embedded media content. I know I havent put any info here. I am looking for a little info on what is needed to get Acrobat/Xpdf working in Fedora 12... And I couldn't get any errors logged so I'd like a little help there if I need to share some debug messages...
that gave these messages [root@localhost Presentations]# evince module-development.mgp.pdf
** (evince:5768): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
View 2 Replies
View Related
Aug 28, 2009
FC11/KDE-live Cd
The error is below;
apic is getting timing mode sailed. IO apic resources couldn't be allocated
I fed the kernel commands, noapic , noioapic but that didn't work .
View 1 Replies
View Related
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
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
May 6, 2009
I'm trying to install Fedora 3 Core on an old hard drive I had lying around. The problem I'm having is that when I go to manually repartition the hard drive with Disk Druid I get this error: Could not allocate requested partitions: Partitioninf Failed: Could not allocate partitions as primary partitions. I can't view the contents of the hard drive to delete stuff.
View 6 Replies
View Related
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
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
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
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
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
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
Jul 15, 2011
I m running Fedora 15 i386 release and just performed an update for packages.
Code:
yum update
The PAE kernel and Nvidia driver got updated as well as a few other packages.
When I come to playing a video with Xine I get this error code...
View 3 Replies
View Related
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
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
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
Sep 9, 2010
i tried to install gcc-4.5.0 on opensuse 11.2 I gave ./configure but it gave the error couldn't find the c compiler.. the message was
[Code]....
View 2 Replies
View Related
Nov 23, 2010
When I try to do
[code]...
I've tried the method described here: [URL]... However, I'm still getting the same error.
View 2 Replies
View Related
Jul 18, 2010
I just installed say with
Code:
sudo apt-get install epos
and everything went fine, until I tried to use it.
When i do
Code:
say hello
it gives me
Quote:
he~lo######~T
Could not open localsound device, error 2 Client side error: Could not set up a stream
View 6 Replies
View Related
Jul 25, 2011
When I open Konqueror, on Fedora 15 KDE, it opens to the default Start Page just fine. When I try to visit any other website, it gives me an Unknown Host Error. The documentation I found for KDE just said that if I get that error, it means that either the website does not exist or I am not connected to the internet, but I'm quite sure I'm connected to the internet.
View 6 Replies
View Related