Debian에서 아티팩트 시작 문제

Debian에서 아티팩트 시작 문제

표준 제공 deb 패키지를 사용하여 Debian 서버에 Artifactory를 설치했습니다.

설치한 지 몇 달이 지났고 여러 번의 업그레이드를 거쳤지만 이 기간 동안 아티팩트 서비스를 시작하고 중지하는 데 문제가 발생했습니다.

이제 새로운 로그 메시지를 수집하기 위해 서버를 다시 시작하려고 하는데 systemd가 종료 프로세스(100% CPU에서 실행)를 차단하고 있습니다. 내 다른(proxmox 컨테이너) VM(거의 모두 동일)에서는 이 문제가 표시되지 않기 때문에 이것이 관련이 있다고 생각합니다.

systemd가 수행 중인 작업을 완료할 때까지 5분 동안 기다린 다음 호스트에서 GDB를 열고 프로세스에 연결했습니다.

스택 추적은 다음과 같습니다.

(gdb) bt
#0  0x00007f179ad009a3 in __fxstat64 () from target:/lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f179aa9790e in chase_symlinks () from target:/lib/systemd/libsystemd-shared-241.so
#2  0x00007f179aae9a69 in ?? () from target:/lib/systemd/libsystemd-shared-241.so
#3  0x00007f179aae9c0d in ?? () from target:/lib/systemd/libsystemd-shared-241.so
#4  0x00007f179aaea076 in unit_file_find_dropin_paths () from target:/lib/systemd/libsystemd-shared-241.so
#5  0x000055a69fdf0ff8 in ?? ()
#6  0x000055a69fdf44e1 in ?? ()
#7  0x000055a69fe38b88 in ?? ()
#8  0x000055a69fe513e2 in ?? ()
#9  0x000055a69fde2d08 in ?? ()
#10 0x000055a69fe4bba2 in ?? ()
#11 0x000055a69fe70682 in ?? ()
#12 0x00007f179aa2c6ff in ?? () from target:/lib/systemd/libsystemd-shared-241.so
#13 0x00007f179aa33f84 in ?? () from target:/lib/systemd/libsystemd-shared-241.so
#14 0x00007f179aa34478 in ?? () from target:/lib/systemd/libsystemd-shared-241.so
#15 0x00007f179aa04e20 in ?? () from target:/lib/systemd/libsystemd-shared-241.so
#16 0x00007f179aa05111 in sd_event_dispatch () from target:/lib/systemd/libsystemd-shared-241.so
#17 0x00007f179aa052d8 in sd_event_run () from target:/lib/systemd/libsystemd-shared-241.so
#18 0x000055a69fe85fc3 in ?? ()
#19 0x000055a69fdddc06 in ?? ()
#20 0x00007f179ac3b09b in __libc_start_main () from target:/lib/x86_64-linux-gnu/libc.so.6
#21 0x000055a69fddf12a in ?? ()

나와 kill -9 systemd_PID가상 머신(컨테이너)이 종료되었습니다. VM을 다시 복원했는데 여기에 로그가 있습니다.journalctl -u artifactory

