Q&A:
1.Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation
online.log出現:
01:45:13 shmget: [EEXIST][17]: key 52a24801: shared memory already exists
01:45:13 mt_shm_init: can't create resident segment
解決:
修改配置文件onconfig中的
服務器標識號(默認為0),只要是唯一就可以了,不能過太。在多實例安裝中常出現此問題。例如
SERVERNUM 49 # Unique id corresponding to a Dynamic Server instance
2.DISK INITIALIZATION ABORTED: potential instance overwrite detected.
To disable this check, set FULL_DISK_INIT to 1 in your config file and retry.
oninit: Fatal error in shared memory initialization
解決:在onconfig文件中找到FULL_DISK_INIT,將其后的0改為1
3.網絡連接不了。
a.服務器防火墻是否關閉?
b.onconfig文件中的NETTYPE是否正確設置?
c.sqlhosts文件是否正確設置?
d./etc/services文件是否正確設置?