IBM / Db2

Db2 Universal Container deployment
Apache License 2.0
9 stars 34 forks source link

Database initialization problems #19

Open DmitryTovb opened 4 years ago

DmitryTovb commented 4 years ago

Hello,

We are trying to run the instance but getting the following error:

chmod: changing permissions of '/database': Operation not permitted () Previous setup has not been detected. Creating the users... () Creating users ... groupadd: Permission denied. groupadd: cannot lock /etc/group; try again later. groupadd: Permission denied. groupadd: cannot lock /etc/group; try again later. () Creating instance ... /var/db2_setup/include/db2_common_functions: line 50: /opt/ibm/db2/V11.5/instance/db2icrt: Permission denied (!) There was a problem configuring the instance. Copying over logs and traces to /database/config ... mkdir: cannot create directory '/database/config/db2icrt': File exists cp: cannot stat '/tmp/db2*': No such file or directory

irinadel commented 4 years ago

@DmitryTovb Please explain your setup - where are you deploying to and what storage are you using. If using NFS, are you able to toggle your NFS server export settings - make sure that you have no_root_squash as one of the options.