月鹿01 2024-08-21 09:47 采纳率: 54.5%
浏览 12
已结题

国产麒麟安装mongodb数据库

环境:国产麒麟系统 sp3
            数据库是mongodb centos_x86 4.0.24
            openssl : 1.1.1.1f 、1.0.2u
情况:安装的mongodb默认缺失libcrypto.so.10、libssl.so.10路径。

img


在进行了1.0.2u openssl下载后,将libcrypto.so.10、libssl.so.10路径补齐,但是运行还是提示libcrypto.so.10、libssl.so.10无版本信息

img

img

img


查看 systemctl status mongodb.service 输出 
● mongodb.service - mongodb-service
   Loaded: loaded (/etc/systemd/system/mongodb.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2024-08-20 11:32:45 CST; 4min 30s ago
  Process: 50387 ExecStart=/mongodb/file/bin/mongod --config /mongodb/file/bin/mongodb.conf (code=exited, status=127)

Aug 20 11:32:45 ecs-2024815172222-3.novalocal systemd[1]: Starting mongodb-service...
Aug 20 11:32:45 ecs-2024815172222-3.novalocal mongod[50387]: /mongodb/file/bin/mongod: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: N>
Aug 20 11:32:45 ecs-2024815172222-3.novalocal systemd[1]: mongodb.service: Control process exited, code=exited, status=127/n/a
Aug 20 11:32:45 ecs-2024815172222-3.novalocal systemd[1]: mongodb.service: Failed with result 'exit-code'.
Aug 20 11:32:45 ecs-2024815172222-3.novalocal systemd[1]: Failed to start mongodb-service.
lines 1-10/10 (END)
查看 journalctl -xe 输出
Aug 20 11:38:11 ecs-2024815172222-3.novalocal systemd[1]: kylin-kms-activation.service: Main process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit kylin-kms-activation.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 255.
Aug 20 11:38:11 ecs-2024815172222-3.novalocal systemd[1]: kylin-kms-activation.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit kylin-kms-activation.service has entered the 'failed' state with result 'exit-code'.
Aug 20 11:38:16 ecs-2024815172222-3.novalocal sudo[50410]: pam_unix(sudo:session): session closed for user root
Aug 20 11:38:16 ecs-2024815172222-3.novalocal audit[50410]: USER_END pid=50410 uid=0 auid=0 ses=5 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct=>
Aug 20 11:38:16 ecs-2024815172222-3.novalocal audit[50410]: CRED_DISP pid=50410 uid=0 auid=0 ses=5 msg='op=PAM:setcred grantors=pam_env,pam_faillock,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr>
Aug 20 11:38:41 ecs-2024815172222-3.novalocal systemd[1]: kylin-kms-activation.service: Service RestartSec=30s expired, scheduling restart.
Aug 20 11:38:41 ecs-2024815172222-3.novalocal systemd[1]: kylin-kms-activation.service: Scheduled restart job, restart counter is at 4539.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Automatic restarting of the unit kylin-kms-activation.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Aug 20 11:38:41 ecs-2024815172222-3.novalocal audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=kylin-kms-activation comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
Aug 20 11:38:41 ecs-2024815172222-3.novalocal audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=kylin-kms-activation comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=>
Aug 20 11:38:41 ecs-2024815172222-3.novalocal systemd[1]: Stopped run kylin_kms_daemon at boot time.
-- Subject: A stop job for unit kylin-kms-activation.service has finished
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A stop job for unit kylin-kms-activation.service has finished.
--
-- The job identifier is 432368 and the job result is done.
Aug 20 11:38:41 ecs-2024815172222-3.novalocal audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=kylin-kms-activation comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr>
Aug 20 11:38:41 ecs-2024815172222-3.novalocal systemd[1]: Started run kylin_kms_daemon at boot time.
-- Subject: A start job for unit kylin-kms-activation.service has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit kylin-kms-activation.service has finished successfully.
--
-- The job identifier is 432368.
Aug 20 11:39:41 ecs-2024815172222-3.novalocal audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=kylin-kms-activation comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=>
Aug 20 11:39:41 ecs-2024815172222-3.novalocal systemd[1]: kylin-kms-activation.service: Main process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit kylin-kms-activation.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 255.
Aug 20 11:39:41 ecs-2024815172222-3.novalocal systemd[1]: kylin-kms-activation.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit kylin-kms-activation.service has entered the 'failed' state with result 'exit-code'.
  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 已结题 (查看结题原因) 8月21日
    • 创建了问题 8月21日

    悬赏问题

    • ¥15 nopCommerce开发问题
    • ¥15 torch.multiprocessing.spawn.ProcessExitedException: process 1 terminated with signal SIGKILL
    • ¥15 QuartusⅡ15.0编译项目后,output_files中的.jdi、.sld、.sof不更新怎么解决
    • ¥15 pycharm输出和导师的一样,但是标红
    • ¥15 想问问富文本拿到的html怎么转成docx的
    • ¥15 我看了您的文章,遇到了个问题。
    • ¥15 GitHubssh虚拟机连接不上
    • ¥15 装完kali之后下载Google输入法 重启电脑后出现以下状况 且退不出去 桌面消失 反复重启没用
    • ¥15 ESP-IDP-BLE配网连接wifi
    • ¥15 ue2.6.12版本用的若以,安装gojs,引入import * as go from 'gojs';报错