CentOS 5 Networking :: No Hostname - Cannot Find Valid BaseURL For Repo
May 12, 2011
I have a server running centos 5 located in a datacenter. I am setting it up as a web server but haven't bothered to move the domain from my current registrar to the server as there are a lot of things I need to get done before that. I am having a problem where I couldn't install httpd. So i tried some of the basic fixes i knew as far as yum clean all and checking that my /etc/resolv.conf was ok. I have the two nameservers I am using listed there but I have no hostname set because I simply dont have the domain transferred or anything like that yet. Is that the reason I am having these issues. I installed the system with a network install fine about a month ago so im not sure why I am having problems now.When i try to ping centos.org I get an unknown host www.centos.org error. I tried changing the resolv.conf to have localhost as the hostname and I still have the same issues. I havent made any changes to anything that would potentially cause this.
My etc/resolv.conf looks like this:
search
nameserver 12.34.567.8
nameserver 12.34.566.8
Also it seems the problem may have got worse after yum clean-all because before that when I would try 'yum install httpd' it would show the files and filesizes and ask to install, when I would select yes It would give an error showing it could not find the fastestmirror. Now it doesn't give any file size or files or an option to approve the install. It just responds with an error saying it could not retrieve mirrorlist
<urlopen error (-3, 'Temporary failure in name resolution' Error Cannot find a valid baseurl for repo: base
View 2 Replies
ADVERTISEMENT
Nov 18, 2010
i am trying to install the GD2 extension for PHP but i am not sure how to do this. i have try the
yum install php-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://apt.sw.be/dries/fedora/fc4/mirrors-rpmforge error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: rpmforge
View 1 Replies
View Related
Mar 3, 2010
when I run 'yum install ...' this error apear
Quote:
Cannot find a valid baseurl for repo
View 5 Replies
View Related
Jan 3, 2010
I recently did my first installation of centos on a vm. I tried playing around for a while but when I tried doing an update it says Determining fastest mirrors for a while then gave me Could not retrieve mirrorlist [url]
Error was
[1] 13506
[2] 13507
Cannot find a valid baseurl for repo:addons
View 12 Replies
View Related
Apr 18, 2011
When trying to run 'yum update' or 'yum install' i get the following message:
Quote:
# yum update
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
[code]....
View 3 Replies
View Related
May 1, 2011
I have a VPS with Fedora 13 32 bits.
[root@mbr ~]# cat /etc/fedora-release
Fedora release 13 (Goddard)
[root@mbr ~]# yum install cyrus-sasl-md5
Loaded plugins: fastestmirror Repository updates is listed more than once in the configuration Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. 13 is not a valid release or hasnt been released yet/ removing mirrorlist with no valid mirrors: /var/cache/yum/i386/13/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base
I tried
# yum clean all
# yum list
View 2 Replies
View Related
May 7, 2010
i was installing YUM GROUPINSTALL 'DEVELOPMENT TOOLS' but in start i got an error saying "Error: Cannot find a valid baseurl for repo: extras". how can i solve this issue?
View 3 Replies
View Related
Dec 31, 2009
I keep getting the following error when trying to install anything:
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...d-11&arch=i386 error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: rpmfusion-free-updates
So this tells me the servers are down however if i put the link in FF I don't get 404.I am installing on a new box and I can't get the stuff I need.
View 13 Replies
View Related
Jul 30, 2009
after changing in the server the network configuration of DHCP to have an IP set, every time I run yum update I get the following error:
Error: Cannot find a valid baseurl for repo: rpmforge
And I noticed that every time you reboot the server the file resolv.conf is erased
View 13 Replies
View Related
Jul 1, 2010
The main Fedora repo file has this entry: baseurl=[url]
I want to know about the "$xxx" dollar sign bits - $releasever $basearch
I know from browsing there and certain mirrors that they contain directories for 13, 12, 11. So does that mean the file entry is just a "general" line but the version installation of yum _knows_ it should put 13 against those 2 entries?
IOW, does the background python script or binary expect to see that actual use of the dollar sign parts in the repo file?
I tried to make a new entry baseurl with a known mirror, making appropriate changes for its directory structure _and_ using the $xxx bits but on trying it out got errors usually about "repond.xml" and/or "gpg-keys".
I omitted them next just using the actual letters - .../releases/13/Everything/i386/os/
View 2 Replies
View Related
Jun 17, 2011
I am having problems with this computer program called fluent. I have a service request open with them and they need to know my computer's hostname. ANything I have tried tells me that my computers hostname and fqdn is localhost.localdomain. The people on the service request seem to not believe me. Is there anyway that the computer hostname is hidden? This is what I have tried:
[powder@localhost ~]$ hostname
localhost.localdomain
[powder@localhost ~]$ dnsdomainname
[code]....
View 4 Replies
View Related
Nov 6, 2010
I've been running a SuseStudio-built VM for a few weeks with no issues. I built a new one recently, and now I can't configure a new vhost in Apache using the http-server module. It gives me this error. Screen shot 2010-11-06 at 11.42.24 AM.png. Why YaST suddenly decided that my hostnames aren't valid?
View 1 Replies
View Related
Jun 3, 2010
My problem is configure and start FTP server on own computer. I edited configure files, and i try to run ProFTP. Then i see that communication: Launch proftpd: - warning: unable to determine IP address of 'dhcppc1'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'[FAILED]
View 3 Replies
View Related
Sep 17, 2010
I've completed the installation of a CentOS server.Running the setup utility as root, ive set up a static IP and installed apache. Now this works ok. I can type in the servers IP address from my browser/putty/winSCP and access the server within the intranet. The problem is that i would also like to access the server using its hostname, e.g. http://centos or whatever Currently i cannot do it. I've searched the forums, edited the /etc/sysconfig/network and /etc/hosts to no avail no matter what i do i cannot access it. i've disabled some services so im not sure if this is the fault.
View 1 Replies
View Related
Nov 20, 2010
I wasn't paying proper attention when adding a repo to yast and need to find the file were the info is saved to delete this. The problem is that whenever i use yast it comes up with an error code saying that it can't find the data for the 'problem' repo. Have tried zypper rm but that comes up with a similar error advising that the data is in a format that was not expected. My thinking is to track the file were the yast repo source details are saved, delete this and then just add the repos that i use back.
View 6 Replies
View Related
Jan 7, 2009
Server has been moved to a different locations and so the IP has been changed now the hostname is changed to something other that what it was before.
Could it be the rDNS that is causing this?
Note: this is not a DHCP connection.
View 1 Replies
View Related
Jan 28, 2011
Givens
LAN
CentOS 5.5
Windows 7 machine (hostname/NETBIOS name: AwesomePC, LAN IP: 192.168.1.20)
Workgroup: Cake
No WINS server
No Domain
No AD
Goal
From CentOS 5.5, have
# ping AwesomePC
resolve to a ping on 192.168.1.20
Problem
# ping AwesomePC
resolves to some random public IP that seems to be coming from my WAN DNS (openDNS) servers
ATTEMPTS
Have edited /etc/nsswitch.conf, edited line: hosts: files wins dns Have edited /etc/resolv.conf, added line: search CAKE Have installed samba (# yum install samba) and run (# service smb start), with /etc/samba/smb.conf, workgroup = CAKE, name resolve order = wins host lmhosts bcast
Does # ping even care about samba? How can I get this to work?
View 5 Replies
View Related
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
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
Jan 12, 2010
New CentOS 5.4 system working fine. Sys admins came in and copied the hosts file from one of the servers down to my desktop and ever sincethen machine has been slow (progs take 10-20seconds to load). RunningGnome. Luckily I saved the old hosts file and copied it back and all is now well. But I'd like to understand why, particularly as I will need to change myhostname in the future.
As configured:
/etc/hosts (yes my hostname is "dummyName" that I will need to change later)
127.0.0.1 dummyName localhost.localdomain localhost
[code]....
View 5 Replies
View Related
Dec 14, 2010
I am looking for a way via script to change a systems hostname and IP address!
View 1 Replies
View Related
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
May 22, 2011
I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".
I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.
Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".
How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.
View 1 Replies
View Related
Apr 8, 2010
I've compiled the kernel 2.6.33, configured it and installed (make install)
When it boots up I get the following messages: RAMDISK: I can't find a valid disk image at 0 VFS: Couldn't open root at /boot/vmlinuz-2.6.33mykerne1 or block (0,0)
Code:
My current system configuration is:
Linux domenico-laptop 2.6.24-16-generic
/etc/boot/menu.lst
titleUbuntu 8.04, kernel 2.6.24-16-generic
[Code]....
View 4 Replies
View Related
Apr 23, 2009
I try to do a upgrade on my fedora 6 ill 10. But when I try to write yum update or yum upgrade on my server a get this error:
yum update
Loading "installonlyn" plugin
Setting up update process
Setting up repositories
Error: Cannot find a valid baseurl for repo: extras
View 1 Replies
View Related
May 11, 2011
Specifically, I'd love to know what the valid values of:
And, where I can find this information? I've always wondered if it was documented somewhere, or if there was an interface into the kernel to query for it.
View 1 Replies
View Related
May 12, 2010
I'm logged into a server through the CLI and did a df -T and confirmed all my volumes are ext3. but when I do a tune2fs -l /dev/sde it tells me
tune2fs 1.39 (29-May-2006)
tune2fs: Permission denied while trying to open /dev/sde
Couldn't find valid filesystem superblock.
I don't have root access on the server, but is that why it's complaining, or is my syntax incorrect?
View 8 Replies
View Related
Oct 5, 2010
I have a server that is on both a standard network and a virtual network, as follows: server1 attached to standard network server1 acting as Dom0 with two linux DomU guests (under Xen) I only have one network card. How do I configure server1 to have a different hostname on the standard network than on the virtual network? Here are the relevant network configuration files for server1:
/etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.122.9
[Code]...
View 1 Replies
View Related
Dec 17, 2010
How do I make/find a host name in Ubuntu (10.04) so someone outside my local network can connect via VNC (Remote Desktop). I went to System> Preferences> Remote Desktop, but then it says
"Your desktop is only reachable over the local network. Others can access your computer using the address 192.168.1.102 or geordie-desktop.local."
*Note, would this error be due to my ISP?
View 2 Replies
View Related
Mar 24, 2011
Normally each machine should have a host name such as [URL] Where should this HOSTNAME to be define normally? In ' /etc/sysconfig/network'? Else where?
View 9 Replies
View Related