~]$ ll /mnt/ total 949396 -r-xr-xr-x 1 root root 2588819 Nov 9 2023 'DM8 Install.pdf' -r-xr-xr-x 1 root root 969591871 Nov 9 2023 DMInstall.bin
~]$ /mnt/DMInstall.bin -i
# login as root, running the script ~]# /dm8/script/root/root_installer.sh Move /dm8/bin/dm_svc.conf to /etc Create the DmAPService service Created symlink /etc/systemd/system/multi-user.target.wants/DmAPService.service → /usr/lib/systemd/system/DmAPService.service. Finished to create the service (DmAPService) Start the DmAPService service
# Login as dmdba ~]$ /dm8/bin/dminit help ~]$ /dm8/bin/dminit path=/dm8/data db_name=DMDB instance_name=PROD port_num=5237 sysdba_pwd=P@ssw0rd123 sysauditor_pwd=P@ssw0rd123 log_size=256 initdb V8 db version: 0x7000c file dm.key not found, use default license! License will expire on 2025-08-10 Normal of FAST Normal of DEFAULT Normal of RECYCLE Normal of KEEP Normal of ROLL
log file path: /dm8/data/DMDB/DMDB01.log
log file path: /dm8/data/DMDB/DMDB02.log
write to dir [/dm8/data/DMDB]. create dm database success. 2025-07-27 11:03:53
# Login as root ~]# /dm8/script/root/dm_service_installer.sh -h ~]# /dm8/script/root/dm_service_installer.sh -t dmserver -p PROD -dm_ini /dm8/data/DMDB/dm.ini Created symlink /etc/systemd/system/multi-user.target.wants/DmServicePROD.service → /usr/lib/systemd/system/DmServicePROD.service. Finished to create the service (DmServicePROD)
Start dm instance.
~]$ /dm8/bin/DmServicePROD start Starting DmServicePROD: [ OK ]
~]$ /dm8/bin/disql sysdba/'"P@ssw0rd123"':5237
Server[LOCALHOST:5237]:mode is normal, state is open login used time : 2.942(ms) disql V8 SQL> select name,status$ from v$instance;
LINEID NAME STATUS$ ---------- ---- ------- 1 PROD OPEN
used time: 0.798(ms). Execute id is 60501.
TroubleShooting
When running DMInstall.bin -i, it shows that the max number of open files is too little.
Extract install files.......... core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 26361 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 26361 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited
The max number of open files is too little, suggest to set 65536 or more to number of open files.
When running DMInstall.bin -i, it shows that the temp directory's size is too small
Installer Language: [1]: 简体中文 [2]: English Please select the installer's language [2]: The Temp Directory's size is too small, please set the size more than 2G. Or set DM_INSTALL_TMPDIR environment variable to assign the temporary directory of DM Installer.