IBM Support

db2prereqcheck fails checking Linux distribution

Troubleshooting


Problem

Running db2prereqcheck with the following message: [root@test]# cat db2prereqcheck.log.11569 DBT3501E The db2prereqcheck utility could not open the following file: "/etc/SuSE-release". ========================================================================= Checking DB2 prerequisites for DB2 database version "10.5.0.2" on operating system "Linux" Validating "Linux distribution " ... Required minimum operating system distribution: "SUSE"; Version:"10"; Service pack: "4". Actual operating system distribution Version: ""; Service pack: "".

Symptom

Suggestion: Provide the full text transcript of the error. Include any "Steps to reproduce" this issue.

Cause

This message is returned when the db2prereqcheck utility cannot determine the distribution level of the current Linux operating system. There are several reasons why the utility might be unable to determine the distribution level. For example, the utility might be unable to determine the distribution level if the utility cannot find or read the system file called /etc/issue.

Resolving The Problem

To enable the db2prereqcheck utility to determine the distribution level of the current Linux operating system, perform the following actions:

1. Ensure that the system file /etc/issue exists.
2. Ensure that the system file /etc/issue contains distribution level details, as follow:
linux:hotel51$ more /etc/issue

Welcome to SUSE Linux Enterprise Server 10 SP4 (x86_64) - Kernel \r (\l)

3. Run the db2prereqcheck command as a user who has read permission for the system file /etc/issue.

Note: If the file '/etc/issue' exists but there is no information to your distribution level (which means 2. from above) then you need to add a line which refers to your current Linux version.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Install\/Migrate\/Upgrade - Database","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.1;10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21681348