Kod: Zaznacz cały
root@vps1355xx:~# /etc/init.d/apache2 restart
[....] Restarting web server: apache2(98)Address already in use: make_sock: coul                               d not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
 failed!
Kod: Zaznacz cały
root@vps1355xx:~# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1582/sshd
tcp        0      0 0.0.0.0:2008            0.0.0.0:*               LISTEN      1809/AccountingServ
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      1590/named
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      14285/nginx: worker
tcp        0      0 0.0.0.0:10011           0.0.0.0:*               LISTEN      1823/ts3server_linu
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      14285/nginx: worker
tcp        0      0 0.0.0.0:30033           0.0.0.0:*               LISTEN      1823/ts3server_linu
tcp        0      0 xx.xxx.xx.xx:53        0.0.0.0:*               LISTEN      1590/named
tcp        0      0 127.0.0.2:53            0.0.0.0:*               LISTEN      1590/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      1590/named
tcp6       0      0 :::22                   :::*                    LISTEN      1582/sshd
tcp6       0      0 ::1:953                 :::*                    LISTEN      1590/named
tcp6       0      0 :::21                   :::*                    LISTEN      2637/proftpd: (acce
tcp6       0      0 :::53                   :::*                    LISTEN      1590/named
Kod: Zaznacz cały
root@vps1355xx:~# /etc/init.d/nginx stop
-bash: /etc/init.d/nginx: Nie ma takiego pliku ani katalogu
Kod: Zaznacz cały
root@vps1355xx:~# apt-get purge nginx
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Pakiet "nginx" nie jest zainstalowany, więc nie zostanie usunięty
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.