Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1916559
  • 博文数量: 389
  • 博客积分: 7877
  • 博客等级: 少将
  • 技术积分: 4521
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-10 14:02
文章分类

全部博文(389)

文章存档

2024年(1)

2022年(1)

2021年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(4)

2015年(8)

2014年(15)

2013年(31)

2012年(19)

2011年(47)

2010年(33)

2009年(105)

2008年(109)

2007年(4)

分类: DB2/Informix

2012-05-20 22:57:42

数据库中有如下错误,注意红色部分:

2012-05-20-22.12.06.582956+480 E29150121E992       LEVEL: Severe
PID     : 32484                TID  : 46934463080768PROC : db2sysc 6
INSTANCE: db2inst1             NODE : 006          DB   : ZHSJPTDB
EDUID   : 150                  EDUNAME: db2loggr (ZHSJPTDB) 6
FUNCTION: DB2 UDB, data protection services, sqlpgUpdateLFH, probe:880
MESSAGE : ADM1710C  The database is not accessible because the DB2 database
          manager cannot write to the log control file "SQLOGCTL.LFH.1" on
          database partition "6". 
Possible reasons for this include: the file
          does not exist; the file is not accessible to the database manager
          because of network, file system, or OS problems; or incorrect file
          permissions are preventing the database manager from writing to the
          file.  Ensure that the file is accessible to the database manager and
          that the file system is functioning properly, and restart or
          reconnect to the database.

2012-05-20-22.12.06.609336+480 E29151114E1254      LEVEL: Error (OS)
PID     : 32484                TID  : 46934463080768PROC : db2sysc 6
INSTANCE: db2inst1             NODE : 006          DB   : ZHSJPTDB
EDUID   : 150                  EDUNAME: db2loggr (ZHSJPTDB) 6
FUNCTION: DB2 UDB, oper system services, sqloseekwrite64, probe:40
MESSAGE : ZRC=0x840F0001=-2079391743=SQLO_ACCD "Access Denied"
          DIA8701C Access denied for resource "", operating system return code
          was "".
CALLED  : OS, -, pwrite                           OSERR: EROFS (30)
DATA #1 : File handle, PD_TYPE_SQO_FILE_HDL, 8 bytes
  File Handle              = 16
  File System Block Size   = 0 bytes
  File System Type         = UNKNOWN
  File Handle Flags :
    Require Sector Align   = No
    DIO/CIO Mode           = No



不要气馁,可以尝试做如下操作,再看数据库能否恢复正常

umount /db2data/database/db2inst1/NODE0006
e2fsck -p /dev/bdbvg/lv_db2inst1_db_nd06

然后再mount该文件系统,启动数据库,看一切是否恢复正常(我这里是可以的)
阅读(2712) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~