Sponsored Content
Operating Systems Linux Ansible installation fails on standalone Oracle Linux Post 303036743 by mohtashims on Wednesday 10th of July 2019 05:42:55 AM
Old 07-10-2019
Ansible installation fails on standalone Oracle Linux

I have a standalone Oracle Linux server which has no connectivity to the internet.

I was following a blog which directed me to download all ansible dependent setup files and install them using the below command.

Code:
[root@host1 Ansible]# yum localinstall -y python-crypto-2.6.1-1.el7.rf.x86_64.rpm python-httplib2-0.9.2-0.2.el7.noarch.rpm python-jinja2-2.2.1-1.el6.rf.x86_64.rpm python-keyczar-0.71c-2.el7.noarch.rpm sshpass-1.05-1.el7.rf.x86_64.rpm

Code:
Loaded plugins: langpacks
Examining python-crypto-2.6.1-1.el7.rf.x86_64.rpm: python-crypto-2.6.1-1.el7.rf.x86_64
Marking python-crypto-2.6.1-1.el7.rf.x86_64.rpm to be installed
Examining python-httplib2-0.9.2-0.2.el7.noarch.rpm: python-httplib2-0.9.2-0.2.el7.noarch
Marking python-httplib2-0.9.2-0.2.el7.noarch.rpm to be installed
Examining python-jinja2-2.2.1-1.el6.rf.x86_64.rpm: python-jinja2-2.2.1-1.el6.rf.x86_64
Marking python-jinja2-2.2.1-1.el6.rf.x86_64.rpm to be installed
Examining python-keyczar-0.71c-2.el7.noarch.rpm: python-keyczar-0.71c-2.el7.noarch
Marking python-keyczar-0.71c-2.el7.noarch.rpm to be installed
Examining sshpass-1.05-1.el7.rf.x86_64.rpm: sshpass-1.05-1.el7.rf.x86_64
Marking sshpass-1.05-1.el7.rf.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package python-crypto.x86_64 0:2.6.1-1.el7.rf will be installed
---> Package python-httplib2.noarch 0:0.9.2-0.2.el7 will be installed
---> Package python-jinja2.x86_64 0:2.2.1-1.el6.rf will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python-jinja2-2.2.1-1.el6.rf.x86_64
http://10.9.104.84/yum/OracleLinux/OL7/addons/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://10.9.104.84/yum/OracleLinux/OL7/addons/x86_64/repodata/repomd.xml:(28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
http://10.9.104.84/yum/OracleLinux/OL7/addons/x86_64/repodata/repomd.xml:[Errno 12] Timeout on ]http://10.9.104.84/yum/OracleLinux/OL7/addons/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror

However, I get the timeout error as the Yum is trying to connect to the internet as seen above.

Code:
[root@host1 Ansible]# uname -a
Linux host1 4.14.35-1844.4.5.el7uek.x86_64 #2 SMP Tue Apr 9 00:29:47 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux

Is there a way to avoid this timeout issue ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installation Procedure of UNIX on a standalone pc

Hi, I am nil about UNIX and i want to learn about. For this i want to install UNIX 5.0 on my home pc. Anyone please tell me the procedure to install it. The partition and all etc. etc.. My pc configuration is P-IV, 1.7GHz 40 GB HDD With regards, Phani (1 Reply)
Discussion started by: phanikmv
1 Replies

2. Solaris

X-windows Problem /GUI Installation fails

