tout planté suite a mise a jour [CLOSED]

Toute ce qui concerne la gestion de la messagerie (postfix, cyrus, amavis, spamassassin...)

tout planté suite a mise a jour [CLOSED]

New postby elf » Tue Jan 03, 2012 3:11 pm

Bonjour,

bon c'est un post un peu désabusé, depuis lundi apparemment, tout a pété, relay denied partout, des 100aines de mails de perdus...

j'ai toujours mon organisation mais elle ne contient plus personne, le script de synchro de l'ad ne fonctionne plus, le groupe qui stockait les users n'existe plus, je ne peux plus en creer car j'ai une erreur ldap... le tout sans que je ne sache d'ou cela vient...
le seul incident que j'ai eu ca a ete une saturation du disque semaine derniere le dossier log qui a explosé en rempli les 8go de disque (en 2mois d'utilisation d'ailleurs ?)

je me demande si ce n'est pas a cause de la nighty de lundi ? j'ai en désespoir de cause passé la dernière ce matin, rien a faire... je ne vois pas ce qui a merdé

en desespoir de cause je bypass artica,

je ne sais pas si je vais le remettre tant qu'il n'y aura pas une version vraiment "stable"

j'suis dégouté, j'allais faire un post dans le sens strictement inverse et là paf

bref, je ne sais plus quoi faire .....
elf
 
Posts: 57
Joined: Mon Oct 17, 2011 10:22 am
Artica servers number: 1
Linux System: Debian
Technical skills: A tourist

Re: tout planté suite a mise a jour

New postby Zophren » Tue Jan 03, 2012 3:20 pm

Bonjour,

Commence par poster le résultat de :

Code: Select all
/etc/init.d/artica-postfix restart
Zophren
 
Posts: 470
Joined: Mon Nov 22, 2010 5:30 pm
Location: France
Artica servers number: 2
Linux System: Debian
Technical skills: A Linux System Administrator

Re: tout planté suite a mise a jour

New postby elf » Tue Jan 03, 2012 3:42 pm

Code: Select all
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.01.03 16:39:56 =~=~=~=~=~=~=~=~=~=~=~=
/etc/init.d/artica-postfix restart
Shutdown  daemon...
Stopping artica-cron (fcron).: 2295 PID..
Stopping artica-cron (fcron).: other pid: 2141...
Stopping artica-cron (fcron).: other pid: 2141...
Stopping artica-cron (fcron).: other pid: 2141...
Stopping artica-cron (fcron).: other pid: 2141...
kill: No such process
Stopping artica-cron (fcron).: success...
Stopping artica-cron (fcron).: success...
Stopping Artica-status.......: 2327 PID..
Stopping Artica-status.......: 0 childrens.
Stopping Artica-status.......: success
Stopping Artica-executor.....: 2337 PID..
Stopping Artica-executor.....: 0 childrens.
Stopping Artica-executor.....: success
Stopping Ocsinventory unif...: Not Installed
Stopping artica-cron (fcron).: success...
Stopping artica-cron (fcron).: success...
Stopping Artica-status.......: Already Stopped
Stopping Artica-executor.....: Already Stopped
Stopping Ocsinventory unif...: Not Installed
Stopping BOA.................: 2884 PID..
Stopping fetchmail...........: Not installed
Stopping Artica-background...: 2347 PID..
Stopping Artica-background...: 0 childrens.
Stopping Artica-background...: success
Stopping Artica-status.......: Already Stopped
Stopping Artica-executor.....: Already Stopped
Stopping framework...........: 2377 PID..
Stopping lighttpd: 2678 PID..
Stopping lighttpd: success
Stopping Apache Daemon.......: Already stopped
Stopping fresh clam..........: Stopping 3657
Stopping spamassassin........: Already stopped
Stopping spamass-milter daemon: Already stopped
Stopping clamav daemon.......: /usr/sbin/clamd
Stopping clamav daemon.......: 3910 PID
Stopping clamav daemon.......: stopped
Stopping fresh clam..........: Already stopped
Stopping munin daemon.........: not installed
Stopping collectd............: not installed
Stopping dnsmasq.........: Already stopped
Stopping mailspy.........: not installed
Stopping milter-bogom........: success...
Stopping bogo-dump...........: Already stopped
Stopping openLdap server.....: 2122 PID
Stopping SaslAuthd...........: 3595 PID..
Stopping amavisd-milter..: Already stopped
Stopping amavisd-new.....: Already stopped
Stopping amavisd-new.....: check ghost processes result:
Stopping amavisd-stat....: not installed
Stopping j-ckmail.........: not installed
Stopping cyrus-imap..........: Not installed ()
Stopping syslog-ng...........: Already stopped
Stopping DansGuardian........: Not installed
Starting zarafa..............: Zarafa-server not installed
Stopping mailgraph...........: Already stopped
Stopping artica-cron (fcron).: success...
Stopping artica-cron (fcron).: success...
Stopping Artica-status.......: Already Stopped
Stopping Artica-executor.....: Already Stopped
Stopping Ocsinventory unif...: Not Installed
Stopping artica-cron (fcron).: success...
Stopping artica-cron (fcron).: success...
Stopping Artica-status.......: Already Stopped
Stopping Artica-executor.....: Already Stopped
Stopping Ocsinventory unif...: Not Installed
Starting......: Artica version 1.5.123102
Starting......: Kernel version 2.6
Starting......: Distribution "Debian 6.0.3 Gnu-linux" i
Starting......: hostname "artica.cdg44.fr"
Starting......: Verify iso packages
Starting......: run /etc/init.d/keymap.sh
Starting......: OpenLDAP Monit pid path:/var/run/slapd/slapd.pid
Starting......: OpenLDAP Monit done...
Starting......: OpenLDAP /etc/ssl/certs/openldap/ca.crt OK
Starting......: OpenLDAP /etc/ssl/certs/openldap/ldap.crt OK
Starting......: OpenLDAP /etc/ssl/certs/openldap/ldap.key OK
Starting......: OpenLDAP server
Starting......: OpenLDAP Pid Path="/var/run/slapd/slapd.pid"
Starting......: OpenLDAP Pid ""
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/core.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/cosine.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/mod_vhost_ldap.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/nis.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/inetorgperson.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/evolutionperson.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/postfix.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/dhcp.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/samba.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/ISPEnv.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/mozilla-thunderbird.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/officeperson.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/pureftpd.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/joomla.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/autofs.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/dnsdomain2.schema
Starting......: OpenLDAP  Schemas deleting /etc/ldap/schema/zarafa.schema
Starting......: OpenLDAP installing schema core.schema
Starting......: OpenLDAP installing schema cosine.schema
Starting......: OpenLDAP installing schema mod_vhost_ldap.schema
Starting......: OpenLDAP installing schema nis.schema
Starting......: OpenLDAP installing schema inetorgperson.schema
Starting......: OpenLDAP installing schema evolutionperson.schema
Starting......: OpenLDAP installing schema postfix.schema
Starting......: OpenLDAP installing schema dhcp.schema
Starting......: OpenLDAP installing schema samba.schema
Starting......: OpenLDAP installing schema ISPEnv.schema
Starting......: OpenLDAP installing schema mozilla-thunderbird.schema
Starting......: OpenLDAP installing schema officeperson.schema
Starting......: OpenLDAP installing schema pureftpd.schema
Starting......: OpenLDAP installing schema joomla.schema
Starting......: OpenLDAP installing schema autofs.schema
Starting......: OpenLDAP installing schema dnsdomain2.schema
Starting......: OpenLDAP installing schema zarafa.schema
Starting......: OpenLDAP Schemas Done....
Starting......: OpenLDAP Initialize...
Starting......: OpenLDAP server writing DB_CONFIG
Starting......: OpenLDAP writing new configuration...
Starting......: OpenLDAP set password in secret.tdb
Starting......: OpenLDAP server backend will be hdb
Starting......: OpenLDAP server synchronization module installed
Starting......: OpenLDAP find dynlist module
Starting......: OpenLDAP server include dyngroup schema
Starting......: OpenLDAP /etc/ssl/certs/openldap/ca.crt OK
Starting......: OpenLDAP /etc/ssl/certs/openldap/ldap.crt OK
Starting......: OpenLDAP /etc/ssl/certs/openldap/ldap.key OK
Starting......: OpenLDAP server success writing settings...
Starting......: OpenLDAP with command line :/usr/sbin/slapd -4 -u root -g root -f /etc/ldap/slapd.conf -h "ldap://127.0.0.1:389/"
Starting......: OpenLDAP executing Daemon and wait....
Starting......: OpenLDAP is now running using PID 5756...
Starting......: Starting cron scheduler...
Starting......: artica-postfix watchdog (fcron) enable roundcube user auto-update
Starting......: artica-postfix daemon watchdog (fcron)
Starting......: Installing watchdog crontab
16:40:38 reinstalling root's fcrontab
16:40:38 installing file /tmp/fcr-BaDSRd for user root
Modifications will be taken into account right now.
Starting......: artica-postfix daemon watchdog


Starting......: artica-postfix daemon watchdog (fcron) success...
Starting......: Daemon (fcron)
Starting......: artica-postfix creating crond.d/artica-cron watchdog daemon...
Starting......: Daemon (fcron) nice command is "/usr/bin/ionice -c2 -n7 /usr/bin/nice -n 19 "
Starting......: Daemon (cron) set securities permissions on /etc/cron.d
Starting......: Daemon (fcron) tasks will be stopped if load is up to 6
Starting......: Daemon (fcron) Squid is not installed
Starting......: Daemon (fcron) 1 scheduled reports
Starting......: Daemon (fcron) set 1 backup tasks
Starting......: Daemon (cron) importing Active Directory task import-ad-831c82e8ee2bd0b67c8cd757b6988c3a
Starting......: Daemon (fcron) CPU(s):2 Memory:2012 Mb
Starting......: Daemon (fcron) 4 processe(s) number at the same time
Starting......: Installing crontab
Starting......: Daemon (fcron) success...
Starting......: fusermount (if it is installed)
Starting......: Fuse filesystem module version 2.8.4 Already loaded...
Starting......: ZFS Fuse filesystem not installed
Starting......: launching exec.users-agents.php
Starting......: launching exec.xtables.php
Starting......: launching exec.fcron.php
Starting......: launching exec.amavis.php
Starting......: launching exec.ldap.rebuild.php
Starting......: Starting artica-status
Starting......: artica-status system memory: 2012MB
Starting......: artica-status fork()ed successfully.
Starting......: Artica-status started with new PID 5959
Starting......: Starting artica-executor
Starting......: artica-executor fork()ed successfully.
Starting......: Artica-executor started with new PID 5981
Starting......: Starting artica-background
Starting......: artica-background fork()ed successfully.
Starting......: Artica-background started with new PID 6026
Starting......: Starting artica-sysloger
Starting......: sysloger already running with pid 2112
Starting......: sysloger realtime process number:1
Starting......: Starting MySQL server
Starting......: Mysql is already running using PID 2149...
Starting......: Mysql-cluster is not installed, abort
Starting......: Mysql-cluster replica is not installed, abort
Starting......: Starting apache web interface
Starting framework...........: Success (PID 6055)
Starting Apache..............: Apache bin: /usr/sbin/apache2
Starting Apache..............: LibPhp5...: /usr/lib/apache2/modules/libphp5.so
Starting Apache..............: ModSSL....: /usr/lib/apache2/modules/mod_ssl.so
Starting Apache..............: lighttpd..: /usr/sbin/lighttpd
Starting......: lighttpd: lighttpd launching process1 for writing settings
Starting......: lighttpd: Cleaning PHP5 sessions...
Starting......: lighttpd: Apply permissions..
Starting......: lighttpd: -> verif configuration
Starting......: lighttpd: Available module "IPv6"
Starting......: lighttpd: Available module "zlib"
Starting......: lighttpd: Available module "bzip2"
Starting......: lighttpd: Available module "crypt"
Starting......: lighttpd: Available module "PCRE"
Starting......: lighttpd: Available module "mySQL"
Starting......: lighttpd: Available module "LDAP"
Starting......: lighttpd: Available module "memcached"
Starting......: lighttpd: Available module "FAM"
Starting......: lighttpd: Available module "LUA"
Starting......: lighttpd: Available module "xml"
Starting......: lighttpd: Available module "SQLite"
Starting......: lighttpd: Available module "GDBM"
Starting......: lighttpd: (config) running on port 9000
Starting......: lighttpd: user:"www-data"
Starting......: lighttpd: Fast-cgi server socket 127.0.0.1:1808
Starting......: lighttpd: (config) auth plain
Starting......: lighttpd: (config) BackupPC ""
Starting......: lighttpd: (config) BackupPC is not installed
Starting......: lighttpd: Max upload size set to 256M
Starting......: lighttpd: enable kernel overcommit_memory
Starting......: lighttpd: Default mysql settings to "root@127.0.0.1:3306
Starting......: lighttpd: php.ini disable APC client
Starting......: lighttpd: Ext dir: /etc/php5/cli/conf.d(0 ini files)
Starting......: lighttpd excluding extension ctype.so no such file
Starting......: lighttpd excluding extension pcntl.so no such file
Starting......: lighttpd including extension curl.so
Starting......: lighttpd excluding extension openssl.so no such file
Starting......: lighttpd excluding extension fileinfo.so no such file
Starting......: lighttpd excluding extension dom.so no such file
Starting......: lighttpd excluding extension ftp.so no such file
Starting......: lighttpd including extension gd.so
Starting......: lighttpd excluding extension iconv.so no such file
Starting......: lighttpd including extension imap.so
Starting......: lighttpd including extension ldap.so
Starting......: lighttpd including extension mysql.so
Starting......: lighttpd excluding extension readline.so no such file
Starting......: lighttpd excluding extension hash.so no such file
Starting......: lighttpd excluding extension xml.so no such file
Starting......: lighttpd excluding extension sockets.so no such file
Starting......: lighttpd excluding extension xmlwriter.so no such file
Starting......: lighttpd excluding extension filter.so no such file
Starting......: lighttpd excluding extension phpcups.so no such file
Starting......: lighttpd including extension mysqli.so
Starting......: lighttpd including extension pdo.so
Starting......: lighttpd including extension pdo_mysql.so
Starting......: lighttpd including extension pdo_sqlite.so
Starting......: lighttpd including extension sqlite.so
Starting......: lighttpd excluding extension posix.so no such file
Starting......: lighttpd excluding extension zip.so no such file
Starting......: lighttpd excluding extension xapian.so no such file
Starting......: lighttpd including extension geoip.so
Starting......: lighttpd excluding extension zlib.so no such file
Starting......: lighttpd excluding extension tokenizer.so no such file
Starting......: lighttpd excluding extension mailparse.so no such file
Starting......: lighttpd excluding extension json.so no such file
Starting......: lighttpd excluding extension uploadprogress.so no such file
Starting......: lighttpd excluding extension xmlrpc.so no such file
Starting......: lighttpd excluding extension session.so no such file
Starting......: lighttpd excluding extension gettext.so no such file
Starting......: lighttpd excluding extension mbstring.so no such file
Starting......: lighttpd including extension ssh2.so
Starting......: lighttpd including extension pspell.so
Starting......: lighttpd including extension mcrypt.so
Starting......: lighttpd excluding extension ming.so no such file
Starting......: lighttpd excluding extension eaccelerator.so no such file
Starting......: lighttpd: registers key in /etc/php5/cli/php.ini
Starting......: lighttpd: registers key in /etc/php5/cgi/php.ini
Starting......: lighttpd: registers key in /etc/php5/apache2/php.ini
Starting......: lighttpd: Compile languages
Starting lighttpd............: compacting language "fr" into shared memory done 11022 words
Starting lighttpd............: compacting language "en" into shared memory done 11037 words
Starting lighttpd............: compacting language "po" into shared memory done 11022 words
Starting lighttpd............: compacting language "es" into shared memory done 11022 words
Starting lighttpd............: compacting language "it" into shared memory done 11022 words
Starting lighttpd............: compacting language "br" into shared memory done 11022 words
Starting lighttpd............: compacting language "pol" into shared memory done 11022 words
Starting......: lighttpd: set /usr/bin/php-cgi in line (88)
Starting......: lighttpd:  Checking pommo aliases
Starting......: lighttpd: PoMMo is not installed, skipping aliases
Starting......: lighttpd:  Checking securities on www-data:www-data
Starting......: lighttpd: user.........:www-data
Starting......: lighttpd: group........:www-data
Starting......: lighttpd: pid..........:
Starting......: lighttpd: Port.........:9000
Starting......: lighttpd: logs path....:/var/log/lighttpd
Starting......: lighttpd: Socket path..:
Starting......: lighttpd: php5-cgi path:/usr/bin/php-cgi
Starting......: lighttpd: php client...:/usr/bin/php5
Starting......: lighttpd: certificate..:/opt/artica/ssl/certs/lighttpd.pem
Starting......: lighttpd: php ext dir..:/usr/lib/php5/20090626
Starting......: lighttpd: php ext conf.:/etc/php5/cli/conf.d
Starting......: lighttpd: php session.:/var/lib/php5
Starting......: lighttpd: Deleting SystemV5 Shared memory
Starting......: lighttpd: Deleting icons cache...
Starting......: lighttpd: Success (PID 6292)
Starting......: postfix authentication mechanisms: LOGIN PLAIN
Starting......: postfix creating /etc/postfix/sasl/smtpd.conf
Starting......: saslpasswd: /usr/sbin/saslpasswd2
Starting......: lighttpd: testing if cgi is spawned
Starting lighttpd............: phpldapadmin is not installed
Starting......: Starting Boa.... (global start)
Starting......: Boa will listen on 47979 port
Starting......: Boa hostname artica.cdg44.fr
Starting......: hostname is artica and local domain is cdg44.fr
Starting......: artica.cdg44.fr + localhost entry found in /etc/hosts line 0
Starting......: Boa BOA daemon...
Starting......: Boa using binary in /usr/share/artica-postfix/bin/boa
Starting......: Boa boa http server settings in "/etc/artica-postfix/httpd.conf"
Starting......: Boa Starting with new PID 6510
Starting......: Boa done...
Starting......: Starting BOA Done....
Starting......: eMailRelay instances....
Starting......: Artica notifier not installed
Starting......: Running Q.O.S rules (if exists)
Starting......: QOS Web Interface enabled
Starting......: Checking permissions on SessionData and /var/lib/php5
Starting......: modify motd text


