Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[APACHE2] no listening sockets available
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 83

PostPosted: Mon Jul 08, 2013 12:41 pm    Post subject: [APACHE2] no listening sockets available Reply with quote

Witam, zainstalowałem apache2 i nie działa. Oto informacje:

Code:
# /etc/init.d/apache2 start
 * Starting apache2 ...
 * start-stop-daemon: failed to start `/usr/sbin/apache2'


Code:
# apache2
no listening sockets available, shutting down
AH00015: Unable to open logs


Code:
# netstat -na | grep 80
tcp        0      0 192.168.1.101:58291     91.214.237.48:8074      ESTABLISHED
unix  3      [ ]         STREAM     CONNECTED     8058     @/tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     6880     @/tmp/dbus-LlR67F5oXL
unix  3      [ ]         STREAM     CONNECTED     8059     @/tmp/dbus-LlR67F5oXL
unix  3      [ ]         STREAM     CONNECTED     24807    @/tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     11806   
unix  3      [ ]         STREAM     CONNECTED     11680    /home/user/.local/share/akonadi/socket-xps/akonadiserver.socket
unix  3      [ ]         STREAM     CONNECTED     11780    /home/user/.local/share/akonadi/socket-xps/mysql.socket
unix  3      [ ]         STREAM     CONNECTED     10480   
unix  3      [ ]         STREAM     CONNECTED     7580     @/tmp/dbus-LlR67F5oXL
unix  3      [ ]         STREAM     CONNECTED     10562    /tmp/clementine_1200801787
unix  3      [ ]         STREAM     CONNECTED     11809   
unix  3      [ ]         STREAM     CONNECTED     9980   


Był wcześniej słynny błąd o ServerName, ale dopisałem "ServerName localhost" do configa i już go nie ma.

Jak widać, port 80 nie jest blokowany.

Sprawdziłem też, mam tylko jeden wpis
Code:
Listen 80
w configach.

Co mogę zrobić?

Pozdrawiam
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 492

PostPosted: Tue Jul 09, 2013 5:20 am    Post subject: Reply with quote

Po pierwsze:

Port 80 - co na nim się dzieje?
(z roota), np:
Code:
lsof -i :80

Albo:
Code:
ss -pltn | egrep ':80|:443|apache'


Apache?
Na początek test konfiguracji, z roota:
Code:
apache2 -t

Oraz wersja:
Code:
apache2 -V

Ciąg dalszy w logach Apacha i systemowych.

Za uwagę dziękują:
Code:
lsof   sys-process/lsof
ss        sys-apps/iproute2


Pozdro
8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum