DB2报错:SQL1043C Database Services could not initialize the system catalogs. Error "-968" was returned.

我看了一些资料:原来是file system is full,解决方法:是增加文件系统

Question

The following error occurs when running wdbconfig.sh
db2 CREATE DATABASE tec USING CODESET UTF-8 TERRITORY US SQL1043C Database Services could not initialize the system catalogs. Error "-968" was returned.
 
 
Answer
Try creating more space for the home directory of the DB2 database and check the permissions on the home directory (rwxrwsr-x ) to see if the instance owner has read/write access to the directory.

Here is the explanation for the "-968" error (SQL0968)

SQL0968


The file system is full.
Explanation:
One of the file systems containing the database is full. This file system may contain the database directory, the database log files, or a table space container. The statement cannot be processed.


User response:
Free system space by erasing unwanted files. Do not erase database files. If additional space is required, it may be necessary to drop tables and indexes identified as not required. On unix-based systems, this disk full condition may be due to exceeding the maximum file size allowed for the current userid. Use the chuser command to update fsize. A reboot may be necessary. This disk full condition may be caused when containers are of varying sizes. If there is sufficient space in the file system, drop the table space and recreate it with containers of equal size.
sqlcode: -968
sqlstate: 57011

 

 

 解决方法:在root用户下:更改fsize为100G,(209715100块512byte)
chuser fsize=209715100 db2admin
重启计算机
shutdown -Fr
再次登陆系统并切换用户为 db2admin

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值