Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Other > International > Spanish

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-2011, 05:20 AM
Intermediate Member
 
Posts: 15
Thumbs up zimbra deja de funcionar tras apagon, no arranca amavis (resuelto)

Hola buenas.
Tras un apagado del servidor, por falta de suministro electrico, zimbra a dejado de funcionar.
Segun he revisado, el problema esta en amavis.
El estado de los servicios es el siguiente.

antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
zmconfigd Running

Si intento arrancar zmamavisdctl, me da el siguiente error.

Starting amavisd...failed.

El log me dice esto cuando intento arrancarlo.

Oct 29 14:08:52 mail amavis[6286]: starting. /opt/zimbra/amavisd/sbin/amavisd at mail.xxxxxxxx.es amavisd-new-2.6.6 (20110518), Unicode aware, LANG="es_ES.UTF-8"
Oct 29 14:08:52 mail amavis[6286]: user=1001, EUID: 1001 (1001); group=, EGID: 1004 4 5 1004 1005 (1004 4 5 1004 1005)
Oct 29 14:08:52 mail amavis[6286]: Perl version 5.010001
Oct 29 14:08:52 mail amavis[6286]: SpamControl: init_pre_chroot on SpamAssassin done
Oct 29 14:08:52 mail amavis[6296]: Net::Server: Process Backgrounded
Oct 29 14:08:52 mail amavis[6296]: Net::Server: 2011/10/29-14:08:52 Amavis (type Net::Server::PreForkSimple) starting! pid(6296)
Oct 29 14:08:52 mail amavis[6296]: Net::Server: Using default listen value of 128
Oct 29 14:08:52 mail amavis[6296]: Net::Server: Binding to UNIX socket file /opt/zimbra/data/amavisd/amavisd.sock using SOCK_STREAM
Oct 29 14:08:52 mail amavis[6296]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Oct 29 14:08:52 mail amavis[6296]: Net::Server: Group Not Defined. Defaulting to EGID '1004 4 5 1004 1005'
Oct 29 14:08:52 mail amavis[6296]: Net::Server: User Not Defined. Defaulting to EUID '1001'
Oct 29 14:08:52 mail amavis[6296]: (!!)TROUBLE in pre_loop_hook: Invalid IPv4 network mask or CIDR prefix length: [127.0.0.0/8,192.168.40.0/24]
Oct 29 14:08:52 mail amavis[6296]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: Invalid IPv4 network mask or CIDR prefix length: [127.0.0.0/8,192.168.40.0/24]

No entiendo muy bien cual es la causa del error.
He revisado el estado del disco duro tras el reinicio y va bien.
Zimbra esta montado en un Ubuntu 10 server, con ext4.

żAlguien me puede ayudar?

Gracias

Last edited by juanluep; 10-30-2011 at 05:38 AM.. Reason: Resuelto
Reply With Quote
  #2 (permalink)  
Old 10-29-2011, 05:29 AM
Zimbra Consultant & Moderator
 
Posts: 20,319
Default

Do you have IPv6 enabled on this server? If you do then disable IPv6 and restart Zimbra and see if that helps.

You should put the output of the following command in your Forum profile:

Code:
zmcontrol -v
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-29-2011, 06:00 AM
Intermediate Member
 
Posts: 15
Default

he desactivado el ipv6 y persiste el problema
__________________
Release 7.1.2_GA_3268.UBUNTU10_64 UBUNTU10_64 FOSS edition.
Reply With Quote
  #4 (permalink)  
Old 10-30-2011, 05:34 AM
Intermediate Member
 
Posts: 15
Default

Ok resuelto, era el rango de ip de la red de confianza.
Saludos
__________________
Release 7.1.2_GA_3268.UBUNTU10_64 UBUNTU10_64 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 10-30-2011, 07:09 AM
Advanced Member
 
Posts: 207
Default

juanlep, can you explain a little?
Reply With Quote
  #6 (permalink)  
Old 11-05-2011, 12:58 PM
Senior Member
 
Posts: 59
Default (!)_DIE: Suicide () TROUBLE in pre_loop_hook: IPv6 address

Here is the error:


Code:
Nov  5 12:36:13 mail amavis[12316]: (!!)TROUBLE in pre_loop_hook: IPv6 address [192.168.0.0192.168.100.0] contains fewer than 8 fields
Nov  5 12:36:13 mail amavis[12316]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: IPv6 address [192.168.0.0192.168.100.0] contains fewer than 8 fields
You can see the settings for the local networks with this:
YOU HAVE TO BE ZIMBRA USER

Code:
zimbra$postconf mynetworks
mynetworks = 192.168.0.0192.168.100.0


Here is issue from the web GUI:

Server Settings -> MTA -> Network -> MTA Trusted Networks "192.168.0.0192.168.100.0"

I do not know how this got changed.

Here is resolution:

I added in the GUI:
192.168.0.0/24 <- You need you local network, this is mine
127.0.0.0/8 <- You need this one by default
192.168.1.0/24 <-These are just others
192.168.100.0/24



Now we have:
Code:
zimbra$ postconf mynetworks
mynetworks = 192.168.0.0/24 127.0.0.0/8 192.168.1.0/24 192.168.100.0/24

Then do a restart:

Code:
zimbra$ zmcontrol restart
Reply With Quote
  #7 (permalink)  
Old 11-06-2011, 07:16 AM
Advanced Member
 
Posts: 207
Default

Thanks for your reply.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.