F5F Stay Refreshed Software Operating Systems reboot failure due to update-rc.d not loading correctly

reboot failure due to update-rc.d not loading correctly

reboot failure due to update-rc.d not loading correctly

Pages (2): 1 2 Next
D
ditox95
Member
234
10-21-2019, 07:47 PM
#1
She’s trying to join Minecraft with her friends again, so I offered to host a server on one of my virtual machines. The problem is that the VM won’t boot properly. I followed the instructions from the provided guide—after updating with update-rc.d minecraft defaults, I could see the service listed and start it, but it vanishes when I restart. After rebooting, the status shows it’s not found or inactive. I’ve tried running the command again, but it still disappears. Using update-rc.d minecraft enable didn’t help either. I’m unsure why the commands fail after a reboot, especially since the script is in init.d. It seems like this might be a rare issue, or maybe my research isn’t working well. I’ve recently set up a new server on Linux (ESXi 6.5 with Debian 8) and am quite familiar with it.
D
ditox95
10-21-2019, 07:47 PM #1

She’s trying to join Minecraft with her friends again, so I offered to host a server on one of my virtual machines. The problem is that the VM won’t boot properly. I followed the instructions from the provided guide—after updating with update-rc.d minecraft defaults, I could see the service listed and start it, but it vanishes when I restart. After rebooting, the status shows it’s not found or inactive. I’ve tried running the command again, but it still disappears. Using update-rc.d minecraft enable didn’t help either. I’m unsure why the commands fail after a reboot, especially since the script is in init.d. It seems like this might be a rare issue, or maybe my research isn’t working well. I’ve recently set up a new server on Linux (ESXi 6.5 with Debian 8) and am quite familiar with it.

S
SychoGuss
Member
80
10-22-2019, 01:08 AM
#2
The easiest way to start it when the system boots is to create a cron job and set it to run on startup.
S
SychoGuss
10-22-2019, 01:08 AM #2

The easiest way to start it when the system boots is to create a cron job and set it to run on startup.

P
pixie90
Member
117
10-22-2019, 09:11 PM
#3
Sure, I'm trying my best to make this setup function correctly. If it doesn't work as a service yet, I'll look into fixing it first. Thanks for the idea!
P
pixie90
10-22-2019, 09:11 PM #3

Sure, I'm trying my best to make this setup function correctly. If it doesn't work as a service yet, I'll look into fixing it first. Thanks for the idea!

X
xBoomBeach
Member
191
10-23-2019, 03:20 AM
#4
it resembles an openrc start script you're developing for a system using systemd, but it may not function as intended. Consider adopting a distro that supports openrc like Gentoo or Debian 7, or adjust the script to work within systemd environments.
X
xBoomBeach
10-23-2019, 03:20 AM #4

it resembles an openrc start script you're developing for a system using systemd, but it may not function as intended. Consider adopting a distro that supports openrc like Gentoo or Debian 7, or adjust the script to work within systemd environments.

T
thomasnyg
Member
58
10-23-2019, 06:01 PM
#5
I made changes at the end of the original post. It's Debian 8.
T
thomasnyg
10-23-2019, 06:01 PM #5

I made changes at the end of the original post. It's Debian 8.

N
Nicktron_
Member
199
10-28-2019, 12:17 AM
#6
You require a systemd configuration file instead of an openrc setup.
N
Nicktron_
10-28-2019, 12:17 AM #6

You require a systemd configuration file instead of an openrc setup.

R
Reltdeast
Member
151
11-03-2019, 05:38 PM
#7
I’m not sure what you’re referring to. Do you think there’s a beginner’s manual available for that? Right now, I’m trying to stick to instructions and fix any issues I come across.
R
Reltdeast
11-03-2019, 05:38 PM #7

I’m not sure what you’re referring to. Do you think there’s a beginner’s manual available for that? Right now, I’m trying to stick to instructions and fix any issues I come across.

P
PKM1
Junior Member
16
11-03-2019, 06:37 PM
#8
put your start script in /usr/bin/myMinecraft then create a systemd service file in /etc/systemd/system/myMinecraft.service then type this to enable it Obviously I havnt tested this I just adapted it from a backup script i wrote
P
PKM1
11-03-2019, 06:37 PM #8

put your start script in /usr/bin/myMinecraft then create a systemd service file in /etc/systemd/system/myMinecraft.service then type this to enable it Obviously I havnt tested this I just adapted it from a backup script i wrote

P
ProGaben69
Member
117
11-05-2019, 07:18 AM
#9
That statement appeared to function initially, but now an issue has emerged. During the Minecraft server startup, it fails to locate the eula=true within the eula.txt file located in the same directory as the server's Java file. The reason remains unclear to me.
P
ProGaben69
11-05-2019, 07:18 AM #9

That statement appeared to function initially, but now an issue has emerged. During the Minecraft server startup, it fails to locate the eula=true within the eula.txt file located in the same directory as the server's Java file. The reason remains unclear to me.

K
KlayDog1
Senior Member
685
11-11-2019, 10:28 AM
#10
When using services, do they require special access rights for directories? You attempted to remove eula.txt and let the server create a fresh one, but when starting the service with the default command, no new file appeared. Running the standard startup script for the server (java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui) produced the expected result.
K
KlayDog1
11-11-2019, 10:28 AM #10

When using services, do they require special access rights for directories? You attempted to remove eula.txt and let the server create a fresh one, but when starting the service with the default command, no new file appeared. Running the standard startup script for the server (java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui) produced the expected result.

Pages (2): 1 2 Next