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 Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-2006, 10:59 AM
Intermediate Member
 
Posts: 15
Default Weird Problem with M3_381

Just updated the M2 version to M3_381 build to test it out. The OS is FC4 ran the upgrade with no problems. Started testing the build out checking to see if the bugs I discoveried were fixed (they were) then I went to the admin side of things and noticed the MTA service wasn't running.

Now I thought this was odd cause I was sending and recieving emails throughout my test, and after seeing this I tried sending and receiving emails again and it works.

So while my MTA isn't running I am somehow processing email to and from Zimbra.

Anyways I tried to restart it to see if I get any error messages that I can use to fix it. Here is what I got.

Code:
Host box.puregamer.com
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting mta...FAILED
getService: sasl
getService: perdition
DO: /opt/zimbra/postfix/sbin/postconf -e content_filter='smtp-amavis:[127.0.0.1]:10024'
DO: /opt/zimbra/postfix/sbin/postconf -e myhostname='box.puregamer.com'
DO: /opt/zimbra/postfix/sbin/postconf -e recipient_delimiter=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_sasl_auth_enable='yes'
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_tls_auth_only='yes'
DO: /opt/zimbra/postfix/sbin/postconf -e disable_dns_lookups='no'
DO: /opt/zimbra/postfix/sbin/postconf -e message_size_limit='10240000'
DO: /opt/zimbra/postfix/sbin/postconf -e relayhost=''
DO: /opt/zimbra/postfix/sbin/postconf -e smtpd_recipient_restrictions='reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit'
saslauthd[22524] :set_auth_mech   : failed to initialize mechanism zimbra


        Starting snmp...Done.
        Starting spell...Done.
As I have stated email still works both ways so I don't know exactly what is going on and I will admit my Linux knowledge and understanding is limited.

For me this isn't a big issue as for some reason its still working for me even if it says its not. If you need more information let me know I will try to provide the info you need.

PS. Great program here even with my limited knowledge of Linux from start to stop installing Linux and Zimbra was a breeze. Had a little issues during the install but nothing that coming here and searching the forums didn't answer.

Jay
Reply With Quote
  #2 (permalink)  
Old 01-04-2006, 11:07 AM
Zimbra Employee
 
Posts: 2,103
Default postfix

Postfix is probably running, but not the zimbra version - ps auxww | grep postfix may find it. Could be a version from pre-upgrade running.

Or is could be sasl.

Try:
zmcontrol stop
ps auxww | grep zimbra - kill anything left
zmcontrol start
Reply With Quote
  #3 (permalink)  
Old 01-04-2006, 11:46 AM
Intermediate Member
 
Posts: 15
Default

Quote:
zmcontrol stop
ps auxww | grep zimbra - kill anything left
zmcontrol start
Tried this same thing MTA won't run or says its not running when it really is.

After Zimbra is stopped I looked for a running postfix nothing was found. When I looked for it while zimbra is running it find it under the /opt/zimbra directories.

ps auxww | grep postfix - returns (while Zimbra is running)
Code:
[zimbra@box ~]$ ps auxww | grep postfix
root      4997  0.0  0.1   6672  1800 ?        Ss   14:42   0:00 /opt/zimbra/postfix-2.2.5/libexec/master
postfix   5033  0.0  0.1   6720  1764 ?        S    14:42   0:00 pickup -l -t fi fo -u
postfix   5034  0.0  0.1   6748  1796 ?        S    14:42   0:00 qmgr -l -t fifo  -u
postfix   5498  0.0  0.1   6720  1764 ?        S    14:42   0:00 showq -t unix - u
zimbra    6029  0.0  0.0   1684   500 pts/1    R+   14:43   0:00 grep postfix
Reply With Quote
  #4 (permalink)  
Old 01-04-2006, 11:51 AM
Zimbra Employee
 
Posts: 2,103
Default problem solved

Someone walked into my office 5 minutes after I sent that email, same problem.

zmprov ms zimbraMtaAuthHost <hostname of zimbra store server>
zmsaslauthdctl start
Reply With Quote
  #5 (permalink)  
Old 01-04-2006, 12:27 PM
Intermediate Member
 
Posts: 15
Default

Quote:
zmprov ms zimbraMtaAuthHost <hostname of zimbra store server>
zmsaslauthdctl start
That worked I didn't have zimbraMtaAuthHost set at all. Once I added that field and value works fine, shows the MTA service running. One more thing to add to my notebook about Zimbra

Thanks Marcmac
Reply With Quote
  #6 (permalink)  
Old 01-04-2006, 12:49 PM
Intermediate Member
 
Posts: 15
Default

Just to let you know I had the same problem on both of my boxes. Both computers were upgrades from the same M2 version. Same fix worked on both computers as well.

Again running Fedora Core 4.
Reply With Quote
  #7 (permalink)  
Old 02-21-2006, 11:51 PM
Advanced Member
 
Posts: 203
Default

Quote:
Originally Posted by Awol
Just to let you know I had the same problem on both of my boxes. Both computers were upgrades from the same M2 version. Same fix worked on both computers as well.

Again running Fedora Core 4.

Tried it so close but no cigar mabey cause i am using fedora 3 same upgrade from m2 to ga or mabey i do not know my mailbox store hostname tried shoemasters.com and localhost but those do not work


Code:
[zimbra@shoemasters bin]$ zmprov ms zimbraMtaAuthHost localhost
zmprov [cmd] [args ...]

  CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]
  DeleteAccount(da) {name@domain|id}
  GetAccount(ga) {name@domain|id}
  GetAllAccounts(gaa) [-v] [{domain}]
  GetAllAdminAccounts(gaaa) [-v]
  ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]
  SetPassword(sp) {name@domain|id} {password}
  AddAccountAlias(aaa) {name@domain|id} {alias@domain}
  RemoveAccountAlias(raa) {name@domain|id} {alias@domain}
  SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}
  SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]
  SearchGal(sg) {domain} {name}
  RenameAccount(ra) {name@domain|id} {newName@domain}

  CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]
  DeleteDomain(dd) {domain|id}
  GetDomain(gd) {domain|id}
  GetAllDomains(gad) [-v]
  ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]
  GenerateDomainPreAuthKey(gdpak) {domain|id}
  GenerateDomainPreAuth(gdpa) {domain|id} {name} {name|id|foreignPrincipal} {timestamp|0} {expires|0}

  CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]
  DeleteCos(dc) {name|id}
  GetCos(gc) {name|id}
  GetAllCos(gac) [-v]
  ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]
  RenameCos(rc) {name|id} {newName}

  CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]
  DeleteServer(ds) {name|id}
  GetServer(gs) {name|id}
  GetAllServers(gas) [-v]
  ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]

  GetAllConfig(gacf)
  GetConfig(gcf) {name}
  ModifyConfig(mcf) attr1 value1 [attr2 value2...]

  CreateDistributionList(cdl) {list@domain}
  GetAllDistributionLists(gadl) [-v]
  GetDistributionList(gdl) {list@domain|id}
  ModifyDistributionList(mdl) {list@domain|id} attr1 value1 [attr2 value2...]
  DeleteDistributionList(ddl) {list@domain|id}
  AddDistributionListMember(adlm) {list@domain|id} {member@domain}
  RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}
  AddDistributionListAlias(adla) {list@domain|id} {alias@domain}
  RemoveDistributionListAlias(rdla) {list@domain|id} {alias@domain}
  RenameDistributionList(rdl) {list@domain|id} {newName@domain}

  exit (quit)
  help (?)

[zimbra@shoemasters bin]$ zmsaslauthdctl start
saslauthd[30646] :set_auth_mech   : failed to initialize mechanism zimbra
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote
  #8 (permalink)  
Old 02-22-2006, 07:00 AM
Zimbra Employee
 
Posts: 2,103
Default

What kills me about posts like this is that NOBODY READS THE ERROR MESSAGES. Lots of text on the screen, must be busted, I'll ask the forums.

For the record, IMHO, zmprov has quite useful help text.

You'll see that it contains this line:
ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]

Which, read carefully, indicates that the "ms" command requires, as it's first argument, a server name.
Reply With Quote
  #9 (permalink)  
Old 02-22-2006, 01:25 PM
Advanced Member
 
Posts: 203
Default

Sorry for killing u with posts but i thought localhost was a server name i also tried shoemasters.com then entered an id luck@computerking.ca. I read the entire command section in the zimbra manual regarding the zmprov ms command as far as i can tell this should work but not sure about the exact syntax does name|id mean servername account id do i need a password?. Tried a bunch of stuff because i feel like an dumbass posting to this thread again. Honestly i have read and reread everthing but still am having problems a simple example PLEASE.

Thank u in advance and again sorry for the lame post

[zimbra@shoemasters installfiles]$ zmprov ms localhost luck@computerking.ca zimbraMtaAuthHost
ERROR: account.NO_SUCH_SERVER (no such server: localhost)

[zimbra@shoemasters installfiles]$ zmprov ms shoemasters.com luck@computerking.ca zimbraMtaAuthHost
[] WARN: checkValue: no attribute info for: luck@computerking.ca
ERROR: account.INVALID_ATTR_NAME (invalid attr name) (cause: javax.naming.directory.InvalidAttributeIdentifierE xception [LDAP: error code 17 - luck@computerking.ca: AttributeDescription contains inappropriate characters])

[zimbra@shoemasters installfiles]$ zmprov ms 127.0.0.1 luck@computerking.ca zimbraMtaAuthHost
ERROR: account.NO_SUCH_SERVER (no such server: 127.0.0.1)
[zimbra@shoemasters installfiles]$ zmprov ms shoemasters.com zimbraMtaAuthHost zmprov [cmd] [args ...]
__________________
Computer King

http://www.computerking.ca

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/lin...affiliates.htm
Reply With Quote
  #10 (permalink)  
Old 02-22-2006, 01:30 PM
Zimbra Employee
 
Posts: 2,103
Default

dude
zmprov ms SERVERNAME zimbraMtaAuthHost HOSTNAME

hostname, servername should't have an '@' sign in them
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.