ePages Installation Guide for Linux 6.17.41
Created: 6.12.2; Updated: 6.17.31

Table of Contents

1 ePages Installation Preliminaries

If you just want to install ePages on a dedicated host then continue with section Basic ePages Installation.

1.1 Components of an ePages Installation

ePages can be installed either on Red Hat/CentOS (with RPM packages) or Debian (with DEB packages).

An ePages 6 system consists of 5 main components:

All packages require epages-requires, epages-common, epages-patch, epages-perl and epages-nodejs''. Packages epages-appsrv and epages-mysqld additionally require epages-mysql.

The packages can be installed on one machine (single server installation), or distributed over various machines (distributed installation). The installation instructions below describe both scenarios.

1.2 System Requirements

1.2.1 Time Server

For distributed installations all involved machines must have the same system time. If a network time protocol daemon (as ntpd) is used, all machines must use the same configuration file (as ntp.conf). For more information about the network time protocol daemon, see the manual pages (as man ntpd).

1.3 ePages Repositories

ePages RPM packages (see above) are provided by different ePages YUM repositories.

ePages DEB packages (see above) are provided by different ePages APT repositories.

ePages YUM repository configuration files are stored in /etc/yum.repos.d/epages-*.repo.

ePages APT repository configuration file is stored in /etc/apt/sources.list.d/epages.list.

ePages repositories are mirrored and can be found in:

YUM chooses the repository with the fastest access.

You may browse through ftp://epages-software.de/repo/epages/ to see what RPM packages ePages provides.

Installing the package epages-release adds following files to the system:

/var/epages/
directory with shell scripts required for installing ePages
/etc/sysconfig/epages6
see Customizable Installation Parameters
/etc/pki/rpm-gpg/RPM-GPG-KEY-epages
public key for signatures of ePages RPM files
/etc/debsig/policies/9798CC69B1D28320/epages.pol
public key for signatures of ePages DEB files
/etc/yum.repos.d/*epages*
RPM repository configuration files
/etc/apt/sources.list.d/epages.list
DEB repository configuration file

1.4 Verify RPM Packages on Red Hat

All ePages RPM packages are signed by a GNU Privacy Guard (GPG) key. If you want to verify that a RPM package was really made by ePages, you need the public key. Unless already installed as part of epages-release, get it from the web site http://www.epages.com/security/b1d28320.txt .

To show which key was used to sign an ePages RPM package, run the command:

  rpm --checksig -v <filename>.rpm

To verify the signature of an ePages RPM package, first import the public key (unless installed already package epages-release):

  rpm --import b1d28320.txt

Then execute:

  rpm -K <filename>.rpm

The command should return:

  <filename>.rpm: (sha1) dsa sha1 md5 gpg OK

Example:

  # rpm -K http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm: (sha1) dsa sha1 md5 gpg OK

1.5 Customizable Installation Parameters

Package epages-release installs the installation configuration file /etc/sysconfig/epages6.

After installing epages-release and before installing ePages you may change /etc/sysconfig/epages6 to customize your ePages installation:

  vi /etc/sysconfig/epages6
  . /etc/sysconfig/epages6

For single server installations, normally you won't change /etc/sysconfig/epages6. Even in distributed installations it is not necessary to change /etc/sysconfig/epages6. Following sections describe the most important customizable parameters; every single parameter is described in /etc/sysconfig/epages6 itself.

For distributed installations, all involved servers must use the same configuration file /etc/sysconfig/epages6.

To achive this, following steps must be executed (see sections Custom Installation on Two Machines or Custom Installation on Three Machines below):

  1. Install epages-release on the file server.
  2. Customize /etc/sysconfig/epages6 as described in the following sections.
  3. Share the installed file system on the file server (and mount it on the other servers later).

1.5.1 Users and Groups

A distributed ePages 6 installation requires user and group definitions with the same user and group IDs on all machines.

parameter defines default
EPAGES_INSTALL_WS_GROUP web server group name ep_web
EPAGES_INSTALL_WS_RUNUSER user who runs the web server eprunweb
EPAGES_INSTALL_AS_RUNUSER user who runs the application server eprunapp
EPAGES_INSTALL_EPAGESJ_USER user who runs the java server epagesj
EPAGES_INSTALL_WS_RUNUID ID of $EPAGES_INSTALL_WS_RUNUSER
EPAGES_INSTALL_WS_UID ID of the web server file owner
EPAGES_INSTALL_WS_GID ID of the web server group
EPAGES_INSTALL_EP_GID ID of the group epages
EPAGES_INSTALL_AS_RUNUID ID of $EPAGES_INSTALL_AS_RUNUSER
EPAGES_INSTALL_AS_UID ID of the application server file owner ep_appl
EPAGES_INSTALL_DB_UID ID of the database server user ep_db
EPAGES_INSTALL_EPAGESJ_UID ID of $EPAGES_INSTALL_EPAGESJ_USER

1.5.2 Server Names, IPs, Ports

A distributed ePages 6 installation needs to know what hosts shall run what services. Furthermore you may choose what IPs and ports to use (especially if you have more than 1 network card).

Set those parameters in /etc/sysconfig/epages6.

Define server names/IPs and ports in /etc/sysconfig/epages6. All variables ending in _HOST must contain either a host name (long as host1.example.com or short as host1) or an IP address:

parameter defines
EPAGES_INSTALL_AS_HOST application server host
EPAGES_INSTALL_RR_HOST request router host (typically same as web server)
EPAGES_INSTALL_WS_HOST web server host
EPAGES_INSTALL_EPAGESJ_HOST java server host
EPAGES_INSTALL_SOLR_HOST solr server host
EPAGES_INSTALL_SOLRSLAVE_HOST solr slave host
EPAGES_INSTALL_MONGO_HOST mongodb server host
EPAGES_INSTALL_MYSQL_CONNECTION MySQL server connection string

For each variable ending in _HOST there is a variable ending in _HOSTIP that defines the IP of the host. Set both variables if hostname and IP are not DNS resolvable or if there is more than 1 network card.

For each variable ending in _HOST there is a variable ending in _PORT defining the server port. These variables are optional and have sensible defaults. Do not change this variables unless you really need to.

1.5.3 MySQL Parameters

If the password of the MySQL user root has changed (i.e. is neither empty nor epages), change EPAGES_INSTALL_MYSQL_PASS in /etc/sysconfig/epages6 accordingly, e.g.:

  export EPAGES_INSTALL_MYSQL_PASS="secret_password"

2 Basic ePages Installation

2.1 Installing ePages on Red Hat

If you set the environment variable VERBOSE=1 then you get a verbose yum installation.

1. Install epages-release to add ePages to your YUM repository:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

2. File /etc/sysconfig/epages6 contains variable settings.

All variables are optional and have sensible defaults. Read the variable descriptions in /etc/sysconfig/epages6.

If you want to customize variables, edit /etc/sysconfig/epages6.

If the password of the MySQL user root has changed (i.e. it is neither empty nor epages), change EPAGES_INSTALL_MYSQL_PASS in /etc/sysconfig/epages6 accordingly, e.g.:

  export EPAGES_INSTALL_MYSQL_PASS="secret_password"

3. Install and start ePages:

  yum groupinstall epages

2.1.1 RPM: Installing ePages with Language Packs

You may install ePages with language packs automatically starting from version 6.13.1.

Run following command to install all languages:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  EPAGES_LANGUAGES='ca cs da es fi fr it nl no pt ru sv' yum groupinstall epages

If you want to install specific languages, use the 2-character language codes, e.g. for Spanish and Italian:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  EPAGES_LANGUAGES='es it' yum groupinstall epages

2.1.2 RPM: Installing ePages Without Starting the Database Installation

To avoid starting the database installation after the file installation: instead of installing the complete @epages group, just install its parts:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  yum install epages-appsrv epages-ascsrv epages-reqsrv epages-mysqld epages-webconf epages-j

2.1.3 RPM: Installing a Specific Version of ePages

If you want to install a specific (older) ePages version 6.17.x run following commands (instead of 6.17.19 choose your desired version):

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  /var/epages/SetRepository.sh -b 6.17.19
  yum groupinstall epages

After installing the specific version update the repository so that patches can be applied to the installation:

  /var/epages/SetRepository.sh -b yum

2.2 Installing ePages on Debian

If you set the environment variable VERBOSE=1 then you get a verbose apt installation.

1. Install epages-release to add ePages to your APT repository:

  curl -O http://epages-software.de/repo/epages/apt/epages-release_all.deb
  dpkg -i epages-release_all.deb
  apt-get -y update
  apt-get -y upgrade

2. File /etc/sysconfig/epages6 contains variable settings.

All variables are optional and have sensible defaults. Read the variable descriptions in /etc/sysconfig/epages6.

If you want to customize variables, edit /etc/sysconfig/epages6.

If the password of the MySQL user root has changed (i.e. it is neither empty nor epages), change EPAGES_INSTALL_MYSQL_PASS in /etc/sysconfig/epages6 accordingly, e.g.:

  export EPAGES_INSTALL_MYSQL_PASS="secret_password"

3. Install and start ePages:

  apt-get install epages

2.2.1 DEB: Installing ePages with Language Packs

You may install ePages with language packs automatically starting from version 6.13.1.

Run following command to install all languages:

  curl -O http://epages-software.de/repo/epages/apt/epages-release_all.deb
  dpkg -i epages-release_all.deb
  apt-get -y update
  apt-get -y upgrade
  EPAGES_LANGUAGES='ca cs da es fi fr it nl no pt ru sv' apt-get install epages

If you want to install specific languages, use the 2-character language codes, e.g. for Spanish and Italian:

  EPAGES_LANGUAGES='es it' apt-get install epages

2.2.2 DEB: Installing ePages Without Starting the Database Installation

To avoid starting the database installation after the file installation: instead of installing the complete @epages group, just install its parts:

  curl -O http://epages-software.de/repo/epages/apt/epages-release_all.deb
  dpkg -i epages-release_all.deb
  apt-get -y update
  apt-get -y upgrade
  apt-get install epages-appsrv epages-ascsrv epages-reqsrv epages-mysqld epages-webconf epages-j

2.2.3 DEB: Installing a Specific Version of ePages

If you want to install a specific (older) ePages version 6.17.x run following commands (instead of 6.17.19 choose your desired version):

  curl -O http://epages-software.de/repo/epages/apt/epages-release_all.deb
  dpkg -i epages-release_all.deb
  /var/epages/SetRepository.sh -b 6.17.19
  apt-get -y update
  apt-get -y upgrade
  apt-get install epages

After installing the specific version update the repository so that patches can be applied to the installation:

  /var/epages/SetRepository.sh -b yum

3 Distributed Installation on Red Hat

Herinafter we just explain how to install ePages on a distributed Red Hat system. Installing ePages on a distributed Debian system works similiar, just replace Red Hat specific line:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

by Debian specific lines:

  curl -O http://epages-software.de/repo/epages/apt/epages-release_all.deb
  dpkg -i epages-release_all.deb
  apt-get -y update
  apt-get -y upgrade

and Red Hat specific comand:

  yum install

by Debian specific comand:

  apt-get install

Distributed installation allows you to install certain components of ePages (as described in Components of an ePages Installation) on specific machines:

If you want to install ePages distributed in a different way, use the following framework:

1. Choose one server as file server and run on it:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  /var/tmp/epages-fs.sh -share

2. On all other servers run (where FILESERVER is the name of the file server):

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  /var/tmp/epages-fs.sh -mount FILESERVER

3. Edit /etc/sysconfig/epages6. At least you must edit parameters EPAGES_INSTALL_WS_GROUP, EPAGES_INSTALL_WS_GID, and EPAGES_INSTALL_WS_RUNUSER.

4. Start /etc/sysconfig/epages6:

  . /etc/sysconfig/epages6

5. Install on each servers its components. Choose one/more of following command:

  yum install epages-appsrv
  yum install epages-reqsrv epages-ascsrv
  yum install epages-mysqld
  yum install epages-webconf
  yum install epages-j

6. Start ePages on each server (order: first on java server, then on web server/request router, then on database server, last on application server):

  yum install epages-setup

3.1 Custom Installation on Two Machines

3.1.1 Machine 1: Database Server and File System

1. Install epages-release:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

2. Edit /etc/sysconfig/epages6 as described in Customizable Installation Parameters. At least you must set following parameters:

You may set the default values for Red Hat by executing following code on command line:

  account=(GROUP apache GID 48 RUNUSER apache RUNUID 48)
  for i in 0 2 4 6 ; do
    sed -r 's,(EPAGES_INSTALL_WS_'${account[$i]}')=.*,\1='${account[$(($i+1))]}',' \
    /etc/sysconfig/epages6 > x && cat x > /etc/sysconfig/epages6
  done

3. Start /etc/sysconfig/epages6:

  . /etc/sysconfig/epages6

4. Share the file system:

  /var/epages/epages-fs.sh -share

5. Install the database server:

  yum install epages-mysqld

6. Ignore ePages schedulers on the database server (or change $EPAGES_CONFIG/Scheduler.conf manually):

  /var/epages/ini-config.sh -f /etc/default/epages6 -k EPAGES_IGNORE_CRON -v 1 -i

7. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:

  /srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi

3.1.2 Machine 2: Application Server, Java Server and Web Server

1. Install epages-release:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

2. Mount the previously shared file system (replace HOSTNAME by the hostname of machine 1):

  /var/epages/epages-fs.sh -mount HOSTNAME

3. Install the application server, java server, web server and request router:

  yum install epages-common
  yum install epages-appsrv epages-ascsrv epages-j epages-reqsrv epages-webconf

4. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:

  /srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi
  /srv/epages/eproot/bin/se-webnfs-context.sh --set --no-start
  /etc/init.d/epages6 start_java

3.1.3 Start ePages 6 Services

After successful installation first (order is important!) start ePages 6 first on the database server, then on the application/web server:

  yum install epages-setup

3.2 Custom Installation on Three Machines

3.2.1 Machine 1: Application Server and Java Server

1. Install epages-release:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

2. Edit /etc/sysconfig/epages6 as described in Customizable Installation Parameters. At least you must set following parameters:

You may set the default values for Red Hat by executing following code on command line:

  account=(GROUP apache GID 48 RUNUSER apache RUNUID 48)
  for i in 0 2 4 6 ; do
    sed -r 's,(EPAGES_INSTALL_WS_'${account[$i]}')=.*,\1='${account[$(($i+1))]}',' \
    /etc/sysconfig/epages6 > x && cat x > /etc/sysconfig/epages6
  done

3. Start /etc/sysconfig/epages6:

  . /etc/sysconfig/epages6

4. Share the installed system:

  /var/epages/epages-fs.sh -share

5. Install the application server:

  yum install epages-appsrv epages-j

6. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:

  /srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi

3.2.2 Machine 2: Database Server

1. Install epages-release:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

2. Mount the previously shared file system (replace HOSTNAME by the hostname of machine 1):

  /var/epages/epages-fs.sh -mount HOSTNAME

3. Install the database server:

  yum install epages-mysqld

4. Ignore ePages schedulers on database server (or change $EPAGES_CONFIG/Scheduler.conf manually):

  /var/epages/ini-config.sh -f /etc/default/epages6 -k EPAGES_IGNORE_CRON -v 1 -i

5. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:

  /srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi

3.2.3 Machine 3: Web Server and Request Router

1. Install epages-release:

  rpm -hiv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm

2. Mount the previously shared file system (replace HOSTNAME by the hostname of machine 1):

  /var/epages/epages-fs.sh -mount HOSTNAME

3. Install web server and request router:

  yum install epages-common
  yum install epages-webconf epages-reqsrv epages-ascsrv

4. Ignore ePages schedulers on web server (or change $EPAGES_CONFIG/Scheduler.conf manually):

  /var/epages/ini-config.sh -f /etc/default/epages6 -k EPAGES_IGNORE_CRON -v 1 -i

5. If SELinux is enabled (check this by running 'getsebool'), set the SELinux context for ePages:

  /srv/epages/eproot/bin/se-file-context.sh --set --perl-cgi
  /srv/epages/eproot/bin/se-webnfs-context.sh --set --no-start

3.2.4 Start ePages 6 Services

After successful installation first (order is important!) start ePages 6 first on the database server, second on the web server, third on the application server:

  yum install epages-setup

4 Starting and Stopping Services

Services may be started automatically (initlevel or rc scripts) or manually by the UNIX command:

  /etc/init.d/epages6 <start parameter>

Services may be stopped automatically (initlevel or rc scripts) or manually by the UNIX command:

  /etc/init.d/epages6 <stop parameter>

<parameter> defines the components of the application involved:

start parameter stop parameter controls
start_httpd stop_httpd web server (only if installed and configured with epages)
start_service stop_service application server
start_rr stop_rr request router
start_db stop_db database server
start_java stop_java includes mongod, epagesj, epages-solr, epages-solr-slave
start stop includes web, database, java and application server
show   show all running ePages processes

A manual start of an active service causes that service to stop and restart.

Starting the SSL web server works only if:

  1. The SSL certificate file for the web server is stored in $HTTPD_ROOT/conf/ssl.crt/server.crt (where $HTTPD_ROOT is for example /etc/httpd).
  2. The SSL certificate key file for the web server is stored in $HTTPD_ROOT/conf/ssl.key/server.key (where $HTTPD_ROOT is for example /etc/httpd).
The epagesj server is started as follows:

/etc/init.d/epagesj start

The solr server is started as follows:

/etc/init.d/epages-solr start

The solr slave server is started as follows:

/etc/init.d/epages-solr-slave start

Stop all servers with 'stop', show status of those servers with 'status'.

5 Patching ePages

ePages may be patched by yum/apt-get (as described below) or on command line. For detailed instructions and information on patching ePages 6, see ePages Patch Installation.

5.1 Red Hat: Patch ePages to the Latest Version

Patching ePages consists of three steps:

  1. Update epages-release.
  2. Update new RPMs with yum (epages-patch as last package!).
  rpm -hUv http://epages-software.de/repo/epages/6.17.41/epages-release.noarch.rpm
  yum -y update 'epages-[a-oq-z]*' --disablerepo epages-setup --enablerepo epages-update
  yum -y update epages-patch --disablerepo epages-setup --enablerepo epages-update

5.2 Debian: Patch ePages to the Latest Version

Patching ePages consists of three steps:

  1. Update epages-release.
  2. Update new DEBs with apt-get (epages-patch as last package!).
  curl -O http://epages-software.de/repo/epages/apt/epages-release_all.deb
  dpkg -i epages-release_all.deb
  apt-get -y update
  apt-get -y --only-upgrade install 'epages-[^pt]'
  apt-get -y install epages-patch

5.3 Log Files for Patches

If a patch is installed with YUM following log files are written (version 6_17_6 may vary):

/tmp/epages-patch_6_17_6-prerequisites.log
contains the output of the patch pre-installation commands
/tmp/epages-patch_6_17_6-install.log
contains the output of the patch installation commands

5.4 Installing ePages Patch Files Without Starting the Patch

If you want to install the patch files into $EPAGES_SHARED/Patches/patch_X_Y_Z/ but don't want to start the patch executing './patch.sh install', run:

  yum -y update 'epages-[a-oq-z]*' --disablerepo epages-setup --enablerepo epages-update
  EPAGES_DO_PATCH=0 yum -y update epages-patch --disablerepo epages-setup --enablerepo epages-update

Then after installing the patch files, run following commands to install the patch itself:

  cd $EPAGES_SHARED/Patches/patch_*
  ./patch.sh install

5.5 Customizing the ePages Patch Installation

  EPAGES_PREREQ_INI=/tmp/prerequisits.ini yum update epages-patch --disablerepo epages-setup --enablerepo epages-update

  EPAGES_PATCH_CONF=/path/to/Conf yum update epages-patch --disablerepo epages-setup --enablerepo epages-update

Read the prerequisits.ini file resp. the Conf/ directory provided by the patch to find customizable parameters.

5.6 Patching Distributed Installations

Section 'Patch a Distributed ePages Installation' in document ePages Patch Installation explains how to patch a distributed installation.

6 Removing ePages

You may remove a single server ePages installation by executing:

on Red Hat:

  yum remove @epages

on Debian:

  apt-get remove epages

Both commands do not remove ePages completely, changed files remain on the server. To remove ePages on a single server completely, run:

  /var/epages/delete-epages.sh

This removes all ePages RPMs/DEBs, files, users, and databases.

6.1 Removing Distributed Installations on Red Hat

1. Run on each server but the file server:

  /var/tmp/epages-fs.sh -unmount
  yum remove ...

... means all packages you installed with yum install ... before.

2. Run on the file server:

  /var/tmp/epages-fs.sh -unshare
  yum remove ...

... means all packages you installed with yum install ... before.

This does not remove ePages completely, changed files remain on the server. To remove ePages completely, run (first on each server but the file server, then on the file server):

  /var/epages/delete-epages.sh

7 YUM Troubleshooting

7.1 Metadata File Does Not Match Checksum

Problem:

  http://epages-software.de/repo/epages/6.16.3/i386/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum

Solution:

  yum clean all

7.2 Protected Multilib Versions

Problem:

  yum install krb5-libs.i686 openssl.i686 openssl098e.i686
  ...
  Error: Protected multilib versions: openssl-1.0.0-20.el6.i686 != openssl-1.0.0-10.el6_1.4.x86_64
  Error: Protected multilib versions: krb5-libs-1.9-22.el6_2.1.i686 != krb5-libs-1.9-9.el6_1.1.x86_64
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest

Solution:

  yum install --setopt=protected_multilib=false krb5-libs.i686 openssl.i686 openssl098e.i686

7.3 File Conflicts

Problem:

  yum install openssl.i686
  ...
  Transaction Check Error:
    file /usr/share/doc/openssl-1.0.0/README.FIPS from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64
    file /usr/share/man/man1/ca.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64
    file /usr/share/man/man1/openssl.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64
    file /usr/share/man/man1/req.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64
    file /usr/share/man/man1/x509.1ssl.gz from install of openssl-1.0.0-20.el6.i686 conflicts with file from package openssl-1.0.0-10.el6_1.4.x86_64

Solution 1 (preferred):

  yum -y install yum-utils
  mkdir -p download && cd download
  yumdownloader --resolve openssl.i686
  mv openssl-*.i686.rpm ..
  rpm -hUv *.rpm
  cd ..
  rpm -hiv --nodocs openssl-*.i686.rpm

Solution 2:

  rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n' 2>&1 | grep openssl
  # openssl-1.0.0-10.el6_1.4.x86_64
  rpm -e --justdb --nodeps openssl-1.0.0-10.el6_1.4.x86_64
  yum install krb5-libs.i686 openssl.i686 openssl098e.i686

7.4 TypeError: Unsupported Operand Type

Problem:

  yum groupinstall epages
  ...
  Total download size: 220 M
  Is this ok [y/N]: y
  Downloading Packages:
  Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
  errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 181, in main
  return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 386, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
  File "/usr/lib/python2.4/site-packages/6.17.41/__init__.py", line 1108, in downloadPkgs
  remote_size += po.size
  TypeError: unsupported operand type(s) for +=: 'int' and 'str'

Solution:

  yum -y install yum-utils
  mkdir -p download && cd download
  yumdownloader --resolve yum-metadata-parser
  rpm -hiv --force yum-metadata-parser-*.el5.i386


Copyright ePages GmbH 2016