Cannot find a valid baseurl for repo: base/7/x86_64
Re: Cannot find a valid baseurl for repo: base/7/x86_64
How about these:
rpm -qa '*-release'
cat /etc/yum.conf
rpm -qa '*-release'
cat /etc/yum.conf
Re: Cannot find a valid baseurl for repo: base/7/x86_64
sorry ..sorry...extremely sorry ...
nothing found with rpm -qa '*-release'
do you want to know about ?
Linux myserver 7.3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@myserver oracle]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php? ... tegory=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Re: Cannot find a valid baseurl for repo: base/7/x86_64
I would like to know how you managed to install CentOS without having the centos-release package installed.
I also wonder about 7.3.10.0-514.el7.x86_64. It does not look like a standard CentOS kernel version. Any explanation for that?
I also wonder about 7.3.10.0-514.el7.x86_64. It does not look like a standard CentOS kernel version. Any explanation for that?
Re: Cannot find a valid baseurl for repo: base/7/x86_64
Do you get lots of output from rpm -qa or does it give an error message?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Cannot find a valid baseurl for repo: base/7/x86_64
I think was hand copied not cut and pasted and the 7 got put in by mistake. The date on that does correspond with the one from the base 7.3 kernel package.I also wonder about 7.3.10.0-514.el7.x86_64. It does not look like a standard CentOS kernel version. Any explanation for that?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Cannot find a valid baseurl for repo: base/7/x86_64
this is out put ofTrevorH wrote: ↑2018/07/09 12:12:32I think was hand copied not cut and pasted and the 7 got put in by mistake. The date on that does correspond with the one from the base 7.3 kernel package.I also wonder about 7.3.10.0-514.el7.x86_64. It does not look like a standard CentOS kernel version. Any explanation for that?
[root@myserver oracle]# uname -a
Linux myserver 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Re: Cannot find a valid baseurl for repo: base/7/x86_64
In this case TrevorH is likely interested in the output of rpm -qa without any other parameters.
Related to this, have there been any incidents with the server recently? Storage issues, or package database issues that have required some sort of maintenance?
Related to this, have there been any incidents with the server recently? Storage issues, or package database issues that have required some sort of maintenance?
Re: Cannot find a valid baseurl for repo: base/7/x86_64
I have told you before sir that oracle 11g database, openvpn, httpd and php has been installed on server.
when i was going to connect through ssh it was not working . but other working fine .I found httpd and sshd service are not working on that server . I am giving you that report
[root@myserver oracle]# systemctl status httpd -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-07-10 10:07:37 IST; 17min ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 3258 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 1130 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 1130 (code=exited, status=1/FAILURE)
Jul 10 10:07:15 myserver systemd[1]: Starting The Apache HTTP Server...
Jul 10 10:07:37 myserver httpd[1130]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::e2d5:5eff:fe32:b83e. Set the 'ServerName' directive globally to suppress this message
Jul 10 10:07:37 myserver httpd[1130]: (20)Not a directory: AH02291: Cannot access directory '/etc/httpd/logs/' for main error log
Jul 10 10:07:37 myserver httpd[1130]: AH00014: Configuration check failed
Jul 10 10:07:37 myserver systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 10 10:07:37 myserver kill[3258]: kill: cannot find process ""
Jul 10 10:07:37 myserver systemd[1]: httpd.service: control process exited, code=exited status=1
Jul 10 10:07:37 myserver systemd[1]: Failed to start The Apache HTTP Server.
Jul 10 10:07:37 myserver systemd[1]: Unit httpd.service entered failed state.
Jul 10 10:07:37 myserver systemd[1]: httpd.service failed.
[root@myserver oracle]# systemctl status sshd
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2018-07-10 10:25:34 IST; 33s ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 4280 ExecStart=/usr/sbin/sshd $OPTIONS (code=exited, status=255)
Jul 10 10:25:34 myserver systemd[1]: Failed to start OpenSSH server daemon.
Jul 10 10:25:34 myserver systemd[1]: Unit sshd.service entered failed state.
Jul 10 10:25:34 myserver systemd[1]: sshd.service failed.
Re: Cannot find a valid baseurl for repo: base/7/x86_64
Yes, but we would still need to know why your RPM database does not seem to have centos-release installed. At this point, the following information may help:
rpm -qa
ls -ld /etc/httpd/logs
systemctl restart sshd.service
(this will likely output "Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details", but is needed for the following command)
grep sshd /var/log/messages
rpm -qa
ls -ld /etc/httpd/logs
systemctl restart sshd.service
(this will likely output "Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details", but is needed for the following command)
grep sshd /var/log/messages