Le port 80 djéà utilisé ?

~# lsof -i :80

 

NETWORK INFO

Maintenance informatique –Hébergement – Réparation iphone – Sécurité -
Conseil

1 rue du 1er mai, 62940 Haillicourt

Du mardi au samedi 9h30 – 12h / 14h-19h ( 18h le samedi )

Tél : 09.50.66.46.92

 <http://www.network-info.fr/> http://www.network-info.fr

 <http://www.youtube.com/watch?v=yd5kBMAe1I8>
http://www.youtube.com/watch?v=yd5kBMAe1I8 ( présentation vidéo )

 

De : [email protected] [mailto:[email protected]] De la part de
Sébastien Mureau
Envoyé : samedi 16 mars 2013 14:54
À : French SysAdmin Group
Objet : Re: [FRsAG] Problème de configuration DNS

 

 

Apres avoir tout réglé, enfin ce que je pensez voici l'erreur: 

 

 service httpd start

Démarrage de httpd : [Sat Mar 16 14:35:37 2013] [warn] _default_
VirtualHost o

[Sat Mar 16 14:35:37 2013] [warn] _default_ VirtualHost overlap on port 80,
the

(98)Address already in use: make_sock: could not bind to address [::]:80

(98)Address already in use: make_sock: could not bind to address [::]:80

(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

 

 

Les logs montre cela:

 

Pour /srv/www/jeux-sans-obligation-achat.com/logs/error.log :

 

[Tue Feb 12 10:02:35 2013] [error] [client 78.251.225.212] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49

[Tue Feb 12 10:02:35 2013] [error] [client 78.251.225.212] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51

[Tue Feb 12 10:02:45 2013] [error] [client 78.251.225.212] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49

[Tue Feb 12 10:02:45 2013] [error] [client 78.251.225.212] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51

[Tue Feb 12 11:24:59 2013] [error] [client 86.220.20.103] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:24:59 2013] [error] [client 86.220.20.103] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:25:30 2013] [error] [client 86.220.20.103] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:25:30 2013] [error] [client 86.220.20.103] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:32:38 2013] [error] [client 86.220.20.103] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:32:38 2013] [error] [client 86.220.20.103] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:34:35 2013] [error] [client 86.220.20.103] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:34:35 2013] [error] [client 86.220.20.103] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:36:00 2013] [error] [client 86.220.20.103] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:36:00 2013] [error] [client 86.220.20.103] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:36:14 2013] [error] [client 86.220.20.103] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:36:14 2013] [error] [client 86.220.20.103] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51, referer:
http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installatio
n

[Tue Feb 12 11:43:55 2013] [error] [client 50.112.109.214] File does not
exist: /srv/www/jeux-sans-obligation-achat.com/public_html/manager

[Tue Feb 12 11:43:55 2013] [error] [client 50.112.109.214] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49

[Tue Feb 12 11:43:55 2013] [error] [client 50.112.109.214] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51

[Tue Feb 12 15:43:10 2013] [error] [client 116.1.249.3] File does not exist:
/srv/www/jeux-sans-obligation-achat.com/public_html/manager

[Tue Feb 12 15:43:10 2013] [error] [client 116.1.249.3] PHP Warning:
MemcachePool::getextendedstats(): No servers added to memcache connection in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 49

[Tue Feb 12 15:43:10 2013] [error] [client 116.1.249.3] PHP Warning:
Invalid argument supplied for foreach() in
/srv/www/jeux-sans-obligation-achat.com/public_html/classes/cache/CacheMemca
che.php on line 51

 

Pour /srv/www/jeux-sans-obligation-achat.com/logs/access.log :

 

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

::1 - - [12/Feb/2013:10:02:13 +0100] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (internal dummy connection)"

78.251.225.212 - - [12/Feb/2013:10:02:35 +0100] "GET / HTTP/1.1" 302 20 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko)
Chrome/23.0.1271.97 Safari/537.11"

78.251.225.212 - - [12/Feb/2013:10:02:45 +0100] "GET / HTTP/1.1" 302 20 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko)
Chrome/23.0.1271.97 Safari/537.11"

