PDA

Bekijk Volledige Versie : could not bind to address 0.0.0.0:443



The One Hosting
11/03/09, 12:17
Onze httpd valt steeds uit, en krijgen hem ook niet meer gestart.

Bij het starten krijgen we de volgende mededeling.


[root@server2 httpd]# service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs

Ik heb gezocht naar dit oprobleem maar heb nog niet echt ergens een oplossing gevonden.

Iemand die me op weg kan helpen

edit:
In de logfile komt niet zo heel veel voor enkel een notice.

[Wed Mar 11 12:15:03 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 11 12:20:02 2009] [notice] caught SIGTERM, shutting down

WilloW
11/03/09, 12:21
DirectAdmin machine?

doe eens ls -all /var/www/html en post het resultaat dan eens hier.
Volgens mij weet 90% van dit forum dan wel al wat het probleem is :)

mikeh
11/03/09, 12:25
Hi,

Volgens bovenstaande error kun je concluderen dat er al "iets" op poortje 80 en/of 443 draait.

Het is rond maar ook blok, is het geupdate?

The One Hosting
11/03/09, 12:28
Inderdaad een DA machine, CentOS 5, Apache 2



[root@server2 httpd]# ls -all /var/www/html
total 168
drwxr-xr-x 6 root root 4096 Mar 10 20:00 .
drwxr-xr-x 9 root root 4096 Oct 15 00:38 ..
-rw-r--r-- 1 root root 284 Aug 27 2005 404.shtml
-rw-r--r-- 1 admin games 2326 Jan 6 2005 apache_pb.gif
-rw-r--r-- 1 root root 0 Oct 14 23:05 favicon.ico
-rw-r--r-- 1 root root 2673 Oct 14 23:05 index.html
-rw-r--r-- 1 admin games 1884 Jan 6 2005 index.html.ca
-rw-r--r-- 1 admin games 1583 Jan 6 2005 index.html.cz
-rw-r--r-- 1 admin games 2274 Jan 6 2005 index.html.de
-rw-r--r-- 1 admin games 1557 Jan 6 2005 index.html.dk
-rw-r--r-- 1 admin games 1877 Jan 6 2005 index.html.ee
-rw-r--r-- 1 admin games 1677 Jan 6 2005 index.html.el
-rw-r--r-- 1 root root 2673 Oct 14 23:04 index.html.en
-rw-r--r-- 1 admin games 1799 Jan 6 2005 index.html.es
-rw-r--r-- 1 admin games 1525 Jan 6 2005 index.html.fr
-rw-r--r-- 1 admin games 3706 Jan 6 2005 index.html.he.iso8859-8
-rw-r--r-- 1 admin games 2585 Jan 6 2005 index.html.hu
-rw-r--r-- 1 admin games 1847 Jan 6 2005 index.html.it
-rw-r--r-- 1 admin games 1799 Jan 6 2005 index.html.ja.jis
-rw-r--r-- 1 admin games 1333 Jan 6 2005 index.html.kr.iso-kr
-rw-r--r-- 1 admin games 1896 Jan 6 2005 index.html.lb.utf8
-rw-r--r-- 1 admin games 2007 Jan 6 2005 index.html.nl
-rw-r--r-- 1 admin games 1534 Jan 6 2005 index.html.nn
-rw-r--r-- 1 admin games 1526 Jan 6 2005 index.html.no
-rw-r--r-- 1 admin games 1497 Jan 6 2005 index.html.po.iso-pl
-rw-r--r-- 1 admin games 1842 Jan 6 2005 index.html.pt
-rw-r--r-- 1 admin games 2035 Jan 6 2005 index.html.pt-br
-rw-r--r-- 1 admin games 1591 Jan 6 2005 index.html.ru.cp-1251
-rw-r--r-- 1 admin games 1585 Jan 6 2005 index.html.ru.cp866
-rw-r--r-- 1 admin games 1589 Jan 6 2005 index.html.ru.iso-ru
-rw-r--r-- 1 admin games 1585 Jan 6 2005 index.html.ru.koi8-r
-rw-r--r-- 1 admin games 3134 Jan 6 2005 index.html.ru.ucs2
-rw-r--r-- 1 admin games 6268 Jan 6 2005 index.html.ru.ucs4
-rw-r--r-- 1 admin games 2318 Jan 6 2005 index.html.ru.utf8
-rw-r--r-- 1 admin games 1700 Jan 6 2005 index.html.se
-rw-r--r-- 1 admin games 1062 Jan 6 2005 index.html.zh-tw.big5
-rw-r--r-- 1 root root 20 Dec 7 16:53 info.php
drwxr-xr-x 8 root root 4096 Dec 4 17:09 manual
lrwxrwxrwx 1 root root 31 Oct 14 23:03 phpMyAdmin -> phpMyAdmin-2.11.9-all-languages
drwxr-xr-x 10 webapps webapps 4096 Oct 14 23:03 phpMyAdmin-2.11.9-all-languages
-rwxr-xr-x 1 root root 65 Oct 14 23:03 redirect.php
lrwxrwxrwx 1 root root 19 Dec 8 21:07 roundcube -> roundcubemail-0.1.1
lrwxrwxrwx 1 root root 19 Dec 8 21:07 squirrelmail -> squirrelmail-1.4.15
drwxr-xr-x 16 webapps webapps 4096 May 23 2008 squirrelmail-1.4.15
drwxr-xr-x 11 webapps webapps 4096 Dec 8 21:07 webmail

