Results 1 to 1 of 1

Thread: Admin site stops loading

  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Rep Power
    7

    Default [SOLVED] Admin site stops loading

    I upgrade form 4.5.6 to 4.5.9 and everything seems to work fine for a day including the admin site.

    Now it stops loading, i looked at several log and found the following errors:

    Every time i try to logon the admin site the following errors occur:
    in /var/log/zimbra.log

    Nov 1 23:12:27 mail slapd[21718]: is_entry_objectclass("", "2.16.840.1.113730.3.2.6") no objectClass attribute
    Nov 1 23:12:40 mail slapd[21718]: is_entry_objectclass("", "2.16.840.1.113730.3.2.6") no objectClass attribute

    In /opt/zimbra/log/mailbox.log the following errors are occuring:

    2007-11-01 23:47:04,556 INFO [http-7071-Processor46] [name=admin@mail.vliegende-hollander-groep.nl;ip=192.168.1.10;ua=ZimbraWebClient - IE6 (Win);] SoapEngine - handler exception
    com.zimbra.common.service.ServiceException: system failure: createLDAPEntry
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:165)
    at com.zimbra.ldaputils.CreateLDAPEntry.createSubcont ext(CreateLDAPEntry.java:119)
    at com.zimbra.ldaputils.CreateLDAPEntry.createLDAPEnt ry(CreateLDAPEntry.java:85)
    at com.zimbra.ldaputils.CreateLDAPEntry.handle(Create LDAPEntry.java:61)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:266)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:163)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:85)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:220)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=groups,dc=gregzimbra1,dc=zimbra,dc=com'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3030)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2951)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2758)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapC tx.java:774)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_cre ateSubcontext(ComponentDirContext.java:319)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.createSubcontext(PartialCompositeDirContext.java :248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.createSubcontext(PartialCompositeDirContext.java :236)
    at javax.naming.directory.InitialDirContext.createSub context(InitialDirContext.java:178)
    at com.zimbra.ldaputils.CreateLDAPEntry.createSubcont ext(CreateLDAPEntry.java:105)
    ... 24 more

    Any idea what there could be wrong everything else seems to work fine

    Regards

    AV


    ================================================== =======================
    I Solved the problem, i forgot i had experimented with the samba zimlet after a undeploy of this zimlet everything looks fine now

    if(ZaItem) {
    ZaItem.SAMBA_SAM_ACCOUNT = "sambaSamDomain";
    }
    function ZaSambaGroupMapping(app) {
    if (arguments.length == 0) return;
    ZaItem.call(this, app,"ZaSambaGroupMapping");
    this.type = ZaItem.SAMBA_SAM_ACCOUNT;
    this._init(app);
    }

    ZaSambaGroupMapping.A_isSpecialNTGroup = "isSpecialNTGroup";
    ZaSambaGroupMapping.A_specialNTGroupType = "specialNTGroupType";
    ZaSambaGroupMapping.A_sambaDomainSID = "sambaDomainSID";
    ZaSambaGroupMapping.A_sambaSID = "sambaSID";
    ZaSambaGroupMapping.A_sambaGroupType = "sambaGroupType";
    ZaSambaGroupMapping.A_displayName = "displayName";

    ZaSambaGroupMapping.Domain_Admins = 512;
    ZaSambaGroupMapping.Domain_Users = 513;
    ZaSambaGroupMapping.Domain_Guests = 514;
    ZaSambaGroupMapping.Domain_Computers = 515;
    ZaSambaGroupMapping.Domain_Controllers = 516;
    ZaSambaGroupMapping.Domain_Certificate_Admins = 517;
    ZaSambaGroupMapping.Domain_Schema_Admins = 518;
    ZaSambaGroupMapping.Domain_Enterprise_Admins = 519;
    ZaSambaGroupMapping.Domain_Policy_Admins = 520;
    ZaSambaGroupMapping.Builtin_Admins = 544;
    ZaSambaGroupMapping.Builtin_users = 545;
    ZaSambaGroupMapping.Builtin_Guests = 546;
    ZaSambaGroupMapping.Builtin_Power_Users = 547;
    ZaSambaGroupMapping.Builtin_Account_Operators = 548;
    ZaSambaGroupMapping.Builtin_System_Operators = 549;
    ZaSambaGroupMapping.Builtin_Print_Operators = 550;
    ZaSambaGroupMapping.Builtin_Backup_Operators = 551;
    ZaSambaGroupMapping.Builtin_Replicator = 552;
    ZaSambaGroupMapping.Builtin_RAS_Servers = 553;

    if(ZaPosixGroup.myXModel && ZaPosixGroup.myXModel.items) {
    ZaPosixGroup.myXModel.items.push({id:ZaSambaGroupM apping.A_isSpecialNTGroup,type:_NUMBER_, defaultValue:0,ref:ZaSambaGroupMapping.A_isSpecial NTGroup});
    ZaPosixGroup.myXModel.items.push({id:ZaSambaGroupM apping.A_specialNTGroupType,type:_NUMBER_, defaultValue:0,ref:ZaSambaGroupMapping.A_specialNT GroupType});
    ZaPosixGroup.myXModel.items.push({id:ZaSambaGroupM apping.A_sambaDomainSID,type:_STRING_,ref:ZaSambaG roupMapping.A_sambaDomainSID});

    ZaPosixGroup.myXModel.items.push({id:ZaSambaGroupM apping.A_sambaGroupType,type:_NUMBER_, defaultValue:2,ref:"attrs/"+ZaSambaGroupMapping.A_sambaGroupType,required:tru e});
    ZaPosixGroup.myXModel.items.push({id:ZaSambaGroupM apping.A_sambaSID,type:_STRING_,ref:"attrs/"+ZaSambaGroupMapping.A_sambaSID,required:true});
    ZaPosixGroup.myXModel.items.push({id:ZaSambaGroupM apping.A_displayName,type:_STRING_,ref:"attrs/"+ZaSambaGroupMapping.A_displayName});
    }

    ZaSambaGroupMapping.specialNTGorupChoices = [
    {value:ZaSambaGroupMapping.Domain_Admins, label:"Domain Admins"},
    {value:ZaSambaGroupMapping.Domain_Users, label:"Domain Users"},
    {value:ZaSambaGroupMapping.Domain_Guests, label:"Domain Guests"},
    {value:ZaSambaGroupMapping.Domain_Computers, label:"Domain Computers"},
    {value:ZaSambaGroupMapping.Domain_Controllers, label:"Domain Controllers"},
    {value:ZaSambaGroupMapping.Domain_Certificate_Admi ns, label:"Domain Certificate Admins"},
    {value:ZaSambaGroupMapping.Domain_Schema_Admins, label:"Domain Schema Admins"},
    {value:ZaSambaGroupMapping.Domain_Enterprise_Admin s, label:"Domain Enterprise Admins"},
    {value:ZaSambaGroupMapping.Domain_Policy_Admins, label:"Domain Policy Admins"},
    {value:ZaSambaGroupMapping.Builtin_Admins, label:"Builtin Admins"},
    {value:ZaSambaGroupMapping.Builtin_users, label:"Builtin users"},
    {value:ZaSambaGroupMapping.Builtin_Guests, label:"Builtin Guests"},
    {value:ZaSambaGroupMapping.Builtin_Power_Users, label:"Builtin Power Users"},
    {value:ZaSambaGroupMapping.Builtin_Account_Operato rs, label:"Builtin Account Operators"},
    {value:ZaSambaGroupMapping.Builtin_System_Operator s, label:"Builtin System Operators"},
    {value:ZaSambaGroupMapping.Builtin_Print_Operators , label:"Builtin Print Operators"},
    {value:ZaSambaGroupMapping.Builtin_Backup_Operator s, label:"Builtin Backup Operators"},
    {value:ZaSambaGroupMapping.Builtin_Replicator, label:"Builtin Replicator"},
    {value:ZaSambaGroupMapping.Builtin_RAS_Servers, label:"Builtin RAS Servers"}
    ];

    ZaSambaGroupMapping.loadMethod = function(by, val, withCos) {
    if(this.attrs && this.attrs[ZaSamAccount.A_sambaSID]) {
    var chunks = this.attrs[ZaSamAccount.A_sambaSID].split("-");
    var groupRid = parseInt(chunks.pop());
    if(
    (groupRid >=ZaSambaGroupMapping.Domain_Admins &&
    groupRid <=ZaSambaGroupMapping.Domain_Policy_Admins) ||
    (groupRid >=ZaSambaGroupMapping.Builtin_Admins &&
    groupRid <=ZaSambaGroupMapping.Builtin_RAS_Servers)
    ) {
    this[ZaSambaGroupMapping.A_isSpecialNTGroup] = 1;
    } else {
    this[ZaSambaGroupMapping.A_isSpecialNTGroup] = 0;
    }
    }
    }

    if(ZaItem.loadMethods["ZaPosixGroup"]) {
    ZaItem.loadMethods["ZaPosixGroup"].push(ZaSambaGroupMapping.loadMethod);
    }

    ZaSambaGroupMapping.initMethod = function (app) {
    this.attrs[ZaItem.A_objectClass].push("sambaGroupMapping");
    }
    if(ZaItem.initMethods["ZaPosixGroup"]) {
    ZaItem.initMethods["ZaPosixGroup"].push(ZaSambaGroupMapping.initMethod);
    }

    if(ZaTabView.XFormModifiers["ZaPosixGroupXFormView"]) {
    ZaSambaGroupMapping.myXFormModifier = function (xFormObject) {
    var cnt = xFormObject.items.length;
    var i = 0;
    for(i = 0; i if(xFormObject.items[i].type=="switch")
    break;
    }
    cnt = xFormObject.items[i].items.length;
    var sambaTabIx = cnt+1;

    var tabBar = xFormObject.items[1] ;
    tabBar.choices.push({value:sambaTabIx, label:"Samba Group"});
    var sambaGroupTab={type:_ZATABCASE_, numCols:1, relevant:("instance[ZaModel.currentTab] == " + sambaTabIx),
    items: [
    {type:_ZAGROUP_,
    items:[
    {ref:ZaSambaGroupMapping.A_sambaDomainSID, type:_OSELECT1_, editable:false,choices:this._app.getSambaDomainSID ListChoices(true), msgName:"Samba domain",label:"Samba domain", labelLocation:_LEFT_,
    onChange:ZaTabView.onFormFieldChanged,
    elementChanged:function(val,instanceValue, event) {
    var v = val;
    var instance = this.getInstance();
    var form = this.getForm();
    var myChoices = this.getChoices();
    if(instance && !instance[ZaSambaGroupMapping.A_isSpecialNTGroup]) {
    instance.attrs[ZaSambaGroupMapping.A_sambaSID] = val + "-" +
    (
    (parseInt(instance.attrs[ZaPosixGroup.A_gidNumber]) ? parseInt(instance.attrs[ZaPosixGroup.A_gidNumber])*2 : parseInt(Zambra.gidBase)) +
    (parseInt(Zambra.ridBase) ? parseInt(Zambra.ridBase) : 0)
    );
    } else if (instance && instance[ZaSambaGroupMapping.A_isSpecialNTGroup]) {
    instance.attrs[ZaSambaGroupMapping.A_sambaSID] = val + "-" + instance[ZaSambaGroupMapping.A_specialNTGroupType];
    }
    if(form)
    form.itemChanged(this, val, event);

    },
    getDisplayValue:function(val) {
    if (val) {
    val = this.getChoiceLabel(val);
    } else {
    var instance = this.getInstance();
    if(instance.attrs[ZaSambaGroupMapping.A_sambaSID]) {
    var chunks = instance.attrs[ZaSambaGroupMapping.A_sambaSID].split("-");
    var userRid = chunks.pop();

    val = chunks.join("-");
    instance[ZaSambaGroupMapping.A_sambaDomainSID] = val;
    }
    }
    return val;
    }
    },
    {ref:ZaSambaGroupMapping.A_isSpecialNTGroup,
    type:_CHECKBOX_,
    msgName:"Special Windows group",
    label:"Special Windows group",
    trueValue:1, falseValue:0,
    onChange:ZaTabView.onFormFieldChanged,
    },
    {ref:ZaSambaGroupMapping.A_specialNTGroupType,
    relevant:"instance[ZaSambaGroupMapping.A_isSpecialNTGroup]",
    relevantBehavior:_DISABLE_,
    type:_OSELECT1_, msgName:"Special Windows group type",
    label:"Special Windows group type",
    labelLocation:_LEFT_,
    choices:ZaSambaGroupMapping.specialNTGorupChoices,
    onChange:ZaTabView.onFormFieldChanged,
    getDisplayValue:function(val) {
    if (val) {
    val = this.getChoiceLabel(val);
    } else {
    var instance = this.getInstance();
    if(instance.attrs[ZaSambaGroupMapping.A_sambaSID]) {
    var chunks = instance.attrs[ZaSambaGroupMapping.A_sambaSID].split("-");
    var groupRid = chunks.pop();
    val = this.getChoiceLabel(groupRid);
    }
    }
    return val;
    },
    elementChanged:function(val,instanceValue, event) {
    var instance = this.getInstance();
    var form = this.getForm();
    if(instance.attrs[ZaSambaGroupMapping.A_sambaSID]) {
    var chunks = instance.attrs[ZaSambaGroupMapping.A_sambaSID].split("-");
    var groupRid = chunks.pop();
    chunks.push(val);
    instance.attrs[ZaSambaGroupMapping.A_sambaSID] = chunks.join("-");
    }
    if(form)
    form.itemChanged(this, val, event);
    }
    },
    {ref:ZaSambaGroupMapping.A_sambaSID, type:_TEXTFIELD_, msgName:ZaSambaGroupMapping.A_sambaSID,label:ZaSam baGroupMapping.A_sambaSID, labelLocation:_LEFT_, onChange:ZaTabView.onFormFieldChanged,width:300},
    {ref:ZaSambaGroupMapping.A_sambaGroupType, type:_TEXTFIELD_, msgName:ZaSambaGroupMapping.A_sambaGroupType,label :ZaSambaGroupMapping.A_sambaGroupType, labelLocation:_LEFT_, cssClass:"admin_xform_number_input"},
    {ref:ZaSambaGroupMapping.A_displayName, type:_TEXTFIELD_, msgName:ZaSambaGroupMapping.A_displayName,label:Za SambaGroupMapping.A_displayName, labelLocation:_LEFT_, onChange:ZaTabView.onFormFieldChanged}
    ]
    } ]
    };
    xFormObject.items[i].items.push(sambaGroupTab);
    }
    ZaTabView.XFormModifiers["ZaPosixGroupXFormView"].push(ZaSambaGroupMapping.myXFormModifier);
    }


    Regards,

    AV
    Last edited by VHM; 11-02-2007 at 01:58 AM. Reason: SOLVED issue

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Cannot log into Admin site
    By tgx in forum Installation
    Replies: 5
    Last Post: 01-10-2007, 12:09 PM
  3. How do I set Admin password?
    By sjames in forum Installation
    Replies: 4
    Last Post: 07-24-2006, 04:01 PM
  4. Unable to log in to Admin site
    By cutigersfan in forum Installation
    Replies: 4
    Last Post: 04-27-2006, 11:23 AM
  5. SNMP not loading, can't connect to Admin
    By abtech in forum Installation
    Replies: 4
    Last Post: 10-14-2005, 12:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •