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 16/04/2016, à 15:19

bloudman59

Apache toujours en route après desinstallation [Résolu]

Bonjour à tous! smile

Cette nuit j'ai mis à jour mon petit serveur sous ubuntu 16.04 (je sais elle sort officiellement le 21 mais j'ai pas su attendre smile ).
La manipulation se passe dans l'ensemble s'est plus ou moins bien déroulé (quelques progammes ont merdé mysql il faut que je regarde et phpmyadmin)

Mais j'ai un problème plus grave depuis ^^
Tous mes fichiers PHP sont en erreur 403 même avec 777 pour les droits...
J'ai voulu reinstallé apache en le supprimant entièrement avec

apt-get purge apache2

et la oh surprise après redemarrage apache est toujours lancé.
D'autant plus avant de desinstallé je voulais juste faire un restart pour reinstaller php et il ne voulais pas quand je faisais status apache2 j'avais une erreur par contre status apache me disais que tout était Ok ... J'aurais donc un serveur apache que je ne pourrais pas desinstaller ? ...

Merci de m'aider à comprendre je suis perdu là ^^

Dernière modification par bloudman59 (Le 17/04/2016, à 17:42)

Hors ligne

#2 Le 16/04/2016, à 18:17

bloudman59

Re : Apache toujours en route après desinstallation [Résolu]

Voici ma liste de tous mes services actifs...
je n'ai pas d'apache ou de serveur web (ou un nom que je ne connais pas... )
Pourtant un serveur web est toujours actif sur ma machine... Comment ça se fait ? hmm

 [ + ]  acpid
 [ - ]  alsa-utils
 [ + ]  amavis
 [ - ]  anacron
 [ + ]  apparmor
 [ + ]  apport
 [ + ]  atd
 [ + ]  avahi-daemon
 [ - ]  bluetooth
 [ - ]  bootmisc.sh
 [ - ]  brltty
 [ + ]  cgmanager
 [ - ]  cgproxy
 [ - ]  checkfs.sh
 [ - ]  checkroot-bootclean.sh
 [ - ]  checkroot.sh
 [ + ]  clamav-daemon
 [ + ]  clamav-freshclam
 [ + ]  console-setup
 [ + ]  cron
 [ - ]  cryptdisks
 [ - ]  cryptdisks-early
 [ - ]  cups
 [ + ]  cups-browsed
 [ + ]  dbus
 [ + ]  dictd
 [ - ]  dns-clean
 [ - ]  dovecot
 [ + ]  etc-setserial
 [ + ]  fail2ban
 [ + ]  grub-common
 [ + ]  hddtemp
 [ - ]  hostname.sh
 [ - ]  hwclock.sh
 [ + ]  irqbalance
 [ - ]  kerneloops
 [ - ]  killprocs
 [ + ]  kmod
 [ + ]  lightdm
 [ + ]  lighttpd
 [ + ]  lirc
 [ + ]  lm-sensors
 [ + ]  mdadm
 [ - ]  mdadm-waitidle
 [ - ]  mountall-bootclean.sh
 [ - ]  mountall.sh
 [ - ]  mountdevsubfs.sh
 [ - ]  mountkernfs.sh
 [ - ]  mountnfs-bootclean.sh
 [ - ]  mountnfs.sh
 [ + ]  mysql
 [ + ]  network-manager
 [ + ]  networking
 [ + ]  nmbd
 [ + ]  ondemand
 [ - ]  openbsd-inetd
 [ + ]  osspd
 [ - ]  plymouth
 [ - ]  plymouth-log
 [ + ]  portsentry
 [ + ]  postfix
 [ + ]  postgresql
 [ - ]  pppd-dns
 [ + ]  privoxy
 [ + ]  procps
 [ - ]  pulseaudio
 [ + ]  rc.local
 [ + ]  resolvconf
 [ - ]  rsync
 [ + ]  rsyslog
 [ + ]  rtirq
 [ + ]  samba
 [ + ]  samba-ad-dc
 [ - ]  saned
 [ - ]  screen-cleanup
 [ + ]  sddm
 [ - ]  sendsigs
 [ + ]  setserial
 [ + ]  smbd
 [ + ]  spamassassin
 [ + ]  speech-dispatcher
 [ + ]  ssh
 [ + ]  sysstat
 [ - ]  thermald
 [ + ]  udev
 [ + ]  ufw
 [ - ]  umountfs
 [ - ]  umountnfs.sh
 [ - ]  umountroot
 [ - ]  unattended-upgrades
 [ + ]  urandom
 [ - ]  uuidd
 [ + ]  vsftpd
 [ + ]  whoopsie
 [ + ]  winbind
 [ - ]  x11-common
 [ + ]  x2goserver

Hors ligne

#3 Le 17/04/2016, à 14:36

bobe

Re : Apache toujours en route après desinstallation [Résolu]

Affiche la liste des services en écoute :

$ netstat -tpl

Hors ligne

#4 Le 17/04/2016, à 16:12

bloudman59

Re : Apache toujours en route après desinstallation [Résolu]

Ok voilà la liste: smile

Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program name
tcp        0      0 *:31337                 *:*                     LISTEN      -               
tcp        0      0 localhost:mysql         *:*                     LISTEN      -               
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      -               
tcp        0      0 *:ircd                  *:*                     LISTEN      -               
tcp        0      0 *:systat                *:*                     LISTEN      -               
tcp        0      0 *:5742                  *:*                     LISTEN      -               
tcp        0      0 *:imap2                 *:*                     LISTEN      -               
tcp        0      0 *:sunrpc                *:*                     LISTEN      -               
tcp        0      0 *:finger                *:*                     LISTEN      -               
tcp        0      0 *:netstat               *:*                     LISTEN      -               
tcp        0      0 *:http                  *:*                     LISTEN      -               
tcp        0      0 *:54320                 *:*                     LISTEN      -               
tcp        0      0 *:cisco-sccp            *:*                     LISTEN      -               
tcp        0      0 *:27665                 *:*                     LISTEN      -               
tcp        0      0 *:ingreslock            *:*                     LISTEN      -               
tcp        0      0 server:domain           *:*                     LISTEN      -               
tcp        0      0 localhost:ipp           *:*                     LISTEN      -               
tcp        0      0 *:nntp                  *:*                     LISTEN      -               
tcp        0      0 localhost:postgresql    *:*                     LISTEN      -               
tcp        0      0 *:socks                 *:*                     LISTEN      -               
tcp        0      0 *:smtp                  *:*                     LISTEN      -               
tcp        0      0 localhost:5433          *:*                     LISTEN      -               
tcp        0      0 *:12345                 *:*                     LISTEN      -               
tcp        0      0 *:12346                 *:*                     LISTEN      -               
tcp        0      0 *:https                 *:*                     LISTEN      -               
tcp        0      0 *:635                   *:*                     LISTEN      -               
tcp        0      0 *:49724                 *:*                     LISTEN      -               
tcp        0      0 *:uucp                  *:*                     LISTEN      -               
tcp        0      0 *:microsoft-ds          *:*                     LISTEN      -               
tcp        0      0 *:tcpmux                *:*                     LISTEN      -               
tcp        0      0 *:20034                 *:*                     LISTEN      -               
tcp        0      0 *:32771                 *:*                     LISTEN      -               
tcp        0      0 *:32772                 *:*                     LISTEN      -               
tcp        0      0 localhost:dict          *:*                     LISTEN      -               
tcp        0      0 *:40421                 *:*                     LISTEN      -               
tcp        0      0 *:32773                 *:*                     LISTEN      -               
tcp        0      0 *:32774                 *:*                     LISTEN      -               
tcp6       0      0 [::]:netbios-ssn        [::]:*                  LISTEN      -               
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      -               
tcp6       0      0 localhost:8118          [::]:*                  LISTEN      -               
tcp6       0      0 localhost:ipp           [::]:*                  LISTEN      -               
tcp6       0      0 localhost:postgresql    [::]:*                  LISTEN      -               
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      -               
tcp6       0      0 localhost:5433          [::]:*                  LISTEN      -               
tcp6       0      0 [::]:https              [::]:*                  LISTEN      -               
tcp6       0      0 [::]:microsoft-ds       [::]:*                  LISTEN      -      

Il y a bien HTTP dedans le problème c'est qu'il donne pas le nom du programme hmm

Hors ligne

#5 Le 17/04/2016, à 17:42

bloudman59

Re : Apache toujours en route après desinstallation [Résolu]

Ok merci c'est bon j'étais juste pas en Sudo ... ^^

Alors c'était lighthttpd que j'avais jamais installé qui s'est mis tout seul et du coup voilà...

Merci beaucoup et merci pour la commande je la note car je la connaissais pas smile j'ai d'autres soucis mais celui ci est résolu !

Hors ligne