mikeh
11/03/09, 12:30
netstat -a | grep http ?

The One Hosting
11/03/09, 12:31
Hi,

Volgens bovenstaande error kun je concluderen dat er al "iets" op poortje 80 en/of 443 draait.

Het is rond maar ook blok, is het geupdate?

Roundcube staat er bij ons niet meer op, is er gister afgehaald.
Wel is dit probleem al vanaf gister bezig.

Rond 2 uur ging hij weer soepel lopen en vanochtend was het weer feest

The One Hosting
11/03/09, 12:32
netstat -a | grep http ?



tcp 0 0 *:http-alt *:* LISTEN
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 281 0 server2.theonehosting.:http j194191.upc-j.chell:zion-lm ESTABLISHED
tcp 39158 0 server2.theonehosting.:http 216.139.170.14:idmaps ESTABLISHED
tcp 346 0 server2.theonehosting.:http spider3.wise-guys.nl:34744 ESTABLISHED
tcp 0 66903 server2.theonehosting.:8006 84-105-56-173:llsurfup-http ESTABLISHED
tcp 567 0 server2.theonehosting.:http a80-101-198-156.adsl.:58747 CLOSE_WAIT
tcp 705 0 server2.theonehosting.:http ip51cfbb7d.direct-ads:50765 ESTABLISHED
tcp 566 0 server2.theonehosting.:http a80-101-198-156.adsl.:58750 CLOSE_WAIT
tcp 566 0 server2.theonehosting.:http a80-101-198-156.adsl.:58738 CLOSE_WAIT
tcp 468 0 server2.theonehosting.:http 158.105-178-91.adsl-d:49681 ESTABLISHED
tcp 328 0 server2.theonehosting.:http c-e2b670d5.03-85-73746:thrp ESTABLISHED
tcp 331 0 server2.theonehosting.:http ip565dc495.direct-ads:10070 ESTABLISHED
tcp 738 0 server2.theonehosting.:http ip51cfbb7d.direct-ads:50733 CLOSE_WAIT
tcp 366 0 server2.theonehosting.:http cp197596-a.ndwrt1.lb.:13437 ESTABLISHED
tcp 434 0 server2.theonehosting.:http 5ED51052.cable.:ttc-etap-ds ESTABLISHED
tcp 737 0 server2.theonehosting.:http ip51cfbb7d.direct-ads:50737 ESTABLISHED
tcp 678 0 server2.theonehosting.:http 3E33A94A.dslaccess.ao:19433 ESTABLISHED
tcp 303 0 server2.theonehosting.:http crawl-66-249-71-118.g:54234 ESTABLISHED
tcp 127 0 localhost:http localhost:58235 CLOSE_WAIT
tcp 304 0 server2.theonehosting.:http 195-240-150-63.ip.tel:10943 ESTABLISHED
tcp 295 0 server2.theonehosting.:http cp1312350-a.venra1.lb:45367 ESTABLISHED
tcp 127 0 localhost:http localhost:58246 CLOSE_WAIT
tcp 351 0 server2.theonehosting.:http sd5114445.adsl.wana:amx-rms ESTABLISHED
tcp 382 0 server2.theonehosting.:http 212-123-129-132.ip.te:18061 ESTABLISHED
tcp 353 0 server2.theonehosting.:http cc706052-a.hooge1.gr.h:4126 ESTABLISHED
tcp 289 0 server2.theonehosting.:http ip565d7201.direct-ads:49378 ESTABLISHED
tcp 511 0 server2.theonehosting.:http s5593ac57.adsl:resource_mgr ESTABLISHED
tcp 400 0 server2.theonehosting.:http 28.89-178-91.adsl-dyn:49753 ESTABLISHED
tcp 423 0 server2.theonehosting.:http ip5657119f.direct-ads:57201 ESTABLISHED
tcp 395 0 server2.theonehosting.:http pD9535B52.dip.t:bmc-net-svc ESTABLISHED
tcp 226 0 server2.theonehosting.:http 38.99.44.99:58000 ESTABLISHED
tcp 566 0 server2.theonehosting.:http a80-101-198-156.adsl.:58754 ESTABLISHED
tcp 369 0 server2.theonehosting.:http dsl88.242-38942.ttnet:10702 ESTABLISHED
tcp 231 0 server2.theonehosting.:http 38.99.44.99:45973 CLOSE_WAIT
tcp 301 0 server2.theonehosting.:http s5591935c.adsl.wanado:55015 ESTABLISHED
tcp 364 0 server2.theonehosting.:http 82-171-191-211.ip.tel:23361 ESTABLISHED
tcp 314 0 server2.theonehosting.:http ip4da2fdda.direct-ads:58112 ESTABLISHED
tcp 287 0 server2.theonehosting.:http ip184-109-173-8:funk-logger ESTABLISHED
tcp 392 0 server2.theonehosting.:http ip5452a031.speed.plan:15703 ESTABLISHED
tcp 342 0 server2.theonehosting.:http ip56567825.adsl-surfe:10386 ESTABLISHED

MMaI
11/03/09, 13:18
is die netstat gemaakt terwijl je het probleem had of hierna/hiervoor?
ik zie namelijk niks open staan in deze lijst op poort 443

kun je tijdens het probleem even checken met:
netstat -a | grep 443

mikeh
11/03/09, 13:19
Inderdaad, dat maakt het vreemd.

The One Hosting
11/03/09, 13:26
Het probleem was er op dat moment inderdaad niet.
Wel is ondanks hij nu gestart is enorm traag, zodra hij klapt zal ik gelijk een netstat maken.

We zijn er wel uit dat het iets met exim te maken heeft.

The One Hosting
11/03/09, 14:29
[root@server2 httpd]# netstat -a | grep 443
tcp 1 0 server2.theonehosting.:http server2.theonehosting:53443 CLOSE_WAIT


dit is alles wat hij weergeeft tijdens het probleem

Tim.Bracquez
11/03/09, 14:39
We zijn er wel uit dat het iets met exim te maken heeft.
Indien het dit is en je wilt het voorkomen moet je even zorgen dat directadmin geen 'restart' maakt van je httpd maar een reload. Kan je aanpassen in het init script (wel minder mooi en je moet het onthouden)

Hoe kan het exim probleem eigenlijk op een mooie manier opgelost worden, iemand ervaring?

mikeh
11/03/09, 14:41
kill apache eens handmatig ( ps -aux | grep http ) kill -9 pid_nr
En start het weer op via je services script.

Kan zijn dat het dan verholpen is.

The One Hosting
11/03/09, 14:54
Gezien er heel veel connecties zijn heeft het aanpassen van de init weinig zin.
Dit had ik nog niet vermeld zijn we ook pas net achter gekomen.
Vanaf eigen ip al bijna 500 connecties op poort 80

@mikeh
dit al diverse keren geprobeerd.

The One Hosting
11/03/09, 21:43
Alles ziet er weer goed uit,

Hierbij wil ik IC Hosting bedanken die ons zo ongeveer de hele dag hebben geholpen met dit probleem.

pierce
11/03/09, 21:47
Alles ziet er weer goed uit,

Hierbij wil ik IC Hosting bedanken die ons zo ongeveer de hele dag hebben geholpen met dit probleem.

Vermeld dan ook gelijk even de oplossing, anders opent iemand over 3 maanden weer een dergelijk topic ;)

The One Hosting
11/03/09, 21:50
Kom ik morgen op terug, in ieder geval had het onder ander te maken met een fout geconfigureerde ssl certificaat bij een user.

mikeh
11/03/09, 23:20
Dat is idd zoeken naar een naald in een hooiberg!!