-- Logs begin at Wed 2023-02-22 22:07:12 AWST, end at Thu 2023-03-02 13:55:01 AWST. --
Mar 02 13:23:15 mxrapservers systemd[1]: Starting Artifactory service...
Mar 02 13:23:21 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:20.976Z [shell] [INFO ] [] [artifactoryManage.sh:90       ] [main] - Starting Artifactory tomcat as user artifactory...                                                                                   
Mar 02 13:23:21 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:21.341Z [shell] [INFO ] [] [installerCommon.sh:1604       ] [main] - Checking open files and processes limits                                                                                             
Mar 02 13:23:21 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:21.773Z [shell] [INFO ] [] [installerCommon.sh:1607       ] [main] - Current max open files is 1024                                                                                                       
Mar 02 13:23:22 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:22.195Z [shell] [INFO ] [] [installerCommon.sh:1618       ] [main] - Current max open processes is 256881                                                                                                 
Mar 02 13:23:22 mxrapservers artifactoryManage.sh[188]: yaml validation succeeded
Mar 02 13:23:23 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:22.847Z [shell] [INFO ] [] [installerCommon.sh:2975       ] [main] - System.yaml validation succeeded                                                                                                     
Mar 02 13:23:23 mxrapservers artifactoryManage.sh[188]: Database connection check failed Could not determine database type
Mar 02 13:23:25 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:24.709Z [shell] [INFO ] [] [installerCommon.sh:3475       ] [main] - Setting JF_SHARED_NODE_ID to mxrapservers                                                                                            
Mar 02 13:23:25 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:25.697Z [shell] [INFO ] [] [installerCommon.sh:3475       ] [main] - Setting JF_SHARED_NODE_IP to 10.0.0.3                                                                                                
Mar 02 13:23:26 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:26.534Z [shell] [INFO ] [] [installerCommon.sh:3475       ] [main] - Setting JF_SHARED_NODE_NAME to mxrapservers                                                                                          
Mar 02 13:23:29 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:29.588Z [shell] [INFO ] [] [artifactoryCommon.sh:221      ] [main] - Using Tomcat template to generate : /opt/jfrog/artifactory/app/artifactory/tomcat/conf/server.xml                                    
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.407Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.port||8081} to default value : 8081                                                                           
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.463Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.sendReasonPhrase||false} to default value : false                                            
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.513Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.relaxedPathChars||_SQUARE_BRACKETS_} to default value : _SQUARE_BRACKETS_                    
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.567Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.relaxedQueryChars||_SQUARE_BRACKETS_} to default value : _SQUARE_BRACKETS_                   
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.657Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.maxThreads||200} to default value : 200                                                      
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.789Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.port||8091} to default value : 8091                                               
Mar 02 13:23:30 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:30.858Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.maxThreads||5} to default value : 5                                               
Mar 02 13:23:31 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:31.146Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.acceptCount||5} to default value : 5                                              
Mar 02 13:23:32 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:32.709Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${access.http.port||8040} to default value : 8040
Mar 02 13:23:33 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:33.592Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${access.tomcat.connector.sendReasonPhrase||false} to default value : false
Mar 02 13:23:34 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:34.441Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${access.tomcat.connector.maxThreads||50} to default value : 50
Mar 02 13:23:36 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:35.881Z [shell] [INFO ] [] [systemYamlHelper.sh:612       ] [main] - Resolved JF_PRODUCT_HOME (/opt/jfrog/artifactory) from environment variable
Mar 02 13:23:37 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:37.343Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${shared.tomcat.workDir||/opt/jfrog/artifactory/var/work/artifactory/tomcat} to default value : /opt/jfrog/artifactory/var/work/artifactory/tomcat
Mar 02 13:23:38 mxrapservers artifactoryManage.sh[188]: tr: write error: Broken pipe
Mar 02 13:23:38 mxrapservers artifactoryManage.sh[188]: tr: write error
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: ========================
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF Environment variables
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: ========================
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_SHARED_NODE_ID                   : mxrapservers
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_SHARED_NODE_IP                   : 10.0.0.3
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_ARTIFACTORY_PID                  : /var/run/artifactory.pid
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_SYSTEM_YAML                      : /opt/jfrog/artifactory/var/etc/system.yaml
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_PRODUCT_HOME                     : /opt/jfrog/artifactory
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_ROUTER_TOPOLOGY_LOCAL_REQUIREDSERVICETYPES : jfrt,jfac,jfmd,jffe,jfob,jfint,jfevt
Mar 02 13:23:45 mxrapservers artifactoryManage.sh[188]: JF_SHARED_NODE_NAME                 : mxrapservers
Mar 02 13:23:49 mxrapservers crontab[3871]: (root) LIST (artifactory)
Mar 02 13:23:49 mxrapservers crontab[3873]: (root) REPLACE (artifactory)
Mar 02 13:23:49 mxrapservers crontab[3887]: (root) LIST (artifactory)
Mar 02 13:23:49 mxrapservers crontab[3886]: (root) REPLACE (artifactory)
Mar 02 13:23:49 mxrapservers su[3921]: (to artifactory) root on none
Mar 02 13:23:49 mxrapservers su[3921]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:23:49 mxrapservers su[3921]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:23:49 mxrapservers su[3921]: pam_unix(su:session): session closed for user artifactory
Mar 02 13:23:49 mxrapservers artifactoryManage.sh[188]: 2023-03-02T05:23:49.579Z [shell] [INFO ] [] [systemYamlHelper.sh:612       ] [main] - Resolved .shared.script.serviceStartTimeout (180) from /opt/jfrog/artifactory/var/etc/system.yaml
Mar 02 13:24:45 mxrapservers systemd[1]: artifactory.service: Start operation timed out. Terminating.
Mar 02 13:24:45 mxrapservers systemd[1]: artifactory.service: Control process exited, code=killed, status=15/TERM
Mar 02 13:24:45 mxrapservers systemd[1]: artifactory.service: Failed with result 'timeout'.
Mar 02 13:24:45 mxrapservers systemd[1]: Failed to start Artifactory service.
Mar 02 13:24:45 mxrapservers systemd[1]: artifactory.service: Consumed 4.597s CPU time.
Mar 02 13:25:46 mxrapservers systemd[1]: artifactory.service: Service RestartSec=1min expired, scheduling restart.
Mar 02 13:25:46 mxrapservers systemd[1]: artifactory.service: Scheduled restart job, restart counter is at 1.
Mar 02 13:25:46 mxrapservers systemd[1]: Stopped Artifactory service.
Mar 02 13:25:46 mxrapservers systemd[1]: artifactory.service: Consumed 4.597s CPU time.
Mar 02 13:25:46 mxrapservers systemd[1]: Starting Artifactory service...
Mar 02 13:25:46 mxrapservers artifactoryManage.sh[6033]: 2023-03-02T05:25:46.548Z [shell] [INFO ] [] [artifactoryManage.sh:88       ] [main] - Artifactory Tomcat already started
Mar 02 13:25:46 mxrapservers systemd[1]: artifactory.service: Can't open PID file /run/artifactory.pid (yet?) after start: No such file or directory
Mar 02 13:25:46 mxrapservers systemd[1]: artifactory.service: Failed with result 'protocol'.
Mar 02 13:25:46 mxrapservers systemd[1]: Failed to start Artifactory service.
Mar 02 13:25:46 mxrapservers systemd[1]: artifactory.service: Consumed 359ms CPU time.
Mar 02 13:26:46 mxrapservers systemd[1]: artifactory.service: Service RestartSec=1min expired, scheduling restart.
Mar 02 13:26:46 mxrapservers systemd[1]: artifactory.service: Scheduled restart job, restart counter is at 2.
Mar 02 13:26:46 mxrapservers systemd[1]: Stopped Artifactory service.
Mar 02 13:26:46 mxrapservers systemd[1]: artifactory.service: Consumed 359ms CPU time.
Mar 02 13:26:46 mxrapservers systemd[1]: Starting Artifactory service...
Mar 02 13:26:47 mxrapservers artifactoryManage.sh[7145]: 2023-03-02T05:26:47.067Z [shell] [INFO ] [] [artifactoryManage.sh:88       ] [main] - Artifactory Tomcat already started
Mar 02 13:26:47 mxrapservers systemd[1]: artifactory.service: Can't open PID file /run/artifactory.pid (yet?) after start: No such file or directory
Mar 02 13:26:47 mxrapservers systemd[1]: artifactory.service: Failed with result 'protocol'.
Mar 02 13:26:47 mxrapservers systemd[1]: Failed to start Artifactory service.
Mar 02 13:26:47 mxrapservers systemd[1]: artifactory.service: Consumed 382ms CPU time.

killall java SNIP을 실행할 때까지 1분마다 같은 메시지가 반복됩니다.

Mar 02 13:43:55 mxrapservers systemd[1]: artifactory.service: Service RestartSec=1min expired, scheduling restart.
Mar 02 13:43:55 mxrapservers systemd[1]: artifactory.service: Scheduled restart job, restart counter is at 19.
Mar 02 13:43:55 mxrapservers systemd[1]: Stopped Artifactory service.
Mar 02 13:43:55 mxrapservers systemd[1]: artifactory.service: Consumed 356ms CPU time.
Mar 02 13:43:55 mxrapservers systemd[1]: Starting Artifactory service...
Mar 02 13:43:56 mxrapservers artifactoryManage.sh[26292]: 2023-03-02T05:43:56.044Z [shell] [INFO ] [] [artifactoryManage.sh:88       ] [main] - Artifactory Tomcat already started
Mar 02 13:43:56 mxrapservers systemd[1]: artifactory.service: Can't open PID file /run/artifactory.pid (yet?) after start: No such file or directory
Mar 02 13:43:56 mxrapservers systemd[1]: artifactory.service: Failed with result 'protocol'.
Mar 02 13:43:56 mxrapservers systemd[1]: Failed to start Artifactory service.
Mar 02 13:43:56 mxrapservers systemd[1]: artifactory.service: Consumed 345ms CPU time.
Mar 02 13:44:56 mxrapservers systemd[1]: artifactory.service: Service RestartSec=1min expired, scheduling restart.
Mar 02 13:44:56 mxrapservers systemd[1]: artifactory.service: Scheduled restart job, restart counter is at 20.
Mar 02 13:44:56 mxrapservers systemd[1]: Stopped Artifactory service.
Mar 02 13:44:56 mxrapservers systemd[1]: artifactory.service: Consumed 345ms CPU time.
Mar 02 13:45:56 mxrapservers systemd[1]: artifactory.service: Service RestartSec=1min expired, scheduling restart.
Mar 02 13:45:56 mxrapservers systemd[1]: artifactory.service: Scheduled restart job, restart counter is at 21.
Mar 02 13:45:56 mxrapservers systemd[1]: Stopped Artifactory service.
Mar 02 13:45:56 mxrapservers systemd[1]: artifactory.service: Consumed 359ms CPU time.
Mar 02 13:45:56 mxrapservers systemd[1]: Starting Artifactory service...
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.037Z [shell] [INFO ] [] [artifactoryManage.sh:90       ] [main] - Starting Artifactory tomcat as user artifactory...                                                                                       
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.073Z [shell] [INFO ] [] [installerCommon.sh:1604       ] [main] - Checking open files and processes limits                                                                                                 
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.089Z [shell] [INFO ] [] [installerCommon.sh:1607       ] [main] - Current max open files is 1024                                                                                                           
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.104Z [shell] [INFO ] [] [installerCommon.sh:1618       ] [main] - Current max open processes is 256881                                                                                                     
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: yaml validation succeeded
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.133Z [shell] [INFO ] [] [installerCommon.sh:2975       ] [main] - System.yaml validation succeeded                                                                                                         
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: Database connection check failed Could not determine database type
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.230Z [shell] [INFO ] [] [installerCommon.sh:3475       ] [main] - Setting JF_SHARED_NODE_ID to mxrapservers                                                                                                
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.281Z [shell] [INFO ] [] [installerCommon.sh:3475       ] [main] - Setting JF_SHARED_NODE_IP to 10.0.0.3                                                                                                    
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.329Z [shell] [INFO ] [] [installerCommon.sh:3475       ] [main] - Setting JF_SHARED_NODE_NAME to mxrapservers                                                                                              
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.486Z [shell] [INFO ] [] [artifactoryCommon.sh:221      ] [main] - Using Tomcat template to generate : /opt/jfrog/artifactory/app/artifactory/tomcat/conf/server.xml                                        
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.569Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.port||8081} to default value : 8081                                                                               
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.619Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.sendReasonPhrase||false} to default value : false                                                
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.669Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.relaxedPathChars||_SQUARE_BRACKETS_} to default value : _SQUARE_BRACKETS_                        
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.719Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.relaxedQueryChars||_SQUARE_BRACKETS_} to default value : _SQUARE_BRACKETS_                       
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.769Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.connector.maxThreads||200} to default value : 200                                                          
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.852Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.port||8091} to default value : 8091                                                   
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.901Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.maxThreads||5} to default value : 5                                                   
Mar 02 13:45:57 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:57.951Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${artifactory.tomcat.maintenanceConnector.acceptCount||5} to default value : 5                                                  
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:58.041Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${access.http.port||8040} to default value : 8040    
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:58.091Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${access.tomcat.connector.sendReasonPhrase||false} to default value : false
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:58.142Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${access.tomcat.connector.maxThreads||50} to default value : 50
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:58.244Z [shell] [INFO ] [] [systemYamlHelper.sh:612       ] [main] - Resolved JF_PRODUCT_HOME (/opt/jfrog/artifactory) from environment variable
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:45:58.361Z [shell] [INFO ] [] [systemYamlHelper.sh:972       ] [main] - Resolved ${shared.tomcat.workDir||/opt/jfrog/artifactory/var/work/artifactory/tomcat} to default value : /opt/jfrog/artifactory/var/work/artifactory/tomcat
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: tr: write error: Broken pipe
Mar 02 13:45:58 mxrapservers artifactoryManage.sh[28584]: tr: write error
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: ========================
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF Environment variables
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: ========================
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_SHARED_NODE_ID                   : mxrapservers
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_SHARED_NODE_IP                   : 10.0.0.3
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_ARTIFACTORY_PID                  : /var/run/artifactory.pid
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_SYSTEM_YAML                      : /opt/jfrog/artifactory/var/etc/system.yaml
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_PRODUCT_HOME                     : /opt/jfrog/artifactory
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_ROUTER_TOPOLOGY_LOCAL_REQUIREDSERVICETYPES : jfrt,jfac,jfmd,jffe,jfob,jfint,jfevt
Mar 02 13:45:59 mxrapservers artifactoryManage.sh[28584]: JF_SHARED_NODE_NAME                 : mxrapservers
Mar 02 13:46:00 mxrapservers crontab[31888]: (root) LIST (artifactory)
Mar 02 13:46:00 mxrapservers crontab[31890]: (root) REPLACE (artifactory)
Mar 02 13:46:00 mxrapservers crontab[31896]: (root) LIST (artifactory)
Mar 02 13:46:00 mxrapservers su[31930]: (to artifactory) root on none
Mar 02 13:46:00 mxrapservers su[31930]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:46:00 mxrapservers su[31930]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:46:00 mxrapservers su[31930]: pam_unix(su:session): session closed for user artifactory
Mar 02 13:46:00 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:46:00.273Z [shell] [INFO ] [] [systemYamlHelper.sh:612       ] [main] - Resolved .shared.script.serviceStartTimeout (180) from /opt/jfrog/artifactory/var/etc/system.yaml
Mar 02 13:47:00 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:47:00.765Z [shell] [INFO ] [] [artifactoryManage.sh:132      ] [main] - Artifactory Tomcat started in normal mode
Mar 02 13:47:01 mxrapservers artifactoryManage.sh[28584]: 2023-03-02T05:47:01.189Z [shell] [INFO ] [] [artifactoryCommon.sh:950      ] [main] - Artifactory running with PID 32010
Mar 02 13:47:01 mxrapservers su[33412]: (to artifactory) root on none
Mar 02 13:47:01 mxrapservers su[33412]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:47:01 mxrapservers su[33412]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:47:01 mxrapservers artifactoryManage.sh[28584]: Using default router's certificate and private key
Mar 02 13:47:01 mxrapservers artifactoryManage.sh[28584]: Starting router...
Mar 02 13:47:01 mxrapservers artifactoryManage.sh[28584]: router not running. Proceed to start it up.
Mar 02 13:47:02 mxrapservers artifactoryManage.sh[28584]: router started. PID: 33520
Mar 02 13:47:02 mxrapservers su[33412]: pam_unix(su:session): session closed for user artifactory
Mar 02 13:47:02 mxrapservers su[33522]: (to artifactory) root on none
Mar 02 13:47:02 mxrapservers su[33522]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:47:02 mxrapservers su[33522]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:47:02 mxrapservers artifactoryManage.sh[28584]: Starting metadata...
Mar 02 13:47:02 mxrapservers artifactoryManage.sh[28584]: JF_METADATA_ACCESSCLIENT_URL: http://localhost:8081/access
Mar 02 13:47:02 mxrapservers artifactoryManage.sh[28584]: metadata started. PID: 33653
Mar 02 13:47:02 mxrapservers su[33522]: pam_unix(su:session): session closed for user artifactory
Mar 02 13:47:02 mxrapservers su[33655]: (to artifactory) root on none
Mar 02 13:47:02 mxrapservers su[33655]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:47:02 mxrapservers su[33655]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:47:02 mxrapservers artifactoryManage.sh[28584]: Starting frontend...
Mar 02 13:47:03 mxrapservers artifactoryManage.sh[28584]: frontend not running. Proceed to start it up.
Mar 02 13:47:04 mxrapservers artifactoryManage.sh[28584]: frontend started. PID: 33776
Mar 02 13:47:04 mxrapservers su[33778]: (to artifactory) root on none
Mar 02 13:47:04 mxrapservers su[33778]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:47:04 mxrapservers su[33778]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:47:04 mxrapservers artifactoryManage.sh[28584]: Starting observability...
Mar 02 13:47:04 mxrapservers artifactoryManage.sh[28584]: observability not running. Proceed to start it up.
Mar 02 13:47:06 mxrapservers artifactoryManage.sh[28584]: observability started. PID: 33900
Mar 02 13:47:06 mxrapservers su[33902]: (to artifactory) root on none
Mar 02 13:47:06 mxrapservers su[33902]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:47:06 mxrapservers su[33902]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:47:06 mxrapservers artifactoryManage.sh[28584]: Starting integration...
Mar 02 13:47:06 mxrapservers artifactoryManage.sh[28584]: PID exists (12591), but integration not running. Proceed to start it up.
Mar 02 13:47:08 mxrapservers artifactoryManage.sh[28584]: integration started. PID: 34027
Mar 02 13:47:08 mxrapservers su[33902]: pam_unix(su:session): session closed for user artifactory
Mar 02 13:47:08 mxrapservers su[34029]: (to artifactory) root on none
Mar 02 13:47:08 mxrapservers su[34029]: pam_limits(su:session): Could not set limit for 'nofile' to soft=1024, hard=524288: Operation not permitted; uid=0,euid=0
Mar 02 13:47:08 mxrapservers su[34029]: pam_unix(su:session): session opened for user artifactory by (uid=0)
Mar 02 13:47:08 mxrapservers artifactoryManage.sh[28584]: Starting event...
Mar 02 13:47:08 mxrapservers artifactoryManage.sh[28584]: PID exists (12715), but event not running. Proceed to start it up.
Mar 02 13:47:09 mxrapservers artifactoryManage.sh[28584]: event started. PID: 34147
Mar 02 13:47:10 mxrapservers systemd[1]: Started Artifactory service.

이제 서버가 실행 중이고 만족스러워 보입니다.

어떤 아이디어가 있나요? 인공적으로 자체적으로 시작되지 않는 이유는 무엇입니까?

흥미롭게도(아마도) 서비스를 종료한 후에는 systemctl start artifactory문제 없이 서비스가 시작되었습니다.

관련 정보