Hi,
- After downloading the image:
C:\Users\IgorMonteiroVieira\Desktop> docker pull store/ibmcorp/db2_developer_c:11.1.3.3a-x86_64
11.1.3.3a-x86_64: Pulling from store/ibmcorp/db2_developer_c
Digest: sha256:e456ab63150d473d7ee5aac25fcea33c928a04ad168cb88d0618e3185f23e388
Status: Image is up to date for store/ibmcorp/db2_developer_c:11.1.3.3a-x86_64
- I ran:
C:\Users\IgorMonteiroVieira\Desktop\Cliente\IBM Cloud Day>docker run -h db2sever_ibmcloudday --name db2server2 --detach -p 50000:50000 -p 55000:55000 --env-file set_env.txt -v C::/database store/ibmcorp/db2_developer_c:11.1.3.3a-x86_64
df33f941121d2eadb1c9ec63d4eb48cb185820dba37d63afa42f0ab7e6a7d91e
- I ran:
C:\Users\IgorMonteiroVieira\Desktop\Cliente\IBM Cloud Day>docker logs -f db2server2
(*) Previous setup has not been detected. Creating the users…
(*) Creating users …
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
(*) Creating instance …
DB2 installation is being initialized.
The instance home directory “/database/config/db2inst2” is invalid because it
is not owned by the user “db2inst2”. Change the ownership of the home directory
to be owned by the instance user and its primary group.
A major error occurred during the execution that caused this program to
terminate prematurely. If the problem persists, contact your technical service
representative.
For more information see the DB2 installation log at “/tmp/db2icrt.log.75”.
DBI1446I The db2icrt command is running.
DBI1264E This program failed. Errors encountered during execution were
written to the installation log file. Program name:
db2icrt. Log file name: /tmp/db2icrt.log.75.
Explanation:
This message is returned when some processes and operations have failed.
Detailed information about the error was written to the log file.
User response:
Contact IBM support to get assistance in resolving this issue. Keep the
log file intact as this file is an important reference for IBM support.
Related information:
Contacting IBM Software Support
(!) There was a problem configuring the instance. Copying over logs and traces to /database/config …
mkdir: cannot create directory ‘/database/config/db2icrt’: File exists
_______ D B 2 S u p p o r t ______
This program generates information about a DB2 server, including information
about its configuration and system environment. The output of this program
is stored in a file named ‘db2support.zip’. If possible, run this program
while the problem is occurring.
For the most complete output, this utility should be invoked with root
authority. Users with more limited privileges on the system can run this tool,
however, some of the data collection actions will result in reduced reporting
and reduced output.
Output file is “/database/config/db2icrt/db2support.zip”
Time and date of this collection: 2018-07-11-17.22.48.694224
Creating directory /database/config/db2icrt/DB2SUPPORT
Starting collection on host db2sever_ibmcloudday
Creating directory /database/config/db2icrt/DB2SUPPORT/db2sever_ibmcloudday_IIH
Collecting resources group information
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/lssam
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/lsrsrc
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/lsrsrc
Collecting user identity information
Collecting current process information
Collecting active interprocess communications facilities information
Collecting system information
Collecting detailed data on system and hardware errors
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/errpt
Collecting registry contents
Collecting GPFS information
The following file was not found or could not be executed during diagnostic
data collection: /usr/lpp/mmfs/bin/gpfs.snap
Collecting configuration, log and trace information for RSCT
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/ctsnap
Collecting information about installed DB2 products
Collecting information about state of db2 instance
Collecting information about DB2 product prerequisites
Collecting /etc/services
Collecting /tmp/db2icrt.trc.75
Collecting /tmp/db2icrt.log.75
Collection on host db2sever_ibmcloudday completed
Compressing files in /database/config/db2icrt/DB2SUPPORT directory
Collecting /database/config/db2icrt/db2support.log
Collecting db2support.out
db2support is now complete.
An archive file has been produced: “/database/config/db2icrt/db2support.zip”
“15” warnings found during db2support collection
C:\Users\IgorMonteiroVieira\Desktop\Cliente\IBM Cloud Day>
Please, can you help us to determine how to solve the following problem?
The instance home directory “/database/config/db2inst2” is invalid because it
is not owned by the user “db2inst2”. Change the ownership of the home directory
to be owned by the instance user and its primary group.