[SOLVED] Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string: "3|")

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
xmana
Posts: 12
Joined: Tue Mar 21, 2017 12:58 pm

[SOLVED] Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string: "3|")

Post by xmana »

Good day!
I have the following problem:
After the fall of the virtual machine on which deployed zimbra, when executing CLI commands, an error occurs:
ERROR: service.FAILURE (system failure: java.lang.NumberFormatException: For input string: "3|")
In spite of the error, the services are working, the mail goes, the web interface is working

Help me solve the problem, please ...

Ziimbra 8.6.0_GA_1169

[root@mail log]# cat /etc/*release
CentOS release 6.6 (Final)

Code: Select all

[zimbra@mail ~]$ zmcontrol status
Host mail.<domain>
        amavis                  Running
        antispam                Running
        antivirus               Running
        dnscache                Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running
examples of commands execution:

[zimbra@mail ~]$ zmprov gaaa
ERROR: service.FAILURE (system failure: java.lang.NumberFormatException: For input string: "3|")

[zimbra@mail ~]$ zmsoap -z GetAccountInfoRequest/account=xmana @by=name
ERROR: service.FAILURE (system failure: java.lang.NumberFormatException: For input string: "3|")

[zimbra@mail ~]$ zmmailbox -z -m xmana@<domain> -A emptyDumpster
ERROR: service.FAILURE (system failure: java.lang.NumberFormatException: For input string: "3|")

[zimbra@mail ~]$ zmsoap -vv -z GetAccountInfoRequest/account=xmana @by=name

Code: Select all

Sending admin auth request to https://localhost:7071/service/admin/soap
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
  <soap:Header>
    <context xmlns="urn:zimbra">
      <authToken/>
      <nosession/>
      <userAgent name="zmsoap"/>
    </context>
  </soap:Header>
  <soap:Body>
    <AuthRequest xmlns="urn:zimbraAdmin">
      <name>zimbra</name>
      <password>***</password>
    </AuthRequest>
  </soap:Body>
</soap:Envelope>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
  <soap:Header>
    <context xmlns="urn:zimbra"/>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <soap:Code>
        <soap:Value>soap:Receiver</soap:Value>
      </soap:Code>
      <soap:Reason>
        <soap:Text>system failure: java.lang.NumberFormatException: For input string: "3|"</soap:Text>
      </soap:Reason>
      <soap:Detail>
        <Error xmlns="urn:zimbra">
          <Code>service.FAILURE</Code>
          <Trace>qtp509886383-84274:https://127.0.0.1:7071/service/admin/soap/AuthRequest:1519890599395:36b76496d424c4c3</Trace>
        </Error>
      </soap:Detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>
ERROR: service.FAILURE (system failure: java.lang.NumberFormatException: For input string: "3|")
Logs:

/opt/zimbra/log/mailbox.log

Code: Select all

2018-03-01 09:54:16,644 WARN  [qtp509886383-84382:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmsoap;] SoapEngine - handler exception
java.lang.NumberFormatException: For input string: "3|"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.parseInt(Integer.java:615)
        at com.zimbra.common.util.DateUtil.parseGeneralizedTime(DateUtil.java:87)
        at com.zimbra.common.util.DateUtil.parseGeneralizedTime(DateUtil.java:69)
        at com.zimbra.cs.account.Entry.getGeneralizedTimeAttr(Entry.java:373)
        at com.zimbra.cs.account.ldap.LdapProvisioning.updateLastLogon(LdapProvisioning.java:5122)
        at com.zimbra.cs.account.ldap.LdapProvisioning.authAccount(LdapProvisioning.java:5063)
        at com.zimbra.cs.account.ldap.LdapProvisioning.authAccount(LdapProvisioning.java:5017)
        at com.zimbra.cs.service.admin.Auth.handle(Auth.java:158)
        at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:569)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:432)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:266)
        at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:303)
        at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:213)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:209)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651)
        at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
        at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:351)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:47)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:117)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:457)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:326)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:299)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:544)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:309)
        at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:81)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
        at org.eclipse.jetty.server.Server.handle(Server.java:462)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
        at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
        at java.lang.Thread.run(Thread.java:745)
        
Last edited by xmana on Tue Mar 27, 2018 11:35 am, edited 4 times in total.
xmana
Posts: 12
Joined: Tue Mar 21, 2017 12:58 pm

Re: Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string: "3|")

Post by xmana »

Does anyone have any ideas on this issue?
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 313
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string: "3|")

Post by tonster »

If I had to guess I'd say something is corrupt in your localconfig. Could you maybe pm me the output of the zmlocalconfig command?

Sent from my SM-G950U using Tapatalk
xmana
Posts: 12
Joined: Tue Mar 21, 2017 12:58 pm

Re: Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string:

Post by xmana »

tonster wrote:If I had to guess I'd say something is corrupt in your localconfig. Could you maybe pm me the output of the zmlocalconfig command?

