Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

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 Display Modes
  #1 (permalink)  
Old 03-21-2006, 09:51 AM
Loyal Member
 
Posts: 88
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
Reply With Quote
  #2 (permalink)  
Old 03-21-2006, 09:58 AM
Zimbra Employee
 
Posts: 4,784
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.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 03-21-2006, 10:00 AM
Loyal Member
 
Posts: 88
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.
Reply With Quote
  #4 (permalink)  
Old 03-21-2006, 10:07 AM
Zimbra Employee
 
Posts: 4,784
Default

How did you change it the first time?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 03-22-2006, 11:03 AM
Elite Member & Volunteer
 
Posts: 255
Default

su - zimbra
zmprov mcf zimbraMtaMaxMessageSize 10240000
Reply With Quote
  #6 (permalink)  
Old 03-03-2007, 02:52 AM
Active Member
 
Posts: 34
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
Reply With Quote
  #7 (permalink)  
Old 03-03-2007, 05:07 AM
Zimbra Consultant & Moderator
 
Posts: 11,327
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
Reply With Quote
  #8 (permalink)  
Old 03-03-2007, 06:18 AM
Active Member
 
Posts: 34
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*)(ma il=*
%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.
Reply With Quote
  #9 (permalink)  
Old 03-03-2007, 06:20 AM
Active Member
 
Posts: 34
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
Reply With Quote
  #10 (permalink)  
Old 03-03-2007, 06:22 AM
Active Member
 
Posts: 34
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)
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0