SAP Software on UNIX: OS Dependencies 6.20

[] []

Symptom

***********************************************************************
* *
* SAP Software on UNIX: OS Dependencies SAP Web AS 6.20 *
* *
***********************************************************************

Reason and Prerequisites

Problems discovered after publication of the documentation.
Solution

DO NOT CHANGE OR ADD INFORMATION TO THIS NOTE !
If you want to contribute something, please send a mail to:
Klaus Billig klaus.billig@sap.com

Contents

Date Section Description
———————————————————————–
10/JAN/05 1 AIX: Error message “PASSWORD EXPIRED”
21/OCT/04 1 AIX 5.3: SAP system installation on raw devices
23/SEP/04 1 AIX: Installation on AIX 5.3 – adapt /etc/services file
02/APR/04 5 HP-UX: maxssiz_64bit 8.388.608 (new value in
guide for Web AS 6.20)
02/MAR/04 5 HP-UX 10.20, 11.X : Error message “File name too long”
when accessing files on CDROM
02/MAR/04 5 HP-UX 64: Default OS installation does not create
a few required X-library symbolic links
16/FEB/04 5 HP-UX: J2EE server can not start
30/JAN/04 1 Problem establishing new connections socket on AIX
02/OCT/03 3 Compaq Tru64 UNIX V5.1: Upgrade C++ Runtime library
18/JUN/03 7 Sun Solaris 9: Relevant patches
15/MAY/03 5 HP-UX/IBM DB2 UDB for UNIX and Windows Version 8
03/MAR/03 5 HP-UX: ‘Requirements Checklist’ –> C++ Runtime Env.
24/JAN/03 5 HP-UX: Required and recommended patches for Java
23/JAN/03 0 ‘Requirements Checklist’: LDAP Support
22/JAN/03 0 ‘Requirements Checklist’: Released JDK versions
30/DEC/02 7 Solaris: Checking and Modifying the UNIX Kernel
19/DEC/02 9 Linux: Checking the Linux Kernel
13/DEC/02 7 Sun Solaris 9: Installation directory for JDK 1.3.x
15/NOV/02 1 AIX: Script to prevent file/directory name conversion
12/SEP/02 5 HP-UX: Kernel param. already larger than SAP proposal
06/SEP/02 6 ReliantUNIX: Check. and Mod. the UNIX Kernel – CPULIM
14/AUG/02 1 AIX: Restriction to AIX 5.1 not necessarily valid
10/JUL/02 5 HP-UX: Setting up File Systems using LVM
29/APR/02 1 AIX: Requirements Checklist: Wrong section for JDK
24/APR/02 5 HP-UX: Checking and Modifying the UNIX Kernel
22/MAR/02 5 IBM DB2 UDB for UNIX and Windows: Kernel param.
22/MAR/02 9 IBM DB2 UDB for UNIX and Windows: Kernel param.
07/NOV/01 6 ReliantUNIX: C++ Runtime System V 2.0C10 required
23/AUG/01 9 Linux with Kernel 2.4.x: RAM size 0 calculated
17/AUG/01 1 AIX: C Set ++ for AIX Application Runtime,
version >= 5.0.2.0 required
12/JUL/01 9 Linux: Exporting dirs via NFS with root permissions
20/JUN/01 3 Compaq Tru64 UNIX: Kernel Parameter for Tru64 5.x
17/NOV/00 3 Compaq Tru64: Change swap mode
24/OCT/00 1 AIX: Creating UNIX Groups and Users
21/JAN/00 1 AIX: Memory larger than 2 GB on AIX
11/NOV/99 9 Linux: Do not install MySQL on R/3 servers
14/DEC/98 5 HP-UX 11.0: saposcol exits after startup
22/OCT/98 6 ReliantUNIX: Check for libmesh.so
19/MAY/98 1 AIX: correct the path in .login
05/MAY/98 3 Compaq Tru64: Add /usr/sbin to path of adm
06/FEB/98 7 Solaris: Creating OS user fails – run pwconv
08/DEC/97 1 AIX: C Set ++ for AIX Application Runtime 3.1.4.8 req.
30/SEP/97 1 AIX/SP: Create users on the control workstation
09/MAY/97 6 ReliantUNIX: Wrong permissions for CD
10/FEB/97 7 Solaris: ln -s en_US en – note 39739
30/JAN/97 2 AIX with PowerPC 604: Time specification incorrect
30/AUG/96 7 Solaris: First character of a copied filename missing
Sections of this note are:
0 General Information
1 AIX
(2 NCR)
3 Compaq Tru64 UNIX
(4 DG/UX)
5 HP-UX
6 ReliantUNIX
7 Solaris
(8 IBM NUMA-Q)
9 Linux

