Strona 1 z 1

Statystyki apache2 na awstats

: 11 lutego 2008, 22:20
autor: Benek
Cześć jestem nowy jeżeli chodzi o linuxa wczoraj zacząłem bawić w server zainstalowałem apache2 php5 mysql openssl i zainstalowałem statystyki awstats i coś się zrąbało bo nie chodzą statystyki ani server zrobiłem restart servera pokazało mi się takie coś jak to naprawić żeby chodziło openssl apache php i sql proszę o pomoc postawie wam piwko za pomoc.

Kod: Zaznacz cały

benek@benek-laptop:~$ /etc/init.d/apache2 restartopen: Permission denied
 * Forcing reload of web server (apache2)...                                    grep: /etc/apache2/apache2.conf.save: Permission denied
grep: /etc/apache2/awstats.conf.save: Permission denied
grep: /etc/apache2/awstats.conf.save.1: Permission denied
grep: /etc/apache2/sites-enabled/000-default.save: Permission denied
apache2: Syntax error on line 668 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default.save: Permission denied
open: Permission denied
                                                                         [fail]
benek@benek-laptop:~$ 

: 11 lutego 2008, 22:57
autor: Rad
Dlaczego z roota tego nie robisz? :>

: 11 lutego 2008, 23:02
autor: Benek
To samo

Kod: Zaznacz cały

$
 /etc/init.d/apache2 start
 * Starting web server (apache2)...  
apache2: Syntax error on line 668 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/sites-enabled/000-default.save: /etc/apache2/sites-enabled/000-default.save:2: <VirtualHost> was not closed.
[fail]

: 11 lutego 2008, 23:20
autor: Rad
Tutaj masz konkretny komunikat - błąd w konfiguracji. Przetłumacz sobie w jakimś translatorze jak nie możesz zrozumieć. Poza tym, używaj