logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 24-01-2016 19:02:08

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

[Résolu] apache2Action 'start' failed

Bonjour! (ou bonsoir vu l'heure...)

Voilà, le plus gros de problème est dans le titre : apache ne veux plus démarrer...

Donc je suis allé voir les divers logs (juste après un essais de redémarage):

le apache2 error log


unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs
unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs

 



Syslog :



Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 16EEE4C2C25: from=<root@bebe.portersonenfant-toutunart.fr>, size=833, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 amavis[745]: (00745-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=dbispconfig;host=127.0.0.1;port=3306': Unknown database 'dbispconfig'
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: D96154C2B66: from=<root@bebe.portersonenfant-toutunart.fr>, size=4469, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 7268A4C15C3: from=<root@bebe.portersonenfant-toutunart.fr>, size=831, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 23C824C15AF: from=<root@bebe.portersonenfant-toutunart.fr>, size=825, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: EC6574C2B2B: from=<root@bebe.portersonenfant-toutunart.fr>, size=713, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 amavis[745]: (00745-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 103) line 241, <GEN31> line 4.
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: B25474C2B90: from=<root@bebe.portersonenfant-toutunart.fr>, size=829, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 3E10D4C2C20: from=<root@bebe.portersonenfant-toutunart.fr>, size=9859, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 amavis[745]: (00745-01) (!)Requesting process rundown after fatal error
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 1FFF24C2BDB: from=<root@bebe.portersonenfant-toutunart.fr>, size=713, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 1CA644C15B8: from=<root@bebe.portersonenfant-toutunart.fr>, size=830, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 13CF04C2B80: from=<root@bebe.portersonenfant-toutunart.fr>, size=834, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: C3DF94C15C5: from=<root@bebe.portersonenfant-toutunart.fr>, size=715, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 amavis[746]: (00746-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=dbispconfig;host=127.0.0.1;port=3306': Unknown database 'dbispconfig'
Jan 24 18:09:29 sd-39749 amavis[746]: (00746-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 103) line 241, <GEN31> line 4.
Jan 24 18:09:29 sd-39749 amavis[746]: (00746-01) (!)Requesting process rundown after fatal error
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 3ED104C15CE: from=<root@bebe.portersonenfant-toutunart.fr>, size=4912, nrcpt=1 (queue active)
Jan 24 18:09:29 sd-39749 postfix/qmgr[897]: 658154C159C: from=<root@bebe.portersonenfant-toutunart.fr>, size=1072, nrcpt=1 (queue active)
Jan 24 18:09:30 sd-39749 postfix/qmgr[897]: 97BA34C2BCD: from=<root@bebe.portersonenfant-toutunart.fr>, size=5196, nrcpt=1 (queue active)
Jan 24 18:09:30 sd-39749 postfix/smtp[899]: 2ACA14C2BDA: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=2461389, delays=2461389/0.09/0.04$
Jan 24 18:09:30 sd-39749 postfix/smtp[899]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:30 sd-39749 postfix/smtp[899]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: private/amavis socket: malformed response
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 24 18:09:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/smtp pid 898 exit status 1
Jan 24 18:09:31 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: private/amavis socket: malformed response
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 24 18:09:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/smtp pid 899 exit status 1
Jan 24 18:09:31 sd-39749 postfix/error[904]: 3261E4C15ED: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=8353555, delays=8353554/1.3/0/0.08, dsn=4.3.0, status=deferred (unknow$
Jan 24 18:09:31 sd-39749 postfix/error[904]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[904]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[906]: 2CE0C4C2C2A: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=227388, delays=227387/1.3/0/0.06, dsn=4.3.0, status=deferred (unknown $
Jan 24 18:09:31 sd-39749 postfix/error[907]: 6FDB24C2C26: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=387857, delays=387855/1.4/0/0.04, dsn=4.3.0, status=de$
Jan 24 18:09:31 sd-39749 postfix/error[907]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[907]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[906]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[906]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[909]: 3B05D4C2B8B: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=4621460, delays=4621459/1.4/0/0.06, dsn=4.3.0, status=$
Jan 24 18:09:31 sd-39749 postfix/error[909]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[909]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[905]: DB9744C2BBC: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=3251718, delays=3251716/1.3/0/0.13, dsn=4.3.0, status=deferred (unknow$
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 24 18:09:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/smtp pid 898 exit status 1
Jan 24 18:09:31 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: private/amavis socket: malformed response
Jan 24 18:09:31 sd-39749 postfix/qmgr[897]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 24 18:09:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/smtp pid 899 exit status 1
Jan 24 18:09:31 sd-39749 postfix/error[904]: 3261E4C15ED: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=8353555, delays=8353554/1.3/0/0.08, dsn=4.3.0, status=deferred (unknow$
Jan 24 18:09:31 sd-39749 postfix/error[904]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[904]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[906]: 2CE0C4C2C2A: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=227388, delays=227387/1.3/0/0.06, dsn=4.3.0, status=deferred (unknown $
Jan 24 18:09:31 sd-39749 postfix/error[907]: 6FDB24C2C26: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=387857, delays=387855/1.4/0/0.04, dsn=4.3.0, status=de$
Jan 24 18:09:31 sd-39749 postfix/error[907]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[907]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[906]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[906]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[909]: 3B05D4C2B8B: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=4621460, delays=4621459/1.4/0/0.06, dsn=4.3.0, status=$
Jan 24 18:09:31 sd-39749 postfix/error[909]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[909]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:31 sd-39749 postfix/error[905]: DB9744C2BBC: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=3251718, delays=3251716/1.3/0/0.13, dsn=4.3.0, status=deferred (unknow$
Jan 24 18:09:31 sd-39749 postfix/error[905]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:31 sd-39749 postfix/error[905]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: private/retry socket: malformed response
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: transport retry failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 904 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/error: bad command startup -- throttling
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 907 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 906 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 909 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 905 exit status 1
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: 7499D4C2BA5: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=3770816, delays=3770814/2.5/0/0, dsn=4.3.0, status=defe$
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:33 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/qmgr pid 897 exit status 1
Jan 24 18:10:01 sd-39749 /USR/SBIN/CRON[914]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null)
Jan 24 18:10:01 sd-39749 /USR/SBIN/CRON[915]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:11:01 sd-39749 /USR/SBIN/CRON[927]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:12:01 sd-39749 /USR/SBIN/CRON[966]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:13:01 sd-39749 /USR/SBIN/CRON[995]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:14:01 sd-39749 /USR/SBIN/CRON[1004]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log$
Jan 24 18:09:31 sd-39749 postfix/error[905]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: private/retry socket: malformed response
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: transport retry failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 904 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/error: bad command startup -- throttling
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 907 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 906 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 909 exit status 1
Jan 24 18:09:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 905 exit status 1
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: 7499D4C2BA5: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=3770816, delays=3770814/2.5/0/0, dsn=4.3.0, status=defe$
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 24 18:09:33 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/qmgr pid 897 exit status 1
Jan 24 18:10:01 sd-39749 /USR/SBIN/CRON[914]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null)
Jan 24 18:10:01 sd-39749 /USR/SBIN/CRON[915]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:11:01 sd-39749 /USR/SBIN/CRON[927]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:12:01 sd-39749 /USR/SBIN/CRON[966]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:13:01 sd-39749 /USR/SBIN/CRON[995]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log;$
Jan 24 18:14:01 sd-39749 /USR/SBIN/CRON[1004]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 > /dev/null | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log$
Jan 24 18:14:29 sd-39749 postfix/qmgr[1014]: 1BDD44C2B57: from=<root@bebe.portersonenfant-toutunart.fr>, size=5091, nrcpt=1 (queue active)

 




Voilà, je sais pas ce qui peut aider comme autres informations, merci d’avance de votre aide!

Dernière modification par beatrice84 (30-01-2016 09:02:58)

Hors ligne

#2 24-01-2016 19:06:50

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : [Résolu] apache2Action 'start' failed

Salut beatrice84 et bienvenue sur df !

Peux-tu remplir ton profil afin que l'on sache où tu te perches dans les branches debian ?
Ensuite la configuration de ton apache2 :

cat /etc/apache2/apache2.conf


pour poser les premiers jalons... smile


saque eud dun (patois chtimi : fonce dedans)

Hors ligne

#3 25-01-2016 04:53:41

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Merci Smolski pour ta réponse, profil rempli à l'instant.

Comme c'est un serveur que j'administre, je n'ai pas de gestionnaire de fenêtre (c'est possible d'en avoir un? un intérêt?) donc j'ai mis que j’utilisai midnight commander et, logique, les lignes de commande...

Donc, j'ai lancé ce que tu m'as demandé voilà ce que ça ressort :


Linux sd-39749.dedibox.fr 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Jan 24 17:28:18 2016 from ars84-1-82-243-0-84.fbx.proxad.net

root@sd-39749:/home/beatrice# cat /etc/debian_version
6.0.10
root@sd-39749:/home/beatrice# uname -sr
Linux 2.6.32-5-amd64
root@sd-39749:/home/beatrice# cat /etc/apache2/apache2.conf
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
#     whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
#     which responds to requests that aren't handled by a virtual host.
#     These directives also provide default values for the settings                                                                                                                            
#     of all virtual hosts.                                                                                                                                                                    
#  3. Settings for virtual hosts, which allow Web requests to be sent to                                                                                                                        
#     different IP addresses or hostnames and have them handled by the                                                                                                                          
#     same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "foo.log"
# with ServerRoot set to "/etc/apache2" will be interpreted by the
# server as "/etc/apache2/foo.log".
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation (available
# at <URL:http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
#ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
LockFile ${APACHE_LOCK_DIR}/accept.lock

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
#              graceful restart. ThreadLimit can only be changed by stopping
#              and starting Apache.
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
    StartServers          2
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadLimit          64
    ThreadsPerChild      25
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>

# event MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_event_module>
    StartServers          2
    MaxClients          150
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadLimit          64
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>

# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#

AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy all
</Files>

#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain


#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog ${APACHE_LOG_DIR}/error.log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

# Include module configuration:
Include mods-enabled/*.load
Include mods-enabled/*.conf

# Include all the user configurations:
Include httpd.conf

# Include ports listing
Include ports.conf

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
Include conf.d/

# Include the virtual host configurations:
Include sites-enabled/
                                                                                                                                           
 



J'ai ressorti un log ce matin :



Jan 25 04:59:29 sd-39749 postfix/smtp[8802]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:29 sd-39749 postfix/smtp[8802]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:29 sd-39749 postfix/smtp[8801]: 1BDD44C2B57: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=6129259, delays=6129259/0.05/0.0$
Jan 25 04:59:29 sd-39749 postfix/smtp[8801]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:29 sd-39749 postfix/smtp[8801]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/qmgr[8800]: warning: private/amavis socket: malformed response
Jan 25 04:59:30 sd-39749 postfix/qmgr[8800]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 25 04:59:30 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/smtp pid 8802 exit status 1
Jan 25 04:59:30 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Jan 25 04:59:30 sd-39749 postfix/qmgr[8800]: warning: private/amavis socket: malformed response
Jan 25 04:59:30 sd-39749 postfix/qmgr[8800]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 25 04:59:30 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/smtp pid 8801 exit status 1
Jan 25 04:59:30 sd-39749 postfix/error[8807]: 3261E4C15ED: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=8392555, delays=8392553/1.4/0/0.06, dsn=4.3.0, status=deferred (unkno$
Jan 25 04:59:30 sd-39749 postfix/error[8807]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8807]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8809]: 2CE0C4C2C2A: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=266388, delays=266386/1.4/0/0.05, dsn=4.3.0, status=deferred (unknown$
Jan 25 04:59:30 sd-39749 postfix/error[8809]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8809]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8810]: 6FDB24C2C26: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=426856, delays=426855/1.4/0/0.05, dsn=4.3.0, status=d$
Jan 25 04:59:30 sd-39749 postfix/error[8810]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8810]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8808]: DB9744C2BBC: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=3290717, delays=3290716/1.4/0/0.1, dsn=4.3.0, status=deferred (unknow$
Jan 25 04:59:30 sd-39749 postfix/error[8808]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8808]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8812]: 3B05D4C2B8B: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=4660460, delays=4660459/1.4/0/0.11, dsn=4.3.0, status$
Jan 25 04:59:30 sd-39749 postfix/error[8812]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8812]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: warning: private/retry socket: malformed response
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: warning: transport retry failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 8807 exit status 1
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/error: bad command startup -- throttling
Jan 25 04:59:30 sd-39749 postfix/error[8807]: 3261E4C15ED: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=8392555, delays=8392553/1.4/0/0.06, dsn=4.3.0, status=deferred (unkno$
Jan 25 04:59:30 sd-39749 postfix/error[8807]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8807]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8809]: 2CE0C4C2C2A: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=266388, delays=266386/1.4/0/0.05, dsn=4.3.0, status=deferred (unknown$
Jan 25 04:59:30 sd-39749 postfix/error[8809]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8809]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8810]: 6FDB24C2C26: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=426856, delays=426855/1.4/0/0.05, dsn=4.3.0, status=d$
Jan 25 04:59:30 sd-39749 postfix/error[8810]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8810]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8808]: DB9744C2BBC: to=<webmaster@portersonenfant-toutunart.fr>, relay=none, delay=3290717, delays=3290716/1.4/0/0.1, dsn=4.3.0, status=deferred (unknow$
Jan 25 04:59:30 sd-39749 postfix/error[8808]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8808]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:30 sd-39749 postfix/error[8812]: 3B05D4C2B8B: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=4660460, delays=4660459/1.4/0/0.11, dsn=4.3.0, status$
Jan 25 04:59:30 sd-39749 postfix/error[8812]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:30 sd-39749 postfix/error[8812]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: warning: private/retry socket: malformed response
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: warning: transport retry failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 8807 exit status 1
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: /usr/lib/postfix/error: bad command startup -- throttling
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 8809 exit status 1
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 8810 exit status 1
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 8808 exit status 1
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: 7499D4C2BA5: to=<root@bebe.portersonenfant-toutunart.fr>, orig_to=<root>, relay=none, delay=3809816, delays=3809813/2.5/0/0, dsn=4.3.0, status=def$
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'
Jan 25 04:59:31 sd-39749 postfix/qmgr[8800]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Jan 25 04:59:31 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/error pid 8812 exit status 1
Jan 25 04:59:32 sd-39749 postfix/master[2164]: warning: process /usr/lib/postfix/qmgr pid 8800 exit status 1
 



Pour compléter, car hier j'ai posté rapidement (j'avais des poussins de 11 et 8 ans qui piaffaient d'impatiente de manger big_smile ), au départ tout marchait bien, et puis j'ai voulu créer une adresse mail lié à mon NDD. Jusque la rien de bien méchant...

J'ai voulu installer divers prog conseillé sur un tuto (je ne sais plus lequel, j'ai planté mon site en septembre... Entre autre ; ISPconfig courrier, postfix, openssl... Ça ne marchait pas et plus rien ne marchait....  je n'y comprenais rien (et surtout, pas le temps à ce moment la pour m'y plonger plus dedans... du coup bêtement, j'ai essayé de désinstaller.... mais pas mieux... j'ai peut-être pas tout bien désistallé d'ailleurs...) l'idée c'est de tout remettre à plat, sans bien sur perdre les sites installés.... big_smile

Merci d'avance!

Dernière modification par beatrice84 (25-01-2016 05:05:42)

Hors ligne

#4 25-01-2016 06:00:40

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Les questions et remarques, peut-être idiotes que je me faits :

Est-il possible de réinstaller apache (possible je pense que oui, mais surtout utile?)

Quand je lis les erreurs, les adresses IP ne correspondent pas à celle de mon site : 127.0.0.1 ce n'est bien sur pas l'ip de mon site

J'ai l'impression que le serveur veux passer par Postfix et ISPconfig pour "gérer" mes sites, au lieu des déclaration et autorisation comme avant (je sais pas si je suis claire)

(en parcourant mon serveur via MC, Postfix n'a pas l'air désinstallé)

Encore merci!

Hors ligne

#5 25-01-2016 08:18:06

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : [Résolu] apache2Action 'start' failed

C'est un serveur local (auto-hebergement) ou distant ?

Comme tu décris tes dernières opérations, réinstaller apache sans modifier/supprimer les trucs qui font barrages n'apportera pas de solution.
Peux-tu remonter l'historique de la ligne de commande de ces installations et désinstallations successives ?
Voir : la commande History

saque eud dun (patois chtimi : fonce dedans)

Hors ligne

#6 26-01-2016 05:15:11

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Yep, c'est aussi ce que je me disais... :-/

C'est un serveur distant.

Merci pour cette commande!!! C'est top! Voilà donc ce les dernières commandes intéréssentes :


327  mc
  328  apt get update
  329  apt-get update
  330  apt-get update
  331  mc
  332  service apache2 restart
  333  mc
  334  apt-get upgrade
  335  mc
  336  apt-get upgrade
  337  geany /etc/hosts
  338  vim /etc/hosts
  339  hostname
  340  hostname
  341  hostname -f
  342  hostname
  343  hostname
  344  hostname -f
  345  hostname -f
  346  hostname
  347  hostname
  348  hostname -f
  349  hostname -f
  350  hostname
  351  hostname
  352  hostname -f
  353  hostname -f
  354  hostname
  355  apt-get upgrade
  356  apt-get update
  357  apt-get upgrade
  358  apt-get update
  359  apt-get upgrade
  360  dpkg-reconfigure dash
  361  echo $SHELL
  362  apt-get install ntp ntpdate
  363  apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon
  364  netstat -tap | grep mysql
  365  apt-get install postfix postfix-mysql postfix-doc courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4 rkhunter binutils sudo gamin
  366  netstat -tap | grep mysql
  367  cd /etc/courier/
  368  rm -f /etc/courier/imapd.pem
  369  rm -f /etc/courier/pop3d.pem
  370  hostname -f
  371  mkimapdcert
  372  mkpop3dcert
  373  apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl
  374  /etc/init.d/spamassassin stop
  375  update-rc.d -f spamassassin remove
  376  a2enmod suexec rewrite ssl actions include
  377  a2enmod dav_fs dav auth_digest
  378  /etc/init.d/apache2 restart
  379  apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
  380  apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
  381  apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool
  382  /etc/init.d/openbsd-inetd restart
  383  echo 1 &gt; /etc/pure-ftpd/conf/TLS
  384  cd
  385  echo 1 &gt; /etc/pure-ftpd/conf/TLS
  386  mkdir -p /etc/ssl/private/
  387  openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
  388  chmod 600 /etc/ssl/private/pure-ftpd.pem
  389  /etc/init.d/pure-ftpd-mysql restart
  390  mount -o remount /
  391  quotacheck -avugm
  392  quotaon -avug
  393  apt-get install bind9 dnsutils
  394  apt-get install vlogger webalizer awstats geoip-database
  395  apt-get install build-essential autoconf automake1.9 libtool flex bison debhelper
  396  cd /tmp
  397  wget http://olivier.sessink.nl/jailkit/jailkit-2.13.tar.gz
  398  tar xvfz jailkit-2.13.tar.gz
  399  cd jailkit-2.13
  400  ./debian/rules binary
  401  cd ..
  402  dpkg -i jailkit_2.13-1_*.deb
  403  rm -rf jailkit-2.13*
  404  apt-get install fail2ban
  405  vi /etc/fail2ban/filter.d/courierpop3.conf
  406  vi /etc/fail2ban/filter.d/courierpop3s.conf
  407  vi /etc/fail2ban/filter.d/courierimap.conf
  408  vi /etc/fail2ban/filter.d/courierimap.conf
  409  vi /etc/fail2ban/filter.d/courierimaps.conf
  410  vi /etc/fail2ban/filter.d/courierimaps.conf
  411  /etc/init.d/fail2ban restart
  412  /etc/init.d/fail2ban restart
  413  cd
  414  /etc/init.d/fail2ban restart
  415  etc/init.d/fail2ban stop
  416  /etc/init.d/fail2ban start
  417  fail2ban-regex /var/log/apache2/error.log /etc/fail2ban/filter.d/apache-phpmyadmin.conf
  418  cd tmp
  419  cd /tmp
  420  wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
  421  tar xfz ISPConfig-3-stable.tar.gz
  422  cd ispconfig3_install/install/
  423  php -q install.php
  424  php -q install.php
  425  cd
  426  hostname
  427  hostname -f
  428  cd ispconfig3_install/install/
  429  ls
  430  cd ispconfig3_install
  431  cd .
  432  cd ispconfig3_install
  433  cd /ispconfig3_install/install/
  434  cd /tmp
  435  ls
  436  cd /ispconfig3_install
  437  cd /tmp/ispconfig3_install
  438  ls
  439  cd /tmp/ispconfig3_install/install/
  440  ls
  441  php -q uninstall.php
  442  etc/init.d/postfix restart
  443  cd
  444  etc/init.d/postfix restart
  445  apt-get install courier-authdaemon courier-base courier-imap courier-maildrop courier-pop courier-pop-ssl courier-imap-ssl
  446  service apaeche2 restart
  447  service apaeche2 restart
  448  service apache2 restart
  449  mc
  450  hostname
  451  hostname -f
  452  mc
  453  hostname -f
  454  hostname
  455  mc
  456  hostname -f
  457  hostname
  458  hostname -f
  459  mc
  460  hostname -f
  461  hostname
  462  mc
  463  ./debian-start
  464  apt-get unistall winscp
  465  apt-get unistall winscp
  466  service apache2 reload
  467  mc
  468  hostname -f
  469  php --version
  470  service apache2 restart
  471  mc
  472  apt-get uninstall openssl
  473  apt-get remove openssl
  474  service apache2 restart
  475  apt-get remove courier-authdaemon courier-base courier-imap courier-maildrop courier-pop courier-pop-ssl courier-imap-ssl
  476  apt-get autoremove libnet-daemon-perl libaccess-bridge-java libjpeg8 libaccess-bridge-java-jni courier-authlib-userdb libplrpc-perl
  477  service apache2 restart
  478  apt-get autoremove postfix postfix-mysql postfix-doc courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4 rkhunter binutils sudo gamin
  479  service apache2 restart
  480  service apache restart
  481  service apache2 restart
  482  mc
  483  cd /tmp/ispconfig3_install
  484  cd /tmp/
  485  ls
  486  cd /tmp/ispconfig3_install/
  487  mc
  488  service apache2 restart
  489  apt-get autoremove openssl
  490  service apache2 restart
  491  cd /tmp/ispconfig3_install/install/
  492  cd /etc/init.d/apache2 start
  493  cd /etc/init.d/apache2/
  494  /etc/init.d/apache2 start
  495  cd
  496  /etc/init.d/apache2 start
  497  /var/log/syslog
  498  cd /var/log/syslog
  499  cd /var/log/syslog/
  500  mc
  501  mc
  502  cat /etc/debian_version
  503  uname -sr
  504  cat /etc/apache2/apache2.conf
  505  service apache2 restart
  506  mc
 



Celles plus anciennes datent d'avant le souci.

La 491 : il n'y a plus de fichier d'install ou d'uninstall à cet endroit la... donc impossible de désinstaller (et dans d'autres dossier ispconfig il n'y en a pas non plus)

Encore merci!

En attendant de réparer ça, j'ai réussi à me connecté avec MC "à droite" sur mon ordi et "à gauche" en ssh (j'ai découvert que c'était possible... mais galéré à y arriver lol), j'ai récupéré ma base de donnée (mais pas une sauvegarde), et je vais essayer de mettre tout ça sous XAMPP  pour le cas ou le plus propre soit de tout réinstaller... Mais j'aimerais bien réparer (surtout pour comprendre! et pourquoi pas après refaire, mais propre...)

Dernière modification par beatrice84 (26-01-2016 05:51:56)

Hors ligne

#7 27-01-2016 19:50:26

MaTTuX_
La Paillasse !!!
Lieu : Zoubidou-Land
Distrib. : 75 serveurs
Noyau : 3.2.0-4-amd64 <- et oui !!!
(G)UI : tty et ... pas gnome en tout cas....
Inscription : 28-05-2007

Re : [Résolu] apache2Action 'start' failed

Bonjour Beatrice84,

Ce que je vois dans ton premier post, c'est cette erreur:

unable to start piped log program ' /usr/local/ispconfig/server/scripts/vlogger -s access.log -t "%Y%m%d-access.log" /var/log/ispconfig/httpd': No such file or directory
Unable to open logs



Le dossier ispconfig existe t-il ?

Salutation


\o/ Le closedSource c'est tabou on a viendra tous à bout \o/

Hors ligne

#8 28-01-2016 05:58:55

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Bonjour,

Effectivement, ce dossier n'existe pas, probablement du fait que j'ai désinstallé le programme...

Merci de ton aide également,

Hors ligne

#9 29-01-2016 01:46:08

MaTTuX_
La Paillasse !!!
Lieu : Zoubidou-Land
Distrib. : 75 serveurs
Noyau : 3.2.0-4-amd64 <- et oui !!!
(G)UI : tty et ... pas gnome en tout cas....
Inscription : 28-05-2007

Re : [Résolu] apache2Action 'start' failed

Oui donc si tu ajoutes de nouveau le dossier ca devrait marcher, ou alors faut modifier le .conf d'apache pour le faire fonctionner.

De rien, on est la pour ca, s'entraider smile

\o/ Le closedSource c'est tabou on a viendra tous à bout \o/

Hors ligne

#10 29-01-2016 18:49:48

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

re

alors, j'ai créer les dossiers, mais bon ça ne marche pas, y a pas le fichier de log (il devrait se créer automatiquement la première fois non?)

J'ai cherché les fichier de conf d'apache, dans etc/apache2, j'ai les dossiers et fichiers suivants :

apache2.conf 
conf.d 
envvars 
httpd.conf 
magic 
/mods-available 
/mods-enabled 
ports.conf 
/sites-available 
/sites-enabled

Dans /site-available et /site-enabled j'ai un fichier ispconfig

J'ai ouvert en édition le fichier apache2.conf et n'ai rien trouvé concernant ispconfig

Et si je passais par "a2disite"


a2disite ispconfig.conf
 



Mais j'y crois pas trop...

Hors ligne

#11 29-01-2016 20:45:23

Kusajika
Membre
Inscription : 08-04-2015

Re : [Résolu] apache2Action 'start' failed

Bonjour , tu as installé autre chose que ISPConfig  pour administrer ton serveur web ?
parce que lorsque je lis ça :

  423  php -q install.php
  424  php -q install.php
  425  cd
  426  hostname
  427  hostname -f
  428  cd ispconfig3_install/install/
  429  ls
  430  cd ispconfig3_install
  431  cd .
  432  cd ispconfig3_install
  433  cd /ispconfig3_install/install/
  434  cd /tmp
  435  ls
  436  cd /ispconfig3_install
  437  cd /tmp/ispconfig3_install
  438  ls
  439  cd /tmp/ispconfig3_install/install/


Ca donne l'impression que tu l'as désinstallé... et vu le message:

Jan 24 18:09:32 sd-39749 postfix/qmgr[897]: warning: connect to mysql server 127.0.0.1: Unknown database 'dbispconfig'


Ca confirme bien que tout à été désinstallé , tu as essayé d'installer autre chose qu'ISPConfig pour administrer ton serveur web?

Hors ligne

#12 29-01-2016 21:47:54

MaTTuX_
La Paillasse !!!
Lieu : Zoubidou-Land
Distrib. : 75 serveurs
Noyau : 3.2.0-4-amd64 <- et oui !!!
(G)UI : tty et ... pas gnome en tout cas....
Inscription : 28-05-2007

Re : [Résolu] apache2Action 'start' failed

beatrice84 a écrit :

re

alors, j'ai créer les dossiers, mais bon ça ne marche pas, y a pas le fichier de log (il devrait se créer automatiquement la première fois non?)

J'ai cherché les fichier de conf d'apache, dans etc/apache2, j'ai les dossiers et fichiers suivants :

apache2.conf 
conf.d 
envvars 
httpd.conf 
magic 
/mods-available 
/mods-enabled 
ports.conf 
/sites-available 
/sites-enabled

Dans /site-available et /site-enabled j'ai un fichier ispconfig

J'ai ouvert en édition le fichier apache2.conf et n'ai rien trouvé concernant ispconfig

Et si je passais par "a2disite"


a2disite ispconfig.conf
 



Mais j'y crois pas trop...



Il doit avoir le dossier httpd aussi et au pire rajoute le fichier log, puis retest.


\o/ Le closedSource c'est tabou on a viendra tous à bout \o/

Hors ligne

#13 30-01-2016 07:31:42

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Effectivement Kusajika, je pense l'avoir désinstaller, en tout cas c'est ce que j'ai voulu faire avec cette commande, depuis je n'ai rien installé d'autre pour gérer mon serveur, je suis toujours en ligne de commande, comme avant.

@MaTTuX_ j'avais effectivement créé les dossiers et sous-dossier des deux coté (jusqu'à scripts et httpd) mais pas mis de fichier de log.

Je viens de rajouter /vlogger et aussi un fichier vide access.log

J'ai redémarré apache2 et ça a fonctionné.

J'accède bien à mon site (via l'adresse IP) mais il est tout "cassé" visuellement et les urls ne sont plus bonnes (je pointe mon NDD ailleurs en attendant)

Je n'accède plus à Mysql, comme j'ai fait pointer mon NDD ailleurs en attendant, je suis avec l'adresse IP, peut-être qu'il me faudra refaire une commande a2ensite pour Mysql?

Merci encore! C'est résolu pour le démarrage d'apache2, est-ce qu'il y a peut-être d'autre choses à nettoyer suite ? Est-ce que je met "résolu" dans le titre?

(bon, pour l’anecdote, j'ai bien réussi à transférer ma base de donnée récupérée via ssh sur mon serveur local, ce fut un peut galère mais j'ai tout... idem pour le site web, il e juste fallut modifier les pointage url dans la base de donnée, ce qu'il me faudrait faire sur l'ancien site...)

Hors ligne

#14 30-01-2016 08:22:19

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : [Résolu] apache2Action 'start' failed

Je mettrai bien résolu icit... et rajouter le nettoyage n'en fera qu'un post mieux résolu encore.
Ce n'est pas un avis d'expert en apache2, juste du sentiment... smile

SENTIMENTAL BOURREAU

Il était une fois
Un beau petit bourreau
Pas plus franc que trois noix
Et pas beaucoup plus gros
Des hautes et basses oeuvres
Était exécuteur
Et pour les basses oeuvres
Était à la hauteur
N'avait jamais de trêve
Et jamais de repos
Et en place de grève
Il faisait son boulot


REFRAIN:
Pourtant couper des têtes,
Disait-il, ça m'embête
C'est un truc idiot
Ça salit mon billot
Pour nourrir ma vieille mère
Je saigne Paul ou Pierre
D'un geste un peu brutal
mais sans penser à mal
Sentimental bourreau
Aïe, aïe, aïe... aïe, aïe, aïe...


Un soir de sa fenêtre
La femme du fossoyeur
Héla l'homme des têtes
Et lui ouvrit son coeur
Depuis longtemps sevrée
De transports amoureux
A vous veux me livrer
O bourreau vigoureux!
Je vous lance une corde
Du haut de mon balcon
Grimpez-y c'est un ordre
Allons exécution!


A partager sa couche
La belle l'invita
En quelques coups de hache
Il la lui débita
L'époux aux bruit du bris
Survint un peu inquiet
Il partagea le mari
Pour garder sa moitié
Comme la dame inquiète
Suggérait: "Taillons-nous"
Il lui coupa la tête
Et se trancha le cou
Envoi
Prince prenez grand soin
De la douce Isabeau
Qu'elle niait oncques besoin
D'un petit bourreau beau.


Boby Lapointe

wink

Dernière modification par smolski (30-01-2016 08:32:10)


saque eud dun (patois chtimi : fonce dedans)

Hors ligne

#15 30-01-2016 09:02:10

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

lol j'adore!

Je vais donc trouver à mettre résolu.

Et pour le nettoyage je suis résolue.

Dois-je ouvrir un autre post pour le ménage?

Encore merci!

Hors ligne

#16 30-01-2016 09:35:35

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : [Résolu] apache2Action 'start' failed

Non, t'y ajoute à la suite, ça l'fera bien... smile

saque eud dun (patois chtimi : fonce dedans)

Hors ligne

#17 30-01-2016 10:15:25

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Alors ok, j'men va fair' ça

Du coup, j'veu bin des tuyaux pour pas bazarder n’importe-quoi lol

J'avais installé pas mal de chose comme vu avec "history", j'ai lancé pas mal de unisntall... mais peut-être pas tout bien...

Merci d'avance pour la suite!

Hors ligne

#18 30-01-2016 13:12:00

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

J'arrive toujours pas à me connecter à Mysql...

avan je me connecté avec mysql.ndd.fr

dans /etc/mysql/my.cnf j'ai décommanté la ligne et renseigné l'adresse ip :

bind-address = "ip de mon serveur"

j'ai tenté ip:port mais ça ne marche pas... :-/

Hors ligne

#19 30-01-2016 13:47:30

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Alors poour Mysql, je tape dans mon terminal :


mysql -h xxx.xxx.xxx.xxx -u user -P"port écouté"
 



Il me demande le password, je le rentre

et j'ai droit à

ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (110)

Que je commente ou non bind-address

J'ai bien pensé à relancer mysql après chaque modification, mais avec ce retour :


Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Cecking for corrupt, not cleanly closed and upgrade needing tables..
 



J'ai essayé aussi depuis la console de ma debian... Je viens d'avoir l'illumination, depuis le serveur lui-même j'ai remplacé l'IP par "localhost"... ça marche on dirait... :Dls

Hors ligne

#20 30-01-2016 14:59:28

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Bon ben pour MySQL j'ai réussi à modifier la table qui va bien rien qu'en ligne de commande... c'est sport mais on y arrive ;-) mon site s'affiche à nouveau correctement... yes!

Plus qu'à faire le ménage, mais la j'ose pas toucher sans conseils...

Hors ligne

#21 30-01-2016 16:17:50

smolski
quasi...modo
Lieu : AIN
Distrib. : backports (buster) 10
Noyau : Linux 4.19.0-8-amd64
(G)UI : gnome
Inscription : 21-10-2008

Re : [Résolu] apache2Action 'start' failed

si tout va bien maintenant, ouvre un nouveau post pour le ménage, ça peut être utile isolément mais tu peux aussi mettre un lien entre les deux posts, ça situera l'affaire... smile

saque eud dun (patois chtimi : fonce dedans)

Hors ligne

#22 30-01-2016 17:09:50

beatrice84
Membre
Lieu : Avignon
Distrib. : Debian Squeeze 6.0.10
Noyau : Linux 2.6.32-5-amd64
(G)UI : MC et ligne de commande uniquement
Inscription : 24-01-2016

Re : [Résolu] apache2Action 'start' failed

Hors ligne

Pied de page des forums