Apache2 wont restart - Raspberry Pi Forums
hi, installed apache2 , when try run command
sudo sudo /etc/init.d/apache2 restart
gives me error message saying failed
apache2: syntax error on line 244 of /etc/apache2/apache2.conf: not open configuration file /etc/apache2/mods-enabled/userdir.load: no such file or directory
action 'configtest' failed.
apache error log may have more information.
failed!
read in other forms similar issues , says go text editor , end </virtualhost> tag when try edit , save says don't have permissions
can me on i'm new command line
thank you
sudo sudo /etc/init.d/apache2 restart
gives me error message saying failed
apache2: syntax error on line 244 of /etc/apache2/apache2.conf: not open configuration file /etc/apache2/mods-enabled/userdir.load: no such file or directory
action 'configtest' failed.
apache error log may have more information.
failed!
read in other forms similar issues , says go text editor , end </virtualhost> tag when try edit , save says don't have permissions
can me on i'm new command line
thank you
if want edit configuration files need root (using sudo), example:
or there several guides setting apache server, see example http://wiki.debian.org/lamp. recommend http://www.nginx.org/ or http://www.lighttpd.net/ more lightweight web server alternatives.
code: select all
sudo nano /etc/apache2/apache2.confcode: select all
gksudo leafpad /etc/apache2/apache2.conf
raspberrypi
Comments
Post a Comment