• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux apache2 error

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,175
Solutions
17
Reaction score
481
Location
Sweden
root@cygridsdedi19-esl-se-cyg:/var# sudo /etc/init.d/apache2 restart
/etc/init.d/apache2: 64: .: Can't open /etc/apache2/envvars
[....] Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!

while trying
/etc/init.d/apache2 restart


[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
 
Last edited:
More likely the error can be caused by virtual host configuration, so make sure any changes you did in /etc/apache2/sites-available/ /etc/apache2/sites-enabled/ are correctly.

However, as it says execute: systemctl status apache2.service or journalctl -xe to see which error is caused for real.
 
More likely the error can be caused by virtual host configuration, so make sure any changes you did in /etc/apache2/sites-available/ /etc/apache2/sites-enabled/ are correctly.

However, as it says execute: systemctl status apache2.service or journalctl -xe to see which error is caused for real.
dumb question, can you give me /var files? mine is lost, got no Apache files.. need help but Znote is off :c
61a75e8cb12696673b448bb519925ac0.png

8da27722c14bd7c9f84f9f32391d4703.png
 
I don't understand what you are looking for exactly, nor I use Apache2 anymore.
Sending my files will not help you at all. Did you had backup files? If so, try restoring them.

If the case is about Apache2 files, then simply uninstall and install it again.
 
I don't understand what you are looking for exactly, nor I use Apache2 anymore.
Sending my files will not help you at all. Did you had backup files? If so, try restoring them.

If the case is about Apache2 files, then simply uninstall and install it again.
Already tryed that, cant reinstall it
 
Back
Top