- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Getting oracle-j2sdk1.7 installation failed while installing CDH5
- Labels:
-
Security
Created on 06-16-2014 12:36 AM - edited 09-16-2022 02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All ,
I get this error
oracle-j2sdk1.7 installation failed. See /var/log/cloudera-manager-installer/2.install-oracle-j2sdk1.7.log for details. Click OK to revert this installation.
When i try to install CDH5 .I checked the log file it was mentioned as
Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot find a valid baseurl for repo: base Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
OS : Centos 6.4
Please provide me a solution to intall the same
Bala
Created 06-19-2014 06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response .
I got it solved . My ultimate end was to start the cloudera manager . It worked .
I just disabled the iptables by
[root@INCHCMPCCHE01 cloudera-scm-server]# /etc/init.d/iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
[root@INCHCMPCCHE01 cloudera-scm-server]# /etc/init.d/iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: nat mangle filte[ OK ]
iptables: Unloading modules: [ OK ]
Thank you 🙂
Bala
Created 06-16-2014 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
to reach the URL directly from the machine (say via ping/wget/etc.)? If so,
try again perhaps?
Created on 06-16-2014 11:26 PM - edited 06-16-2014 11:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I tried to access the link http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os in firefox browser . It worked . But yet i get this error
Bala
Created 06-17-2014 07:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The error is from yum, so I suggest looking for answers there. A web search turned up various hits for yum and IPv6. This one seemed to have the most suggestions:
This backs up the suggestion that it may be a problem with the firewall:
https://www.centos.org/forums/viewtopic.php?t=6478
Once the yum/network issue is resolved, the installation should proceed.
Regards,
Ben
Created 06-18-2014 02:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[root@INCHCMPCCHE01 user1]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 192.168.122.0/24 state RELATED,ESTABLISHED
ACCEPT all -- 192.168.122.0/24 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@INCHCMPCCHE01 user1]#
Bala
Created 06-18-2014 09:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe shut off iptables ( service iptables stop ) and then run the install. If the network/yum can't get ironed out, then you may need to use Path B or C install rather than the "bin" install.
Created 06-19-2014 06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your response .
I got it solved . My ultimate end was to start the cloudera manager . It worked .
I just disabled the iptables by
[root@INCHCMPCCHE01 cloudera-scm-server]# /etc/init.d/iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
[root@INCHCMPCCHE01 cloudera-scm-server]# /etc/init.d/iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: nat mangle filte[ OK ]
iptables: Unloading modules: [ OK ]
Thank you 🙂
Bala
Created 12-04-2014 11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
got same error while try to add hosts through cloudera manager.
Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
-In host machine
* CentOS 6.6 (Final)
* firewall turn off
* yum update working fine
Here we are using proxy ... proxy settings configured with /etc/yum.conf
Regards
Robin David
