Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: mod_rewrite - błąd apache
Forum PHP.pl > Forum > Przedszkole
Gość
Po zainstalowaniu lampa wpisałem komendę
Kod
sudo a2enmod rewrite

Teraz gdy próbuję zresetować serwer dostaję faila:

Cytat
service apache2 restart
* Restarting web server apache2 /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
[fail]


W logach mam:
[error] (9)Bad file descriptor: apr_socket_accept: (client socket)

w międzyczasie zmieniłem AllowOverride na all w pliku etc/apache2/sites-available/default

Jakiś czas temu instalowałem identycznie na innym ubuntu i nie było tych błędów.
rzymek01
1. upewnij się, że wykonujesz restart jako root
2. "Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName"
żeby nie otrzymywć tego komunikatu ustaw w pliku konfiguracyjnym:
ServerName 127.0.0.1
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.