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 04-10-2007, 07:52 AM
Intermediate Member
 
Posts: 22
Default Can't create users/aliases

I restored a zimbra backup a week ago and everything works correctly but today the logger crashed for some reason (don't know why, are there any "crash" logs?).

Now I have the problem that I can't create new mailboxes or aliases, if I try to do so I get following error message:

Code:
Message:  system failure: unable to create alias: [LDAP: error code 32 - No Such Object]
Error code:  service.FAILURE
Method:  ZmCsfeCommand.prototype.invoke
Details:soap:Receiver
I thought maybe the permissions are wrong but I fixed these by running
Code:
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms

Has anybody an idea why I can't create new objects in the ldap directory?


thanks!
Reply With Quote
  #2 (permalink)  
Old 04-10-2007, 08:18 AM
Advanced Member
 
Posts: 232
Default

Quote:
Originally Posted by voltcraft View Post

I thought maybe the permissions are wrong but I fixed these by running
Code:
chown -R zimbra:zimbra /opt/zimbra
/opt/zimbra/libexec/zmfixperms
Did you run the zmfixperms as root user? I can't say for sure but I think running chown -R zimbra:zimbra /opt/zimbra may not be a correct procedure.

What version of Zimbra are you running?
__________________
Cheers,

Travis

"Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
-Flight Control, Apollo 13
Reply With Quote
  #3 (permalink)  
Old 04-10-2007, 12:16 PM
Intermediate Member
 
Posts: 22
Default

Yes, I did. I think the permissions must be set correctly after running this command. But this doesn't solve the strange problem...

I ran a reinstallation of zimbra but the problem isn't solved...

Any idea?

Where can I find extended logs? For example why a daemon crashed and so on?

I figured out that only some domains have this strange problem. So I tried to delete the domain and it worked but I'm not able to delete the accounts completly so I can't add the domain again because zimbra says that there is already a domain with this name.

Last edited by voltcraft; 04-10-2007 at 01:52 PM..
Reply With Quote
  #4 (permalink)  
Old 04-10-2007, 02:35 PM
Advanced Member
 
Posts: 232
Default

What version of Zimbra are you running?
__________________
Cheers,

Travis

"Let's look at this from a standpoint of "Status". What exactly, on the Space Craft, IS working?"
-Flight Control, Apollo 13
Reply With Quote
  #5 (permalink)  
Old 04-24-2007, 07:57 AM
Intermediate Member
 
Posts: 22
Default

Currently I run version 4.5.3

If I do following I'll get an error from ldap, is there a way to remove the object completly?

Code:
prov> gaa
[] WARN: unable to list all objects
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=people,dc=xx,dc=xx'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3010)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
        at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
        at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
        at com.zimbra.cs.account.ldap.LdapProvisioning.searchObjects(LdapProvisioning.java:939)
        at com.zimbra.cs.account.ldap.LdapProvisioning.getAllAccounts(LdapProvisioning.java:3165)
        at com.zimbra.cs.account.ProvUtil.doGetAllAccounts(ProvUtil.java:715)
        at com.zimbra.cs.account.ProvUtil.doGetAllAccounts(ProvUtil.java:746)
        at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.java:376)
        at com.zimbra.cs.account.ProvUtil.interactive(ProvUtil.java:1387)
        at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:1452)
Reply With Quote
  #6 (permalink)  
Old 05-06-2007, 09:16 AM
Intermediate Member
 
Posts: 22
Default

Is there no way to delete these user accounts? I also tried to copy an account to another domain but now I have duplicated ids, for example one account foo@bar.com and one account with the same id foo@newbar.com. With zimbra it's impossible to remove these accounts.

In my ldap browser I can't see this account but it must exist, any idea how to delete that?

Ldapdelete gives me following error:

Quote:
ldapdelete -x -D "uid=zimbra,cn=admins,cn=zimbra" -w xxx "uid=user,ou=people,dc=foo,dc=bar"
ldap_delete: Internal (implementation specific) error (80)
additional info: could not locate parent of entry
What should I do to repair the database?

Quote:
ldapsearch -x -D "uid=zimbra,cn=admins,cn=zimbra" -w xxx-b "uid=user,ou=people,dc=foo,dc=bar"

dn: uid=user,ou=people,dc=foo,dc=bar
zimbraMailTransport: lmtp:mail.xxx.at:7025
givenName: Eva
zimbraMailDeliveryAddress: user@foo.at
sn: Bakalar
userPassword:: e1xxxxxxx
zimbraId: 481ae42b-cd0e-46b4-b11d-4a7dd8eb1bea
displayName: Name
objectClass: organizationalPerson
objectClass: zimbraAccount
objectClass: amavisAccount
uid: user
zimbraPasswordModifiedTime: 20070302163738Z
cn: Name
zimbraMailHost: mail.xxx.at
zimbraLastLogonTimestamp: 20070310212835Z
mail: user@foo.bar
zimbraAccountStatus: closed
zimbraMailStatus: disabled

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
Thanks!

Last edited by voltcraft; 05-06-2007 at 09:32 AM..
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.