Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47

Thread: Postfix problem

  1. #1
    Join Date
    Nov 2005
    Posts
    108
    Rep Power
    9

    Default Postfix problem

    Hi all,

    I changed the size of messages in the admin of Zimbra and over night it crashed. Now upon restart /var/log/zimbra.log yields the following error:

    fatal: bad numerical configuration: message_size_limit =

    the mailbox and MTA refuse to start and I can't log into the admin port to fix... How can I change the messages _size_limit back to the default through the console?

    Thanks !

    james

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Looks like it's just blank. What does the console show? After you reset it to a number just restart the MTA. This will re-write the config file.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Nov 2005
    Posts
    108
    Rep Power
    9

    Default

    Sorry for my ignorance but how do I set the new value from the console? That's what I'm having difficulty figuring out.

    james

    Quote Originally Posted by KevinH
    Looks like it's just blank. What does the console show? After you reset it to a number just restart the MTA. This will re-write the config file.

  4. #4
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    How did you change it the first time?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    9

    Default

    su - zimbra
    zmprov mcf zimbraMtaMaxMessageSize 10240000

  6. #6
    Join Date
    Mar 2006
    Posts
    34
    Rep Power
    9

    Unhappy

    Hi,

    I am having this problem too, but when I enter

    zmprov mcf zimbraMtaMaxMessageSize 10240000

    I get the following error:

    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)


    This is what I have been trying to do:

    I had a working installation (3.1) on FC4. Then I did this:

    1. Backup up zimbra (and everything else)
    2. Installed FC5
    3. Installed Zimbra 4.5 from bin
    4. Removed Zimbra 4.5 from /opt/zimbra
    5. Restored 3.1 to /opt/zimbra
    6. Ran install.sh to upgrade from 3.1 to 4.5

    The upgrade seems to have run through OK, but when I try to start zimbra I get this:

    [zimbra@ls2kserver ~]$ zmcontrol start
    Host ls2kserver.lifestyletrust.org.nz
    Starting ldap...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...FAILED
    postmap: fatal: bad numerical configuration: message_size_limit =
    postalias: fatal: bad numerical configuration: message_size_limit =
    postfix failed to start

    If I run zmcontrol status I get this:

    [zimbra@ls2kserver ~]$ zmcontrol status
    Host ls2kserver.lifestyletrust.org.nz
    antispam Running
    antivirus Stopped
    zmclamdctl is not running
    ldap Running
    logger Running
    mailbox Stopped
    tomcat is not running
    mta Stopped
    postfix is not running
    snmp Running
    spell Running
    [zimbra@ls2kserver ~]$

    Any help will be very gratefully received!

    Rob

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Were there any errors in the install log? Are there any errors in /opt/zimbra/log/mailbox.log (or zimbra.log) or /var/log/zimbra.log that may indicate what the problem is?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    Mar 2006
    Posts
    34
    Rep Power
    9

    Default

    Hi Bill,

    Quite a lot of errors in the install log:

    Firstly: zmsetup.log.9007

    Upgrading from 3.1.0_GA_332 to 4.5.2_GA_699

    *** Running as zimbra user: /opt/zimbra/bin/mysql --force --user=root --password=F4HultEAM5.o.V3nEGwG_WMw8CWr --database=mysql --batch < /o
    pt/zimbra/mysql/share/mysql/mysql_fix_privilege_tables.sql > /tmp/mysql_fix_perms.out 2>&1

    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l -- mcf +zimbraCOSInheritedAttr zimbraFeatureSharingEnabled

    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'zimbraCOSInheritedAttr' not allow
    ed]) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - attribute 'zimbraCOSInheritedAttr' not allowed])
    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l -- mcf +zimbraDomainInheritedAttr zimbraFeatureSharingEnabled

    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'zimbraDomainInheritedAttr' not al
    lowed]) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - attribute 'zimbraDomainInheritedAttr' not allowed])
    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l -- mcf +zimbraAccountClientAttr zimbraFeatureSharingEnabled

    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'zimbraAccountClientAttr' not allo
    wed]) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - attribute 'zimbraAccountClientAttr' not allowed])
    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l -- mc default zimbraFeatureSharingEnabled TRUE

    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l -- mcf -zimbraGalLdapFilterDef 'zimbra&(|(cn=*%s*)(sn=*%s*)(gn=*%s*)(mail=*%s*)(zim
    braMailDeliveryAddress=*%s*)(zimbraMailAlias=*%s*) )(|(objectclass=zimbraAccount)(objectclass=zimbraD istributionList)))'

    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l -- mcf +zimbraGalLdapFilterDef 'zimbraAccounts&(|(cn=*%s*)(sn=*%s*)(gn=*%s*)(mail=*
    %s*)(zimbraMailDeliveryAddress=*%s*)(zimbraMailAli as=*%s*)(zimbraMailAddress=*%s*))(|(objectclass=zi mbraAccount)(objectclass=zimbraDistribu
    tionList))(!(objectclass=zimbraCalendarResource))) '

    ERROR: service.INVALID_REQUEST (invalid request: LDAP schema violation: [LDAP: error code 65 - attribute 'zimbraGalLdapFilterDef' not allow
    ed]) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - attribute 'zimbraGalLdapFilterDef' not allowed])

    MANY MORE code 65 errors.

    Then this, in the same log file:

    Setting Keyboard Shortcut Preferences...
    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l mc default zimbraPrefUseKeyboardShortcuts

    usage: modifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]

    zmprov [args] [cmd] [cmd-args ...]

    -h/--help display usage
    -f/--file use file as input stream
    -s/--server {host}[:{port}] server hostname and optional port
    -l/--ldap provision via LDAP instead of SOAP
    -a/--account {name} account name to auth as
    -p/--password {pass} password for account
    -P/--passfile {file} read password from file
    -z/--zadmin use zimbra admin name/password from localconfig for admin/password
    -v/--verbose verbose mode (dumps full exception stack trace)
    -d/--debug debug mode (dumps SOAP messages)

    zmprov is used for provisioning. Try:

    zmprov help account help on account-related commands
    zmprov help calendar help on calendar resource-related commands
    zmprov help commands help on all commands
    zmprov help config help on config-related commands
    zmprov help cos help on COS-related commands
    zmprov help domain help on domain-related commands
    zmprov help list help on distribution list-related commands
    zmprov help misc help on misc commands
    zmprov help notebook help on notebook-related commands
    zmprov help search help on search-related commands
    zmprov help server help on server-related commands

    done.

  9. #9
    Join Date
    Mar 2006
    Posts
    34
    Rep Power
    9

    Default Still in the setup log file

    Initializing Documents...
    COS attribute retrieved for COS default: zimbraFeatureNotebookEnabled=TRUE
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE

    Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.httpclient.methods.PostMethod.s etRequestContentLength(J)V
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:184)
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:231)
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:156)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(SoapProvisioning.java:128)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapZi mbraAdminAuthenticate(SoapProvisioning.java:143)
    at com.zimbra.cs.account.ProvUtil.initProvisioning(Pr ovUtil.java:311)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1449)
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@ls2kserver.lifestyletrust.org.nz

    Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.httpclient.methods.PostMethod.s etRequestContentLength(J)V
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:184)
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:231)
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:156)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(SoapProvisioning.java:128)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapZi mbraAdminAuthenticate(SoapProvisioning.java:143)
    at com.zimbra.cs.account.ProvUtil.initProvisioning(Pr ovUtil.java:311)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1449)
    *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@ls2kserver.lifestyletrust.org.nz 'ZHLQvWySp' /opt/zimbra/wiki/Template Template

    Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.httpclient.methods.PostMethod.s etRequestContentLength(J)V
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:184)
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:231)
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:156)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(SoapProvisioning.java:128)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapZi mbraAdminAuthenticate(SoapProvisioning.java:143)
    at com.zimbra.cs.account.ProvUtil.initProvisioning(Pr ovUtil.java:311)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1449)
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE

    Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.httpclient.methods.PostMethod.s etRequestContentLength(J)V
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:184)
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:231)
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (SoapProvisioning.java:156)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(SoapProvisioning.java:128)
    at com.zimbra.cs.account.soap.SoapProvisioning.soapZi mbraAdminAuthenticate(SoapProvisioning.java:143)
    at com.zimbra.cs.account.ProvUtil.initProvisioning(Pr ovUtil.java:311)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1449)

    Restarting tomcat...
    *** Running as zimbra user: /opt/zimbra/bin/tomcat restart

    Done

    *** Running as zimbra user: /opt/zimbra/bin/zmupdateauthkeys

    updating ls2kserver.lifestyletrust.org.nz
    Fetching key for ls2kserver.lifestyletrust.org.nz
    Key for ls2kserver.lifestyletrust.org.nz NOT FOUND
    Updating /opt/zimbra/.ssh/authorized_keys

    mv: overwrite `/opt/zimbra/.ssh/authorized_keys', overriding mode 0644? chmod: changing permissions of `/opt/zimbra/.ssh/authorized_keys':
    Operation not permitted



    Operations logged to /tmp/zmsetup.log.9007

  10. #10
    Join Date
    Mar 2006
    Posts
    34
    Rep Power
    9

    Default And in /var/log/zimbra.log

    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: antivirus: Stopped
    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: ldap: Running
    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: logger: Running
    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: mailbox: Stopped
    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: mta: Stopped
    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: snmp: Running
    Mar 4 02:16:05 ls2kserver zimbramon[6814]: 6814:info: 2007-03-04 02:16:01, STATUS: ls2kserver.lifestyletrust.org.nz: spell: Running
    Mar 4 02:18:03 ls2kserver zmtomcatmgr[7234]: status requested
    Mar 4 02:18:03 ls2kserver zmtomcatmgr[7234]: stale pid 3337 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process
    Mar 4 02:18:03 ls2kserver zmtomcatmgr[7234]: assuming no other instance is running
    Mar 4 02:18:03 ls2kserver zmtomcatmgr[7234]: no manager process is running
    Mar 3 13:18:03 ls2kserver postfix/postqueue[7248]: fatal: bad numerical configuration: message_size_limit =
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: antispam: Running
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: antivirus: Stopped
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: ldap: Running
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: logger: Running
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: mailbox: Stopped
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: mta: Stopped
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: snmp: Running
    Mar 4 02:18:04 ls2kserver zimbramon[7095]: 7095:info: 2007-03-04 02:18:01, STATUS: ls2kserver.lifestyletrust.org.nz: spell: Running
    Mar 3 13:20:01 ls2kserver postfix/postqueue[7419]: fatal: bad numerical configuration: message_size_limit =
    Mar 4 02:20:02 ls2kserver zimbramon[7386]: 7386:info: 2007-03-04 02:20:01, DISK: ls2kserver.lifestyletrust.org.nz: dev: /dev/md0, mp: /, t
    ot: 227035, avail: 187286
    Mar 4 02:20:02 ls2kserver zimbramon[7386]: 7386:info: 2007-03-04 02:20:01, DISK: ls2kserver.lifestyletrust.org.nz: dev: /dev/hde1, mp: /bo
    ot, tot: 3967, avail: 3687
    Mar 4 02:20:02 ls2kserver zimbramon[7382]: 7382:info: 2007-03-04 02:20:01, QUEUE: 0 0
    Mar 4 02:20:03 ls2kserver sendmail[7421]: l23DK1hM007421: from=zimbra, size=358, class=0, nrcpts=1, msgid=<200703031320.l23DK1hM007421@ls2
    kserver.lifestyletrust.org.nz>, relay=zimbra@localhost
    Mar 4 02:20:03 ls2kserver sendmail[7421]: l23DK1hM007421: to=zimbra, ctladdr=zimbra (521/515), delay=00:00:02, xdelay=00:00:00, mailer=rel
    ay, pri=30358, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Mar 4 02:20:05 ls2kserver zmtomcatmgr[7598]: status requested
    Mar 4 02:20:05 ls2kserver zmtomcatmgr[7598]: stale pid 3337 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process
    Mar 4 02:20:05 ls2kserver zmtomcatmgr[7598]: assuming no other instance is running
    Mar 4 02:20:05 ls2kserver zmtomcatmgr[7598]: no manager process is running
    Mar 3 13:20:05 ls2kserver postfix/postqueue[7612]: fatal: bad numerical configuration: message_size_limit =
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: antispam: Running
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: antivirus: Stopped
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: ldap: Running
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: logger: Running
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: mailbox: Stopped
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: mta: Stopped
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: snmp: Running
    Mar 4 02:20:06 ls2kserver zimbramon[7388]: 7388:info: 2007-03-04 02:20:01, STATUS: ls2kserver.lifestyletrust.org.nz: spell: Running
    (END)

Similar Threads

  1. Replies: 23
    Last Post: 04-19-2013, 09:06 PM
  2. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  3. Replies: 13
    Last Post: 07-20-2007, 03:21 AM
  4. Problem with Postfix on Ubuntu
    By kgmeyer in forum Installation
    Replies: 6
    Last Post: 01-22-2007, 03:49 AM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •