How to give the cpanel user more privilege

EagleDotNet

Member
Oct 21, 2022
14
0
1
Egypt
cPanel Access Level
Root Administrator
I run a Minecraft server on WHM under a cPanel account, the server works in Java and I have no problems running it with root permissions:
[[email protected] Minecraft]# java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
15:58:16 [INFO ] Loading nukkit.yml ...
15:58:16 [INFO ] Loading server.properties ...
15:58:16 [INFO ] Selected English (eng) as the base language
15:58:16 [INFO ] Starting Minecraft: BE server version v1.19.40
15:58:16 [INFO ] Selected Zlib Provider: 2 (cn.nukkit.utils.ZlibThreadLocal)
15:58:16 [INFO ] Opening server on x.x.x.x:19132
15:58:16 [INFO ] This server is running Nukkit version git-bd9d330 "" (API 1.0.14)
15:58:16 [INFO ] Nukkit is distributed under the GPL License
15:58:17 [INFO ] Loading runtime items...
15:58:18 [INFO ] Loading recipes...
15:58:18 [INFO ] Loaded 1509 recipes.
15:58:18 [INFO ] Successfully loaded 0 resource packs
15:58:18 [INFO ] /tmp/libnetty_transport_native_epoll_x86_646244476964618641309.so exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.
15:58:18 [INFO ] Loading LobbyNK v3.7.13
15:58:18 [INFO ] Loading WorldEdit v1.0.1
15:58:18 [INFO ] Loading spark v1.10.2
15:58:18 [INFO ] Loading LuckPerms v5.4.52
15:58:19 [INFO ] Enabling LuckPerms v5.4.52
15:58:20 [INFO ] [LuckPerms] Loading configuration...
15:58:20 [INFO ] [LuckPerms] Loading storage provider... [H2]
15:58:21 [INFO ] [LuckPerms] Loading internal permission managers...
15:58:21 [INFO ] [LuckPerms] Performing initial data load...
15:58:21 [INFO ] [LuckPerms] Successfully enabled. (took 2066ms)
15:58:21 [INFO ] Preparing level "world"
15:58:21 [INFO ] Preparing start region for level "world"
15:58:22 [INFO ] Preparing level "nether"
15:58:22 [INFO ] Preparing start region for level "nether"
15:58:22 [INFO ] Enabling LobbyNK v3.7.13
15:58:22 [INFO ] bStats Metrics loaded
15:58:22 [INFO ] Enabling WorldEdit v1.0.1
15:58:22 [INFO ] Enabling spark v1.10.2
15:58:22 [INFO ] [spark] Starting background profiler...
15:58:22 [INFO ] Starting GS4 status listener
15:58:22 [INFO ] Setting query port to 19132
15:58:22 [INFO ] Query is running on x.x.x.x:19132
15:58:22 [INFO ] Default game type: Survival Mode
15:58:22 [INFO ] Done (6.443s)! For help, type "help" or "?"
But when I run it with a cPanel account that I created to run the Minecraft server, it does not work well and errors appear:
[[email protected] Minecraft]$ java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
2022-11-17 15:46:22,742 main ERROR Cannot access RandomAccessFile java.io.FileNotFoundException: logs/server.log (Permission denied) java.io.FileNotFoundException: logs/server.log (Permission denied)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:124)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccessFileManager.java:232)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager$RollingRandomAccessFileManagerFactory.createManager(RollingRandomAccessFileManager.java:204)
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:114)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:107)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:132)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:53)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:599)
at cn.nukkit.Nukkit.<clinit>(Nukkit.java:40)

2022-11-17 15:46:22,746 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender for element RollingRandomAccessFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.Rolli[email protected]37e547da] unable to create manager for [logs/server.log] with data [org.apache.logging.log4j.c[email protected]2b6856dd] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.Rolli[email protected]37e547da] unable to create manager for [logs/server.log] with data [org.apache.logging.log4j.c[email protected]2b6856dd]
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:116)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)
at org.apache.logging.log4j.core.appender.rolling.RollingRandomAccessFileManager.getRollingRandomAccessFileManager(RollingRandomAccessFileManager.java:107)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:132)
at org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender$Builder.build(RollingRandomAccessFileAppender.java:53)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:599)
at cn.nukkit.Nukkit.<clinit>(Nukkit.java:40)

2022-11-17 15:46:22,748 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender for element RollingRandomAccessFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:236)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:134)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:599)
at cn.nukkit.Nukkit.<clinit>(Nukkit.java:40)

2022-11-17 15:46:22,748 main ERROR Null object returned for RollingRandomAccessFile in Appenders.
2022-11-17 15:46:22,753 main ERROR Unable to locate appender "File" for logger config "root"
15:46:22 [INFO ] Loading nukkit.yml ...
15:46:22 [INFO ] Loading server.properties ...
15:46:22 [INFO ] Selected English (eng) as the base language
15:46:22 [INFO ] Starting Minecraft: BE server version v1.19.40
15:46:23 [INFO ] Selected Zlib Provider: 2 (cn.nukkit.utils.ZlibThreadLocal)
15:46:23 [INFO ] Opening server on x.x.x.x:19132
15:46:23 [INFO ] This server is running Nukkit version git-bd9d330 "" (API 1.0.14)
15:46:23 [INFO ] Nukkit is distributed under the GPL License
15:46:23 [INFO ] Loading runtime items...
15:46:24 [INFO ] Loading recipes...
15:46:24 [INFO ] Loaded 1509 recipes.
15:46:24 [INFO ] Successfully loaded 0 resource packs
15:46:24 [INFO ] /tmp/libnetty_transport_native_epoll_x86_642089062177378181525.so exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.
15:46:24 [INFO ] Loading LobbyNK v3.7.13
15:46:24 [INFO ] Loading WorldEdit v1.0.1
15:46:24 [INFO ] Loading spark v1.10.2
15:46:24 [INFO ] Loading LuckPerms v5.4.52
15:46:25 [ERROR] Throwing
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[?:1.8.0_352]
at java.lang.Thread.start(Thread.java:719) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1603) ~[?:1.8.0_352]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:334) ~[?:1.8.0_352]
at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:573) ~[?:1.8.0_352]
at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler.asyncRepeating(AbstractJavaScheduler.java:81) ~[?:?]
at me.lucko.luckperms.common.treeview.PermissionRegistry.<init>(PermissionRegistry.java:57) ~[?:?]
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.load(AbstractLuckPermsPlugin.java:124) ~[?:?]
at me.lucko.luckperms.nukkit.LPNukkitBootstrap.onLoad(LPNukkitBootstrap.java:129) ~[?:?]
at me.lucko.luckperms.nukkit.loader.NukkitLoaderPlugin.onLoad(NukkitLoaderPlugin.java:46) ~[?:?]
at cn.nukkit.plugin.JavaPluginLoader.initPlugin(JavaPluginLoader.java:109) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:57) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:95) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:269) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:132) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:124) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:120) ~[minecraft_server.jar:?]
at cn.nukkit.Server.<init>(Server.java:505) ~[minecraft_server.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [minecraft_server.jar:?]
15:46:25 [INFO ] Stopping other threads
> java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:719)
at cn.nukkit.Nukkit.main(Nukkit.java:141)

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

java.io.IOError: java.io.IOException: Cannot run program "stty": error=11, Resource temporarily unavailable
at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:54)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:628)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:404)
at net.minecrell.terminalconsole.SimpleTerminalConsole.readCommands(SimpleTerminalConsole.java:157)
at net.minecrell.terminalconsole.SimpleTerminalConsole.start(SimpleTerminalConsole.java:140)
at cn.nukkit.Server$ConsoleThread.run(Server.java:2434)
Caused by: java.io.IOException: Cannot run program "stty": error=11, Resource temporarily unavailable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.jline.utils.ExecHelper.exec(ExecHelper.java:35)
at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:175)
at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:87)
at org.jline.terminal.impl.ExecPty.doSetAttr(ExecPty.java:93)
at org.jline.terminal.impl.AbstractPty.setAttr(AbstractPty.java:21)
at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:52)
... 5 more
Caused by: java.io.IOException: error=11, Resource temporarily unavailable
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 11 more

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-1"
I even tried to increase the RAM and run it from the root account and it works fine, but when I try to run the server with a cPanel account it does not work:
[[email protected] Minecraft]$ java -Xmx4096M -Xms2048M -jar minecraft_server.jar nogui
Error occurred during initialization of VM
Could not reserve enough space for 4194304KB object heap
 
Last edited:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,427
2,113
363
cPanel Access Level
Root Administrator
Hey there! On a cPanel server, Java support is likely best handled through Tomcat:


Tomcat runs on a per-user instance, so once that is configured properly, all the necessary tools are available to the cPanel user without needing to use root to start your applications.

Our support is a bit limited for this types of applications, but you'll see the "Add Tomcat support for a user" section that outlines that process.
 

EagleDotNet

Member
Oct 21, 2022
14
0
1
Egypt
cPanel Access Level
Root Administrator
Hey there! On a cPanel server, Java support is likely best handled through Tomcat:


Tomcat runs on a per-user instance, so once that is configured properly, all the necessary tools are available to the cPanel user without needing to use root to start your applications.

Our support is a bit limited for this types of applications, but you'll see the "Add Tomcat support for a user" section that outlines that process.
Thanks for the quick reply
I have completely uninstalled Java and then installed Tomcat through (WHM » Home » Software » EasyApache 4) I got some errors I don't know if they were useful in solving the problem.
[2022-11-17 20:07:28 +0200] info [xml-api] Package whmcs-cpaddon-php73-7.8.3-3.2.noarch already installed and latest version
[2022-11-17 20:07:28 +0200] info [xml-api] --> Running transaction check
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package apache-commons-daemon.x86_64 0:1.0.13-7.el7 will be installed
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73.x86_64 0:7.3.33-1.1.1.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-libc-client.x86_64 0:2007f-22.23.6.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-pear.noarch 0:1.10.12-4.13.27.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] --> Processing Dependency: ea-php73-pear for package: whmcs-cpaddon-php73-7.8.3-3.2.noarch
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-cli.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-common.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-curl.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-devel.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-ftp.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-gd.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-iconv.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-imap.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-ioncube10.x86_64 0:10.4.5-4.5.27.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-litespeed.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-mbstring.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-mysqlnd.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-pdo.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-posix.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-php-xml.x86_64 0:7.3.33-4.4.19.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-php73-runtime.x86_64 0:7.3.33-1.1.1.cpanel will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package ea-tomcat85.x86_64 0:8.5.83-1.1.1.cpanel will be installed
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.352.b08-2.el7_9 will be installed
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.352.b08-2.el7_9 will be installed
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.352.b08-2.el7_9 will be installed
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package mysql-connector-java.noarch 1:8.0.30-1.el7 will be installed
[2022-11-17 20:07:28 +0200] info [xml-api] --> Running transaction check
[2022-11-17 20:07:28 +0200] info [xml-api] ---> Package whmcs-cpaddon-php73.noarch 0:7.8.3-3.2 will be erased
[2022-11-17 20:07:28 +0200] info [xml-api] --> Finished Dependency Resolution
[2022-11-17 20:07:28 +0200] info [xml-api] ================================================================================
[2022-11-17 20:07:28 +0200] info [xml-api] Package Arch Version Repository Size
[2022-11-17 20:07:28 +0200] info [xml-api] ================================================================================
[2022-11-17 20:07:28 +0200] info [xml-api] Installing:
[2022-11-17 20:07:28 +0200] info [xml-api] apache-commons-daemon x86_64 1.0.13-7.el7 base 54 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-tomcat85 x86_64 8.5.83-1.1.1.cpanel EA4 9.9 M
[2022-11-17 20:07:28 +0200] info [xml-api] java-1.8.0-openjdk x86_64 1:1.8.0.352.b08-2.el7_9 updates 316 k
[2022-11-17 20:07:28 +0200] info [xml-api] java-1.8.0-openjdk-devel x86_64 1:1.8.0.352.b08-2.el7_9 updates 9.8 M
[2022-11-17 20:07:28 +0200] info [xml-api] java-1.8.0-openjdk-headless x86_64 1:1.8.0.352.b08-2.el7_9 updates 33 M
[2022-11-17 20:07:28 +0200] info [xml-api] mysql-connector-java noarch 1:8.0.30-1.el7 Mysql-connectors-community
[2022-11-17 20:07:28 +0200] info [xml-api] 2.4 M
[2022-11-17 20:07:28 +0200] info [xml-api] Removing:
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73 x86_64 7.3.33-1.1.1.cpanel @EA4 0.0
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-libc-client x86_64 2007f-22.23.6.cpanel @EA4 1.5 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-pear noarch 1.10.12-4.13.27.cpanel @EA4 2.1 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-cli x86_64 7.3.33-4.4.19.cpanel @EA4 8.5 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-common x86_64 7.3.33-4.4.19.cpanel @EA4 797 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-curl x86_64 7.3.33-4.4.19.cpanel @EA4 97 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-devel x86_64 7.3.33-4.4.19.cpanel @EA4 5.5 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-ftp x86_64 7.3.33-4.4.19.cpanel @EA4 61 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-gd x86_64 7.3.33-4.4.19.cpanel @EA4 378 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-iconv x86_64 7.3.33-4.4.19.cpanel @EA4 40 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-imap x86_64 7.3.33-4.4.19.cpanel @EA4 93 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-ioncube10 x86_64 10.4.5-4.5.27.cpanel @EA4 1.3 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-litespeed x86_64 7.3.33-4.4.19.cpanel @EA4 4.2 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-mbstring x86_64 7.3.33-4.4.19.cpanel @EA4 1.6 M
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-mysqlnd x86_64 7.3.33-4.4.19.cpanel @EA4 418 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-pdo x86_64 7.3.33-4.4.19.cpanel @EA4 191 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-posix x86_64 7.3.33-4.4.19.cpanel @EA4 36 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-xml x86_64 7.3.33-4.4.19.cpanel @EA4 414 k
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-runtime x86_64 7.3.33-1.1.1.cpanel @EA4 21 k
[2022-11-17 20:07:28 +0200] info [xml-api] Removing for dependencies:
[2022-11-17 20:07:28 +0200] info [xml-api] whmcs-cpaddon-php73 noarch 7.8.3-3.2 @cpanel-addons-production-feed
[2022-11-17 20:07:28 +0200] info [xml-api] 0.0
[2022-11-17 20:07:28 +0200] info [xml-api] Transaction Summary
[2022-11-17 20:07:28 +0200] info [xml-api] ================================================================================
[2022-11-17 20:07:28 +0200] info [xml-api] Install 6 Packages
[2022-11-17 20:07:28 +0200] info [xml-api] Remove 19 Packages (+1 Dependent package)
[2022-11-17 20:07:28 +0200] info [xml-api] Total download size: 56 M
[2022-11-17 20:07:28 +0200] info [xml-api] Downloading packages:
[2022-11-17 20:07:28 +0200] info [xml-api] --------------------------------------------------------------------------------
[2022-11-17 20:07:28 +0200] info [xml-api] Total 33 MB/s | 56 MB 00:01
[2022-11-17 20:07:28 +0200] info [xml-api] Running transaction check
[2022-11-17 20:07:28 +0200] info [xml-api] Running transaction test
[2022-11-17 20:07:28 +0200] info [xml-api] Transaction test succeeded
[2022-11-17 20:07:28 +0200] info [xml-api] Running transaction
[2022-11-17 20:07:28 +0200] info [xml-api] usermod: no changes
[2022-11-17 20:07:28 +0200] info [xml-api] Installing : 1:java-1.8.0-openjdk-headless-1.8.0.352.b08-2.el7_9.x86_ 1/26
[2022-11-17 20:07:28 +0200] info [xml-api] Installing : 1:java-1.8.0-openjdk-1.8.0.352.b08-2.el7_9.x86_64 2/26
[2022-11-17 20:07:28 +0200] info [xml-api] Installing : 1:java-1.8.0-openjdk-devel-1.8.0.352.b08-2.el7_9.x86_64 3/26
[2022-11-17 20:07:28 +0200] info [xml-api] Installing : apache-commons-daemon-1.0.13-7.el7.x86_64 4/26
[2022-11-17 20:07:28 +0200] info [xml-api] Installing : 1:mysql-connector-java-8.0.30-1.el7.noarch 5/26
[2022-11-17 20:07:28 +0200] info [xml-api] usermod: no changes
[2022-11-17 20:07:28 +0200] info [xml-api] Installing : ea-tomcat85-8.5.83-1.1.1.cpanel.x86_64 6/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : whmcs-cpaddon-php73-7.8.3-3.2.noarch 7/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-7.3.33-1.1.1.cpanel.x86_64 8/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-pear-1.10.12-4.13.27.cpanel.noarch 9/26
[2022-11-17 20:07:28 +0200] info [xml-api] warning: /opt/cpanel/ea-php73/root/etc/pear.conf saved as /opt/cpanel/ea-php73/root/etc/pear.conf.rpmsave
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-ioncube10-10.4.5-4.5.27.cpanel.x86_64 10/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-imap-7.3.33-4.4.19.cpanel.x86_64 11/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-ftp-7.3.33-4.4.19.cpanel.x86_64 12/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-posix-7.3.33-4.4.19.cpanel.x86_64 13/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-xml-7.3.33-4.4.19.cpanel.x86_64 14/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-curl-7.3.33-4.4.19.cpanel.x86_64 15/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-gd-7.3.33-4.4.19.cpanel.x86_64 16/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-iconv-7.3.33-4.4.19.cpanel.x86_64 17/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-mbstring-7.3.33-4.4.19.cpanel.x86_64 18/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-devel-7.3.33-4.4.19.cpanel.x86_64 19/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-mysqlnd-7.3.33-4.4.19.cpanel.x86_64 20/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-pdo-7.3.33-4.4.19.cpanel.x86_64 21/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-cli-7.3.33-4.4.19.cpanel.x86_64 22/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-litespeed-7.3.33-4.4.19.cpanel.x86_64 23/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-php-common-7.3.33-4.4.19.cpanel.x86_64 24/26
[2022-11-17 20:07:28 +0200] info [xml-api] warning: /opt/cpanel/ea-php73/root/etc/php.ini saved as /opt/cpanel/ea-php73/root/etc/php.ini.rpmsave
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-libc-client-2007f-22.23.6.cpanel.x86_64 25/26
[2022-11-17 20:07:28 +0200] info [xml-api] Erasing : ea-php73-runtime-7.3.33-1.1.1.cpanel.x86_64 26/26
[2022-11-17 20:07:28 +0200] info [xml-api] Starting playminecraft ?
[2022-11-17 20:07:28 +0200] info [xml-api] Restarting ea-tomcat85... restarted
[2022-11-17 20:07:28 +0200] info [xml-api] ? done (playminecraft).
[2022-11-17 20:07:28 +0200] info [xml-api] usermod: no changes
[2022-11-17 20:07:28 +0200] info [xml-api] Purging all relevant cached command results
[2022-11-17 20:07:28 +0200] info [xml-api] Removing: /root/.cpanel/datastore/_usr_sbin_httpd_-V
[2022-11-17 20:07:28 +0200] info [xml-api] Removing: /root/.cpanel/datastore/_usr_sbin_httpd_-l
[2022-11-17 20:07:28 +0200] info [xml-api] Removing: /root/.cpanel/datastore/_usr_sbin_httpd_-v
[2022-11-17 20:07:28 +0200] info [xml-api] Rebuilding global cache
[2022-11-17 20:07:28 +0200] info [xml-api] Building global cache for cpanel...Done
[2022-11-17 20:07:28 +0200] info [xml-api] Nothing to do (/etc/suphp.conf does not exist)
[2022-11-17 20:07:28 +0200] info [xml-api] Built /etc/apache2/conf/httpd.conf OK
[2022-11-17 20:07:28 +0200] info [xml-api] Nothing to do under ea4 (this script has been deprecated under ea4).
[2022-11-17 20:07:28 +0200] info [xml-api] Fix mailman package directories …
[2022-11-17 20:07:28 +0200] info [xml-api] … PID 8476
[2022-11-17 20:07:28 +0200] info [xml-api] Fix mailing list perms …
[2022-11-17 20:07:28 +0200] info [xml-api] … PID 8478
[2022-11-17 20:07:28 +0200] info [xml-api] Aligning modsec config to Whostmgr
[2022-11-17 20:07:28 +0200] info [xml-api] - Whostmgr version 11.106.0.10
[2022-11-17 20:07:28 +0200] info [xml-api] - Whostmgr supports conf.d/modsec location
[2022-11-17 20:07:28 +0200] info [xml-api] - No change necessary
[2022-11-17 20:07:28 +0200] info [xml-api] Waiting for “httpd” to restart gracefully …waiting for “httpd” to initialize ………finished.
[2022-11-17 20:07:28 +0200] info [xml-api] Service Status
[2022-11-17 20:07:28 +0200] info [xml-api] httpd (/usr/sbin/httpd -k start) is running as root with PID 2210 (systemd+/proc check method).
[2022-11-17 20:07:28 +0200] info [xml-api] Startup Log
[2022-11-17 20:07:28 +0200] info [xml-api] Nov 17 20:04:32 x.x.x.117.host.secureserver.net systemd[1]: Starting Apache web server managed by cPanel EasyApache...
[2022-11-17 20:07:28 +0200] info [xml-api] Nov 17 20:04:33 x.x.x.117.host.secureserver.net systemd[1]: Can't open PID file /run/apache2/httpd.pid (yet?) after start: No such file or directory
[2022-11-17 20:07:28 +0200] info [xml-api] Nov 17 20:04:34 x.x.x.117.host.secureserver.net systemd[1]: Started Apache web server managed by cPanel EasyApache.
[2022-11-17 20:07:28 +0200] info [xml-api] Log Messages
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:05:45.906479 2022] [:error] [pid 2347] [client 172.105.77.209:49891] [client 172.105.77.209] ModSecurity: Warning. Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "303"] [id "920280"] [rev "2"] [msg "Request Missing a Host Header"] [severity "WARNING"] [ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "9"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "play.xxxx.com"] [uri "/0bef"] [unique_id "xxxxxxxxxxxxxxxxxxxxxxAAAAM"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:04:34.524841 2022] [mpm_prefork:notice] [pid 2210] AH00163: Apache/2.4.54 (cPanel) OpenSSL/1.1.1s mod_bwlimited/1.4 configured -- resuming normal operations
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:04:33.832868 2022] [:notice] [pid 2058] ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/) configured.
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:02:16.741492 2022] [:error] [pid 5836] [client 13.87.73.20:65186] [client 13.87.73.20] ModSecurity: Warning. Operator GE matched 5 at TX:inbound_anomaly_score. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/RESPONSE-980-CORRELATION.conf"] [line "37"] [id "980130"] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5 - SQLI=0,XSS=0,RFI=0,LFI=5,RCE=0,PHPI=0,HTTP=0,SESS=0): Restricted File Access Attempt"] [tag "event-correlation"] [hostname "x.x.x.219"] [uri "/.env"] [unique_id "xxxxxxxxxxxxxxxxxxxxAAAABM"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:02:16.741307 2022] [:error] [pid 5836] [client 13.87.73.20:65186] [client 13.87.73.20] ModSecurity: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:anomaly_score. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "30"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [severity "CRITICAL"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "x.x.x.219"] [uri "/.env"] [unique_id "xxxxxxxxxxxxxxxxxxxxAAAABM"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:02:16.741145 2022] [:error] [pid 5836] [client 13.87.73.20:65186] [client 13.87.73.20] ModSecurity: Warning. Matched phrase "/.env" at REQUEST_FILENAME. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"] [line "49"] [id "930130"] [rev "1"] [msg "Restricted File Access Attempt"] [data "Matched Data: /.env found within REQUEST_FILENAME: /.env"] [severity "CRITICAL"] [ver "OWASP_CRS/3.0.0"] [maturity "7"] [accuracy "8"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-lfi"] [tag "OWASP_CRS/WEB_ATTACK/FILE_INJECTION"] [tag "WASCTC/WASC-33"] [tag "OWASP_TOP_10/A4"] [tag "PCI/6.5.4"] [hostname "x.x.x.219"] [uri "/.env"] [unique_id "xxxxxxxxxxxxxxxxxxxxAAAABM"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:02:16.134001 2022] [:error] [pid 5967] [client 13.87.73.20:65100] [client 13.87.73.20] ModSecurity: Warning. Operator GE matched 5 at TX:inbound_anomaly_score. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/RESPONSE-980-CORRELATION.conf"] [line "37"] [id "980130"] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5 - SQLI=0,XSS=0,RFI=0,LFI=5,RCE=0,PHPI=0,HTTP=0,SESS=0): Restricted File Access Attempt"] [tag "event-correlation"] [hostname "x.x.x.219"] [uri "/403.shtml"] [unique_id "xxxxxxxxxxxxxxxxxxxxxxAAAAA"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:02:16.132965 2022] [:error] [pid 5967] [client 13.87.73.20:65100] [client 13.87.73.20] ModSecurity: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:anomaly_score. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "30"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [severity "CRITICAL"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "x.x.x.219"] [uri "/.env"] [unique_id "xxxxxxxxxxxxxxxxxxxxxxAAAAA"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 20:02:16.132786 2022] [:error] [pid 5967] [client 13.87.73.20:65100] [client 13.87.73.20] ModSecurity: Warning. Matched phrase "/.env" at REQUEST_FILENAME. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"] [line "49"] [id "930130"] [rev "1"] [msg "Restricted File Access Attempt"] [data "Matched Data: /.env found within REQUEST_FILENAME: /.env"] [severity "CRITICAL"] [ver "OWASP_CRS/3.0.0"] [maturity "7"] [accuracy "8"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-lfi"] [tag "OWASP_CRS/WEB_ATTACK/FILE_INJECTION"] [tag "WASCTC/WASC-33"] [tag "OWASP_TOP_10/A4"] [tag "PCI/6.5.4"] [hostname "x.x.x.219"] [uri "/.env"] [unique_id "xxxxxxxxxxxxxxxxxxxxxxAAAAA"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 19:50:49.519796 2022] [:error] [pid 30935] [client 4.227.245.176:52737] [client 4.227.245.176] ModSecurity: Warning. Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "303"] [id "920280"] [rev "2"] [msg "Request Missing a Host Header"] [severity "WARNING"] [ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "9"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "x.x.x.117.host.secureserver.net"] [uri "/robots.txt"] [unique_id "xxxxxxx-xxxxxxxxxxxxxxAAAAA4"]
[2022-11-17 20:07:28 +0200] info [xml-api] [Thu Nov 17 19:49:32.558477 2022] [:error] [pid 29560] [client 4.227.245.176:57900] [client 4.227.245.176] ModSecurity: Warning. Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "303"] [id "920280"] [rev "2"] [msg "Request Missing a Host Header"] [severity "WARNING"] [ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "9"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_HOST"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "x.x.x.117.host.secureserver.net"] [uri "/robots.txt"] [unique_id "xxxxxxxxxxxxxxxxx-xxxAAAAA0"]
[2022-11-17 20:07:28 +0200] info [xml-api] httpd restarted successfully.
[2022-11-17 20:07:28 +0200] info [xml-api] Setting /home permissions to 0711 …
[2022-11-17 20:07:28 +0200] info [xml-api] Setting permissions for users …
[2022-11-17 20:07:28 +0200] info [xml-api] User1 …
[2022-11-17 20:07:28 +0200] info [xml-api] User2 …
[2022-11-17 20:07:28 +0200] info [xml-api] User3 …
[2022-11-17 20:07:28 +0200] info [xml-api] User4 …
[2022-11-17 20:07:28 +0200] info [xml-api] User5 …
[2022-11-17 20:07:28 +0200] info [xml-api] User6 …
[2022-11-17 20:07:28 +0200] info [xml-api] User7 …
[2022-11-17 20:07:28 +0200] info [xml-api] User8 …
[2022-11-17 20:07:28 +0200] info [xml-api] playminecraft …
[2022-11-17 20:07:28 +0200] info [xml-api] User9 …
[2022-11-17 20:07:28 +0200] info [xml-api] … Done
[2022-11-17 20:07:28 +0200] info [xml-api] Nothing to do (/etc/suphp.conf does not exist)
[2022-11-17 20:07:28 +0200] info [xml-api] Processing ea-php74 …
[2022-11-17 20:07:28 +0200] info [xml-api] … moving zend_extension and extension directives from php.ini to php.d/zzzzzzz-pecl.ini …
[2022-11-17 20:07:28 +0200] info [xml-api] Processing ea-php80 …
[2022-11-17 20:07:28 +0200] info [xml-api] … moving zend_extension and extension directives from php.ini to php.d/zzzzzzz-pecl.ini …
[2022-11-17 20:07:28 +0200] info [xml-api] Service Status
[2022-11-17 20:07:28 +0200] info [xml-api] Found 2 versions of PHP-FPM: 74 80
[2022-11-17 20:07:28 +0200] info [xml-api] Apache PHP-FPM 74(php-fpm: master process (/opt/cpanel/ea-php74/root/etc/php-fpm.conf)) is running as root with PID “8532” (process table check method)
[2022-11-17 20:07:28 +0200] info [xml-api] Apache PHP-FPM 80(php-fpm: master process (/opt/cpanel/ea-php80/root/etc/php-fpm.conf)) is running as root with PID “8547” (process table check method)
[2022-11-17 20:07:28 +0200] info [xml-api] apache_php_fpm restarted successfully.
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : 1:java-1.8.0-openjdk-devel-1.8.0.352.b08-2.el7_9.x86_64 1/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : 1:java-1.8.0-openjdk-headless-1.8.0.352.b08-2.el7_9.x86_ 2/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : apache-commons-daemon-1.0.13-7.el7.x86_64 3/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : 1:mysql-connector-java-8.0.30-1.el7.noarch 4/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : 1:java-1.8.0-openjdk-1.8.0.352.b08-2.el7_9.x86_64 5/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-tomcat85-8.5.83-1.1.1.cpanel.x86_64 6/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-runtime-7.3.33-1.1.1.cpanel.x86_64 7/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-imap-7.3.33-4.4.19.cpanel.x86_64 8/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-xml-7.3.33-4.4.19.cpanel.x86_64 9/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-gd-7.3.33-4.4.19.cpanel.x86_64 10/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-ioncube10-10.4.5-4.5.27.cpanel.x86_64 11/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : whmcs-cpaddon-php73-7.8.3-3.2.noarch 12/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-libc-client-2007f-22.23.6.cpanel.x86_64 13/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-pdo-7.3.33-4.4.19.cpanel.x86_64 14/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-pear-1.10.12-4.13.27.cpanel.noarch 15/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-ftp-7.3.33-4.4.19.cpanel.x86_64 16/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-devel-7.3.33-4.4.19.cpanel.x86_64 17/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-7.3.33-1.1.1.cpanel.x86_64 18/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-posix-7.3.33-4.4.19.cpanel.x86_64 19/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-litespeed-7.3.33-4.4.19.cpanel.x86_64 20/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-cli-7.3.33-4.4.19.cpanel.x86_64 21/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-mbstring-7.3.33-4.4.19.cpanel.x86_64 22/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-common-7.3.33-4.4.19.cpanel.x86_64 23/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-mysqlnd-7.3.33-4.4.19.cpanel.x86_64 24/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-iconv-7.3.33-4.4.19.cpanel.x86_64 25/26
[2022-11-17 20:07:28 +0200] info [xml-api] Verifying : ea-php73-php-curl-7.3.33-4.4.19.cpanel.x86_64 26/26
[2022-11-17 20:07:28 +0200] info [xml-api] Removed:
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73.x86_64 0:7.3.33-1.1.1.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-libc-client.x86_64 0:2007f-22.23.6.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-pear.noarch 0:1.10.12-4.13.27.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-cli.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-common.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-curl.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-devel.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-ftp.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-gd.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-iconv.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-imap.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-ioncube10.x86_64 0:10.4.5-4.5.27.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-litespeed.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-mbstring.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-mysqlnd.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-pdo.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-posix.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-php-xml.x86_64 0:7.3.33-4.4.19.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] ea-php73-runtime.x86_64 0:7.3.33-1.1.1.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] Dependency Removed:
[2022-11-17 20:07:28 +0200] info [xml-api] whmcs-cpaddon-php73.noarch 0:7.8.3-3.2
[2022-11-17 20:07:28 +0200] info [xml-api] Installed:
[2022-11-17 20:07:28 +0200] info [xml-api] apache-commons-daemon.x86_64 0:1.0.13-7.el7
[2022-11-17 20:07:28 +0200] info [xml-api] ea-tomcat85.x86_64 0:8.5.83-1.1.1.cpanel
[2022-11-17 20:07:28 +0200] info [xml-api] java-1.8.0-openjdk.x86_64 1:1.8.0.352.b08-2.el7_9
[2022-11-17 20:07:28 +0200] info [xml-api] java-1.8.0-openjdk-devel.x86_64 1:1.8.0.352.b08-2.el7_9
[2022-11-17 20:07:28 +0200] info [xml-api] java-1.8.0-openjdk-headless.x86_64 1:1.8.0.352.b08-2.el7_9
[2022-11-17 20:07:28 +0200] info [xml-api] mysql-connector-java.noarch 1:8.0.30-1.el7
[2022-11-17 20:07:28 +0200] info [xml-api] Finished Transaction
[2022-11-17 20:07:28 +0200] info [xml-api] Leaving Shell
Then I tried to run the Minecraft server through Terminal and it always shows me this message even if I try to run any of the commands:
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: retry: No child processes
bash: fork: Resource temporarily unavailable
 

EagleDotNet

Member
Oct 21, 2022
14
0
1
Egypt
cPanel Access Level
Root Administrator
Thanks for trying that - at this point it might be best to create a ticket with our team so we can see what's happening directly on the machine.
I have opened a ticket with the number #94504595 and I am waiting for the follow-up.

During this time I tried to Disable Tomcat for the user through Tomcat Manager and the error "bash: fork: retry: No child processes" no longer appears.

Now I can run minecraft server with increased ram "java -Xmx4096M -Xms2048M -jar minecraft_server.jar nogui" knowing that this did not work previously with the cPanel account, it only worked with the root account.
But it still shows errors that do not appear on the root account, only appear on the cPanel account:
[[email protected] Minecraft]$ java -Xmx4096M -Xms2048M -jar minecraft_server.jar nogui
21:43:12 [INFO ] Loading nukkit.yml ...
21:43:12 [INFO ] Loading server.properties ...
21:43:12 [INFO ] Selected English (eng) as the base language
21:43:12 [INFO ] Starting Minecraft: BE server version v1.19.40
21:43:12 [INFO ] Selected Zlib Provider: 2 (cn.nukkit.utils.ZlibThreadLocal)
21:43:12 [INFO ] Opening server on x.x.x.42:19132
21:43:12 [INFO ] This server is running Nukkit version git-bd9d330 "" (API 1.0.14)
21:43:12 [INFO ] Nukkit is distributed under the GPL License
21:43:13 [INFO ] Loading runtime items...
21:43:13 [INFO ] Loading recipes...
21:43:13 [INFO ] Loaded 1509 recipes.
21:43:13 [INFO ] Successfully loaded 0 resource packs
21:43:13 [INFO ] /tmp/libnetty_transport_native_epoll_x86_642276031884739099909.so exists but cannot be executed even when execute permissions set; check volume for "noexec" flag; use -Dio.netty.native.workdir=[path] to set native working directory separately.
21:43:13 [INFO ] Loading LobbyNK v3.7.13
21:43:13 [INFO ] Loading WorldEdit v1.0.1
21:43:13 [INFO ] Loading spark v1.10.2
21:43:13 [INFO ] Loading LuckPerms v5.4.52
21:43:14 [INFO ] Enabling LuckPerms v5.4.52
21:43:14 [INFO ] [LuckPerms] Loading configuration...
21:43:15 [WARN ] [LuckPerms] Error occurred whilst trying to create a file watcher:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[?:1.8.0_352]
at java.lang.Thread.start(Thread.java:719) ~[?:1.8.0_352]
at sun.nio.fs.AbstractPoller$1.run(AbstractPoller.java:64) ~[?:1.8.0_352]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_352]
at sun.nio.fs.AbstractPoller.start(AbstractPoller.java:59) ~[?:1.8.0_352]
at sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:80) ~[?:1.8.0_352]
at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47) ~[?:1.8.0_352]
at me.lucko.luckperms.common.storage.implementation.file.watcher.AbstractFileWatcher.<init>(AbstractFileWatcher.java:76) ~[luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.storage.implementation.file.watcher.FileWatcher.<init>(FileWatcher.java:55) ~[luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.enable(AbstractLuckPermsPlugin.java:175) [luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.nukkit.LPNukkitBootstrap.onEnable(LPNukkitBootstrap.java:139) [luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.nukkit.loader.NukkitLoaderPlugin.onEnable(NukkitLoaderPlugin.java:51) [LuckPerms-Nukkit-5.4.52.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) [minecraft_server.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) [minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:436) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:750) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:739) [minecraft_server.jar:?]
at cn.nukkit.Server.<init>(Server.java:507) [minecraft_server.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [minecraft_server.jar:?]
21:43:15 [INFO ] [LuckPerms] Loading storage provider... [H2]
21:43:16 [ERROR] [LuckPerms] Failed to init storage implementation
org.h2.jdbc.JdbcSQLNonTransientConnectionException: Out of memory. [90108-214]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:678) ~[?:?]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477) ~[?:?]
at org.h2.message.DbException.get(DbException.java:212) ~[?:?]
at org.h2.message.DbException.convert(DbException.java:389) ~[?:?]
at org.h2.engine.Database.<init>(Database.java:403) ~[?:?]
at org.h2.engine.Engine.openSession(Engine.java:92) ~[?:?]
at org.h2.engine.Engine.openSession(Engine.java:222) ~[?:?]
at org.h2.engine.Engine.createSession(Engine.java:201) ~[?:?]
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338) ~[?:?]
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_352]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_352]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_352]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_352]
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.H2ConnectionFactory.createConnection(H2ConnectionFactory.java:77) ~[luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.FlatfileConnectionFactory.getConnection(FlatfileConnectionFactory.java:72) ~[luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.H2ConnectionFactory.getConnection(H2ConnectionFactory.java:43) ~[luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.storage.implementation.sql.SqlStorage.init(SqlStorage.java:169) ~[luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.storage.Storage.init(Storage.java:117) [luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.storage.StorageFactory.getInstance(StorageFactory.java:88) [luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.enable(AbstractLuckPermsPlugin.java:184) [luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.nukkit.LPNukkitBootstrap.onEnable(LPNukkitBootstrap.java:139) [luckperms-jarinjar7269999880425801853.jar.tmp:?]
at me.lucko.luckperms.nukkit.loader.NukkitLoaderPlugin.onEnable(NukkitLoaderPlugin.java:51) [LuckPerms-Nukkit-5.4.52.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) [minecraft_server.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) [minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:436) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:750) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:739) [minecraft_server.jar:?]
at cn.nukkit.Server.<init>(Server.java:507) [minecraft_server.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [minecraft_server.jar:?]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at org.h2.engine.Database.<init>(Database.java:388) ~[?:?]
... 25 more
21:43:16 [INFO ] [LuckPerms] Loading internal permission managers...
21:43:16 [INFO ] [LuckPerms] Performing initial data load...
> java.util.concurrent.CompletionException: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Out of memory. [90108-214]
at me.lucko.luckperms.common.storage.Storage.lambda$future$1(Storage.java:106)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Out of memory. [90108-214]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:678)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)
at org.h2.message.DbException.get(DbException.java:212)
at org.h2.message.DbException.convert(DbException.java:389)
at org.h2.engine.Database.<init>(Database.java:403)
at org.h2.engine.Engine.openSession(Engine.java:92)
at org.h2.engine.Engine.openSession(Engine.java:222)
at org.h2.engine.Engine.createSession(Engine.java:201)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:122)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.H2ConnectionFactory.createConnection(H2ConnectionFactory.java:77)
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.FlatfileConnectionFactory.getConnection(FlatfileConnectionFactory.java:72)
at me.lucko.luckperms.common.storage.implementation.sql.connection.file.H2ConnectionFactory.getConnection(H2ConnectionFactory.java:43)
at me.lucko.luckperms.common.storage.implementation.sql.SqlStorage.loadAllGroups(SqlStorage.java:503)
at me.lucko.luckperms.common.storage.Storage.lambda$loadAllGroups$11(Storage.java:205)
at me.lucko.luckperms.common.storage.Storage.lambda$future$1(Storage.java:101)
... 6 more
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at org.h2.engine.Database.<init>(Database.java:388)
... 21 more
21:43:16 [INFO ] [LuckPerms] Successfully enabled. (took 2380ms)
21:43:16 [INFO ] Preparing level "world"
21:43:16 [INFO ] Preparing start region for level "world"
21:43:17 [INFO ] Preparing level "nether"
21:43:17 [INFO ] Preparing start region for level "nether"
21:43:17 [INFO ] Enabling LobbyNK v3.7.13
21:43:17 [INFO ] bStats Metrics loaded
21:43:17 [ERROR] Throwing
java.lang.RuntimeException: java.lang.OutOfMemoryError: unable to create new native thread
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:440) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:750) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:739) [minecraft_server.jar:?]
at cn.nukkit.Server.<init>(Server.java:582) [minecraft_server.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [minecraft_server.jar:?]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[?:1.8.0_352]
at java.lang.Thread.start(Thread.java:719) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1603) ~[?:1.8.0_352]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:334) ~[?:1.8.0_352]
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533) ~[?:1.8.0_352]
at de.buddelbubi.implementedcode.network.Metrics$MetricsBase.startSubmitting(Metrics.java:234) ~[?:?]
at de.buddelbubi.implementedcode.network.Metrics$MetricsBase.<init>(Metrics.java:203) ~[?:?]
at de.buddelbubi.implementedcode.network.Metrics.<init>(Metrics.java:70) ~[?:?]
at de.buddelbubi.LobbyNK.onEnable(LobbyNK.java:192) ~[?:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:436) ~[minecraft_server.jar:?]
... 4 more
21:43:17 [INFO ] Disabling LobbyNK v3.7.13
21:43:17 [FATAL] LobbyNK couldn't read a boolean. Send this to the developer!
> java.lang.NullPointerException
at de.buddelbubi.api.ConfigNK.getBoolean(ConfigNK.java:61)
at de.buddelbubi.LobbyNK.onDisable(LobbyNK.java:728)
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:91)
at cn.nukkit.plugin.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:132)
at cn.nukkit.plugin.PluginManager.disablePlugin(PluginManager.java:510)
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:442)
at cn.nukkit.Server.enablePlugin(Server.java:750)
at cn.nukkit.Server.enablePlugins(Server.java:739)
at cn.nukkit.Server.<init>(Server.java:582)
at cn.nukkit.Nukkit.main(Nukkit.java:120)
21:43:17 [INFO ] Enabling WorldEdit v1.0.1
21:43:17 [INFO ] Enabling spark v1.10.2
21:43:17 [ERROR] Throwing
java.lang.RuntimeException: java.lang.OutOfMemoryError: unable to create new native thread
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:440) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:750) [minecraft_server.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:739) [minecraft_server.jar:?]
at cn.nukkit.Server.<init>(Server.java:582) [minecraft_server.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [minecraft_server.jar:?]
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[?:1.8.0_352]
at java.lang.Thread.start(Thread.java:719) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:1.8.0_352]
at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1603) ~[?:1.8.0_352]
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:334) ~[?:1.8.0_352]
at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:573) ~[?:1.8.0_352]
at java.util.concurrent.Executors$DelegatedScheduledExecutorService.scheduleAtFixedRate(Executors.java:735) ~[?:1.8.0_352]
at me.lucko.spark.common.monitor.ping.PingStatistics.start(PingStatistics.java:60) ~[?:?]
at me.lucko.spark.common.SparkPlatform.enable(SparkPlatform.java:171) ~[?:?]
at me.lucko.spark.nukkit.NukkitSparkPlugin.onEnable(NukkitSparkPlugin.java:45) ~[?:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) ~[minecraft_server.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:436) ~[minecraft_server.jar:?]
... 4 more
21:43:17 [INFO ] Disabling spark v1.10.2
21:43:17 [ERROR] Throwing
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[?:1.8.0_352]
at java.lang.Thread.start(Thread.java:719) ~[?:1.8.0_352]
at cn.nukkit.Server.<init>(Server.java:586) ~[minecraft_server.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:120) [minecraft_server.jar:?]
21:43:17 [INFO ] Stopping other threads
> java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:719)
at cn.nukkit.Nukkit.main(Nukkit.java:141)

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

java.io.IOError: java.io.IOException: Cannot run program "stty": error=11, Resource temporarily unavailable
at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:54)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:628)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:404)
at net.minecrell.terminalconsole.SimpleTerminalConsole.readCommands(SimpleTerminalConsole.java:157)
at net.minecrell.terminalconsole.SimpleTerminalConsole.start(SimpleTerminalConsole.java:140)
at cn.nukkit.Server$ConsoleThread.run(Server.java:2434)
Caused by: java.io.IOException: Cannot run program "stty": error=11, Resource temporarily unavailable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.jline.utils.ExecHelper.exec(ExecHelper.java:35)
at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:175)
at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:87)
at org.jline.terminal.impl.ExecPty.doSetAttr(ExecPty.java:93)
at org.jline.terminal.impl.AbstractPty.setAttr(AbstractPty.java:21)
at org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:52)
... 5 more
Caused by: java.io.IOException: error=11, Resource temporarily unavailable
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 11 more
I also noticed that the server resources from the processor and RAM decreased a lot in an unusual way after removing the Java and installing Tomcat!!!
 

EagleDotNet

Member
Oct 21, 2022
14
0
1
Egypt
cPanel Access Level
Root Administrator
Thanks for that - I'm following along with that ticket on my end now.
I finally succeeded in running the server without errors on the cPanel account ^_^

The solution:
- I activated Tomcat from Tomcat Manager for the account, and the "bash: fork: Resource temporarily unavailable" issue came back.
- Then I deactivated Shell Fork Bomb Protection.

I don't know if turning off Shell Fork Bomb Protection is a good thing? Is it possible to exclude the server Minecraft or Java? Or even modify the limits of Shell Fork Bomb Protection?