root@artica:~#
elf
 
Posts: 57
Joined: Mon Oct 17, 2011 10:22 am
Artica servers number: 1
Linux System: Debian
Technical skills: A tourist

Re: tout planté suite a mise a jour

New postby elf » Tue Jan 03, 2012 3:49 pm

c'est a ne rien y comprendre, j'avais éteint la VM, je l'ai relancée pour pouvoir taper ta commande et je retrouve ma synchro AD qui semble être fonctionnelle et l'organisation qui contient de nouveau mes utilisateurs....

cela n'arrive donc qu'a moi ? :?
elf
 
Posts: 57
Joined: Mon Oct 17, 2011 10:22 am
Artica servers number: 1
Linux System: Debian
Technical skills: A tourist

Re: tout planté suite a mise a jour

New postby Zophren » Tue Jan 03, 2012 4:06 pm

Et voilà :-).

Les versions Artica sont stables en général. En mettant à jour la nightly tu prends des risques par contre, il vaut mieux des fois attendre la release de début de mois !
Zophren
 
Posts: 470
Joined: Mon Nov 22, 2010 5:30 pm
Location: France
Artica servers number: 2
Linux System: Debian
Technical skills: A Linux System Administrator

Re: tout planté suite a mise a jour

New postby admin » Tue Jan 03, 2012 5:34 pm

Ca c'est du vécu ;)
User avatar
admin
Site Admin
 
Posts: 11942
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: tout planté suite a mise a jour

New postby elf » Wed Jan 04, 2012 9:22 am

n'empeche que l'impact est pas négligeable..

la conséquence est que de l'exterieur vers l'interieur les mails etaient rejetés par artica sans que les emeteurs ne le sachent...

j'essaie de retrouver au moins les adresses mail concernées (les mail des expéditeurs externes)
au travers de cette interface
Image

Uploaded with ImageShack.us

je ne vois que 100 lignes qui remontent a hier 10:00 il faut que je remonte plus tot comment faire ?

l'interface de recherche me jette a chaque fois que j'ecris quelque chose !

merci de votre aide !!
elf
 
Posts: 57
Joined: Mon Oct 17, 2011 10:22 am
Artica servers number: 1
Linux System: Debian
Technical skills: A tourist

Re: tout planté suite a mise a jour

New postby admin » Wed Jan 04, 2012 9:39 am

l'interface de recherche me jette a chaque fois que j'ecris quelque chose !


c'est à dire ?
User avatar
admin
Site Admin
 
Posts: 11942
Joined: Wed Oct 17, 2007 7:59 am
Location: France

Re: tout planté suite a mise a jour

New postby elf » Wed Jan 04, 2012 10:04 am

si par exemple dans le champ date je met

2012-01-03 pour avoir la liste de tous les mails de cette journée noire j'ai le resultat suivant

SELECT * FROM smtp_logs WHERE LENGTH(sender_user) >3 AND LENGTH(delivery_user) >3 AND DATE_FORMAT(zDate,'%Y-%m-%d')='2012-01-03' ORDER BY time_stamp DESC LIMIT 0,100

si je tape 2012/01/03

il m'indique
Sélectionner les messages Depuis: 2012/01/03

et m'affiche les message entre 2012-01-03 16:35:31 heure a laquelle j'ai eteind artica et 2012-01-03 10:53:54

et je n'arrive pas a remonter plus avant 10h53 !

si je tape 2012/01/02 j'ai la meme liste entre 2012-01-03 16:35:31 et 2012-01-03 10:53:54

comme si rien n'existait avant 10h53...
elf
 
Posts: 57
Joined: Mon Oct 17, 2011 10:22 am
Artica servers number: 1
Linux System: Debian
Technical skills: A tourist

Re: tout planté suite a mise a jour

New postby Zophren » Wed Jan 04, 2012 10:50 am

Tiens bizarre çà David non ?

Si Artica rejete le message car il n'autorise pas le relaying, l'emetteur n'est pas informé ?
Zophren
 
Posts: 470
Joined: Mon Nov 22, 2010 5:30 pm
Location: France
Artica servers number: 2
Linux System: Debian
Technical skills: A Linux System Administrator

Next

Return to Messagerie

Who is online

Users browsing this forum: No registered users and 1 guest

cron