Home > OS >  Ubuntu18.04 configuration rc. The local error after joining their code
Ubuntu18.04 configuration rc. The local error after joining their code

Time:09-20

Because want to boot automatically start MC server, according to the online tutorial is configured with rc - local. Service, confirm the operation is successful, join me need to boot the boot command, the start the following error occurred when
Lines 1-12/12 (END)
Rc - local. Service -/etc/rc. Local Compatibility
The Loaded: the Loaded (/etc/systemd/system/rc - local. Service; Enabled. Vendor preset: enabled)
The Drop In:/lib/systemd/system/rc - local. Service.
dDebian. Conf
Active: failed (Result: exit - code) since Thu 09:11:58 2020-02-20 CST; 40 s line
Process: 24727 ExecStart=/etc/rc. Local start (code=exited, status=1/FAILURE)
February 20 09:11:58 NMSL - systemd OptiPlex - 3020 [1] : Starting/etc/rc. Local Compatibility...
On February 20 09:11:58 NMSL OptiPlex - 3020 rc. Local [24727] : Failed to open the connection to "session" message bus: Unable to autolaunch a daemon without a dbus - $DISPLAY for X11
February 20 09:11:58 NMSL - systemd OptiPlex - 3020 [1] : rc - local. Service: Control the process exited, code=exited the status=1
February 20 09:11:58 NMSL - systemd OptiPlex - 3020 [1] : rc - local. Service: Failed with result 'exit - code.
February 20 09:11:58 NMSL - systemd OptiPlex - 3020 [1] : Failed to start the/etc/rc. Local Compatibility

Rc. Local file content
Echo "see this line, add the startup scripts success," & gt;/usr/local/test. The log
# McServer backup software
The/usr/bin/cronopete_preferences. Sh
Sudo/usr/bin/backintime - qt_polkit
Sudo/usr/bin/timeshift - GTK
# McServer
CD/usr/McServer & amp; & Java - Xmx3072M - Xms3072M - jar for server jar
The exit 0
  • Related