Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 05/04/2017, à 11:10

rentabilicus

Réseau web port apache

Bonjour,
J'ai un souci avec la configuration du port apache pour mettre en route mon réseau web.

En effet, quand je tape la commande dans un shell

sudo /opt/lampp/lampp restart

J'obtiens entre autre le résultat suivant :

XAMPP:  Another web server is already running.

avec :

XAMPP: Stopping Apache...not running.

Tous les autres processus sont ok pour moi suite à des manipulations recommandées par des forums. Seul apache me pose désormais un souci.

En regardant les forums internet sur ce souci cela serait un problème de configuration d'apache.

Donc j'ouvre le programme de configuration de mon serveur xampp avec les commandes suivantes :

cd /opt/lampp
sudo ./manager-linux-x64.run

Cela m'ouvre mon interface de configuration de mon serveur xampp.

Je me place dans l'onglet "Manage servers" et je remarque que "Apache web server" est en position "stopped".

je me place sur "Apache web server" et je clique sur le bouton "configure" qui m'ouvre une fenêtre "general".

Dans la fenêtre "port" j'ai le nombre 80 que je change en 8080 sur conseil sur un forum et je valide par le clic "ok".

Lorsque je clique sur sur le bouton "Start" ou  "Restart all" le problème persiste avec "Apache web server" qui est toujours en position "stopped".

Bref, je n'arrive pas à le mettre en route.

Merci pour votre aide.

Hors ligne

#2 Le 05/04/2017, à 21:29

mikael8349

Re : Réseau web port apache

Bonsoir,

Peut être qu'une autre instance est en cours d'exécution sur le/les ports 80/8080. Que donne la commande suivante ?

netstat -anut

Hors ligne

#3 Le 06/04/2017, à 11:32

rentabilicus

Re : Réseau web port apache

Je vous donne le résultat pour la commande demandée :

netstat -anut
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat      
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:5433          0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:9050          0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN     
tcp        0      0 127.0.0.1:32000         0.0.0.0:*               LISTEN     
tcp        0      0 0.0.0.0:2086            0.0.0.0:*               LISTEN     
tcp        0      1 192.168.1.5:56278       51.15.130.7:80          SYN_SENT   
tcp        0      0 192.168.1.5:52966       93.184.220.239:80       TIME_WAIT  
tcp        0      0 192.168.1.5:50290       152.163.56.2:443        TIME_WAIT  
tcp        0      0 192.168.1.5:40716       178.20.55.235:443       TIME_WAIT  
tcp        0      0 192.168.1.5:44224       216.58.198.194:80       TIME_WAIT  
tcp        0      0 192.168.1.5:45354       52.21.81.95:443         ESTABLISHED
tcp        0      1 192.168.1.5:48870       128.239.103.181:2086    SYN_SENT   
tcp        0      0 192.168.1.5:58942       178.20.55.235:80        ESTABLISHED
tcp        0      0 192.168.1.5:54638       23.21.73.74:443         ESTABLISHED
tcp        0      1 192.168.1.5:56280       51.15.130.7:80          SYN_SENT   
tcp        0      0 192.168.1.5:58944       178.20.55.235:80        ESTABLISHED
tcp        0      0 192.168.1.5:58940       178.20.55.235:80        ESTABLISHED
tcp        0      0 192.168.1.5:56192       93.184.221.133:80       TIME_WAIT  
tcp        0      0 192.168.1.5:41040       178.250.2.74:80         TIME_WAIT  
tcp        0      0 192.168.1.5:41030       34.197.171.139:443      ESTABLISHED
tcp        0      0 192.168.1.5:52968       93.184.220.239:80       TIME_WAIT  
tcp        0      1 192.168.1.5:40986       212.25.3.250:2086       SYN_SENT   
tcp        0      0 192.168.1.5:45452       92.122.88.245:443       ESTABLISHED
tcp        0      0 192.168.1.5:58934       178.20.55.235:80        ESTABLISHED
tcp        0      0 192.168.1.5:40718       178.20.55.235:443       ESTABLISHED
tcp        0      0 192.168.1.5:45818       217.79.179.177:9001     ESTABLISHED
tcp        0      0 127.0.0.1:32000         127.0.0.1:31000         ESTABLISHED
tcp        0      1 192.168.1.5:57868       10.48.10.6:2086         SYN_SENT   
tcp        0      0 192.168.1.5:56092       52.86.98.201:443        ESTABLISHED
tcp        0      0 192.168.1.5:58852       178.20.55.235:80        ESTABLISHED
tcp        0      0 192.168.1.5:58938       178.20.55.235:80        ESTABLISHED
tcp        0      0 192.168.1.5:45428       92.122.88.245:443       ESTABLISHED
tcp        0      0 192.168.1.5:50444       93.184.220.29:80        TIME_WAIT  
tcp        0      0 192.168.1.5:53062       2.16.117.155:80         ESTABLISHED
tcp6       0      0 127.0.0.1:7657          :::*                    LISTEN     
tcp6       0      0 ::1:7657                :::*                    LISTEN     
tcp6       0      0 127.0.0.1:7658          :::*                    LISTEN     
tcp6       0      0 127.0.0.1:7659          :::*                    LISTEN     
tcp6       0      0 :::139                  :::*                    LISTEN     
tcp6       0      0 127.0.0.1:6668          :::*                    LISTEN     
tcp6       0      0 127.0.0.1:7660          :::*                    LISTEN     
tcp6       0      0 :::80                   :::*                    LISTEN     
tcp6       0      0 :::21                   :::*                    LISTEN     
tcp6       0      0 127.0.0.1:4444          :::*                    LISTEN     
tcp6       0      0 127.0.0.1:4445          :::*                    LISTEN     
tcp6       0      0 :::445                  :::*                    LISTEN     
tcp6       0      0 :::29984                :::*                    LISTEN     
tcp6       0      0 192.168.1.5:7652        :::*                    LISTEN     
tcp6       0      0 127.0.0.1:7654          :::*                    LISTEN     
tcp6       0      0 :::2086                 :::*                    LISTEN     
tcp6       0      1 2a01:e34:ed45:29b:43136 2a00:61e0:41f4:fd0:2086 SYN_SENT   
tcp6       0      0 2a01:e34:ed45:29b:55700 2a00:1450:4007:810::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:29984 2604:a880:800:10::55673 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:35050 2a02:26f0:ff::5c7b:e:80 TIME_WAIT  
tcp6       0      0 127.0.0.1:31000         127.0.0.1:32000         ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:48976 2a01:e35:87a5:85a0:2086 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2605:e000:3dd9:52:56526 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2601:282:201:c9cc:50590 TIME_WAIT  
tcp6       0      0 2a01:e34:ed45:29b0:2086 2001:4c50:49f:ae0:51852 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2602:30a:c0ff:a5e:37266 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:59938 2a02:26f0:ff::5c7b:e:80 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:35046 2a02:26f0:ff:1a8::20:80 TIME_WAIT  
tcp6       0      1 2a01:e34:ed45:29b:43680 2a01:cb04:54f:6600:2086 SYN_SENT   
tcp6       0      0 2a01:e34:ed45:29b:55678 2a00:1450:4007:80d::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2601:545:4501:ea8:59854 ESTABLISHED
tcp6       0    342 2a01:e34:ed45:29b:34490 2a01:e35:8a5f:ee10:2086 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:36192 2a02:8070:4780:950:2086 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2602:306:bd8b:1c8:54196 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:51328 2a00:1450:400c:c0c::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e34:ee3b:796:60170 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e35:8bae:8c6:46800 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e35:2e8c:793:37690 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e35:2e8c:793:37504 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:32842 2a00:1450:400c:c00::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:57070 2a00:1450:4007:812::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2605:e000:3dd9:52:49626 TIME_WAIT  
tcp6       0      0 2a01:e34:ed45:29b:35430 2a01:e35:2f0f:bf60:2086 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:49092 2a00:1450:4007:816::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:34888 2a02:26f0:ff:1a8::20:80 TIME_WAIT  
tcp6       0      0 2a01:e34:ed45:29b:35052 2a02:26f0:ff::5c7b:e:80 TIME_WAIT  
tcp6       0      0 2a01:e34:ed45:29b0:2086 2001:984:c0ba:1:4:53898 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a00:61e0:41f4:fd:33486 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:46222 2a00:1450:4007:80f::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:59934 2a02:26f0:ff::5c7b:e:80 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:60516 2a01:e34:ee3b:7960:2086 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:59936 2a02:26f0:ff::5c7b:e:80 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b:57640 2a00:1450:4007:80d::443 ESTABLISHED
tcp6       0      0 2a01:e34:ed45:29b0:2086 2601:282:201:c9cc:34298 ESTABLISHED
tcp6       0      1 2a01:e34:ed45:29b:58408 2a01:cb04:54f:6600:2086 SYN_SENT   
tcp6       0      0 2a01:e34:ed45:29b0:2086 2001:984:c0ba:1:4:39574 ESTABLISHED
udp        0      0 127.0.0.1:46028         127.0.0.1:46028         ESTABLISHED
udp        0      0 0.0.0.0:38113           0.0.0.0:*                          
udp        0      0 0.0.0.0:5353            0.0.0.0:*                          
udp        0      0 0.0.0.0:44639           0.0.0.0:*                          
udp        0      0 0.0.0.0:2086            0.0.0.0:*                          
udp        0      0 127.0.1.1:53            0.0.0.0:*                          
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
udp        0      0 192.168.1.255:137       0.0.0.0:*                          
udp        0      0 192.168.1.5:137         0.0.0.0:*                          
udp        0      0 0.0.0.0:137             0.0.0.0:*                          
udp        0      0 192.168.1.255:138       0.0.0.0:*                          
udp        0      0 192.168.1.5:138         0.0.0.0:*                          
udp        0      0 0.0.0.0:138             0.0.0.0:*                          
udp        0      0 127.0.0.1:57784         127.0.0.1:57784         ESTABLISHED
udp        0      0 0.0.0.0:631             0.0.0.0:*                          
udp6       0      0 :::52335                :::*                               
udp6       0      0 :::5353                 :::*                               
udp6       0      0 :::29984                :::*                               
udp6       0      0 192.168.1.5:7653        :::*                               
udp6       0      0 :::1900                 :::*                               
udp6       0      0 :::2086                 :::*                               
udp6       0      0 :::39008                :::* 

Hors ligne

#4 Le 06/04/2017, à 13:25

mikael8349

Re : Réseau web port apache

Du coup il y a bien un logiciel qui utilise déjà le port 80 :

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN

Très certainement un service web lancé automatiquement au démarrage de la machine. Du coup j'ai oublié l'option 'p' qui permettra de connaitre le nom du programme (ou d'obtenir son PID). Que donne :

netstat -anutp

Sinon tout bête : se connecter sur le serveur avec un navigateur web et voir ce qui est affiché.

Hors ligne

#5 Le 06/04/2017, à 17:47

rentabilicus

Re : Réseau web port apache

Et voici le résultat :

netstat -anutp
(Tous les processus ne peuvent être identifiés, les infos sur les processus
non possédés ne seront pas affichées, vous devez être root pour les voir toutes.)
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:5433          0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:9050          0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:32000         0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:2086            0.0.0.0:*               LISTEN      -               
tcp        0      0 192.168.1.5:36152       52.218.16.9:443         TIME_WAIT   -               
tcp        0      0 192.168.1.5:38462       23.23.142.219:443       TIME_WAIT   -               
tcp        0      0 192.168.1.5:44692       88.221.83.72:80         ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:36844       54.230.78.225:443       TIME_WAIT   -               
tcp        0      0 192.168.1.5:53094       93.184.220.29:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:45520       178.20.55.235:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:59848       178.250.2.100:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:45524       178.20.55.235:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:53108       93.184.220.29:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:54414       104.244.42.65:443       ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:38894       54.239.168.87:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:55382       93.184.220.239:80       TIME_WAIT   -               
tcp        0      0 192.168.1.5:48014       178.20.55.235:443       ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:45526       178.20.55.235:80        ESTABLISHED 4273/firefox    
tcp        0      1 192.168.1.5:49592       51.15.130.7:80          SYN_SENT    4273/firefox    
tcp        0      0 192.168.1.5:53106       93.184.220.29:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:45530       178.20.55.235:80        ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:48016       178.20.55.235:443       ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:37410       34.194.73.87:443        ESTABLISHED 4273/firefox    
tcp        0      1 192.168.1.5:49590       51.15.130.7:80          SYN_SENT    4273/firefox    
tcp        0      0 192.168.1.5:36848       54.230.78.225:443       TIME_WAIT   -               
tcp        0      0 192.168.1.5:45362       52.45.210.160:443       TIME_WAIT   -               
tcp        0      0 192.168.1.5:36850       54.230.78.225:443       TIME_WAIT   -               
tcp        0      0 192.168.1.5:36846       54.230.78.225:443       TIME_WAIT   -               
tcp        0      0 192.168.1.5:34890       82.103.140.87:443       ESTABLISHED -               
tcp        0      0 127.0.0.1:32000         127.0.0.1:31000         ESTABLISHED -               
tcp        0      0 192.168.1.5:45484       178.20.55.235:80        ESTABLISHED 4273/firefox    
tcp        0 221056 192.168.1.5:55966       66.199.236.14:80        ESTABLISHED 4273/firefox    
tcp      128      0 192.168.1.5:39800       192.168.1.254:139       ESTABLISHED 4617/gvfsd-smb-brow
tcp        0      0 192.168.1.5:44414       51.15.128.226:443       ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:39198       51.15.128.226:443       ESTABLISHED 4273/firefox    
tcp        0      0 192.168.1.5:55386       93.184.220.239:80       TIME_WAIT   -               
tcp        0      0 192.168.1.5:45528       178.20.55.235:80        ESTABLISHED 4273/firefox    
tcp6       0      0 127.0.0.1:7657          :::*                    LISTEN      -               
tcp6       0      0 ::1:7657                :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:7658          :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:7659          :::*                    LISTEN      -               
tcp6       0      0 :::139                  :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:6668          :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:7660          :::*                    LISTEN      -               
tcp6       0      0 :::80                   :::*                    LISTEN      -               
tcp6       0      0 :::21                   :::*                    LISTEN      -               
tcp6       0      0 ::1:631                 :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:4444          :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:4445          :::*                    LISTEN      -               
tcp6       0      0 :::445                  :::*                    LISTEN      -               
tcp6       0      0 :::29984                :::*                    LISTEN      -               
tcp6       0      0 192.168.1.5:7652        :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:7654          :::*                    LISTEN      -               
tcp6       0      0 :::2086                 :::*                    LISTEN      -               
tcp6     393      0 2a01:e34:ed45:29b0:2086 2001:250:1403:201:53082 CLOSE_WAIT  -               
tcp6       0      0 2a01:e34:ed45:29b:38078 2a00:1450:400c:c06::443 ESTABLISHED 4273/firefox    
tcp6     491      0 2a01:e34:ed45:29b0:2086 2001:a61:20be:cd0:36464 CLOSE_WAIT  -               
tcp6       0      0 2a01:e34:ed45:29b:37546 2a00:1450:400c:c06::443 ESTABLISHED 4273/firefox    
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e34:ec20:22d:51220 SYN_RECV    -               
tcp6     417      0 2a01:e34:ed45:29b0:2086 2601:681:4d03:eb9:58948 CLOSE_WAIT  -               
tcp6       0      0 2a01:e34:ed45:29b:39100 2a02:26f0:ff::5c7b:e:80 ESTABLISHED 4273/firefox    
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a02:908:13c2:86c:60464 SYN_RECV    -               
tcp6     787      0 2a01:e34:ed45:29b0:2086 2605:e000:1c03:c1:50220 CLOSE_WAIT  -               
tcp6       0      0 192.168.1.5:54304       176.226.149.104:26800   ESTABLISHED -               
tcp6       0      0 2a01:e34:ed45:29b:46000 2a00:1450:400c:c06::443 ESTABLISHED 4273/firefox    
tcp6    4789      0 2a01:e34:ed45:29b0:2086 2600:8803:798a:60:42618 CLOSE_WAIT  -               
tcp6       0      0 127.0.0.1:31000         127.0.0.1:32000         ESTABLISHED -               
tcp6       0      0 2a01:e34:ed45:29b:39098 2a02:26f0:ff::5c7b:e:80 ESTABLISHED 4273/firefox    
tcp6     597      0 2a01:e34:ed45:29b0:2086 2605:e000:3dd9:52:40580 CLOSE_WAIT  -               
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e34:ec09:c6b:35448 SYN_RECV    -               
tcp6       0      0 2a01:e34:ed45:29b0:2086 2600:8805:3801:e4:37856 ESTABLISHED -               
tcp6       0      0 192.168.1.5:36200       192.168.1.254:5678      CLOSE_WAIT  -               
tcp6       0      0 2a01:e34:ed45:29b:37474 2a00:1450:400c:c06::443 ESTABLISHED 4273/firefox    
tcp6       0      0 2a01:e34:ed45:29b0:2086 2a01:e34:ec20:22d:60288 SYN_RECV    -               
tcp6       0      0 2a01:e34:ed45:29b:44614 2a00:1450:400c:c06:::80 ESTABLISHED 4273/firefox    
udp        0      0 192.168.1.5:60195       0.0.0.0:*                           4273/firefox    
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           -               
udp        0      0 0.0.0.0:36823           0.0.0.0:*                           -               
udp        0      0 127.0.0.1:55258         127.0.0.1:55258         ESTABLISHED -               
udp        0      0 0.0.0.0:57337           0.0.0.0:*                           -               
udp        0      0 0.0.0.0:2086            0.0.0.0:*                           -               
udp        0      0 127.0.1.1:53            0.0.0.0:*                           -               
udp        0      0 0.0.0.0:68              0.0.0.0:*                           -               
udp        0      0 192.168.1.255:137       0.0.0.0:*                           -               
udp        0      0 192.168.1.5:137         0.0.0.0:*                           -               
udp        0      0 0.0.0.0:137             0.0.0.0:*                           -               
udp        0      0 192.168.1.255:138       0.0.0.0:*                           -               
udp        0      0 192.168.1.5:138         0.0.0.0:*                           -               
udp        0      0 0.0.0.0:138             0.0.0.0:*                           -               
udp        0      0 127.0.0.1:51409         127.0.0.1:51409         ESTABLISHED -               
udp        0      0 0.0.0.0:39289           0.0.0.0:*                           4273/firefox    
udp        0      0 0.0.0.0:631             0.0.0.0:*                           -               
udp6       0      0 :::5353                 :::*                                -               
udp6       0      0 :::29984                :::*                                -               
udp6       0      0 192.168.1.5:7653        :::*                                -               
udp6       0      0 :::38458                :::*                                -               
udp6       0      0 :::54888                :::*                                4273/firefox    
udp6       0      0 :::1900                 :::*                                -               
udp6       0      0 :::55216                :::*                                -               
udp6       0      0 :::2086                 :::*                                -               
udp6       0      0 2a01:e34:ed45:29b:39146 :::*                                4273/firefox 

J'ai installé le soft AMPPS et effectivement il me dit que le port d'Apache est occupé par une autre application.

Quand je vais sur ma page localhost j'ai le message it works mais il me donne l'information suivante :

This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.

Dernière modification par rentabilicus (Le 06/04/2017, à 18:42)

Hors ligne

#6 Le 06/04/2017, à 19:50

jplemoine

Re : Réseau web port apache

Il faut faire

sudo netstat -anutp

Il semblerait que ce soit apache.
Tente

sudo service apache2 stop

Si ensuite, tu peux lancer lampp.
Si ça fonctionne, il faudra supprimer le démarrage d'Apache.
ça doit être un truc du genre :

sudo update-rc.d apache2 disable

Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne

#7 Le 06/04/2017, à 21:45

rentabilicus

Re : Réseau web port apache

Suite à la commande :

sudo netstat -anutp

Je m'aperçois que c'est nginx qui est en route sur le port 80 :

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1170/nginx -g daemo

J'ai effectué la commande  pour arrêter le démon :

sudo service nginx stop

Après relance de mon seveur j'ai comme résultat :

sudo /opt/lampp/lampp restart
Restarting XAMPP for Linux 5.6.30-0...
XAMPP: Stopping Apache...not running.
XAMPP: Stopping MySQL...not running.
XAMPP: Stopping ProFTPD...not running.
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...fail.
XAMPP:  Another FTP daemon is already running.

Pour le port ftp qui semble occupé je ne comprends pas car j'ai :

tcp6       0      0 :::21                   :::*                    LISTEN      2023/proftpd: (acce

je ne vois pas quel serait le demon qui l'occuperait.

Dernière modification par rentabilicus (Le 06/04/2017, à 22:05)

Hors ligne

#8 Le 07/04/2017, à 00:16

jplemoine

Re : Réseau web port apache

Il y a probablement un service proftpd à arrêter comme nginx


Membre de l'ALDIL (Association Lyonnaise pour le Développement de l'Informatique Libre)
- En pro, après 20 ans de développement, administrateur Linux / Unix depuis Avril 2019.
- En privé, sous Ubuntu-Xubuntu depuis 2009.

Hors ligne