Hi guys, my apache doesn't start in my eve-ng. I've done a bare metal installation, I followed all necessary steps, funnily, everything is working normal, but I have to start manually the apache process. Has someone got this problem?
root@eve-ng:~# dpkg -l eve-ng
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-============================================================
ii eve-ng 2.0.3-77 amd64 A new generation software for networking labs.
root@eve-ng:~# systemctl status apache2
● 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-09-25 15:01:00 BRT; 3h 9min ago
Docs: man:systemd-sysv-generator(8)
Process: 4327 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 4153 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Sep 25 15:00:58 eve-ng systemd[1]: Starting LSB: Apache2 web server...
Sep 25 15:00:59 eve-ng apache2[4153]: * Starting Apache httpd web server apache2
Sep 25 15:00:59 eve-ng apache2[4153]: *
Sep 25 15:00:59 eve-ng apache2[4327]: * Stopping Apache httpd web server apache2
Sep 25 15:01:00 eve-ng apache2[4327]: *
Sep 25 15:01:00 eve-ng systemd[1]: Started LSB: Apache2 web server.
############after restart
root@eve-ng:~# systemctl restart apache2
root@eve-ng:~# systemctl status apache2
● 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-09-25 18:11:08 BRT; 1s ago
Docs: man:systemd-sysv-generator(8)
Process: 4327 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 11460 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Tasks: 6
Memory: 20.9M
CPU: 96ms
CGroup: /system.slice/apache2.service
├─11487 /usr/sbin/apache2 -k start
├─11492 /usr/sbin/apache2 -k start
├─11493 /usr/sbin/apache2 -k start
├─11495 /usr/sbin/apache2 -k start
├─11496 /usr/sbin/apache2 -k start
└─11497 /usr/sbin/apache2 -k start
Sep 25 18:11:07 eve-ng systemd[1]: Starting LSB: Apache2 web server...
Sep 25 18:11:07 eve-ng apache2[11460]: * Starting Apache httpd web server apache2
Sep 25 18:11:08 eve-ng apache2[11460]: *
Sep 25 18:11:08 eve-ng systemd[1]: Started LSB: Apache2 web server.
Apache Problem
Moderator: mike
-
- Posts: 1
- Joined: Tue Sep 26, 2017 3:53 am
Re: Apache Problem
Yes, I have this exact same issue. I too installed from Bare Metal.
Not much of a Linux person, so thanks for posting how to restart apache, that enables me to log in once I restart it.
Not much of a Linux person, so thanks for posting how to restart apache, that enables me to log in once I restart it.
-
- Posts: 409
- Joined: Sun Mar 19, 2017 10:27 pm
Re: Apache Problem
Use below command to start automatically after reboot also.TheBananaTurtle wrote: ↑Tue Sep 26, 2017 3:56 amYes, I have this exact same issue. I too installed from Bare Metal.
Not much of a Linux person, so thanks for posting how to restart apache, that enables me to log in once I restart it.
R!systemctl enable apache2
-
- Posts: 34
- Joined: Wed Mar 22, 2017 5:43 pm
Re: Apache Problem
Hi,
I tried if "enable" but even that, every time that I start my eve I need to start the apace2 manually.
Is there any solution?
I tried if "enable" but even that, every time that I start my eve I need to start the apace2 manually.
Is there any solution?
-
- Posts: 409
- Joined: Sun Mar 19, 2017 10:27 pm
Re: Apache Problem
Looks like v81 released and have fix for this issue as per the change log, worth upgrading to v81.
make sure you proceed with steps as mentioned in the document.
R!
-
- Posts: 34
- Joined: Wed Mar 22, 2017 5:43 pm
Re: Apache Problem
Hi, Thanks for this feedback. After upgrade everything is going well.
Regards
Regards