Sent from my SM-G950U using Tapatalk
Kind time of day!

I am very grateful for the interest in my problem.
I also had thoughts about corrupted data zmlocalconfig.
Unfortunately, it was not possible to identify the problem visually.
I send the current configuration.
I would be grateful for the help in resolving this issue.

If necessary, ready to provide additional information.

[zimbra@mail ~]$ zmlocalconfig

Code: Select all

acl_cache_credential_maxsize = 512
acl_cache_enabled = true
acl_cache_target_maxage = 15
acl_cache_target_maxsize = 1024
antispam_backup_retention = 0
antispam_enable_restarts = false
antispam_enable_rule_compilation = false
antispam_enable_rule_updates = false
antispam_mysql_data_directory = ${zimbra_home}/data/amavisd/mysql/data
antispam_mysql_directory = ${zimbra_home}/mta/mariadb
antispam_mysql_enabled = false
antispam_mysql_errlogfile = ${zimbra_home}/log/antispam-mysqld.log
antispam_mysql_host = 127.0.0.1
antispam_mysql_mycnf = ${zimbra_home}/conf/antispam-my.cnf
antispam_mysql_password = *
antispam_mysql_pidfile = ${zimbra_home}/data/amavisd/mysql/mysql.pid
antispam_mysql_port = 7308
antispam_mysql_root_password = *
antispam_mysql_socket = ${zimbra_home}/data/amavisd/mysql/mysql.sock
antispam_mysql_user = zimbra
autoprov_initial_sleep_ms = 300000
av_notify_domain = <domain.dom>
av_notify_user = admin@<domain.dom>
calendar_allow_invite_without_method = false
calendar_apple_ical_compatible_canceled_instances = true
calendar_cache_directory = ${zimbra_tmp_directory}/calcache
calendar_cache_enabled = true
calendar_cache_lru_size = 1000
calendar_cache_max_stale_items = 10
calendar_cache_range_month_from = 0
calendar_cache_range_months = 3
calendar_entourage_compatible_timezones = true
calendar_exchange_form_auth_url = /exchweb/bin/auth/owaauth.dll
calendar_freebusy_max_days = 366
calendar_ics_export_buffer_size = 131072
calendar_ics_import_full_parse_max_size = 131072
calendar_item_get_max_retries = 100
calendar_max_desc_in_metadata = 4096
calendar_outlook_compatible_allday_events = false
calendar_resource_ldap_search_maxsize = 1000
calendar_search_max_days = 400
cbpolicyd_cache_file = ${zimbra_home}/data/cache
cbpolicyd_db_file = ${zimbra_home}/data/cbpolicyd/db/cbpolicyd.sqlitedb
cbpolicyd_log_detail = modules
cbpolicyd_log_file = ${zimbra_log_directory}/cbpolicyd.log
cbpolicyd_log_mail = main
cbpolicyd_pid_file = ${zimbra_log_directory}/cbpolicyd.pid
check_dl_membership_enabled = true
cli_httpclient_soaphttptransport_so_timeout = 0
client_ssl_truststore = ${mailboxd_truststore}
client_ssl_truststore_password = *
client_use_native_proxy_selector = false
client_use_system_proxy = false
command_line_editing_enabled = true
compute_aggregate_quota_threads = 10
contact_ranking_enabled = true
conversation_ignore_maillist_prefix = true
conversation_max_age_ms = 2678400000
data_source_config = ${zimbra_home}/conf/datasource.xml
data_source_eas_mime_truncation = 4
data_source_eas_sync_calendar = true
data_source_eas_sync_contacts = true
data_source_eas_sync_email = true
data_source_eas_sync_tasks = true
data_source_eas_window_size = 50
data_source_fetch_size = 5
data_source_imap_reuse_connections = false
data_source_ioexception_handler_class = com.zimbra.cs.datasource.IOExceptionHandler
data_source_max_message_memory_size = 2097152
data_source_new_sync_enabled = false
data_source_scheduling_enabled = true
data_source_trust_self_signed_certs = false
data_source_xsync_class = 
data_source_xsync_factory_class = 
debug_xmpp_disable_client_tls = 0
derby_properties = ${zimbra_home}/conf/derby.properties
document_incoming_max_age = 360
documents_disable_instant_parsing = false
empty_folder_batch_sleep_ms = 1
ews_service_log_file = /opt/zimbra/log/ews.log
ews_service_wsdl_location = /opt/zimbra/lib/ext/zimbraews/
external_store_delete_max_ioexceptions = 25
external_store_local_cache_max_bytes = 1073741824
external_store_local_cache_max_files = 10000
external_store_local_cache_min_lifetime = 60000
filter_null_env_sender_for_dsn_redirect = true
freebusy_disable_nodata_status = false
freebusy_queue_directory = ${zimbra_home}/fbqueue/
gal_group_cache_maxage = 10080
gal_group_cache_maxsize_domains = 10
gal_group_cache_maxsize_per_domain = 0
httpclient_convertd_keepalive_connections = true
httpclient_convertd_so_timeout = -1
httpclient_external_client_connection_timeout = 30000
httpclient_external_connmgr_connection_timeout = 25000
httpclient_external_connmgr_idle_reaper_connection_timeout = 300000
httpclient_external_connmgr_idle_reaper_sleep_interval = 300000
httpclient_external_connmgr_max_host_connections = 100
httpclient_external_connmgr_max_total_connections = 300
httpclient_external_connmgr_so_timeout = 45000
httpclient_external_connmgr_stale_connection_check = true
httpclient_external_connmgr_tcp_nodelay = false
httpclient_internal_client_connection_timeout = 30000
httpclient_internal_connmgr_connection_timeout = 25000
httpclient_internal_connmgr_idle_reaper_connection_timeout = 300000
httpclient_internal_connmgr_idle_reaper_sleep_interval = 300000
httpclient_internal_connmgr_max_host_connections = 100
httpclient_internal_connmgr_max_total_connections = 300
httpclient_internal_connmgr_so_timeout = 60000
httpclient_internal_connmgr_stale_connection_check = true
httpclient_internal_connmgr_tcp_nodelay = false
httpclient_soaphttptransport_keepalive_connections = true
httpclient_soaphttptransport_retry_count = 2
httpclient_soaphttptransport_so_timeout = 300000
im_dnsutil_dnsoverride = 
imap_authenticated_max_idle_time = 1800
imap_inactive_session_cache_size = 10000
imap_max_consecutive_error = 5
imap_max_idle_time = 60
imap_max_request_size = 10240
imap_thread_keep_alive_time = 60
imap_throttle_acct_limit = 5000
imap_throttle_command_limit = 25
imap_throttle_fetch = true
imap_throttle_ip_limit = 5000
imap_use_ehcache = true
imap_write_chunk_size = 8192
imap_write_timeout = 10
javamail_imap_debug = false
javamail_imap_enable_starttls = true
javamail_imap_test_timeout = 20
javamail_imap_timeout = 60
javamail_pop3_debug = false
javamail_pop3_enable_starttls = true
javamail_pop3_test_timeout = 20
javamail_pop3_timeout = 60
javamail_smtp_debug = false
javamail_smtp_enable_starttls = true
javamail_smtp_timeout = 60
javamail_zparser = true
javamail_zsmtp = true
jdbc_results_streaming_enabled = true
krb5_debug_enabled = false
krb5_keytab = ${zimbra_home}/conf/krb5.keytab
krb5_service_principal_from_interface_address = false
ldap_accesslog_envflags = writemap nometasync
ldap_accesslog_maxsize = 85899345920
ldap_amavis_password = *
ldap_bes_searcher_password = *
ldap_bind_url = 
ldap_cache_account_maxage = 15
ldap_cache_account_maxsize = 20000
ldap_cache_alwaysoncluster_maxage = 15
ldap_cache_alwaysoncluster_maxsize = 100
ldap_cache_cos_maxage = 15
ldap_cache_cos_maxsize = 100
ldap_cache_custom_dynamic_group_membership_maxage_ms = 600000
ldap_cache_domain_maxage = 15
ldap_cache_domain_maxsize = 500
ldap_cache_external_domain_maxage = 15
ldap_cache_external_domain_maxsize = 10000
ldap_cache_group_maxage = 15
ldap_cache_group_maxsize = 2000
ldap_cache_mime_maxage = 15
ldap_cache_reverseproxylookup_domain_maxage = 15
ldap_cache_reverseproxylookup_domain_maxsize = 100
ldap_cache_reverseproxylookup_server_maxage = 15
ldap_cache_reverseproxylookup_server_maxsize = 100
ldap_cache_right_maxage = 15
ldap_cache_right_maxsize = 100
ldap_cache_server_maxage = 15
ldap_cache_server_maxsize = 100
ldap_cache_share_locator_maxage = 15
ldap_cache_share_locator_maxsize = 5000
ldap_cache_timezone_maxsize = 100
ldap_cache_ucservice_maxage = 15
ldap_cache_ucservice_maxsize = 100
ldap_cache_xmppcomponent_maxage = 15
ldap_cache_xmppcomponent_maxsize = 100
ldap_cache_zimlet_maxage = 15
ldap_cache_zimlet_maxsize = 100
ldap_common_loglevel = 49152
ldap_common_require_tls = 0
ldap_common_threads = 8
ldap_common_tlsciphersuite = MEDIUM:HIGH
ldap_common_tlsprotocolmin = 3.1
ldap_common_toolthreads = 2
ldap_common_writetimeout = 360
ldap_connect_pool_debug = false
ldap_connect_pool_health_check_background_interval_millis = 30000
ldap_connect_pool_health_check_max_response_time_millis = 30000
ldap_connect_pool_health_check_on_checkout_enabled = false
ldap_connect_pool_initsize = 1
ldap_connect_pool_master = false
ldap_connect_pool_maxsize = 50
ldap_connect_pool_prefsize = 0
ldap_connect_pool_timeout = 120000
ldap_connect_timeout = 30000
ldap_db_envflags = writemap nometasync
ldap_db_maxsize = 85899345920
ldap_deref_aliases = always
ldap_dit_base_dn_admin = 
ldap_dit_base_dn_alwaysoncluster = 
ldap_dit_base_dn_appadmin = 
ldap_dit_base_dn_config = 
ldap_dit_base_dn_cos = 
ldap_dit_base_dn_domain = 
ldap_dit_base_dn_global_dynamicgroup = 
ldap_dit_base_dn_mail = 
ldap_dit_base_dn_mime = 
ldap_dit_base_dn_server = 
ldap_dit_base_dn_share_locator = 
ldap_dit_base_dn_ucservice = 
ldap_dit_base_dn_xmppcomponent = 
ldap_dit_base_dn_zimlet = 
ldap_dit_naming_rdn_attr_cos = 
ldap_dit_naming_rdn_attr_dynamicgroup = 
ldap_dit_naming_rdn_attr_globalconfig = 
ldap_dit_naming_rdn_attr_globalgrant = 
ldap_dit_naming_rdn_attr_mime = 
ldap_dit_naming_rdn_attr_server = 
ldap_dit_naming_rdn_attr_share_locator = 
ldap_dit_naming_rdn_attr_ucservice = 
ldap_dit_naming_rdn_attr_user = 
ldap_dit_naming_rdn_attr_xmppcomponent = 
ldap_dit_naming_rdn_attr_zimlet = 
ldap_host = mail.<domain.dom>
ldap_is_master = true
ldap_ldapi_socket_file = ${zimbra_home}/data/ldap/state/run/ldapi
ldap_master_url = ldap://mail.<domain.dom>:389
ldap_monitor_alert_only = true
ldap_monitor_critical = 90
ldap_monitor_growth = 25
ldap_monitor_mdb = true
ldap_monitor_warning = 80
ldap_nginx_password = *
ldap_overlay_accesslog_logpurge = 01+00:00  00+04:00
ldap_overlay_syncprov_checkpoint = 20 10
ldap_port = 389
ldap_postfix_password = *
ldap_read_timeout = 300000
ldap_replication_password = *
ldap_root_password = *
ldap_starttls_required = true
ldap_starttls_supported = 1
ldap_url = ldap://mail.<domain.dom>:389
lmtp_throttle_ip_limit = 0
localized_client_msgs_directory = ${mailboxd_directory}/webapps/zimbra/WEB-INF/classes/messages
localized_msgs_directory = ${zimbra_home}/conf/msgs
logger_data_directory = ${zimbra_home}/logger/db/data
logger_zmrrdfetch_port = 10663
mailboxd_directory = /opt/zimbra/mailboxd
mailboxd_java_heap_new_size_percent = 25
mailboxd_java_heap_size = 3993
mailboxd_java_options = -server -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.awt.headless=true -Dsun.net.inetaddr.ttl=${networkaddress_cache_ttl} -Dorg.apache.jasper.compiler.disablejsr199=true -XX:+UseConcMarkSweepGC -XX:PermSize=128m -XX:MaxPermSize=350m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:-OmitStackTraceInFastThrow -Xloggc:/opt/zimbra/log/gc.log -XX:-UseGCLogFileRotation -XX:NumberOfGCLogFiles=20 -XX:GCLogFileSize=4096K -Djava.net.preferIPv4Stack=true
mailboxd_keystore = /opt/zimbra/mailboxd/etc/keystore
mailboxd_keystore_base = ${zimbra_home}/conf/keystore.base
mailboxd_keystore_base_password = *
mailboxd_keystore_password = *
mailboxd_output_file = ${zimbra_log_directory}/${mailboxd_output_filename}
mailboxd_output_filename = zmmailboxd.out
mailboxd_output_rotate_interval = 86400
mailboxd_pidfile = ${zimbra_log_directory}/mailboxd.pid
mailboxd_server = jetty
mailboxd_thread_stack_size = 256k
mailboxd_truststore = /opt/zimbra/java/jre/lib/security/cacerts
mailboxd_truststore_password = *
max_image_size_to_resize = 10485760
milter_bind_port = 0
milter_in_process_mode = false
milter_max_idle_time = 3630
milter_thread_keep_alive_time = 60
milter_write_chunk_size = 1024
milter_write_timeout = 10
mime_encode_compound_xwiniso2022jp_as_iso2022jp = true
mime_encode_missing_blob = true
mime_exclude_empty_content = true
mime_handle_nonprintable_subject = true
mime_max_recursion = 20
mime_promote_empty_multipart = true
mime_split_address_at_semicolon = true
mysql_backup_retention = 0
mysql_bind_address = 127.0.0.1
mysql_data_directory = ${zimbra_db_directory}/data
mysql_directory = ${zimbra_home}/mariadb
mysql_errlogfile = ${zimbra_home}/log/mysql_error.log
mysql_memory_percent = 30
mysql_mycnf = ${zimbra_home}/conf/my.cnf
mysql_pidfile = ${zimbra_db_directory}/mysql.pid
mysql_port = 7306
mysql_root_password = *
mysql_socket = ${zimbra_db_directory}/mysql.sock
networkaddress_cache_ttl = 60
nio_imap_enabled = true
nio_max_write_queue_size = 10000
nio_pop3_enabled = true
notes_enabled = false
octopus_incoming_patch_max_age = 120
octopus_public_static_folder = ${zimbra_home}/jetty/static
octopus_stored_patch_max_age = 360
out_of_disk_error_unix = No space left on device
out_of_disk_error_windows = There is not enough space on the disk
pdf2swf_path = /sw/bin/pdf2swf
pop3_max_consecutive_error = 5
pop3_max_idle_time = 60
pop3_thread_keep_alive_time = 60
pop3_throttle_acct_limit = 5000
pop3_throttle_ip_limit = 5000
pop3_write_timeout = 10
postfix_mail_owner = postfix
postfix_setgid_group = postdrop
postjournal_archive_bounce_to = <>
postjournal_archive_rcpt_to = <>
postjournal_enabled = false
postjournal_helo_name = localhost
postjournal_per_user_journaling = 1
postjournal_smtp_read_timeout = 60
postjournal_strip_postfix_proxy = 1
purge_initial_sleep_ms = 1800000
rest_pdf_converter_url = http://localhost:7070/zoo/convertpdf
rest_response_cache_control_value = no-store, no-cache
robots_txt = ${zimbra_home}/conf/robots.txt
search_dbfirst_term_percentage_cutoff = 0.8
search_disable_database_hints = false
search_tagged_item_count_join_query_cutoff = 1000
servlet_max_concurrent_http_requests_per_account = 10
servlet_max_concurrent_requests_per_session = 0
shared_mime_info_globs = ${zimbra_home}/conf/globs2
shared_mime_info_magic = ${zimbra_home}/conf/magic
short_term_all_effective_rights_cache_expiration = 50000
short_term_all_effective_rights_cache_size = 128
short_term_grantee_cache_expiration = 50000
short_term_grantee_cache_size = 128
skins_directory = ${mailboxd_directory}/webapps/zimbra/skins
smtp_destination = it@<domain.dom>
smtp_host_retry_millis = 60000
smtp_notify = yes
smtp_source = admin@<domain.dom>
smtp_to_lmtp_enabled = false
smtp_to_lmtp_port = 7024
snmp_notify = yes
snmp_trap_host = mail.<domain.dom>
soap_fault_include_stack_trace = false
soap_response_buffer_size = 
soap_response_chunked_transfer_encoding_enabled = true
socket_connect_timeout = 30000
socket_so_timeout = 30000
socks_enabled = false
spnego_java_options = -Djava.security.krb5.conf=${mailboxd_directory}/etc/krb5.ini -Djava.security.auth.login.config=${mailboxd_directory}/etc/spnego.conf -Djavax.security.auth.useSubjectCredsOnly=false
sqlite_cache_size = 500
sqlite_journal_mode = PERSIST
sqlite_page_size = 4096
sqlite_shared_cache_enabled = false
sqlite_sync_mode = NORMAL
ssl_allow_accept_untrusted_certs = true
ssl_allow_mismatched_certs = true
ssl_allow_untrusted_certs = false
ssl_default_digest = sha256
ssl_disable_dh_cipher_suite = true
stats_img_folder = ${zimbra_home}/logger/db/work
text_attachments_base64 = true
thread_pool_warn_percent = 100
timezone_file = ${zimbra_home}/conf/timezones.ics
tombstone_max_age_ms = 8035200000
triton_hash_type = SHA0
triton_store_url = 
triton_upload_buffer_size = 25000
uncompressed_cache_min_lifetime = 60000
xmpp_client_compression_policy = optional
xmpp_client_idle_timeout = 600000
xmpp_client_write_timeout = 60000
xmpp_cloudrouting_idle_timeout = 300000
xmpp_dns_override = 
xmpp_muc_default_history_type = number
xmpp_muc_discover_locked = true
xmpp_muc_enabled = true
xmpp_muc_history_number = 25
xmpp_muc_idle_user_sweep_ms = 300000
xmpp_muc_idle_user_timeout_ms = 0
xmpp_muc_log_batch_size = 50
xmpp_muc_log_sweep_time_ms = 300000
xmpp_muc_restrict_room_creation = false
xmpp_muc_room_create_jid_list = 
xmpp_muc_service_name = conference
xmpp_muc_sysadmin_jid_list = 
xmpp_muc_unload_empty_hours = 5
xmpp_offline_quota = 102400
xmpp_offline_type = store_and_drop
xmpp_private_storage_enabled = true
xmpp_server_certificate_accept_selfsigned = true
xmpp_server_certificate_verify = false
xmpp_server_certificate_verify_chain = true
xmpp_server_certificate_verify_root = true
xmpp_server_certificate_verify_validity = true
xmpp_server_compression_policy = disabled
xmpp_server_dialback_enabled = true
xmpp_server_outgoing_max_threads = 20
xmpp_server_outgoing_queue = 50
xmpp_server_processing_core_threads = 2
xmpp_server_processing_max_threads = 50
xmpp_server_processing_queue = 50
xmpp_server_read_timeout = 180000
xmpp_server_session_allowmultiple = true
xmpp_server_session_idle = 1200000
xmpp_server_session_idle_check_time = 300000
xmpp_server_socket_remoteport = 5269
xmpp_server_tls_enabled = true
xmpp_session_conflict_limit = 0
yauth_baseuri = https://login.yahoo.com/WSLogin/V1
zimbra_activesync_autodiscover_use_service_url = false
zimbra_activesync_contact_image_size = 2097152
zimbra_activesync_general_cache_size = 500
zimbra_activesync_heartbeat_interval_max = 3540
zimbra_activesync_heartbeat_interval_min = 300
zimbra_activesync_metadata_cache_expiration = 3600
zimbra_activesync_metadata_cache_max_size = 5000
zimbra_activesync_parallel_sync_enabled = false
zimbra_activesync_search_max_results = 500
zimbra_activesync_syncstate_item_cache_heap_size = 10M
zimbra_activesync_versions = 2.0,2.1,2.5,12.0,12.1
zimbra_admin_service_port = 7071
zimbra_admin_service_scheme = https://
zimbra_admin_waitset_default_request_timeout = 300
zimbra_admin_waitset_max_request_timeout = 3600
zimbra_admin_waitset_min_request_timeout = 0
zimbra_archive_formatter_disable_timeout = true
zimbra_archive_formatter_search_chunk_size = 4096
zimbra_attrs_directory = ${zimbra_home}/conf/attrs
zimbra_auth_always_send_refer = false
zimbra_auth_provider = 
zimbra_authtoken_cache_size = 5000
zimbra_authtoken_cookie_domain = 
zimbra_blob_input_stream_buffer_size_kb = 1
zimbra_class_accessmanager = com.zimbra.cs.account.accesscontrol.ACLAccessManager
zimbra_class_application = com.zimbra.cs.util.ZimbraApplication
zimbra_class_attrmanager = com.zimbra.cs.account.AttributeManager
zimbra_class_customproxyselector = 
zimbra_class_database = com.zimbra.cs.db.MySQL
zimbra_class_datasourcemanager = com.zimbra.cs.datasource.DataSourceManager
zimbra_class_dbconnfactory = com.zimbra.cs.db.ZimbraConnectionFactory
zimbra_class_galgroupinfoprovider = com.zimbra.cs.gal.GalGroupInfoProvider
zimbra_class_index_store_factory = com.zimbra.cs.index.LuceneIndex$Factory
zimbra_class_ldap_client = com.zimbra.cs.ldap.unboundid.UBIDLdapClient
zimbra_class_mboxmanager = com.zimbra.cs.mailbox.MailboxManager
zimbra_class_provisioning = com.zimbra.cs.account.ldap.LdapProvisioning
zimbra_class_rulerewriterfactory = com.zimbra.cs.filter.RuleRewriterFactory
zimbra_class_soapsessionfactory = com.zimbra.soap.SoapSessionFactory
zimbra_class_store = com.zimbra.cs.store.file.FileBlobStore
zimbra_configrewrite_timeout = 120
zimbra_converter_depth_max = 100
zimbra_converter_enabled_tnef = true
zimbra_converter_enabled_uuencode = true
zimbra_csv_formatter_disable_timeout = true
zimbra_csv_mapping_file = ${zimbra_home}/conf/zimbra-contact-fields.xml
zimbra_dav_max_idle_time_ms = 0
zimbra_db_directory = ${zimbra_home}/db
zimbra_deregistered_authtoken_queue_size = 5000
zimbra_directory_max_search_result = 5000
zimbra_disk_cache_servlet_flush = true
zimbra_disk_cache_servlet_size = 1000
zimbra_enable_text_extraction = true
zimbra_ews_autodiscover_use_service_url = false
zimbra_extension_common_directory = ${zimbra_home}/lib/ext-common
zimbra_extension_directory = ${zimbra_home}/lib/ext
zimbra_gal_sync_disable_timeout = true
zimbra_galsync_index_reader_cache_size = 5
zimbra_gid = 499
zimbra_home = /opt/zimbra
zimbra_http_originating_ip_header = X-Forwarded-For
zimbra_im_chat_close_time = 3600
zimbra_im_chat_flush_time = 300
zimbra_index_deferred_items_failure_delay = 300
zimbra_index_directory = ${zimbra_home}/index
zimbra_index_disable_perf_counters = false
zimbra_index_elasticsearch_url_base = http://localhost:9200/
zimbra_index_lucene_io_impl = nio
zimbra_index_lucene_max_buffered_docs = 200
zimbra_index_lucene_max_merge = 2147483647
zimbra_index_lucene_max_terms_per_query = 50000
zimbra_index_lucene_merge_factor = 10
zimbra_index_lucene_merge_policy = true
zimbra_index_lucene_min_merge = 1000
zimbra_index_lucene_ram_buffer_size_kb = 10240
zimbra_index_lucene_term_index_divisor = 1
zimbra_index_lucene_use_compound_file = true
zimbra_index_max_readers = 35
zimbra_index_max_transaction_bytes = 5000000
zimbra_index_max_transaction_items = 100
zimbra_index_max_writers = 100
zimbra_index_reader_cache_size = 20
zimbra_index_reader_cache_ttl = 300
zimbra_index_rfc822address_max_token_count = 512
zimbra_index_rfc822address_max_token_length = 256
zimbra_index_threads = 10
zimbra_index_wildcard_max_terms_expanded = 20000
zimbra_java_home = /opt/zimbra/java
zimbra_java_path = java
zimbra_ldap_password = *
zimbra_ldap_user = zimbra
zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
zimbra_lmtp_max_line_length = 10240
zimbra_lmtp_validate_messages = true
zimbra_log4j_properties = ${zimbra_home}/conf/log4j.properties
zimbra_log_directory = ${zimbra_home}/log
zimbra_mail_service_port = 8080
zimbra_mailbox_active_cache = 500
zimbra_mailbox_change_checkpoint_frequency = 100
zimbra_mailbox_galsync_cache = 10000
zimbra_mailbox_groups = 100
zimbra_mailbox_inactive_cache = 30
zimbra_mailbox_lock_max_waiting_threads = 15
zimbra_mailbox_lock_readwrite = true
zimbra_mailbox_lock_timeout = 60
zimbra_mailbox_manager_hardref_cache = 2500
zimbra_minimize_resources = false
zimbra_mtareport_max_hosts = 50
zimbra_mtareport_max_users = 50
zimbra_mysql_connector_maxActive = 100
zimbra_mysql_password = *
zimbra_mysql_shutdown_timeout = 60
zimbra_mysql_user = zimbra
zimbra_nio_file_copy_chunk_size_kb = 512
zimbra_noop_default_timeout = 300
zimbra_noop_max_timeout = 1200
zimbra_noop_min_timeout = 30
zimbra_reindex_threads = 10
zimbra_relative_volume_path = false
zimbra_require_interprocess_security = 1
zimbra_rights_delegated_admin_supported = true
zimbra_rights_directory = ${zimbra_home}/conf/rights
zimbra_server_hostname = mail.<domain.dom>
zimbra_servlet_output_stream_buffer_size = 5120
zimbra_session_limit_admin = 5
zimbra_session_limit_imap = 15
zimbra_session_limit_soap = 5
zimbra_session_limit_sync = 5
zimbra_session_max_pending_notifications = 400
zimbra_session_timeout_soap = 600
zimbra_slow_logging_enabled = false
zimbra_slow_logging_threshold = 5000
zimbra_spam_report_queue_size = 100
zimbra_ssl_enabled = true
zimbra_store_copy_buffer_size_kb = 16
zimbra_store_directory = ${zimbra_home}/store
zimbra_store_sweeper_max_age = 480
zimbra_tmp_directory = ${zimbra_home}/data/tmp
zimbra_uid = 498
zimbra_user = zimbra
zimbra_vami_installmode = single
zimbra_vami_password = *
zimbra_vami_user = vmware
zimbra_waitset_default_request_timeout = 300
zimbra_waitset_initial_sleep_time = 1000
zimbra_waitset_max_per_account = 5
zimbra_waitset_max_request_timeout = 1200
zimbra_waitset_min_request_timeout = 30
zimbra_waitset_nodata_sleep_time = 3000
zimbra_zmjava_java_ext_dirs = 
zimbra_zmjava_java_library_path = 
zimbra_zmjava_options = -Xmx256m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.net.preferIPv4Stack=true
zimbra_zmprov_default_soap_server = localhost
zimbra_zmprov_default_to_ldap = false
zimlet_deploy_timeout = 10
zimlet_directory = ${zimbra_home}/zimlets-deployed
zmailbox_message_cachesize = 1
zmconfigd_enable_config_restarts = true
zmconfigd_interval = 60
zmconfigd_listen_port = 7171
zmconfigd_log_level = 3
zmconfigd_startup_pause = 60
zmdisklog_critical_threshold = 95
zmdisklog_warn_threshold = 85
zmprov_safeguarded_attrs = zimbraServiceEnabled,zimbraServiceInstalled
zmprov_tmp_directory = ${zimbra_tmp_directory}/zmprov
zmstat_df_excludes = 
zmstat_disk_interval = 600
zmstat_interval = 30
zmstat_max_retention = 0
zmtrainsa_cleanup_host = true

User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 313
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string:

Post by tonster »

xmana wrote:
tonster wrote:If I had to guess I'd say something is corrupt in your localconfig. Could you maybe pm me the output of the zmlocalconfig command?

Sent from my SM-G950U using Tapatalk
Kind time of day!

I am very grateful for the interest in my problem.
I also had thoughts about corrupted data zmlocalconfig.
Unfortunately, it was not possible to identify the problem visually.
I send the current configuration.
I would be grateful for the help in resolving this issue.

If necessary, ready to provide additional information.

[zimbra@mail ~]$ zmlocalconfig
Interesting. So it seems to be choking on a date somewhere (somehow it's getting 3|, leading me to believe some object has the date in a funny format, like 3|1|2018 instead of 3/1/2018).

Does using

Code: Select all

zmprov -l gaaa
work instead of

Code: Select all

zmprov gaaa
It might be interesting trying to track down where this rogue date is coming from...
xmana
Posts: 12
Joined: Tue Mar 21, 2017 12:58 pm

Re: Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string:

Post by xmana »

tonster wrote:
[overkvoting deleted]

Interesting. So it seems to be choking on a date somewhere (somehow it's getting 3|, leading me to believe some object has the date in a funny format, like 3|1|2018 instead of 3/1/2018).

Does using

Code: Select all

zmprov -l gaaa
work instead of

Code: Select all

zmprov gaaa
It might be interesting trying to track down where this rogue date is coming from...
hmm, already something...

Code: Select all

[zimbra@mail ~]$ zmprov -l gaaa
admin@<domain.dom>
<otheruser1>@<domain.dom>
<otheruser2>@<domain.dom>
<otheruser3>@<domain.dom>
<otheruser3>@<otherdomain.dom>

Code: Select all

[zimbra@mail ~]$ zmprov gaaa
ERROR: service.FAILURE (system failure: java.lang.NumberFormatException: For input string: "3|")
[zimbra@mail ~]$
possible, will assist in solving this problem, the following information:

Code: Select all

[root@mail log]# cat /var/log/yum.log
Jan 21 02:40:34 Installed: python34-libs-3.4.5-4.el6.x86_64
Jan 21 02:40:35 Installed: python34-3.4.5-4.el6.x86_64
Jan 21 02:40:35 Installed: python34-tkinter-3.4.5-4.el6.x86_64
Jan 21 02:40:35 Installed: python-srpm-macros-3-11.el6.noarch
Jan 21 02:40:35 Installed: python-rpm-macros-3-11.el6.noarch
Jan 21 02:40:35 Installed: python3-rpm-macros-3-11.el6.noarch
Jan 21 02:40:35 Updated: httpd-tools-2.2.15-60.el6.centos.6.x86_64
Jan 21 02:40:36 Updated: httpd-2.2.15-60.el6.centos.6.x86_64
Jan 21 02:40:36 Updated: 1:mod_ssl-2.2.15-60.el6.centos.6.x86_64
Jan 21 02:40:36 Installed: python34-devel-3.4.5-4.el6.x86_64
Jan 21 02:40:36 Installed: python34-tools-3.4.5-4.el6.x86_64
Mar 01 13:35:27 Installed: lsof-4.82-5.el6.x86_64
update and installation of packages were made during the work of letencrypt-auto renew (Jan 21 02:40)
xmana
Posts: 12
Joined: Tue Mar 21, 2017 12:58 pm

Re: Error executing CLI commands (system failure: java.lang.NumberFormatException: For input string:

Post by xmana »

xmana wrote:
tonster wrote: ...
This issue is solved.
The solution was found when moving the Zimbra to another server.

(all the following commands are executed when the Zimbra services are stopped)

exporting the ldap database:
/opt/zimbra/libexec/zmslapcat /opt/zimbra/data/ldap/mdb/db

backup of current database:
mv /opt/zimbra/data/ldap/mdb/db/data.mdb /opt/zimbra/data/ldap/mdb/db/data.mdb.bak

importing the ldap database:
/opt/zimbra/libexec/zmslapadd /opt/zimbra/data/ldap/mdb/db/ldap.bak

we get the following error:
str2entry: invalid value for attributeType zimbraLastLogonTimestamp

see what could be wrong:
cat /opt/zimbra/data/ldap/mdb/db/ldap.bak | grep zimbraLastLogonTimestamp

the first line shows a non-numeric value:
zimbraLastLogonTimestamp: 1948653|1514356
...

correcting the value and re-importing the data...

Perhaps someone will come in handy ...
Post Reply