logs archiveIRC Archive / Freenode / #centos / 2015 / July / 1 / 1
parallel21
Running `yum update` gives me 404 across every mirror
The box has internet access though
It looks like it searching for the wrong repodata
Bahhumbug
yum clean all; repeat.
If it still errors out then yum -d9 -v update and output to a pastebin
occupant
a 404 is a real error, not a symptom of no internet
pj
sometimes I've found that yum clean all doesn't do it and I've had to manually delete the repo cache and it then works. Other times have been a problem with the mirrors themselves (such as recent problems with EPEL) and I've found that specifying a known good mirror in baseurl fixes it.
parallel21
occupant: It's just looking for the wrong file in repodata
posting to pastebin
pj
parallel21: yes, please do, that will help
I'll actually give odds that the 404 is coming from EPEL, they have had a lot of problems lately and can't seem to fix their mirror system properly.
parallel21
http://pastebin.com/jBRtvdrZ
Bahhumbug
EPEL.
#epel is -> that way :)
TrevorH
yum update --disablerepo=epel\* should work though
         

Bahhumbug
(As a workaround you can "yum --excluderepo=epel,epel-testing update"
Meh
TrevorH
wish they'd hurry up fix whatever it is they keep breaking
parallel21
Confused... the error is not on my part?
Bahhumbug
Nope.
It's a problem with the EPEL mirror system.
pj
nope, the fix is to edit /etc/yum.repos.d/epel.repo, comment out the mirrorlist lines and uncomment the baseurl lines.
TrevorH
two of us haev given you the command to do the update minus the epel portion of it
pj
well that's the workaround, anyways.
parallel21
The problem has resolved
Thanks for the help
Artarian
Good night for everyone
I am running a CentOS 7 and trying to install a package but I am having this error
error: Failed dependencies:
libgmp.so.3()(64bit) is needed by pl-5.7.11-6.el6.x86_64
CentOS wont let me install gmp 4.1.4 which contains this libgmp.so.3
any ideas?
TrevorH
that's an el6 package
that is, it's a package for CentOS 6 so you cannot use it on 7
Artarian
TrevorH: thanks for answering, means that even if I meet dependencies it wont run?
TrevorH
you cannot meet the dependencies, they are from CentOS 6
noobiwan
Hi, I'm running CentOS 7 default apache install. Apache seems to be caching my HTML files. Even after editing a file, it keeps serving old content. If I rename the file, than it pulls then it works. I'm running a dev server and I would like to disable all sorts of caching. How can I do that? Thank you! (It's not a browser issue because even after I clear the cache I get the old content.)
TrevorH
either you find a version of 'pl' designed and built for CentOS 7 or you go back to CentOS 6 or you find a different prolog compiler - gprolog is in EPEL7 f.e.
Dragotha
noobiwan: disable or configure mod_cache. that shouldn't be on by default, though. more likely you have a proxy in between you and apache
noobiwan
Dragotha, I running it in from VM in my machine. Everything should be the default config
TrevorH
noobiwan: also look in your http logs to see the accesses and what httpd replies with
Artarian
TrevorH: sorry
My irc client bugged
but thanks for answering
TrevorH
you cannot meet the dependencies, they are from CentOS 6
either you find a version of 'pl' designed and built for CentOS 7 or you go back to CentOS 6 or you find a different prolog compiler - gprolog is in EPEL7 f.e.
Artarian
oh
thank you
         

Dragotha
noobiwan: apache doesn't do any caching by default
TrevorH
Artarian: since I see pl was in base on CentOS 6 and was dropped between 6 and 7, there might be something in the RHEL 7.0 release notes about it and suggested alternatives
noobiwan
Dragotha, how can I find out if I have a proxy running?
Dragotha
noobiwan: since the vm's on your machine, i doubt you do
noobiwan
Dragotha, but could CentOS have a reverse proxy setup? This is really confusing ;) I have another virtual server that seems to be working fine with .php files...
Bahhumbug
noobiwan: What does rpm -q httpd return?
Dragotha
noobiwan: it's php? make sure you haven't disabled the fstat check in the bytecode cache thingy
noobiwan
Dragotha, no, right now it's just .html no PHP
Dragotha, httpd-2.4.6-17.el7.centos.1.x86_64
Artarian
TrevorH: http://mirror.centos.org/centos/7/os/x86_64/Packages/
strange gprolog is not in their packages
TrevorH
Artarian: it's in EPEL not in CentOS itself
@epel
centbot
EPEL: Extra Packages for Enterprise Linux. This can now be directly installed by 'yum --enablerepo=extras install epel-release'
Dragotha
noobiwan: it wouldn't have setup a reverse proxy without you knowing about it ... just telnet to the server and see what it actually puts out for a request. i'd bet it's your browser doing any caching
TrevorH
I just read the migration guide for el6->el7 and there is no mention of that pl package at all. It's not in the replacements list or the deprecated list nor is it in the removed list
noobiwan: again, look at your httpd logs to see what requests arrive and what replies go out
noobiwan
Dragotha, apache is returning 304 Not Modified. Even after I modify the file...
Dragotha, end then when I clear the cache it sends a 200 response but the file is the same!
*and
TrevorH
how are your timestamps on this machine and the one with the web browser?
Dragotha
noobian: yeah that sounds like a if-modified-since: time problem
noobiwan: although sending a 200 with the old file is not really possible. is it serving from a weird file system or something?
TrevorH
or do you have some weird mount options in place
noobiwan
TrevorH, everything is in the same computer, the only thing is that I'm serving the files from the host filesystem instead of the VM.
TrevorH
using what filesystem?
Dragotha
noobiwan: there you go. you have a cache coherency problem
TrevorH
I mean how is the host filesystem attached to the guest?
noobiwan
It works when I use the IP but when I use the hostname it doesnt.
TrevorH
how are you accessing the host filesystem from the guest?
noobiwan
So I have a Windows host machine and a VM running CentOS (VirtualBOX). I mounted a folder from the host machine in the VM and I'm using it as the root for the virtual host
TrevorH
yes, *how* did you mount it from the host?
is it NFS? samba? some vbox specific guest filesystem?
noobiwan
I used the VirtualBox Shared Folders option
TrevorH
right, so copy your files over to /var/www/html on the real centos system filesystem and repeat your tests and when they work, go talk to #vbox about how their code doesn't work
noobiwan
TrevorH, it should work. Why does it work when I access using an IP address and it doesn't work when I access using the hostname?
Dragotha
TrevorH
yep, that would do
Dragotha
looks like a broken driver
noobiwan
Thanks, the EnableSendfile off seems to be work. The funny thing is that it was working before I created a new vhost :\
HWDPLinux
net install fails due to 'bad file descriptor' anyone able to help?
Dragotha
noobiwan: php wouldn't go through sendfile
noobiwan
Dragotha, that's probably it... also I noticed that when accessing using the IP address, it works. The problem was when I used the hostname.
Dragotha
noobiwan: yeah that doesn't even make sense. it's talking to the same process. if it worked at all it had to be using the same vhost, too. anyway, you've found the problem
TrevorH
HWDPLinux: only use the netinstall if you have a reliable connection or a local mirror
HWDPLinux
I am using KVM virt-manager to launch a VM using net install, it fails due to bad file descriptor when I use http, ftp seems to work fine...
firewall is flushed
SELinux context set to public for both
only difference is the files in /var/www/html/inst have more lax permissions then ftp does... does not make sense
TrevorH I found my problem. When install files are apache.apache I get a bad file descriptor error, when they are root.root the install is successful.
Reshesnik
Something is broken in my audit logging. name_format=hostname, fqd, numeric all fail to add any identifiers into audit logs after restarting sevice
« prev 1 2 3 4 5 6 7 8 9 next »