免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8611 | 回复: 3
打印 上一主题 下一主题

semctl: errno = 22,高手指点,谢谢! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-08 11:31 |只看该作者 |倒序浏览
Tue Apr  6 11:18:25 2004

11:18:25  Event alarms enabled.  ALARMPROG = '/opt/informix/etc/log_full.sh'
11:18:30  DR: DRAUTO is 0 (Off)
11:18:30  Informix Dynamic Server Version 7.31.UD5     Software Serial Number AAD#J222610
11:18:33  Informix Dynamic Server Initialized -- Shared Memory Initialized.
11:18:33  Physical Recovery Started.
11:18:33  Physical Recovery Complete: 471 Pages Restored.
11:18:33  Logical Recovery Started.
11:18:33  Dynamically allocated new virtual shared memory segment (size 8192KB)
11:18:33  Assert Failed: Error during recovery left index inconsistent.
11:18:33  Informix Dynamic Server Version 7.31.UD5   
11:18:33   Who: Session(6, root@GD-FS-CC-SP-SERVER, 0, 380716484)
                Thread(30, xchg_1.2, 16aeecf0, 1)
                File: rskey.c Line: 1371
11:18:33   Results: Index 'jhsy3:"informix".ylfnlsb' is now unusable
11:18:33   Action: Run 'oncheck -cI jhsy3:"informix".ylfnlsb'
11:18:34   See Also: /tmp/af.4062189
11:18:34  Rollforward of log record failed. iserrno = 105
11:18:34  Log Record: log = 5471, pos = 7594f0, type = OLDRSAMELITEM(29), trans = 7
11:18:34  Rollforward of log record failed. iserrno = 105
11:18:34  Log Record: log = 5471, pos = 7594f0, type = OLDRSAMELITEM(29), trans = 7
11:18:34  Rollforward of log record failed. iserrno = 126
11:18:34  Log Record: log = 5471, pos = 76c180, type = OLDRSAM:HINSERT(40), trans = 7
11:18:34  Assert Failed: INFORMIX-OnLine Must ABORT
        Critical media failure.
11:18:34  Informix Dynamic Server Version 7.31.UD5   
11:18:34   Who: Session(6, root@GD-FS-CC-SP-SERVER, 0, 380721216)
                Thread(30, xchg_1.2, 16aeecf0, 1)
                File: rsmirror.c Line: 1715
11:18:34  shmget: [EEXIST][17]: key 52564801: shared memory already exists
11:18:34  mt_shm_init: can't create resident segment

11:18:36   See Also: /tmp/af.4062189, shmem.4062189.1
11:18:36  rsmirror.c, line 1715, thread 30, proc id 709, INFORMIX-OnLine Must ABORT
        Critical media failure..
11:18:36  PANIC: Attempting to bring system down

Tue Apr  6 11:24:27 2004

11:24:27  Event alarms enabled.  ALARMPROG = '/opt/informix/etc/log_full.sh'
11:24:33  DR: DRAUTO is 0 (Off)
11:24:33  Informix Dynamic Server Version 7.31.UD5     Software Serial Number AAD#J222610
11:24:35  Informix Dynamic Server Initialized -- Shared Memory Initialized.
11:24:35  Physical Recovery Started.
11:24:36  Physical Recovery Complete: 471 Pages Restored.
11:24:36  Logical Recovery Started.
11:24:36  Dynamically allocated new virtual shared memory segment (size 8192KB)
11:24:36  Assert Failed: Error during recovery left index inconsistent.
11:24:36  Informix Dynamic Server Version 7.31.UD5   
11:24:36   Who: Session(6, root@GD-FS-CC-SP-SERVER, 0, 380716484)
                Thread(30, xchg_1.2, 16aeecf0, 1)
                File: rskey.c Line: 1371
11:24:36   Results: Index 'jhsy3:"informix".ylfnlsb' is now unusable
11:24:36   Action: Run 'oncheck -cI jhsy3:"informix".ylfnlsb'
11:24:36   See Also: /tmp/af.40622f3
11:24:36  Rollforward of log record failed. iserrno = 105
11:24:36  Log Record: log = 5471, pos = 7594f0, type = OLDRSAMELITEM(29), trans = 7
11:24:36  Rollforward of log record failed. iserrno = 105
11:24:36  Log Record: log = 5471, pos = 7594f0, type = OLDRSAMELITEM(29), trans = 7
11:24:36  Rollforward of log record failed. iserrno = 126
11:24:36  Log Record: log = 5471, pos = 76c180, type = OLDRSAM:HINSERT(40), trans = 7
11:24:36  Assert Failed: INFORMIX-OnLine Must ABORT
        Critical media failure.
11:24:36  Informix Dynamic Server Version 7.31.UD5   
11:24:36   Who: Session(6, root@GD-FS-CC-SP-SERVER, 0, 380721216)
                Thread(30, xchg_1.2, 16aeecf0, 1)
                File: rsmirror.c Line: 1715
11:24:37  shmget: [EEXIST][17]: key 52564801: shared memory already exists
11:24:37  mt_shm_init: can't create resident segment

11:24:38   See Also: /tmp/af.40622f3, shmem.40622f3.1
11:24:39  rsmirror.c, line 1715, thread 30, proc id 710, INFORMIX-OnLine Must ABORT
        Critical media failure..
11:24:39  PANIC: Attempting to bring system down
11:24:39  semctl: errno = 22

论坛徽章:
0
2 [报告]
发表于 2004-04-08 11:57 |只看该作者

semctl: errno = 22,高手指点,谢谢!

查/usr/include/sys/errno.h 看22是什么意思

论坛徽章:
11
数据库技术版块每日发帖之星
日期:2016-06-25 06:20:00数据库技术版块每日发帖之星
日期:2016-06-24 06:20:00数据库技术版块每日发帖之星
日期:2016-05-03 06:20:00数据库技术版块每日发帖之星
日期:2016-04-21 06:20:00数据库技术版块每日发帖之星
日期:2016-01-23 06:20:00数据库技术版块每日发帖之星
日期:2015-12-03 06:20:00综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-19 06:20:00数据库技术版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-30 06:20:00
3 [报告]
发表于 2004-04-08 17:39 |只看该作者

semctl: errno = 22,高手指点,谢谢!

关闭境像后再删除Index 'jhsy3:"informix".ylfnlsb' 重建试看~~

论坛徽章:
0
4 [报告]
发表于 2006-06-09 17:47 |只看该作者

我也出现errno = 22并且No connections are allowed

我也出现errno = 22并且No connections are allowed
online.log内容如下:
----------------------------------------------------------------------------------
13:34:53  Checkpoint Completed:  duration was 1 seconds.
13:40:00  Checkpoint Completed:  duration was 1 seconds.
13:45:06  Checkpoint Completed:  duration was 0 seconds.
13:50:13  Checkpoint Completed:  duration was 2 seconds.
14:27:32  The Master Daemon Died
14:27:32  PANIC: Attempting to bring system down
14:27:32  semctl: errno = 22

14:27:32  semctl: errno = 22

14:27:32  semctl: errno = 22

14:28:01  Requested shared memory segment size rounded from 38400KB to 40960KB

Fri Jun  9 14:28:01 2006

14:28:01  Event alarms enabled.  ALARMPROG = '/usr/informix/log_full.sh'
14:28:06  DR: DRAUTO is 0 (Off)
14:28:06  Requested shared memory segment size rounded from 1616KB to 4096KB
14:28:07  Informix Dynamic Server Version 7.31.UC5    Software Serial Number AAC#J210032
14:28:07  Informix Dynamic Server Initialized -- Shared Memory Initialized.
14:28:07  Physical Recovery Started.
14:28:07  Physical Recovery Complete: 128 Pages Restored.
14:28:07  Logical Recovery Started.
14:28:09  Logical Recovery Complete.
        14 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks

14:28:10  Onconfig parameter DIRECTIVES modified from 0 to 1.
14:28:10  Dataskip is now OFF for all dbspaces
14:28:11  On-Line Mode
14:28:11  Checkpoint Completed:  duration was 0 seconds.
14:34:00  The Master Daemon Died
14:34:00  PANIC: Attempting to bring system down
14:34:00  semctl: errno = 22

14:34:00  semctl: errno = 22

14:34:00  semctl: errno = 22

14:34:00  semctl: errno = 22

14:34:00  semctl: errno = 22

14:36:38  Requested shared memory segment size rounded from 38400KB to 40960KB

Fri Jun  9 14:36:38 2006

14:36:38  Event alarms enabled.  ALARMPROG = '/usr/informix/log_full.sh'
14:36:43  DR: DRAUTO is 0 (Off)
14:36:43  Requested shared memory segment size rounded from 1616KB to 4096KB
14:36:44  Informix Dynamic Server Version 7.31.UC5    Software Serial Number AAC#J210032
14:36:44  Informix Dynamic Server Initialized -- Shared Memory Initialized.
14:36:44  Physical Recovery Started.
14:36:44  Physical Recovery Complete: 0 Pages Restored.
14:36:44  Logical Recovery Started.
14:36:46  Logical Recovery Complete.
        0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks

14:36:47  Onconfig parameter DIRECTIVES modified from 0 to 1.
14:36:47  Dataskip is now OFF for all dbspaces
14:36:48  On-Line Mode
14:36:48  Checkpoint Completed:  duration was 0 seconds.
14:41:55  Checkpoint Completed:  duration was 3 seconds.
14:47:05  Checkpoint Completed:  duration was 4 seconds.
14:52:13  Checkpoint Completed:  duration was 2 seconds.
14:54:08  shmget: [EEXIST][17]: key 52564801: shared memory already exists
14:54:08  mt_shm_init: can't create resident segment

15:01:08  The Master Daemon Died
15:01:08  PANIC: Attempting to bring system down
15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22
                    .
                    .
                    .(省略N多)
                    .
                    .
15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22

15:01:08  semctl: errno = 22

15:01:08  15:01:22  Requested shared memory segment size rounded from 38400KB to 40960KB

Fri Jun  9 15:01:22 2006

15:01:22  Event alarms enabled.  ALARMPROG = '/usr/informix/log_full.sh'
15:01:27  DR: DRAUTO is 0 (Off)
15:01:27  Requested shared memory segment size rounded from 1616KB to 4096KB
15:01:27  Informix Dynamic Server Version 7.31.UC5    Software Serial Number AAC#J210032
15:01:28  Informix Dynamic Server Initialized -- Shared Memory Initialized.
15:01:28  Physical Recovery Started.
15:01:28  Physical Recovery Complete: 128 Pages Restored.
15:01:28  Logical Recovery Started.
15:01:30  Logical Recovery Complete.
        24 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks

15:01:31  Onconfig parameter DIRECTIVES modified from 0 to 1.
15:01:31  Dataskip is now OFF for all dbspaces
15:01:31  On-Line Mode
15:01:32  Checkpoint Completed:  duration was 0 seconds.
15:06:38  Checkpoint Completed:  duration was 1 seconds.
15:52:16  The Master Daemon Died
15:52:16  PANIC: Attempting to bring system down
15:52:16  semctl: errno = 22

15:52:16  semctl: errno = 22

15:52:16  semctl: errno = 22
                    .
                    .
                    .(省略N多)
                    .
                    .
15:52:16  semctl: errno = 22

15:52:16  semctl: errno = 22

15:52:17  semctl: errno = 22

15:52:17  semctl: errno = 22

15:52:17  semctl: errno = 22

15:52:17  semctl: errno = 22

15:52:17  semctl: errno = 22

15:52:17  15:52:39  Requested shared memory segment size rounded from 38400KB to 40960KB

Fri Jun  9 15:52:39 2006

15:52:39  Event alarms enabled.  ALARMPROG = '/usr/informix/log_full.sh'
15:52:45  DR: DRAUTO is 0 (Off)
15:52:45  Requested shared memory segment size rounded from 1616KB to 4096KB
15:52:46  Informix Dynamic Server Version 7.31.UC5    Software Serial Number AAC#J210032
15:52:46  Informix Dynamic Server Initialized -- Shared Memory Initialized.
15:52:46  Physical Recovery Started.
15:52:46  Physical Recovery Complete: 384 Pages Restored.
15:52:46  Logical Recovery Started.
15:52:50  Logical Recovery Complete.
        263 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks

15:52:51  Onconfig parameter DIRECTIVES modified from 0 to 1.
15:52:51  Dataskip is now OFF for all dbspaces
15:52:51  Quiescent Mode
15:52:52  Checkpoint Completed:  duration was 1 seconds.
15:52:59  (20) connection rejected - no calls allowed for sqlexec
15:52:59  listener-thread: err = -27002: oserr = 0: errstr = : No connections are allowed in Dynamic Server quiescent mode.

15:53:02  On-Line Mode
15:57:57  Checkpoint Completed:  duration was 0 seconds.


---------------------------------------------------------------------------------------
达人给看看...

[ 本帖最后由 bpxgetw 于 2006-6-9 17:52 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP