Error in wget :
#wget http://xx.xx.xx.xx:89/builds/rhel/RHEL6.4-Server-x86_64//rpm/bind-utils-9.8.2-0.47.rc1.el6.x86_64.rpm
–2016-08-22 12:57:30– http://xx.xx.xx.xx:89/builds/rhel/RHEL6.4-Server-x86_64/bind-utils-9.8.2-0.47.rc1.el6.x86_64.rpm
Connecting to xx.x.xx.xx:89… connected.
HTTP request sent, awaiting response… 403 Forbidden
2016-08-22 12:57:30 ERROR 403: Forbidden.
Error From browser URL page
Error while installing package using yum.
https://redhat.com/content/dist/rhel/server/6/6Server/x86_64/supplementary/
os/Packages/java-1.6.0-ibm-1.6.0.15.0-1jpp.1.el6_4.x86_64.rpm:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error Downloading Packages:
1:java-1.6.0-ibm-1.6.0.15.0-1jpp.1.el6_4.x86_64: failure: Packages/java-1.6.0-ibm-1.6.0.15.0-1jpp.1.el6_4.x86_64.rpm
from rhel-6-server-supplementary-rpms:
[Errno 256] No more mirrors to try.
From HTTP log find out what is the issue exactly
#tailf /var/log/httpd/error_log
[Mon Aug 22 12:56:57 2016] [error] [client 10.10.10.10] (13)Permission denied: access to /builds/rhel/RHEL6.4-Server-x86_64/samba-winbind-clients-3.6.23-30.el6_7.x86_64.rpm denied
HTTP Document Root path is have given incorrect permission 644 for the directory
ll -d /var/builds/rhel
drw-r–r– 4 root root 4096 Aug 6 10:18 /var/builds/rhel
Resolution or fix for the Above issue.
All the sub directory of HTTP configuration path or document directory should have 755 permission
#ll -d /var/builds/rhel
drwxr-xr-x 4 root root 4096 Aug 6 10:18 /var/builds/rhel
Now it is working fine 🙂 🙂 🙂