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 04-16-2006, 08:52 PM
dee dee is offline
Junior Member
 
Posts: 7
Default 3.1 Upgrade Problems

This weekend, I upgraded my 3.0 Beta 3 install to 3.1 GA. (FC 4 Linux). The upgrade appeared to go smoothly, (i.e. no error messages), and the services are all running. I have stopped and started the services several times since the upgrade.

Before the upgrade, users could access zimbra either locally (as zimbra.ourdomain.local) or over the internet (as mail.ourdomain.com). Now, when a user goes to mail.ourdomain.com, the zimbra login screen displays. The user enters the login information, and then while logging in, the url changes to zimbra.ourdomain.local. This causes a 'page not found error' and stops the process.

When accessing zimbra on our local domain, users can log in, zimbra doesn't appear to be sending or receiving mail.

I think both of these problems are related to the server name, but I wanted to see if anyone has any other ideas?
Reply With Quote
  #2 (permalink)  
Old 04-16-2006, 09:00 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Hi Dee,
It defenetly sounds like you got some DNS issues.

zimbra.ourdomain.local
mail.ourdomain.com

I'm curious, could users access your domain inside your network using mail.ourdomain.com before the upgrade?

Like I said, it looks like a DNS problem. Are DNS Lookups enabled?

Are you using port mapping to get users from the outside into the inside machine correctly?

Also, run a zmlocalconfig and post that. You can blotch out the actual domain.

thx
jh

Last edited by jholder : 04-16-2006 at 09:02 PM. Reason: speeeling.
Reply With Quote
  #3 (permalink)  
Old 04-16-2006, 10:25 PM
Zimbra Employee
 
Posts: 4,784
Default

You can add ?redirect=0 to stop the redirect. We plan to make this more configurable in the future.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #4 (permalink)  
Old 04-17-2006, 12:20 AM
Senior Member
 
Posts: 56
Default redirect problem

Hi,

I experienced the same problem (The url http://mail.abc.com) . In 3.01, it would not redirect to http://abc.com in the past (As abc.com is aliases to other stuff already, I can't change the DNS setting). Users just need to typed mail.abc.com to access it without any problems. Kevin suggested to add ?redirect=0 at the end of URL but users are already used to use that URL to login. May I ask is there any setting to do at server side which users don't need to insert such parameter?

Thomas

Quote:
Originally Posted by KevinH
You can add ?redirect=0 to stop the redirect. We plan to make this more configurable in the future.
Reply With Quote
  #5 (permalink)  
Old 04-17-2006, 06:21 AM
dee dee is offline
Junior Member
 
Posts: 7
Default

Thanks for the responses...

In answer to the questions raised:

- Users logged into our network could access zimbra using either URL. In practice, most used the mail.ourdomain.com everywhere b/c they used a saved shortcut.

- DNS lookups were enabled before the upgrade and still are.

- We are using port mapping to go from the internet through our firewall to the zimbra server.

The zmlocalconfig is:

[zimbra@zimbra ~]$ zmlocalconfig
av_notify_user = admin@zimbra.ourdomain.local
ldap_connect_pool_debug = false
ldap_connect_pool_initsize = 1
ldap_connect_pool_maxsize = 25
ldap_connect_pool_prefsize = 0
ldap_connect_pool_timeout = 120000
ldap_connect_timeout = 10000
ldap_host =
ldap_is_master = true
ldap_log_level = 0
ldap_master_url = ldap://zimbra.ourdomain.local:389
ldap_port =
ldap_root_password = *
ldap_url = ldap://zimbra.ourdomain.local
localized_msgs_directory = ${zimbra_home}/conf/msgs
logger_mysql_bind_address = localhost
logger_mysql_data_directory = ${zimbra_home}/logger/db/data
logger_mysql_directory = ${zimbra_home}/logger/mysql
logger_mysql_mycnf = ${zimbra_home}/conf/my.logger.cnf
logger_mysql_pidfile = ${zimbra_home}/logger/db/mysql.pid
logger_mysql_port = 7307
logger_mysql_socket = ${zimbra_home}/logger/db/mysql.sock
mysql_bind_address = localhost
mysql_data_directory = ${zimbra_db_directory}/data
mysql_directory = ${zimbra_home}/mysql
mysql_innodb_log_buffer_size = 8388608
mysql_innodb_log_file_size = 104857600
mysql_logger_root_password = *
mysql_memory_percent = 40
mysql_mycnf = ${zimbra_home}/conf/my.cnf
mysql_pidfile = ${zimbra_db_directory}/mysql.pid
mysql_port = 7306
mysql_read_buffer_size = 1048576
mysql_root_password = *
mysql_socket = ${zimbra_db_directory}/mysql.sock
mysql_sort_buffer_size = 1048576
mysql_table_cache = 500
nio_imap_enable = false
nio_imap_log_buffers = false
postfix_alias_maps = hash:/etc/aliases
postfix_broken_sasl_auth_clients = yes
postfix_command_directory = /opt/zimbra/postfix-${postfix_version}/sbin
postfix_daemon_directory = /opt/zimbra/postfix-${postfix_version}/libexec
postfix_header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
postfix_mailq_path = /opt/zimbra/postfix-${postfix_version}/sbin/mailq
postfix_manpage_directory = /opt/zimbra/postfix-${postfix_version}/man
postfix_newaliases_path = /opt/zimbra/postfix-${postfix_version}/sbin/newaliases
postfix_queue_directory = /opt/zimbra/postfix-${postfix_version}/spool
postfix_sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
postfix_sendmail_path = /opt/zimbra/postfix-${postfix_version}/sbin/sendmail
postfix_smtpd_client_restrictions = reject_unauth_pipelining
postfix_smtpd_data_restrictions = reject_unauth_pipelining
postfix_smtpd_helo_required = yes
postfix_smtpd_tls_cert_file = ${zimbra_home}/conf/smtpd.crt
postfix_smtpd_tls_key_file = ${zimbra_home}/conf/smtpd.key
postfix_smtpd_tls_loglevel = 3
postfix_transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
postfix_version = 2.2.9
postfix_virtual_alias_domains = ldap://opt/zimbra/conf/ldap-vad.cf
postfix_virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
postfix_virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
postfix_virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
postfix_virtual_transport = error
smtp_destination = admin@zimbra.ourdomain.local
smtp_notify = yes
smtp_source = admin@zimbra.ourdomain.local
snmp_notify = yes
snmp_trap_host = zimbra.ourdomain.local
ssl_allow_untrusted_certs = TRUE
stats_img_folder = ${zimbra_home}/zimbramon/rrdtool/work
tomcat_directory = ${zimbra_home}/tomcat
tomcat_java_heap_memory_percent = 30
tomcat_java_home = ${zimbra_java_home}
tomcat_java_options = -client -XX:NewRatio=2
tomcat_keystore = ${tomcat_directory}/conf/keystore
tomcat_pidfile = ${zimbra_log_directory}/tomcat.pid
wiki_enabled = false
wiki_user = wiki
zimbra_db_directory = ${zimbra_home}/db
zimbra_extension_directory = ${zimbra_home}/lib/ext
zimbra_gid = 501
zimbra_home = /opt/zimbra
zimbra_index_directory = ${zimbra_home}/index
zimbra_index_idle_flush_time = 600
zimbra_index_lru_size = 100
zimbra_index_max_uncommitted_operations = 200
zimbra_java_home = ${zimbra_home}/java
zimbra_ldap_password = *
zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
zimbra_log4j_properties = ${zimbra_home}/conf/log4j.properties
zimbra_log_directory = ${zimbra_home}/log
zimbra_logger_mysql_password = *
zimbra_mtareport_max_recipients = 50
zimbra_mtareport_max_senders = 50
zimbra_mysql_connector_maxActive = 16
zimbra_mysql_password = *
zimbra_mysql_user = zimbra
zimbra_server_hostname = zimbra.ourdomain.local
zimbra_spam_report_queue_size = 100
zimbra_store_directory = ${zimbra_home}/store
zimbra_store_sweeper_max_age = 480
zimbra_tmp_directory = /tmp/zimbra
zimbra_uid = 501
zimbra_user = zimbra
zimlet_directory = ${tomcat_directory}/webapps/service/zimlet
[zimbra@zimbra ~]$

The ?redirect=0 solves the problem of zimbra changing the URL from the "internet" URL to the "local" URL during logon. Still have the problem of not being able to send or receive mail.

I just double checked, and all services are running.

I'm stumped.
Reply With Quote
  #6 (permalink)  
Old 04-17-2006, 09:38 AM
Zimbra Employee
 
Posts: 4,784
Default

Please file a bug in bugzilla to add an option for the redirect name to be set/configured on the server side.


@dee please post the log of a test to send/recv mail from /var/log/zimbra.log
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #7 (permalink)  
Old 04-17-2006, 11:51 AM
dee dee is offline
Junior Member
 
Posts: 7
Default Shorter log output

I just sent another test message and tailed the logfile.

Here's the output:

2006-04-17 13:48:13,054 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] zimlet - Zimlet not found: /opt/zimbra/tomcat/webap ps/service/zimlet/com_zimbra_sforce
2006-04-17 13:48:13,055 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] zimlet - Zimlet not found: /opt/zimbra/tomcat/webap ps/service/zimlet/com_zimbra_po
2006-04-17 13:48:13,056 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] zimlet - Zimlet not found: /opt/zimbra/tomcat/webap ps/service/zimlet/com_zimbra_bugz
2006-04-17 13:48:13,103 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] zimlet - cannot find zimlet com_zimbra_sforce
2006-04-17 13:48:13,103 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] zimlet - cannot find zimlet com_zimbra_po
2006-04-17 13:48:13,103 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] zimlet - cannot find zimlet com_zimbra_bugz
2006-04-17 13:48:38,674 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] SendMsg - <SendMsg> LC(mbox=d88e4ed8-46b0-4b6c-8a95 -6177a751679b, sessions=[9])
2006-04-17 13:48:38,693 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] FileBlobStore - Stored size=300 wrote=300 path=/opt /zimbra/store/incoming/1145274952321-3.msg vol=1 digest=PfpLERQ25W61CypHHz8LZmbv TYc=
2006-04-17 13:48:38,693 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] FileBlobStore - Renamed id=1023 mbox=7 oldpath=/opt /zimbra/store/incoming/1145274952321-3.msg newpath=/opt/zimbra/store/0/7/msg/0/1 023-1504.msg
2006-04-17 13:48:38,713 INFO [http-443-Processor99] [mid=7;ip=192.168.141.254;n ame=cameron@themccraws.com;] mailbox - Added message id=1023 digest=PfpLERQ25W61 CypHHz8LZmbvTYc= mailbox=7 rcpt=:API:
2006-04-17 13:48:45,249 INFO [Timer-0] [] stats - 04/17/2006 13:48:45,,,,,,12,0 .50,14,0.43,1,35.00,,1.00,6,45.83,,,,,0.00,82.928, 0,19,10,1,151,72,,0,0,0,0
2006-04-17 13:48:47,830 INFO [IndexWritersSweeper] [] MailboxIndex - open index writers sweep: before=1, closed=0, after=1 (0ms)
2006-04-17 13:49:45,247 INFO [Timer-0] [] stats - 04/17/2006 13:49:45,,,,,,8,0.25,,,,,,,,,,,,,,82.928,0,19,10,1 ,151,94,,0,0,0,0
Reply With Quote
  #8 (permalink)  
Old 04-17-2006, 01:08 PM
Zimbra Employee
 
Posts: 4,784
Default

Wrong log file... /var/log/zimbra.log
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #9 (permalink)  
Old 04-17-2006, 03:11 PM
dee dee is offline
Junior Member
 
Posts: 7
Default

Oops

tailed the correct log file and sent a test message...

[root@zimbra log]# tail -f zimbra.log
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: antivirus: Running
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: ldap: Running
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: logger: Running
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: mailbox: Running
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: mta: Running
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: snmp: Running
Apr 17 17:06:03 zimbra zimbramon[13241]: 13241:info: 2006-04-17 17:06:01, STATUS: zimbra.mccrawcorp.local: spell: Running
Apr 17 17:07:22 zimbra postfix/anvil[12434]: statistics: max connection rate 1/60s for (smtp:72.2.29.36) at Apr 17 17:04:02
Apr 17 17:07:22 zimbra postfix/anvil[12434]: statistics: max connection count 1 for (smtp:72.2.29.36) at Apr 17 17:04:02
Apr 17 17:07:22 zimbra postfix/anvil[12434]: statistics: max cache size 1 at Apr 17 17:04:02
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: antispam: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: antivirus: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: ldap: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: logger: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: mailbox: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: mta: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: snmp: Running
Apr 17 17:08:03 zimbra zimbramon[14092]: 14092:info: 2006-04-17 17:08:01, STATUS: zimbra.mccrawcorp.local: spell: Running
Apr 17 17:09:04 zimbra postfix/smtpd[14635]: initializing the server-side TLS engine
Apr 17 17:09:04 zimbra postfix/smtpd[14635]: connect from zimbra.mccrawcorp.local[192.168.141.15]
Apr 17 17:09:04 zimbra postfix/smtpd[14635]: 45751A85CD: client=zimbra.mccrawcorp.local[192.168.141.15]
Apr 17 17:09:04 zimbra postfix/cleanup[14638]: 45751A85CD: message-id=<13912225.121145308144186.JavaMail.root@zimbra. mccrawcorp.local>
Apr 17 17:09:04 zimbra postfix/qmgr[3030]: 45751A85CD: from=<cameron@themccraws.com>, size=509, nrcpt=1 (queue active)
Apr 17 17:09:04 zimbra postfix/smtpd[14635]: disconnect from zimbra.mccrawcorp.local[192.168.141.15]
Apr 17 17:09:04 zimbra amavis[29808]: (29808-02) ESMTP::10024 /opt/zimbra/amavisd/tmp/amavis-20060417T164232-29808: <cameron@themccraws.com> -> <dm@mxsw.com> Received: SIZE=509 from zimbra.mccrawcorp.local ([127.0.0.1]) by localhost (zimbra.mccrawcorp.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29808-02 for <dm@mxsw.com>; Mon, 17 Apr 2006 17:09:04 -0400 (EDT)
Apr 17 17:09:04 zimbra amavis[29808]: (29808-02) ESMTP ABORTING: Can't write to mail file: Bad file descriptor at (eval 40) line 585, <GEN6> chunk 7.
Apr 17 17:09:04 zimbra amavis[29808]: (29808-02) ESMTP: NOTICE: ABORTING the session: Can't write to mail file: Bad file descriptor at (eval 40) line 585, <GEN6> chunk 7.
Apr 17 17:09:04 zimbra amavis[29808]: (29808-02) extra modules loaded: Net/LDAP/Bind.pm
Apr 17 17:09:04 zimbra postfix/smtp[14639]: 45751A85CD: to=<dm@mxsw.com>, relay=127.0.0.1[127.0.0.1], delay=0, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, Can't write to mail file: Bad file descriptor at (eval 40) line 585, <GEN6> chunk 7. (in reply to end of DATA command))
Reply With Quote
  #10 (permalink)  
Old 04-17-2006, 04:32 PM
Zimbra Employee
 
Posts: 4,784
Default

df -lk

Out of disk space? Or a problem with the tmpfs that amavis uses?

Apr 17 17:09:04 zimbra amavis[29808]: (29808-02) ESMTP ABORTING: Can't write to mail file: Bad file descriptor at (eval 40) line 585, <GEN6> chunk 7.
Apr 17 17:09:04 zimbra amavis[29808]: (29808-02) ESMTP: NOTICE: ABORTING the session: Can't write to mail file: Bad file descriptor at (eval 40) line 585, <GEN6> chunk 7.
__________________
Bugzilla - Wiki - Downloads - Offline Client
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