Guys, I am trying to install few products on my solaris 10 box. One of these installation would go as GUI installation. Whenever i run the setup, it throws an error message saying that GUI could not be started. What all things i need to check on server side as well as client (my windows... (0 Replies)
Discussion started by: ak835
0 Replies

3. UNIX for Advanced & Expert Users

make test fails for DBD::Oracle installation

I've already installed the DBI Perl Module with no issues and now I'm attempting to install the DBD::Oracle driver on a Red Hat Enterprise 4 server and am having some trouble. I've checked through the forums and haven't seen anything helpful at this point. Everything goes fine during the perl... (1 Reply)
Discussion started by: pstrosnyder
1 Replies

4. UNIX and Linux Applications

Installation of Oracle Reports 6i on Linux

Hi, We are planning for a report generation program in Linux.For that we are planning to use Oracle reports 6i on linux. Could anybody please confirm if the Oracle 6i reports are compatible on Linux (0 Replies)
Discussion started by: Pavan Pusuluri
0 Replies

5. Shell Programming and Scripting

Perl connect to remote oracle db without local oracle installation

I want to use Perl to connect to a remote Oracle DB I have no oracle installation on my server (and dont plan on installing one) I am using solaris 9 on x86 server. Is this possible? I basically want to run some basic sql queries on the remote oracle db which I have access to using perl on my... (0 Replies)
Discussion started by: frustrated1
0 Replies

6. UNIX for Dummies Questions & Answers

Installation of Oracle 11g on ubuntu linux.

Dear Folks, I'm installing oracle 11g on ubuntu linux, currently I'm trying an option to increase the file system for a mount point ORACLE_HOME=/d01/oracle, for this file system the requirement to have at least 4GB free space, could you please let me know a way to increase the file system. also... (2 Replies)
Discussion started by: rajivatnova
2 Replies

7. UNIX for Advanced & Expert Users

Grub installation fails in Linux BMR..

Hi all, This topic is purely on a problem in installing grub in my LINUX BMR process... A major problem too.. I am designing Linux BMR where i do the following.. Backup the " / " as a whole .. with partition details ..etc And using the Knoppix Live CD i first create the partitions... (1 Reply)
Discussion started by: selvarajvs
1 Replies

8. UNIX for Advanced & Expert Users

Grub Installation fails with stage1 error

Hi, I have a problem in installing grub where the error thrown as " /grub/stage1 file not found" but the stage1, stage2 files are present in the /boot/grub/ folder. I do this grub install in the final step of the Linux BMR that i have designed. In the CentOs version above 6.0 the grub... (0 Replies)
Discussion started by: selvarajvs
0 Replies

9. UNIX for Dummies Questions & Answers

Openvz installation fails

Hello, I have a problem So I want to install this openvz. I run command apt-get install linux-image-openvz-amd64 and after that I check whether everything went ok with uname -r. But it seems that openvz is nowhere to be found. Why is that? All I see is 2.6.32-5-xen-amd64. Also when I try to... (1 Reply)
Discussion started by: linas
1 Replies

10. AIX

DB2 10.5 un-installation Fails

AIX 7.1 on Power7 Platform. I am doing this as root. OK, somehow my instance is stuck and I cannot create any new instances for the 10.5 (db2icrt gets to step 2 of creation and sits. Have let it sit for 45minutes). db2ilist shows the instance, but deleting it says there is no instance. Tried to... (1 Reply)
Discussion started by: mrmurdock
1 Replies
createrepo(8)															     createrepo(8)

NAME
createrepo - Create repomd (xml-rpm-metadata) repository SYNOPSIS
createrepo [options] <directory> DESCRIPTION
createrepo is a program that creates a repomd (xml-based rpm metadata) repository from a set of rpms. OPTIONS
-u --baseurl <url> Optional base URL location for all files. -o --outputdir <url> Optional output directory (useful for read only media). -x --excludes <package> File globs to exclude, can be specified multiple times. -i --pkglist <filename> specify a text file which contains the complete list of files to include in the repository from the set found in the directory. File format is one package per line, no wildcards or globs. -n --includepkg specify pkgs to include on the command line. Takes urls as well as local paths. -q --quiet Run quietly. -g --groupfile <groupfile> A precreated xml filename to point to for group information. See examples section below for further explanation. -v --verbose Run verbosely. -c --cachedir <path> Specify a directory to use as a cachedir. This allows createrepo to create a cache of checksums of packages in the repository. In consecutive runs of createrepo over the same repository of files that do not have a complete change out of all packages this decreases the processing time dramatically. --update If metadata already exists in the outputdir and an rpm is unchanged (based on file size and mtime) since the metadata was generated, reuse the existing metadata rather than recalculating it. In the case of a large repository with only a few new or modified rpms this can significantly reduce I/O and processing time. --skip-stat skip the stat() call on a --update, assumes if the filename is the same then the file is still the same (only use this if you're fairly trusting or gullible). -C --checkts Don't generate repo metadata, if their timestamps are newer than its rpms. This option decreases the processing time drastically again, if you happen to run it on an unmodified repo, but it is (currently) mutual exclusive with the --split option. --split Run in split media mode. Rather than pass a single directory, take a set of directories corresponding to different volumes in a media set. -p --pretty Output xml files in pretty format. -V --version Output version. -h --help Show help menu. -d --database Generate sqlite databases for use with yum. -S --skip-symlinks Ignore symlinks of packages -s --checksum Choose the checksum type used in repomd.xml and for packages in the metadata. The default is now "sha256" (if python has hashlib). The older default was "sha", which is actually "sha1", however explicitly using "sha1" doesn't work on older (3.0.x) versions of yum, you need to specify "sha". --profile Output time based profiling information. --changelog-limit CHANGELOG_LIMIT Only import the last N changelog entries, from each rpm, into the metadata --unique-md-filenames Include the file's checksum in the metadata filename, helps HTTP caching (default) --simple-md-filenames Do not include the file's checksum in the metadata filename. --distro Specify distro tags. Can be specified more than once. Optional syntax specifying a cpeid(http://cpe.mitre.org/) --distro=cpeid,dis- trotag --content Specify keyword/tags about the content of the repository. Can be specified more than once. --repo Specify keyword/tags about the repository itself. Can be specified more than once. --revision Arbitrary string for a repository revision. --deltas Tells createrepo to generate deltarpms and the delta metadata --oldpackagedirs PATH paths to look for older pkgs to delta against. Can be specified multiple times --num-deltas int the number of older versions to make deltas against. Defaults to 1 EXAMPLES
Here is an example of a repository with a groups file. Note that the groups file should be in the same directory as the rpm packages (i.e. /path/to/rpms/comps.xml). createrepo -g comps.xml /path/to/rpms FILES
repodata/filelists.xml.gz repodata/other.xml.gz repodata/primary.xml.gz repodata/repomd.xml SEE ALSO
yum (8) yum.conf (5) AUTHORS
See the Authors file BUGS
Any bugs which are found should be emailed to the mailing list: rpm-metadata@lists.baseurl.org or reported in trac at: http://cre- aterepo.baseurl.org Seth Vidal 2005 Jan 2 createrepo(8)
All times are GMT -4. The time now is 04:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy