- Home
- Categorie
- Coding e Sistemistica
- Hosting e Cloud
- Problema aggiornamento web server
-
Problema aggiornamento web server
Ciao a tutti ho un problema con la gestione di un vps.
Ho utilizzato la forma di aggiornamento "ufficiale" di directadmin ed è andato tutto bene.
cd /usr/local/directadmin/customapache rm -fr build wget percorso chmod 755 build ./build update ./build update_data_ap2 ./build convert ./build clean ./build apache_2 ./build php_ap2 n ./build mod_frontpage_ap2 ./build mod_perl_ap2 ./build zend /sbin/service httpd restart
tutto bene a parte httpd.
Ho settato tutto bene con il test. Solo che non vuole partire.
errore
-bash-3.00# httpd (98)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs -bash-3.00#
Non mi indirizza però sul dominio. Riesco a crearlo configurarlo l'url che genera in email dell'accesso tramite web al reseller è raggiungibile, mentre URL del dominio no nella pagina è solo visualizzato :
It works!e questa è la mia nuova configurazione
-bash-3.00# php -v PHP 4.4.8 (cli) (built: Jan 8 2008 07:30:07) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies -bash-3.00# httpd -v Server version: Apache/2.0.61 Server built: Jan 8 2008 07:25:16 -bash-3.00#
Persiste sempre l'errore
-bash-3.00# httpd (98)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs -bash-3.00#
-bash-3.00# netstat -plant Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name tcp 0 0 0.0.0.0:587 0.0.0.0:* LIST EN 1828/exim tcp 0 0 0.0.0.0:110 0.0.0.0:* LIST EN 1860/vm-pop3d tcp 0 0 0.0.0.0:2222 0.0.0.0:* LIST EN 1814/directadmin tcp 0 0 127.0.0.1:783 0.0.0.0:* LIST EN 1834/spamd -d -c -m tcp 0 0 0.0.0.0:143 0.0.0.0:* LIST EN 1795/xinetd tcp 0 0 0.0.0.0:21 0.0.0.0:* LIST EN 1850/proftpd: (acce tcp 0 0 xxxxx:53 0.0.0.0:* LIST EN 1711/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LIST EN 1711/named tcp 0 0 0.0.0.0:25 0.0.0.0:* LIST EN 1828/exim tcp 0 0 127.0.0.1:953 0.0.0.0:* LIST EN 1711/named tcp 0 0 * LIST EN 31265/httpd tcp 0 0 * LIST EN 1782/sshd tcp 0 0 ::1:953 80 ::: * LISTEN 31265/httpd unix 2 [ ] DGRAM 3809 1144/udevd @udevd -bash-3.00# service httpd start Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs -bash-3.00#
Quancuno è in grado di aiutarmi ?
Grazie in anticipo
-
Ciao a tutti ho un problema con la gestione di un vps.
Ho utilizzato la forma di aggiornamento "ufficiale" di directadmin ed è andato tutto bene.
cd /usr/local/directadmin/customapache rm -fr build wget percorso chmod 755 build ./build update ./build update_data_ap2 ./build convert ./build clean ./build apache_2 ./build php_ap2 n ./build mod_frontpage_ap2 ./build mod_perl_ap2 ./build zend /sbin/service httpd restart ```tutto bene a parte httpd. Ho settato tutto bene con il test. Solo che non vuole partire. errore
-bash-3.00# httpd
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
-bash-3.00#**It works!** e questa è la mia nuova configurazione
-bash-3.00# php -v
PHP 4.4.8 (cli) (built: Jan 8 2008 07:30:07)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
-bash-3.00# httpd -v
Server version: Apache/2.0.61
Server built: Jan 8 2008 07:25:16
-bash-3.00#-bash-3.00# httpd
(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
-bash-3.00#-bash-3.00# netstat -plant Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name tcp 0 0 0.0.0.0:587 0.0.0.0:* LIST EN 1828/exim tcp 0 0 0.0.0.0:110 0.0.0.0:* LIST EN 1860/vm-pop3d tcp 0 0 0.0.0.0:2222 0.0.0.0:* LIST EN 1814/directadmin tcp 0 0 127.0.0.1:783 0.0.0.0:* LIST EN 1834/spamd -d -c -m tcp 0 0 0.0.0.0:143 0.0.0.0:* LIST EN 1795/xinetd tcp 0 0 0.0.0.0:21 0.0.0.0:* LIST EN 1850/proftpd: (acce tcp 0 0 xxxxx:53 0.0.0.0:* LIST EN 1711/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LIST EN 1711/named tcp 0 0 0.0.0.0:25 0.0.0.0:* LIST EN 1828/exim tcp 0 0 127.0.0.1:953 0.0.0.0:* LIST EN 1711/named tcp 0 0 * LIST EN 31265/httpd tcp 0 0 * LIST EN 1782/sshd tcp 0 0 ::1:953 80 ::: * LISTEN 31265/httpd unix 2 [ ] DGRAM 3809 1144/udevd @udevd -bash-3.00# service httpd start Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs -bash-3.00# ```Quancuno è in grado di aiutarmi ? Grazie in anticipo :)
-
beh in primo luogo il consiglio che dò è sempre di evitare di compilare i software da sorgente, in quanto così facendo non può essere garantita la corretta configurazione....
se usi linux devi usare i repository della distribuzione in uso e i comandi predisposti all'installazione/aggiornamento del software
nel tuo caso hai installato una nuova copia di DirectAdmin ma non è certo che la vecchia sia stata disattivata.....
l'errore che restituisce indica che la porta 80 è già occupata, il che vuol dire che c'è già un webserver attivo.....
nel tuo caso c'è un chiaro conflitto tra un demone in esecuzione e un altro che vuole soppiantarlo ma non ci riesce....
non so come funziona DirectAdmin perchè non l'ho mai usato, ma a quanto vedo vi fornito in bundle con un server Apache customizzato ed è chiaro che il web server della distro e quello fornito da DirectAdmin sono in conflitto
-
Grazie Paolino ! Lo avevo intuito anche io ma non riesco a capire come risolvere il problema !
Infatti ho deciso che rimuoverò directadmin visto che devo solo configurare un solo dominio un pannello, da neofita intendo, è solo un peso più che un servizio. quello che ti chiedo, vi chiedo è possibile disinstallare completamente directadmin e le sue dipendenze?
si può reinstallare centos via ssh ?
Grazie in anticipo a tutti
-
reinstallare il sistema operativo tramite SSH è impossibile, è possibile nel caso il server abbia la possibilità di fare il network boot ma non è il caso dei VPS
comunque eliminando la directory in cui si trova DirectAdmin dovresti aver risolto
per sicurezza alla fine fai un reboot del VPS