=======================================================================
0 General Information

See SAP Service Marketplace (http://service.sap.com/instguides -> SAP NetWeaver -> SAP NetWeaver Components (before SAP NetWeaver 2004) -> SAP Web Application Server -> Release 6.20) for updated versions of the documentation ‘SAP Software on UNIX: OS Dependencies’. The document version of the Master Guide is listed on the front page.
The most current version of the documentation available in SAP Service Marketplace isV 1.10.
Entries of this SAP Note that were added/corrected in the documentation are marked as ‘added w/ x.yz’.
NOTE:
For information on downloading files from sapserv, see SAP Note 19466.
—————————————————
‘Requirements Checklist’: LDAP Support
The listed link to SAP Service Marketplace (http://service.sap.com/systemmanagement –> Directory Access Services) is no longer valid.
—————————————————
‘Preparing the SAPinst Inst.’: Released JDK versions
In section ‘Preparing the SAPinst Installation’, the listed path to information about released JDK versions in SAP Service Marketplace is no longer correct. Instead, you can find released JDK versions on SAP Service Marketplace as follows:
1. Go to http://service.sap.com/pam2. On the right-hand panel, choose SAP NETWEAVER –> SAP NetWeaver components (before SAP NW 04) –> SAP Web AS 6.203. Choose tab strip ‘JSE Platforms’

=======================================================================
1 AIX

—————————————————
AIX only: Error message “PASSWORD EXPIRED”
Symptom:
After a new user has been created or a user password has been set the users password has expired immediately. This causes an error message “PASSWORD EXPIRED” to come up during the installation.
Prerequisites:
This happens only on AIX if the maximum password age (maxage) attribute for the user has a value different from 0.
Details:
The installation sets the timestamp for the last password change to 1970-01-01, 00:00 Coordinated Universal Time when it sets the password. This causes the password to have expired immediately if the maxage attribute is not 0 (which means that the password does not expire at all).
Solution:
Set the maximum password age (maxage) attribute of each user the installation creates to 0 as soon as the user has been created. This can be done using ’smit’.

————————————————
AIX 5.3: SAP system installation on raw devices If you are planning to set up your SAP systems on raw devices, you must also install the following APARs on top of AIX 5.3:
Apar: IY65454Apar: IY63076

Both APARs will be part of AIX 5.3 ML1 and higher.
Possible problems during change of AIX user attributes:
Before starting your SAP installation, please verify, that the file /etc/security/user has the following permissions:
-rw-r—– (and is owned by user “root” and group “security”).
In case you need to change this, use chmod 0640 /etc/security/user.

————————————————
AIX: Installation on AIX 5.3 – adapt /etc/services file
Customers trying to install SAP products on AIX 5.3 based systems (only complete fresh installs of AIX 5.3 are affected; systems, that were migrated form older AIX releases to AIX 5.3 will not see these problems)should edit /etc/services before they start the installation of the SAP product.
For the first time in AIX history AIX 5.3 comes with a “complete” /etc/services file, containing all entries of all registered services. Unfortunately SAP services collide with services of other software products.
To make sure, that SAPINST does not run into errors, you have to commentout all entries in /etc/services, that collide with the general SAP ports before starting SAPINST. If installing SAP instance with instance number xx, customers should comment out the entries refering to the following ports:
- 32xx
- 33xx
- 36xx
- 48xx
In case customers forgot to comment out the entries, SAPINST will run into an error, complaining about “port already in use”. In this case, customers can open another window, edit /etc/services as described above, save the file and just “Retry” the SAPINST step, that failed. Installation will then continue without any problem.

——————————————
Max. JVM Heap Size for AIX JDK 1.3.1
How to increase the maximum java heap size above 1GB
Symptom:
Need larger JVM heap size, or Java Out of Memory Error on AIX JDK 1.3.1
Solution:
See related SAP Notes 667711 and 667841.
—————————————————
Problem establishing new connections socket on AIX
Symptom:
This problem may manifest itself in a
variety of places in an R/3 environment. Typically, existing connections will continue to function,but new connections will fail e.g the message server may cease to accept new connections and preventing new logins via logon groups.
Solution:
See related SAP Note 646246.
————————————————
AIX: Script to prevent file/directory name conversion
For the operating IBM AIX, it has been noticed that an unwanted automatic conversion of all file and directory names on CDs occurs, changing all capital letters to small ones. Due to this conversion, the installation tool can no longer find the files required for the installation procedure.
SOLUTION:
Convert the file names and directory names to uppercase. To do this, use the following script:
CAUTION:
Do not copy SAP J2EE/Java CDs, as these CDs contain mixed-mode file names. Instead, perform the installation directly from these CDs.
#!/bin/sh
# Shell script to copy the CD to a target directory with uppercase
# letters.
echo “Mountpoint of CD? \c”; read CD
echo “Target Directory? \c”; read DIR
echo “Waiting ….”
# Activate the following line to see the commands excecuted
set -x
cd $CD
cp -r * $DIR
cd $DIR
chmod -R 777 *
cd $DIR
for j in `find $DIR -type d -depth -print`
do
cd $j
for i in `ls`
do
mv $i `echo $i | tr “[a-z]” “[A-Z]“`
done
done
set +x
Enter the complete path name of the CDs (for example /sapcd1) for the mountpoint and likewise enter the complete path name for the target directory.
Afterwards, you can use the directory as a “mountpoint” for the corresponding CD.
CAUTION – AIX 5L with Oracle 9.2.x only:
After you have copied the SAP Kernel CD, rename the file ORAVOLATILEDATABASEPARAMETERS.XML to OraVolatileDatabaseParameters.xml if it exists in the directory / on the CD.
————————————————
AIX: Restriction to AIX 5.1 not necessarily valid
The restriction contained in the documentation in section ‘AIX: OS OS-Dependent Installation Steps’ is not valid for all SAP components based on SAP Web AS 6.20. To check what OS version is released for your SAP component, see SAP Service Marketplace at:
http://service.sap.com/platforms
————————————————
AIX: Requirements Checklist: Wrong section for JDK (added w/ 1.05)
In the documentation in section ‘AIX: Requirements Checklist’, ignore the section ‘The SAP J2EE Engine and the … as described in this section.’.
————————————————
AIX: Creating UNIX Groups and Users
If using large file enabled filesystems, the field Soft FILE size should be set to -1 (unlimited).
————————————————
AIX: Memory larger than 2 GB on AIX
See the following SAP Notes for more information concerning the configuration of AIX hosts for R/3:
146528 Configuration of R/3 hosts with much RAM
95260 Many shared memories possible as of AIX 4.2.1
95454 A lot of extended memory on AIX
128935 AIX 4.3, large memory configuration
————————————————
AIX: C Set ++ for AIX Application Runtime, version >= 5.0.2.0 required
Before the installation:
Check if the C Set ++ is installed with the command:
lslpp -l xlC.rte
If the C Set ++ is not installed or is not of version 5.0.2.0 or
higher, download it from the IBM AIX Fix Distribution WWW sites in
your country, or from the USA site
http://techsupport.services.ibm.com/rs6k/fixdb.html
and install it by using smit (-> Software) as user root.
If you also need the base level fileset (xlC.rte.5.0.0.0), go to ftp://ftp.software.ibm.com/aix/products/ccpp/
and download vacpp5_runtime.tar.Z.
————————————————
After the installation, correct the path in .login
Problem: On AIX, .login is executed after .cshrc when a user logs on.
Therefore, the path from .cshrc is overwritten and SAP tools
that are located in the exe directory are not found.
Solution: For all users that have been created during the installation
(adm, database owner), edit the .login file by
adding $path:
before: set path = ( /usr/bin …
after: set path = ( $path /usr/bin …
————————————————
AIX with PowerPC 604 only:
Time specifications may be incorrect.
Before the installation, please apply Note 66479.
———————————————
Only AIX on RS 6000 SP:
If the centralized administration facility of an SP is active, users should be created on the control workstation and not on the nodes holding the instances.

=======================================================================
3 Compaq Tru64 UNIX

—————————————————
Compaq Tru64 UNIX V5.1: Upgrade C++ Runtime library
Before the installation/upgrade on Compaq Tru64 UNIX V5.1, make sure to upgrade the C++ Runtime library according to SAP Note 435378.
———————–————————–
Compaq Tru64 UNIX: Kernel Parameter for Tru64 5.x
See SAP Note 356370 for latest Compaq Tru64 5.x kernel parameter settings.
———————–————————–
Compaq Tru64: Change swap mode
Change the swap mode from ‘intermediate’ to ‘deferred’ as described in SAP Note 97179.
———————–————————–
Compaq Tru64 UNIX
Add /usr/sbin to the path of the user adm in the file
.cshrc, .login, .profile in the user’s home directory. Enter the
following command(s) at the end of .cshrc, .login, .profile:
a) If using a csh, enter:
set path=(/usr/sbin $path)
b) If using a sh, enter:
path=/usr/sbin:$path
export path

=======================================================================
5 HP-UX

———————–<,D039715 02/APR/2004>————————-
HP-UX: maxssiz_64bit 8.388.608 (new value in OS dependencies guide for Web AS 6.20)
Section: HP-UX: Checking and Modifying the UNIX Kernel :
New entry in parameter table:
Process Management | maxssiz_64bit| Max.user-stack segment size in bytes
| 8.388.608
———————–————————-
HP-UX 10.20, 11.X : Error message “File name too long” when accessing files on CDROM
Solution:
Probably the CD contains the Rock Ridge Extensions to ISO 9660, so it is
best to access it using the pfs_mount command. Details can be found in
the man pages of pfs_mount(1M), pfs_mountd(1M) and pfsd(1M).
This should work in the vast majority of cases:
# nohup pfs_mountd &
# nohup pfsd &
# pfs_mount -o soft /dev/dsk/c?t?d? (mountpoint)
———————–————————-
HP-UX 64: Default OS installation does not create a few required X-library symbolic links:
Due to a known HP bug (Doc.id. KBRC00003627), the default HP-UX 64
operating system installation does not create a few required X-library
symbolic links. These links must be created manually before starting
the Oracle9i Release 2 installation. You must have superuser privileges
to run these commands.
$ su – root
$ cd /usr/lib
$ ln -s /usr/lib/libX11.3 libX11.sl
$ ln -s /usr/lib/libXIE.2 libXIE.sl
$ ln -s /usr/lib/libXext.3 libXext.sl
$ ln -s /usr/lib/libXhp11.3 libXhp11.sl
$ ln -s /usr/lib/libXi.3 libXi.sl
$ ln -s /usr/lib/libXm.4 libXm.sl
$ ln -s /usr/lib/libXp.2 libXp.sl
$ ln -s /usr/lib/libXt.3 libXt.sl
$ ln -s /usr/lib/libXtst.2 libXtst.sl
———————–————————-
HP-UX: J2EE server can not start
See related SAP Note 534867 j2ee server on HP-UX.
———————–————————-
HP-UX/IBM DB2 UDB for UNIX and Windows Version 8
Additionally to the kernel parameters listed in the documentation ‘SAP Software on UNIX: OS Dependencies’, also set the message parameter msgmax (maximum message size) to 65.535.
———————–————————-
HP-UX: ‘Requirements Checklist’ –> C++ Runtime Env.
Make sure that the latest patch of C++ runtime libraries is installed. Contact your HP Response Center for more information.
———————–————————-
HP-UX: Required and recommended patches for Java
Before any installation or upgrade, make sure to check the following Internet address for required and recommended patches for Java for HP-UX:
http://www.hp.com/products1/unix/java/patches/index.html
———————–————————-
HP-UX: Kernel param. already larger than SAP proposal
If a kernel value is already larger than the one suggested under SAP Requirements, there is no reason to reduce it regarding the operation of your SAP system. To prevent a reduction in SAP application performance, it is nevertheless recommended to analyse the exact meaning of such a parameter (and, if required, to reduce the parameter). You can find information about HP-UX kernel parameters at: http://docs.hp.com/hpux/onlinedocs/939/KCParms/ KCparams.OverviewAll.html
———————–————————-
HP-UX: Setting up File Systems using LVM
In section ‘HP-UX: Setting up File Systems using LVM’ of the documentation ‘SAP Software on UNIX: OS Dependencies’, use the following commands to create the file systems sapdata1 to sapdata:
HFS:
newfs -L -i 20000 -F hfs -b 8192 -f 8192 -m 1 /dev//rJFS:
newfs -F vxfs -b 8192 /dev//r

———————–————————-
HP-UX: Checking and Modifying the UNIX Kernel (added w/ 1.05)
In addition to the kernel parameters listed in section ‘HP-UX:
Checking and Modifying the UNIX Kernel’, set the kernel
parameters as described in related SAP Note 534867.
Otherwise, startup problems of the SAP J2EE Engine may occur.
———————–————————-
IBM DB2 UDB for UNIX and Windows: Kernel param.
For IBM DB2 UDB for UNIX and Windows on HP-UX, correct the following kernel parameters in the documentation ‘SAP Software on UNIX: OS Dependencies’ as follows:
semmnu 1024
shmmni 300
nflocks 8192
msgmni 256
semmns >=1024
semmni >=520
shmseg >=200
maxuprc 400
maxdsiz_64bit 17.179.869.184
———————–————————-
If the process saposcol exits immediately after startup,
see note 127404.

=======================================================================
6 ReliantUNIX

———————————————–
ReliantUNIX: Check. and Mod. the UNIX Kernel – CPULIM
For the ReliantUNIX parameters HCPULIM and SCPULIM, use a SAP Kernel requirement of 0×7FFFFFFFFFFFFFFF.
———————————————–
ReliantUNIX: C++ Runtime System V 2.0C10 required
Before the installation, check if the C++ Runtime System is installed with the command:
pkginfo -l CDS++RTS
If the C++ RTS is not installed or is not of version 2.0C10 or higher,
install it from the CD-DEV-MI CD-ROM.
This CD cannot be obtained from SAP. It is delivered with your hardware,and must be ordered from your local ITS Support if lost.
————————————————
If you experience read or fork errors while trying to access a CD-ROM,
the access permissions for the CD-ROM may be wrong.
Mount the CD-ROM as follows:
mount -F hs /dev/ios0/sdisk0…s0
cdmntsuppl -u root -g other -F 0555

=======================================================================
7 Solaris

—————————————————
Sun Solaris 9: Relevant patches
See SAP Note 550585 for patches that are relevant for Sun Solaris 9.
—————————————————
Solaris: Checking and Modifying the UNIX Kernel
The given values in section “Solaris: Checking and Modyfying the UNIX Kernel” of the documentation areNOTcorrect. For correct Solaris kernel parameter, refer to:
SAP Note 113676 (IBM DB2 UDB for UNIX and Windows)SAP Note 395438 (all other databases)

—————————————————
Sun Solaris 9: Installation directory for JDK 1.3.x
Sun Solaris 9 (SunOS 5.9) has already JDK 1.4.x installed in the directory /usr/j2se. As SAP components still require JDK 1.3.x, do not use this default directory for the JDK 1.3.x installation. Also make sure that the environment variable JAVA_HOME contains the path to the JDK 1.3.x. Otherwise, a deployment error may occur (see SAP Note 540264).
————————————————
The following changes apply to the installation documentation “SAP Software on UNIX: OS Dependencies” – Release 6.20
Section 7.4 “Solaris: Checking and Modyfying the UNIX Kernel”, page 81, note paragraph: DB2 UDB for UNIX and Windows only:
The given values in this note paragraph areNOTcorrect. For the correct Solaris kernel parameter, refer toSAP Note 113676.
————————————————
Please refer to note 39739 if there are problems with missing text
(setlocale on Solaris).
————————————————
————————————————
If your CD mount point is softlinked, the following error may occur:
If you copy data from CD to disk, the first charater of the copied
filename is missing.
Solution: Find out the CD mountpoint:
/bin/sh; cd ; pwd ; cd
Now use the indicated CD’s current directory when specifying the
CD mount point.
————————————————
If creating an OS user fails, the reason might be an inconsistency
of the files /etc/passwd and /etc/shadow.
Solution:
Update the password files: As user root, run the tool pwconv

=======================================================================
9 Linux

———————–————————-
Linux: Checking the Linux Kernel
Replace section ‘Linux: Checking the Linux Kernel’ in the documentation with the following text:
Normally, modifying the Linux Kernel is not necessary as long as a Linux kernel version certified by SAP is used. The following command should report a Linux kernel version certified by SAP (see SAP Note 171356): uname -a
NOTEBOX:
IBM DB2 UDB for UNIX and Windows only:
Adapt the kernel parameter msgmni as follows:
- In file /etc/sysctl.conf, add the line kernel.msgmni=1024.
- Activate the modified kernel parameters with the following command:
sysctl -p
———————–————————-
IBM DB2 UDB for UNIX and Windows: Kernel param.
For IBM DB2 UDB for UNIX and Windows on Linux, set the kernel
parameter msgmni to 1024 as follows:
1. Add the line ‘kernel.msgmni=1024′ to the file /etc/sysctl.conf.2. Activate the changed kernel parameters with the following command:
sysctl -p

———————————————–
Linux: Exporting dirs via NFS with root permissions
To export directories on Linux with root permissions, use the option no_root_squash. For security reason, this option should be used during installation only.
———————————————
Linux: Relevant SAP Note for installation on Linux
Before installing on Linux, see SAP Note 171356.
———————————————–
Linux: Do not install MySQL on SAP servers
Assure that MySQL is not installed on SAP servers as this database uses port 3306. For example, MySQL is part of Red Hat Linux Distributions.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment