Hardware :
Dual E5-2650 (16 Cores), 128Gb Ram, 512Gb SSD, 1 Network Interface
EVE-NG Running on - Bare Metal Linux (Ubuntu 16.04)
VT-X - Enabled ( This is must to run most of the nodes)
Issue:
I have a really weird issue with Apache2, when i boot the server it is set to start automatically with systemd, however it never starts at boot and i get the following error:
simon@eveng-01:~$ sudo systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: inactive (dead) since Mon 2017-06-05 13:11:44 BST; 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 3983 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 3881 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Jun 05 13:11:43 eveng-01 systemd[1]: Starting LSB: Apache2 web server...
Jun 05 13:11:43 eveng-01 apache2[3881]: * Starting Apache httpd web server apache2
Jun 05 13:11:43 eveng-01 apache2[3881]: *
Jun 05 13:11:43 eveng-01 apache2[3983]: * Stopping Apache httpd web server apache2
Jun 05 13:11:44 eveng-01 apache2[3983]: *
Jun 05 13:11:44 eveng-01 systemd[1]: Started LSB: Apache2 web server.
If i then start the service, or restart the service, Apache2 will load fine and I can get to the webGUI and everything works, but no matter what i do i do not seem to be able to get it to load at boot, i may be missing something obvious here, is this something anyone else has had an issue with?
simon@eveng-01:~$ sudo systemctl start apache2.service
simon@eveng-01:~$ sudo systemctl status apache2.service
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Mon 2017-06-05 13:12:15 BST; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 3983 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 4469 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Tasks: 7
Memory: 22.3M
CPU: 556ms
CGroup: /system.slice/apache2.service
├─4485 /usr/sbin/apache2 -k start
├─4488 /usr/sbin/apache2 -k start
├─4489 /usr/sbin/apache2 -k start
├─4490 /usr/sbin/apache2 -k start
├─4491 /usr/sbin/apache2 -k start
├─4492 /usr/sbin/apache2 -k start
└─4599 /usr/sbin/apache2 -k start
Jun 05 13:12:14 eveng-01 systemd[1]: Starting LSB: Apache2 web server...
Jun 05 13:12:14 eveng-01 apache2[4469]: * Starting Apache httpd web server apache2
Jun 05 13:12:15 eveng-01 apache2[4469]: *
Jun 05 13:12:15 eveng-01 systemd[1]: Started LSB: Apache2 web server.
Bare-metal Install Issue - Apache
Moderator: mike
-
- Posts: 5177
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Bare-metal Install Issue - Apache
first thing, I see that you are using user login but not root sir...
if the eve is installed correctly it booting and starting all as root
if the eve is installed correctly it booting and starting all as root