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

if want edit configuration files need root (using sudo), example:

code: select all

sudo nano /etc/apache2/apache2.conf
or

code: select all

gksudo leafpad /etc/apache2/apache2.conf
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.


raspberrypi



Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums