Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Weird Problem with M3_381

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    15
    Rep Power
    9

    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

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    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

  3. #3
    Join Date
    Jan 2006
    Posts
    15
    Rep Power
    9

    Default

    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

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    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

  5. #5
    Join Date
    Jan 2006
    Posts
    15
    Rep Power
    9

    Default

    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

  6. #6
    Join Date
    Jan 2006
    Posts
    15
    Rep Power
    9

    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.

  7. #7
    Join Date
    Sep 2005
    Location
    Calgary
    Posts
    208
    Rep Power
    10

    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

  8. #8
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    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.

  9. #9
    Join Date
    Sep 2005
    Location
    Calgary
    Posts
    208
    Rep Power
    10

    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

  10. #10
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    dude
    zmprov ms SERVERNAME zimbraMtaAuthHost HOSTNAME

    hostname, servername should't have an '@' sign in them

Similar Threads

  1. Weird problem with reply
    By dbo in forum Users
    Replies: 0
    Last Post: 11-08-2006, 08:37 AM
  2. weird SPAM problem
    By kjohnson in forum Administrators
    Replies: 6
    Last Post: 08-02-2006, 06:55 PM
  3. 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
  •