[DOCS-4388] Comment on: "manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux.txt" Created: 18/Nov/14 Updated: 03/Nov/17 Resolved: 19/Nov/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.14 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Michael Paik |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 7.0 64bit server Location: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ |
||
| Participants: | |
| Days since reply: | 9 years, 13 weeks ago |
| Description |
|
On 64-bit system running CentOS 7.0, when using the repo file /etc/yum.repos.d/mongodb.repo file as documented on this page, yum returns an error, specifically "http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 400 - Bad Request |
| Comments |
| Comment by Michael Paik [ 19/Nov/14 ] |
|
--no-cache solving the issue is almost certainly indicative of an HTTP proxy between you and the repository having stale or malformed data (wget's own manual says of the option "This is especially useful for retrieving and flushing out-of-date documents on proxy servers.") This is the first (and therefore only) time we've seen this problem; more than likely the offending HTTP proxy is somewhere within your organization. Glad you got it sorted, in any case. |
| Comment by Paul Garneau [ 19/Nov/14 ] |
|
Problematic file turns out to be primary.xml.gz. Here is the output of two wget commands attempting to get primary.xml.gz. The first example uses the --no-cache option, the second does NOT use this option: [root@server7 ~]# wget - 100%[======================================================================================================================>] 38,193 54.3KB/s in 0.7s 2014-11-19 17:14:08 (54.3 KB/s) - ‘primary.xml.gz’ saved [38193/38193] [root@server7 ~]# wget http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/primary.xml.gz |
| Comment by Paul Garneau [ 19/Nov/14 ] |
|
Files at downloads-distro site changed on Nov 4, 2014. Index of http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/repodata/: I was hoping that there was some change that may have caused the issue I was having. |
| Comment by Paul Garneau [ 19/Nov/14 ] |
|
Server is NOT using an HTTP proxy. |
| Comment by Michael Paik [ 19/Nov/14 ] |
|
Cannot reproduce - works fine on vanilla RHEL 7.0 install with instructions provided. Probably an issue with a misconfigured HTTP proxy. |