container startup exception

neilt
neilt Member Posts: 1
edited February 2022 in General Discussions #1

Booting up solace container on openshift. Getting this error. Where is it trying to write to ? Trying to track down permission denied error here..
/usr/sw/data <- is writeable by container user id (it's mounted in container as emptyVolume)

Starting solace process
2020-05-15T11:51:15.237+00:00 <local0.info> solace-test-solace-broker-0 appuser: EXTERN_SCRIPT  INFO: Launching solacedaemon: /usr/sw/loads/soltr_9.4.0.96/bin/solacedaemon --vmr -z -f /var/lib/solace/config/SolaceStartup.txt -r -1
2020-05-15T11:51:22.321+00:00 <local0.info> solace-test-solace-broker-0 appuser[213]: /usr/sw/loads/soltr_9.4.0.96/scripts/commonLogging.py:80    WARN   POST Violation [023]:Recommended system resource missing, CPU frequency difference greater than 2MHz detected
2020-05-15T11:51:27.441+00:00 <local0.warning> solace-test-solace-broker-0 appuser[1]: /usr/sw                        main.cpp:754                          (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          WARN     Determining platform type: [  OK  ]
2020-05-15T11:51:27.442+00:00 <local0.warning> solace-test-solace-broker-0 appuser[1]: /usr/sw                        main.cpp:754                          (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          WARN     Running pre-startup checks: [  OK  ]
2020-05-15T11:51:43.924+00:00 <local0.err> solace-test-solace-broker-0 appuser[1]: /usr/sw                        main.cpp:4049                         (SOLDAEMON    - 0x00000001) main(0)@solacedaemon                          ERROR    ######## System startup initiated (Version 9.4.0.96) ########
2020-05-15T11:51:43.925+00:00 <local0.warning> solace-test-solace-broker-0 appuser[1]: /usr/sw                        main.cpp:754                          (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          WARN     Monitoring SolOS processes: [  OK  ]
2020-05-15T11:52:03.528+00:00 <local0.err> solace-test-solace-broker-0 appuser[357]: /usr/sw                        ipciSharedHeapMemSegment.cpp:93       (BASE_IPC     - 0x00000000) main(0)@trmmanager(?)                         ERROR    shmat(32768, 0x50a000000000, 0); size 0x7a4b58c; create = true: Errno(13) Permission denied
2020-05-15T11:52:03.536+00:00 <local0.err> solace-test-solace-broker-0 appuser[1]: /usr/sw                        main.cpp:2191                         (SOLDAEMON    - 0x00000000) main(0)@solacedaemon                          ERROR    Child process died, PID: 357, command: '/usr/sw/loads/soltr_9.4.0.96/bin/trmmanager', status: program terminated, status = 2. Cycle count: 141303585735827571
2020-05-15T11:52:03.537+00:00 <local0.err> solace-test-solace-broker-0 appuser[1]: /usr/sw                        main.cpp:1725                         (SOLDAEMON    - 0x00000001) main(0)@solacedaemon                          ERROR    ######## System shutdown initiated: error detected, reboot requested ########
2020-05-15T11:52:03.637+00:00 <local0.warning> solace-test-solace-broker-0 appuser[353]: /usr/sw                        commonAdb.cpp:102                     (BASE_HW_MGMT - 0x00000000) main(0)@controlplane(?)                       WARN     Creating /dev/shm/adbSimState
2020-05-15T11:52:05.082+00:00 <local0.err> solace-test-solace-broker-0 appuser[350]: /usr/sw                        ipciSharedHeapMemSegment.cpp:93       (BASE_IPC     - 0x00000000) main(0)@watchdog(?)                           ERROR    shmat(32768, 0x50a000000000, 0); size 0x7a4b58c; create = true: Errno(13) Permission denied
2020-05-15T11:52:06.444+00:00 <local0.err> solace-test-solace-broker-0 appuser[359]: /usr/sw                        ipciSharedHeapMemSegment.cpp:93       (BASE_IPC     - 0x00000000) main(0)@solcachemgr(?)                        ERROR    shmat(32768, 0x50a000000000, 0); size 0x7a4b58c; create = true: Errno(13) Permission denied
2020-05-15T11:52:08.360+00:00 <local0.err> solace-test-solace-broker-0 appuser[351]: /usr/sw                        ipciSharedHeapMemSegment.cpp:93       (BASE_IPC     - 0x00000000) main(0)@cmdserver(?)                          ERROR    shmat(32768, 0x50a000000000, 0); size 0x7a4b58c; create = true: Errno(13) Permission denied
2020-05-15T11:52:08.428+00:00 <local0.warning> solace-test-solace-broker-0 appuser[352]: /usr/sw                        adCmnMirror.cpp:27                    (ADMANAGER    - 0x00000000) main(0)@dataplane(11)                         WARN     AdCmnMirrorIndex::adTotalNumSpoolFiles_ms=50000
2020-05-15T11:52:08.428+00:00 <local0.warning> solace-test-solace-broker-0 appuser[352]: /usr/sw                        adCmnMirror.cpp:60                    (ADMANAGER    - 0x00000000) main(0)@dataplane(11)                         WARN     Platform=Standard, MemSize=2097152KB, ADB=Virtual
2020-05-15T11:52:08.428+00:00 <local0.warning> solace-test-solace-broker-0 appuser[352]: /usr/sw                        adCmnMirror.cpp:71                    (ADMANAGER    - 0x00000000) main(0)@dataplane(11)                         WARN     alllocateMirrorMem: adVirtualUnackedListNumBlocks_ms=210000 adAdbUnackedListNumBlocks_ms=210000 adTotalNumSpoolFiles_ms=50000 mirrorFootprint_ms=124032480
Tagged:

Comments

  • marc
    marc Member, Administrator, Moderator, Employee Posts: 959 admin

    Hi @neilt,
    Were you able to resolve the issue? I'm not an openshift expert but my guess is that the container user id needs write permissions to /usr/sw and not just /usr/sw/data

    -Marc