[Voyage-linux] apache fails to start
binary dreamer
(spam-protected)
Sat Jan 10 15:58:20 HKT 2015
hi, after a purge and reinstallation of apache2 the webserver appears to
start correctly. the problems arise when the system reboots. the apache
does not start and it gives me the following error
root at voyage:~# /etc/init.d/apache2 start
[....] Starting web server: apache2apache2: Could not reliably determine
the server's fully qualified domain name, using 127.0.0.1 for ServerName
(2)No such file or directory: apache2: could not open error log file
/var/log/apache2/error.log.
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
root at voyage:~#
the problem is that the folder /var/log/apache2/ does not exist!
On Sat, Jan 10, 2015 at 9:48 AM, binary dreamer <dreamer.binary at gmail.com>
wrote:
> hello everyone.
> i do have voyage 0.9.5 in an ALIX box. i do need to setup a website and it
> fails to setup correctly apache2.
> i have done to the system apt-get update and apt-get upgrade prior to
> installation of apache2 (apt-get install apache2). here is the output from
> the terminal
> root at voyage:~# apt-get install apache2 -y
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> apache2
> 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
> Need to get 1,438 B of archives.
> After this operation, 1,024 B of additional disk space will be used.
> ..........
> Unpacking apache2 (from .../apache2_2.2.22-13+deb7u3_i386.deb) ...
> Setting up apache2 (2.2.22-13+deb7u3) ...
> root at voyage:~# /etc/init.d/apache2 status
> /etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars
> root at voyage:~# a2enmod rewrite
> ERROR: Module rewrite does not exist!
> root at voyage:~# /etc/init.d/apache2 restart
> /etc/init.d/apache2: 51: .: Can't open /etc/apache2/envvars
> root at voyage:~#
>
>
> any ideas on how to fix the problem?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20150110/507fca21/attachment.html>
More information about the Voyage-linux
mailing list