Linux
informix + 共享記憶體創建中的致命錯誤
請建議如何解決這個問題我有 linux with informix DB 它失敗了 - 共享記憶體創建中的致命錯誤
su - informix
-sh-2.05b$ oninit -v
ONCONFIG /usr/informix/etc/onconfig.active is not owned by user with id 4000. Checking group membership to determine server run modesucceeded Reading configuration file '/usr/informix/etc/onconfig.active'...succeeded Creating /INFORMIXTMP/.infxdirs ... succeeded Creating infos file "/usr/informix/etc/.infos.active_trm" ... "/usr/informix/etc/.conf.active_trm" ... s succeeded Writing to infos file ... succeeded Checking config parameters...succeeded Allocating and attaching to shared memory...FAILED oninit: Fatal error in shared memory creation
初始化 -i
This action will initialize IBM Informix Dynamic Server; any existing IBM Informix Dynamic Server databases will NOT be accessible - Do you wish to continue (y/n)? please enter 'y' or 'n'... Do you wish to continue (y/n)? y oninit: Fatal error in shared memory creation
您的共享記憶體段可能沒有正確清除。執行 onclean -ky 命令。這應該有望清除任何揮之不去的共享記憶體段。
如果這不起作用,請執行 ipcs 命令以辨識記憶體段並使用 ipcrm 刪除
確保您
660
對ROOTPATH
文件擁有權限,請參閱$INFORMIX/etc/[your_onconfig]
.啟動
oninit -ivy
以獲取更多詳細資訊或查看您的MSGPATH
文件的日誌。