Hi,
I get this error when running 'yum update'.
$ sudo yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&ar... error was [Errno 14] HTTP Error 500: Date: Sun, 13 May 2007 06:57:03 GMT Server: Apache/2.2.4 (Fedora) Content-Length: 632 Content-Type: text/html; charset=iso-8859-1 Connection: close
Error: Cannot find a valid baseurl for repo: updates
Browsing via web browser to http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&ar... gives me: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log. Apache/2.2.4 (Fedora) Server at publictest7.fedora.phx.redhat.com Port 80
Is it a larger issue?
Thanks, Julian
On Sat, May 12, 2007 at 08:58:24PM -1000, Julian Yap wrote:
Hi,
I get this error when running 'yum update'.
[...]
Is it a larger issue?
It looks like mod_python was to blame.
[Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist: Traceback (most recent call last): [Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug) [Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in import_module\n f, p, d = imp.find_module(parts[i], path) [Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist: ImportError: No module named return_mirrorlist
Restarting httpd seemed to have fixed it.
I also noticed this SELinux audit message:
audit(1179014650.637:1171): avc: denied { getattr } for pid=21393 comm="httpd" name="mirrorlist_cache.pkl" dev=xvda3 ino=129681 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:tmp_t:s0 tclass=file
I wonder if SELinux is to blame for some of the erratic TurboGears behavior that we have been experiencing?
luke
On 5/12/07, Luke Macken lmacken@redhat.com wrote:
On Sat, May 12, 2007 at 08:58:24PM -1000, Julian Yap wrote:
Hi,
I get this error when running 'yum update'.
[...]
Is it a larger issue?
It looks like mod_python was to blame.
Restarting httpd seemed to have fixed it.
Works for me now.
infrastructure@lists.fedoraproject.org