Apache Error

Status
This thread has been locked.

RileyN

Net Sys Admin | AstroVPN CEO
Premium
Feedback score
3
Posts
350
Reactions
193
Resources
0
Hey

I'm currently installing Pterodactyl, and I got this wonderful error.
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. riley@riley-PowerEdge-R610:~$ ^C riley@riley-PowerEdge-R610:~$ 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: failed (Result: exit-code) since Wed 2018-08-08 22:51:07 UTC; 7s ago Docs: man:systemd-sysv-generator(8) Process: 28055 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) Aug 08 22:51:07 riley-PowerEdge-R610 apache2[28055]: Output of config test was: Aug 08 22:51:07 riley-PowerEdge-R610 apache2[28055]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/pterodactyl_ssl.conf:10 Aug 08 22:51:07 riley-PowerEdge-R610 apache2[28055]: AH00526: Syntax error on line 18 of /etc/apache2/sites-enabled/pterodactyl_ssl.conf: Aug 08 22:51:07 riley-PowerEdge-R610 apache2[28055]: SSLCertificateFile: file '/etc/letsencrypt/live/96.40.229.151/cert.pem' does not exist or is empty Aug 08 22:51:07 riley-PowerEdge-R610 apache2[28055]: Action 'configtest' failed. Aug 08 22:51:07 riley-PowerEdge-R610 apache2[28055]: The Apache error log may have more information. Aug 08 22:51:07 riley-PowerEdge-R610 systemd[1]: apache2.service: Control process exited, code=exited status=1 Aug 08 22:51:07 riley-PowerEdge-R610 systemd[1]: Failed to start LSB: Apache2 web server. Aug 08 22:51:07 riley-PowerEdge-R610 systemd[1]: apache2.service: Unit entered failed state. Aug 08 22:51:07 riley-PowerEdge-R610 systemd[1]: apache2.service: Failed with result 'exit-code'.
If you could take a look and PM me with some advice it would be much appreciated!
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Glitch

Website Developer
Supreme
Feedback score
32
Posts
426
Reactions
114
Resources
0
Code:
SSLCertificateFile: file '/etc/letsencrypt/live/96.40.229.151/cert.pem' does not exist or is empty

The SSL file does not exist. Try installing an letsencrypt cert on your system first
 
Status
This thread has been locked.
Top