Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish)
  • Search

[APACHE2] no listening sockets available

Witajcie na polskim forum użytkowników Gentoo!
Opis instalacji i pracy z Gentoo. Pozostała dokumentacja Gentoo

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
calif
Tux's lil' helper
Tux's lil' helper
Posts: 101
Joined: Sun Nov 29, 2009 3:10 pm

[APACHE2] no listening sockets available

  • Quote

Post by calif » Mon Jul 08, 2013 12:41 pm

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

Code: Select all

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

Code: Select all

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

Code: Select all

# 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: Select all

Listen 80
w configach.

Co mogę zrobić?

Pozdrawiam
Top
Jacekalex
Guru
Guru
User avatar
Posts: 554
Joined: Thu Sep 17, 2009 5:18 am

  • Quote

Post by Jacekalex » Tue Jul 09, 2013 5:20 am

Po pierwsze:

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

Code: Select all

lsof -i :80 
Albo:

Code: Select all

ss -pltn | egrep ':80|:443|apache'
Apache?
Na początek test konfiguracji, z roota:

Code: Select all

apache2 -t
Oraz wersja:

Code: Select all

apache2 -V
Ciąg dalszy w logach Apacha i systemowych.

Za uwagę dziękują:

Code: Select all

lsof   sys-process/lsof
ss        sys-apps/iproute2
Pozdro
8)
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Polskie forum (Polish)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic