Install WebSphere in RedHatEnterpriseLinux5.4

Source: Internet
Author: User
Tags websphere application server
WebSphere is an IBM software platform. It includes on-demand Web applications that write, run, and monitor around the clock industrial intensity and the entire middleware infrastructure required for cross-platform and cross-product solutions, such as servers, services, and tools. WebSphere provides reliable, flexible, and robust software. WebSphere is a modular platform based on open standards supported by the industry. You can use trusted and persistent interfaces to insert existing assets into WebSphere and continue to expand as needed

WebSphere is an IBM software platform. It includes on-demand Web applications that write, run, and monitor around the clock industrial intensity and the entire middleware infrastructure required for cross-platform and cross-product solutions, such as servers, services, and tools. WebSphere provides reliable, flexible, and robust software.

WebSphere is a modular platform based on open standards supported by the industry. You can use trusted and persistent interfaces to insert existing assets into WebSphere and continue to expand your environment as needed. WebSphere can run on many platforms, including Intel, Linux, and z/OS.

WebSphere is the most important software platform in the On-Demand e-commerce era. It enables your company to develop, deploy, and integrate new-generation e-commerce applications, such as B2B e-commerce, and supports commercial applications from simple web content publishing to enterprise transaction processing.

WebSphere has changed the relationship between business managers, partners, and employees. For example, you can use it to do the following:

Creating efficient e-commerce sites improves the quality and quantity of online transactions. Extend the application to the associated mobile devices so that sales staff can provide customers with more convenient and faster services. Integrate existing applications and provide automatic and simple business processes.

Possible problems:

1:

Today, websphere6.1 is installed on RHEL5, but it does not respond when you run install,

Finally, we found that linux has less than one package:
Compat-libstdc ++-33-3.2.3-61.i386.rpm
After packing the package, the installation interface is finally displayed.


In the/server Directory of rhel5 cd2, run the following command
Rpm-ivh libXp-1.0.0-8.i386.rpm
Rpm-ivh openmotif-2.3.0-0.3.el5.i386.rpm
Rpm-ivh compat-db-4.2.52-5.1.i386.rpm --> this package does not exist on my CD.
Rpm-ivh compat-gcc-34-3.4.6-4.i386.rpm
Rpm-ivh compat-libf2c-34-3.4.6-4.i386.rpm
Rpm-ivh compat-gcc-34-g77-3.4.6-4.i386.rpm
Rpm-ivh compat-gcc-34-c ++-3.4.6-4. i386.rpm
Rpm-ivh compat-libstdc ++-296-2.96-138.i386.rpm
Rpm-ivh compat-libstdc ++-33-3.2.3-61.i386.rpm

2

I. Problems
My colleague said that WebSphere Applicaiton Server 6.1 cannot be installed on ReHat5.3. Directly run the install script without any response. The project team on the demand side of the environment is very tight.
I have read about the hardware environment. The operating system is Red Hat Enterprise Linux Server release 5.3 (Tikanga), and the Kernel is Kernel 2.6.18-128. el5xen on an x86_64. In the software environment, you have created new users and user groups was and was. The purpose is obvious. You do not want to use Super User root, but create another independent user named WAS6.1, this helps avoid unpredictable high risks brought by Super Users and clarify the division of responsibilities between hardware and software maintenance.

The previously installed WAS5.1 is 32-bit, and WAS6.1 is also 32-bit. I have not installed the 64-bit WAS6.1. Of course, the hardware is 64-bit. This is a new challenge for me. I am also a skilled engineer in assembling WAS. It should not be a problem. As a result, I used to run the install script directly, which is the same as that of my colleagues. Is it my character? Impossible.

Check the jre of the installation package first. Java-version cannot run. The WAS6.1 installation package throws the following error message:
[Root@www.linuxidc.com bin] #./java-version
JVMJ9VM011W Unable to load j9jit23:/IBM/soft/C88TFML/JDK/jre. pak/repository/package. java. jre/java/jre/bin/libj9jit23. so: cannot restore segment prot after reloc: Permission denied
JVMJ9VM011W Unable to load jclscar_23:/IBM/soft/C88TFML/JDK/jre. pak/repository/package. java. jre/java/jre/bin/libjclscar_23.so: cannot restore segment prot after reloc: Permission denied
Cocould not create the Java virtual machine.

Unable to load libj9jit23. so and libjclscar_23.so, the license is denied and the Java Virtual Machine cannot be created.

Ii. Solution
Is there a problem with the jre of the installation package? It seems unlikely that I use a 64-bit ReHat5.0 or later version for the first time. Therefore, I first doubt whether the operating system supports mines and must be bypassed. As a result, the hardware requirements on the patch release notes on the IBM official website are specifically pointed out, and the symptoms are exactly the same.
Http://www-01.ibm.com/support/docview.wss? Uid = swg21264941
Problems might occur when you attempt to run WebSphere Application Server on the Red Hat Enterprise Linux Version 5 operating system
Te (troubleshooting)

Problem (Abstract)
You might have problems if you attempt to run IBM? WebSphere? Application Server versions 6.0 or 6.1 on the Red Hat Enterprise Linux? Version 5 operating system.

For example, you might receive an error message such as the following:

Pak/repository/package. java. jre/java/jre/bin/classic/libjvm. so: cannotrestore segment prot after reloc: PPermission denied

Cause
If you want to use WebSphere Application Server version 6.0 on the Red Hat Enterprise Linux Version 5 operating system, you must have WebSphere Application Server version 6.0.2.21 or later and IBM Software Development Kit (SDK) version 1.4.2 Service Release 8 or later installed.

If you want to use WebSphere Application Server version 6.1 on the Red Hat Enterprise Linux version 5 operating system, you must have WebSphere Application Server version 6.1.0.9 or later and ibm sdk version 1.5 Service Release 5 or later installed.

In addition, the Red Hat Enterprise Linux version 5 default policy for security-enhanced Linux (SELinux) prevents WebSphere Application Server versions 6.0 and 6.1 from installing and running properly.

Resolving the problem
Complete the following steps:

1. Disable SELinux on the Red Hat Enterprise Linux version 5 operating system before installing WebSphere Application Server versions 6.0 or 6.1. For more information, see the Red Hat Enterprise Linux Deployment Guide.
2. After installing WebSphere Application Server versions 6.0 or 6.1, perform. one of the following upgrade actions:
* For WebSphere Application Server version 6.0, install WebSphere Application Server version 6.0.2.21 or later and ibm sdk version 1.4.2 Service Release 8 or later on your system. these updates are available through the following Web site: Recommended fixes for WebSphere Application Server.
* For WebSphere Application Server version 6.1, install WebSphere Application Server version 6.1.0.9 or later and ibm sdk version 1.5 Service Release 5 or later on your system. these updates are available through the following Web site: Recommended fixes for WebSphere Application Server.

The reason is as follows:
If you want to use WAS6.0 and WAS6.1 for operating systems later than RHEL version 5, you must use WAS6.0.2.21 or later and install IBM SDK1.5.5 or later.
In addition, the default security enhancement (SELinux) policy of Red Hat Enterprise Linux version 5 blocks the correct installation and running of WAS versions 6.0 and 6.1.

Complete the following steps to solve the problem:
1. the right remedy: Disable SELinux of Red Hat Enterprise Linux version 5 before WAS6.0 or 6.1 is installed. For more details, refer to the Red Hat Enterprise Linux development guide ".
2. After WASWAS6.0 or 6.1 is installed, execute one of the following upgrade actions:
For WAS6.0, install WAS 6.0.2.21 and later on your system and install IBM SDK1.4.2.8 and later.
For WAS6.1, install WAS 6.1.0.9 and later on your system and install IBM SDK1.5.5 and later.

Iii. Positive Solution
The question is, how to disable SELinux, and how to search and view the Red Hat Enterprise Linux development guide ". Throw the following reference:
Deployment_Guide-en-US, the so-called "Development Guide ":
Http://www.RedHat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/index.html
To Enable or Disable SELinux, see Chapter 44.2.7. Enable or Disable SELinux in the Development Guide ":
Http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Deployment_Guide-en-US/sec-sel-enable-disable.html
There are two ways to disable SELinux:
1. edit/etc/sysconfig/selinux in command mode and change SELINUX = permissive to SELINUX = disabled. Note that after SELINUX or SELINUXTYPE is modified, the modification takes effect only when the machine is restarted next time.
[Root @ host2a ~] # Cat/etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX = can take one of these three values:
# Enforcing-SELinux security policy is enforced.
# Permissive-SELinux prints warnings instead of enforcing.
# Disabled-SELinux is fully disabled.
SELINUX = permissive
# SELINUXTYPE = type of policy in use. Possible values are:
# Targeted-Only targeted network daemons are protected.
# Strict-Full SELinux protection.
SELINUXTYPE = targeted

# SETLOCALDEFS = Check local definition changes
SETLOCALDEFS = 0

2. Modify SELinux in Gui Mode
Note: The administrator permission is required to modify SELinux in Gui mode. The procedure is as follows.
(1). On the System menu, point to Administration and then click Security Level and Firewall to display the Security Level Configuration dialog box.
(2). Click the SELinux tab.
(3). In the SELinux Setting select either Disabled, Enforcing or Permissive, and then click OK.
(4). If you changed from Enabled to Disabled or vice versa, you need to restart the machine for the change to take effect.
Changes made using this dialog box are immediately reflected in/etc/sysconfig/selinux.

The installation script of the WAS installation package finally runs, and the installation interface jumps out. Kung fu is really worth it.

Iv. Review
Finally, in terms of hardware requirements and software requirements (Operating Systems), I will summarize how SELinux can solve problems in scenarios where WAS6.1 is blocked from normal installation as follows:
1. The hardware is 64-bit, the operating system is 64-bit, and the operating system is RHEL 5.0 +.
2. No longer use superusers, but use non-root users and user groups to install WAS6.1.
3. How to disable SELinux so that the WAS6.1 graphical installation interface can correctly start and run the installation process smoothly.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.