Brunn

2014-02-18 Administrator Estonia

Tükimat aega localhosti kenasti kasutanud ja äkki mitte midagi. Saigi sudo nautilus /etc/apache2 avatud kaust ja sinna tekitatud config.d tühi kaust ja uuesti restardile: sudo service apache2 restart ja kõik ok. Kausta võib luua ka nii: sudo mkdir -p /etc/apache2/conf.d/ Kuhu, miks kaust kadus, vot ei tea. Errori logi var/log/apache2/error.log räägib mittemidagiütlevalt:

[Tue Feb 18 09:05:32.690823 2014] [mpm_prefork:notice] [pid 14798] AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.8-3+sury.org~precise+2 configured -- resuming normal operations
[Tue Feb 18 09:05:32.690919 2014] [core:notice] [pid 14798] AH00094: Command line: '/usr/sbin/apache2'

Terminali errori sisu:

 * Restarting web server apache2                                         [fail] 
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 234 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.