Make sure to tell us:
- What version are you upgrading from?
- System information (Operating system, Java version, Database provider/version)
- What’s the issue you’re facing?
from 9.8 to 10.1
Linux .java 17, Postgress
Unable to access SonarQube service after upgrade
FYI
Aug 11 11:01:27 xxxxxxxxxxxxxxxx nohup[8813]: WARNING: A terminally deprecated method in java.lang.System has been called
Aug 11 11:01:27 xxxxxxxxxxxxxxxx nohup[8813]: WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube-10.1.0.73491/lib/sonar-application-10.1.0.73491.jar)
Aug 11 11:01:27 xxxxxxxxxxxxxxxx nohup[8813]: WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
Aug 11 11:01:27 xxxxxxxxxxxxxxxx nohup[8813]: WARNING: System::setSecurityManager will be removed in a future release
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=SYSCALL msg=audit(1691769679.039:4860): arch=c000003e syscall=59 success=yes exit=0 a0=7fa12615d350 a1=7fa12b2ad0e0 a2=7ffe15a74170 a3=8 items=2 ppid=8927 pid=8968 auid=4294967295 uid=994 gid=991 euid=994 suid=994 fsuid=994 egid=991 sgid=991 fsgid=991 tty=(none) ses=4294967295 comm="jspawnhelper" exe="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/lib/jspawnhelper" subj=system_u:system_r:unconfined_service_t:s0 key="execve"ARCH=x86_64 SYSCALL=execve AUID="unset" UID="sonarqube" GID="sonarqube" EUID="sonarqube" SUID="sonarqube" FSUID="sonarqube" EGID="sonarqube" SGID="sonarqube" FSGID="sonarqube"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=EXECVE msg=audit(1691769679.039:4860): argc=1 a0="66:69"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=CWD msg=audit(1691769679.039:4860): cwd="/opt/sonarqube-10.1.0.73491/elasticsearch"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769679.039:4860): item=0 name="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/lib/jspawnhelper" inode=3292097 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:lib_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769679.039:4860): item=1 name="/lib64/ld-linux-x86-64.so.2" inode=3282912 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PROCTITLE msg=audit(1691769679.039:4860): proctitle="66:69"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=SYSCALL msg=audit(1691769679.040:4861): arch=c000003e syscall=59 success=yes exit=0 a0=5623558142a0 a1=5623558142f0 a2=7ffcad323fb8 a3=7ffcad323cd0 items=1 ppid=8927 pid=8968 auid=4294967295 uid=994 gid=991 euid=994 suid=994 fsuid=994 egid=991 sgid=991 fsgid=991 tty=(none) ses=4294967295 comm="ldconfig" exe="/usr/sbin/ldconfig" subj=system_u:system_r:unconfined_service_t:s0 key="execve"ARCH=x86_64 SYSCALL=execve AUID="unset" UID="sonarqube" GID="sonarqube" EUID="sonarqube" SUID="sonarqube" FSUID="sonarqube" EGID="sonarqube" SGID="sonarqube" FSGID="sonarqube"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=EXECVE msg=audit(1691769679.040:4861): argc=2 a0="/sbin/ldconfig" a1="-p"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=CWD msg=audit(1691769679.040:4861): cwd="/opt/sonarqube-10.1.0.73491/elasticsearch"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769679.040:4861): item=0 name="/sbin/ldconfig" inode=3289329 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ldconfig_exec_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PROCTITLE msg=audit(1691769679.040:4861): proctitle="66:69"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=SYSCALL msg=audit(1691769684.292:4862): arch=c000003e syscall=59 success=yes exit=0 a0=7fb9781fb6d0 a1=7fb9c8826b80 a2=7ffdbfc4c9c0 a3=8 items=2 ppid=8813 pid=8991 auid=4294967295 uid=994 gid=991 euid=994 suid=994 fsuid=994 egid=991 sgid=991 fsgid=991 tty=(none) ses=4294967295 comm="jspawnhelper" exe="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/lib/jspawnhelper" subj=system_u:system_r:unconfined_service_t:s0 key="execve"ARCH=x86_64 SYSCALL=execve AUID="unset" UID="sonarqube" GID="sonarqube" EUID="sonarqube" SUID="sonarqube" FSUID="sonarqube" EGID="sonarqube" SGID="sonarqube" FSGID="sonarqube"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=EXECVE msg=audit(1691769684.292:4862): argc=1 a0="37:40"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=CWD msg=audit(1691769684.292:4862): cwd="/"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769684.292:4862): item=0 name="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/lib/jspawnhelper" inode=3292097 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:lib_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769684.292:4862): item=1 name="/lib64/ld-linux-x86-64.so.2" inode=3282912 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PROCTITLE msg=audit(1691769684.292:4862): proctitle="37:40"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=SYSCALL msg=audit(1691769684.293:4863): arch=c000003e syscall=59 success=yes exit=0 a0=55895c8632a0 a1=55895c8637b0 a2=55895c863880 a3=7ffc2f6665c0 items=2 ppid=8813 pid=8991 auid=4294967295 uid=994 gid=991 euid=994 suid=994 fsuid=994 egid=991 sgid=991 fsgid=991 tty=(none) ses=4294967295 comm="java" exe="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/bin/java" subj=system_u:system_r:unconfined_service_t:s0 key="execve"ARCH=x86_64 SYSCALL=execve AUID="unset" UID="sonarqube" GID="sonarqube" EUID="sonarqube" SUID="sonarqube" FSUID="sonarqube" EGID="sonarqube" SGID="sonarqube" FSGID="sonarqube"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=EXECVE msg=audit(1691769684.293:4863): argc=23 a0="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/bin/java" a1="-Djava.awt.headless=true" a2="-Dfile.encoding=UTF-8" a3="-Djava.io.tmpdir=/var/sonarqube/temp" a4="-XX:-OmitStackTraceInFastThrow" a5="--add-opens=java.base/java.util=ALL-UNNAMED" a6="--add-opens=java.base/java.lang=ALL-UNNAMED" a7="--add-opens=java.base/java.io=ALL-UNNAMED" a8="--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" a9="--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED" a10="--add-opens=java.base/java.nio=ALL-UNNAMED" a11="--add-opens=java.base/sun.nio.ch=ALL-UNNAMED" a12="--add-opens=java.management/sun.management=ALL-UNNAMED" a13="--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED" a14="-Dcom.redhat.fips=false" a15="-Xmx512m" a16="-Xms128m" a17="-XX:+HeapDumpOnOutOfMemoryError" a18="-Dhttp.nonProxyHosts=localhost|127.*|[::1]" a19="-cp" a20="./lib/sonar-application-10.1.0.73491.jar:/opt/sonarqube-10.1.0.73491/lib/jdbc/postgresql/postgresql-42.6.0.jar" a21="org.sonar.server.app.WebServer" a22="/var/sonarqube/temp/sq-process7735349266589498665properties"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=CWD msg=audit(1691769684.293:4863): cwd="/opt/sonarqube-10.1.0.73491"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769684.293:4863): item=0 name="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-2.el8.x86_64/bin/java" inode=3291845 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:bin_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PATH msg=audit(1691769684.293:4863): item=1 name="/lib64/ld-linux-x86-64.so.2" inode=3282912 dev=fd:00 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="root" OGID="root"
Aug 11 11:01:27 xxxxxxxxxxxxxxxx tag_audit_log: type=PROCTITLE msg=audit(1691769684.293:4863): proctitle="37:40"
Aug 11 11:01:29 xxxxxxxxxxxxxxxx nohup[8813]: 2023.08.11 11:01:29 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
Aug 11 11:01:29 xxxxxxxxxxxxxxxx nohup[8813]: 2023.08.11 11:01:29 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
Aug 11 11:01:29 xxxxxxxxxxxxxxxx nohup[8813]: 2023.08.11 11:01:29 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
Aug 11 11:01:29 xxxxxxxxxxxxxxxx nohup[8813]: 2023.08.11 11:01:29 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped
Aug 11 11:01:29 xxxxxxxxxxxxxxxx systemd[1]: sonarqube.service: Succeeded.