86.220.20.103 - - [12/Feb/2013:11:24:59 +0100] "GET
/index.php?controller=attachment&id_attachment=20 HTTP/1.1" 302 20
"http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installati
on" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

86.220.20.103 - - [12/Feb/2013:11:25:30 +0100] "GET
/index.php?controller=attachment&id_attachment=17 HTTP/1.1" 302 20
"http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installati
on" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

86.220.20.103 - - [12/Feb/2013:11:32:38 +0100] "GET
/index.php?controller=attachment&id_attachment=21 HTTP/1.1" 302 20
"http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installati
on" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

86.220.20.103 - - [12/Feb/2013:11:34:35 +0100] "GET
/index.php?controller=attachment&id_attachment=17 HTTP/1.1" 302 20
"http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installati
on" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

86.220.20.103 - - [12/Feb/2013:11:36:00 +0100] "GET
/index.php?controller=attachment&id_attachment=21 HTTP/1.1" 302 20
"http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installati
on" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

86.220.20.103 - - [12/Feb/2013:11:36:14 +0100] "GET
/index.php?controller=attachment&id_attachment=17 HTTP/1.1" 302 20
"http://www.kit-boitier-ethanol.fr/fr/content/8-video-et-manuel-d-installati
on" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"

88.173.74.38 - - [12/Feb/2013:11:38:32 +0100] "GET /img/cms/installateur.jpg
HTTP/1.1" 200 7872
"http://www.kit-boitier-ethanol.fr/fr/content/10-centre-de-montage";
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"

50.112.109.214 - - [12/Feb/2013:11:43:55 +0100] "HEAD /manager/html
HTTP/1.0" 302 - "-" "-"

164.2.255.244 - - [12/Feb/2013:12:49:06 +0100] "GET
/modules/petitesannonces/js/multifile_compressed.js HTTP/1.1" 200 1689 "-"
"Mozilla/4.0 (compatible;)"

173.252.110.119 - - [12/Feb/2013:13:49:00 +0100] "GET
/modules//homeslider/images/e3a0f99d55a71e11c1267e7ab6a46cf8.jpg HTTP/1.1"
206 72249 "-" "facebookexternalhit/1.1
(+http://www.facebook.com/externalhit_uatext.php)"

 

 

Le 16 mars 2013 13:23, Pierre `Sn4kY` DOLIDON <[email protected]> a écrit :

que disent les logs suivants  ?

ErrorLog /srv/www/jeux-sans-obligation-achat.com/logs/error.log
CustomLog /srv/www/jeux-sans-obligation-achat.com/logs/access.log


Sinon, voici comment configurer "proprement" NameVirtalHosts :

http://httpd.apache.org/docs/2.2/fr/mod/core.html#namevirtualhost


ma conf est faite comme ceci (grosso modo) :



NameVirtualHost *:80

<VirtualHost *:80>

    documentroot /var/www
    [...]
</VirtualHost>

<VirtualHost *:80>
    servername blabla.com
    serveralias www.blabla.com
    documentroot /home/site1/www/
    [...]
</VirtualHost>
<VirtualHost *:80>
    servername blabla2.com
    serveralias www.blabla2.com
    documentroot /home/site2/www/
    [...]
</VirtualHost>


etc.

La présence du premier vhost (sans servername) est le vhost par défaut,
c'est lui qui attrapera toutes les requetes http qui arrivent sans entête
HTTP_HOST (qui contient www.bla.com par exemple) ou qui contient un
HTTP_HOST non connu du serveur.


Le 16/03/2013 12:13, Manuel OZAN a écrit :

La directive suivante "Include /etc/httpd/conf/vhosts/*.vhost" va lire tous
les fichiers avec l'extension ".vhost" dans le répertoire
"/etc/httpd/conf/vhosts". 

 

Du coup tu peux créer un fichier par site : 

- monsitex.vhosts

- monsitey.vhosts

- monsitez.vhosts

 

 

 

_______________________________________________
Liste de diffusion du FRsAG
http://www.frsag.org/

Répondre à