Re: 1.3 install problems

Joerg Delker <[email protected]> Fri, 13 Jan 2006 21:24:18 +0100
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Michael Rühmann wrote:
> Hi and a happy new year to all ISPMan users,

Hi Michael

> i am trying to get ISPMan 1.3 up on a x86_64 Gentoo Box.
> Everything installed fine and i am able to set up config, clients and 
> resellers via Web and Console.
> If i add a domain the created processes failed and ldap says things like this 
> in the logs:

Actually, I can't see a problem/error in your posts.
What makes you think that the create process failed?

> <snip>
> Jan  9 08:40:27 linplus1 slapd[23550]: conn=11 op=2 SRCH 
> base="ou=conf,o=ispman" scope=2 deref=2 filter="(ispmanVar=agentfrequency)"
> Jan  9 08:40:27 linplus1 slapd[23550]: <= bdb_equality_candidates: (ispmanVar) 
> index_param failed (18)
> Jan  9 08:40:27 linplus1 slapd[23550]: conn=11 op=2 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Jan  9 08:40:27 linplus1 slapd[23548]: conn=11 op=3 SRCH 
> base="ispmanHostName=linplus1,ou=hosts,o=ispman" scope=0 deref=2 
> filter="(objectClass=*)"
> Jan  9 08:40:27 linplus1 slapd[23548]: conn=11 op=3 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Jan  9 08:40:27 linplus1 slapd[23547]: conn=11 op=4 SRCH 
> base="ispmanHostName=linplus1,ou=hosts,o=ispman" scope=0 deref=2 
> filter="(objectClass=*)"
> Jan  9 08:40:27 linplus1 slapd[23547]: conn=11 op=4 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Jan  9 08:40:27 linplus1 slapd[23549]: conn=11 op=5 SRCH 
> base="ou=processes,o=ispman" scope=2 deref=2 
> filter="(&(objectClass=ispmanProcesses)(ispmanStatus=new)(|
> (ispmanHostName=linplus1)))"
> Jan  9 08:40:27 linplus1 slapd[23549]: <= bdb_equality_candidates: 
> (ispmanStatus) index_param failed (18)
> Jan  9 08:40:27 linplus1 slapd[23549]: <= bdb_equality_candidates: 
> (ispmanHostName) index_param failed (18)
> Jan  9 08:40:27 linplus1 slapd[23549]: conn=11 op=5 SEARCH RESULT tag=101 
> err=0 nentries=2 text=
> <snip>

Those "errors" are related to slapd only.
AFAIK now, they just signal a missing index (equality) on the particular
attribute, that would speed up the searches.
The behavior of slapd should be exactly the same, though (regardless
speed ;-)

> ISPMan-Agent log says:
> 
> <snip>
> 06/01/09 08:40:26 ispman-agent: Doing AddDestinationDomainEntry on xxxxxx.xx 
> with parameters
> 06/01/09 08:40:27 ispman-agent: Doing createDomainDirectories on xxxxxx.xx 
> with parameters 
> homeDirectory=/ispman/domains/xxxxxx.xx&uidNumber=10001&gidNumber=10001
> 06/01/09 08:40:28 ispman-agent: Doing modifyDomain on xxxxxx.xx with 
> parameters
> <snip>

Looks good.

> My slapd.conf:
> 
> include   /etc/openldap/schema/core.schema
> include   /etc/openldap/schema/cosine.schema
> include   /etc/openldap/schema/nis.schema
> include   /etc/openldap/schema/misc.schema
> include   /etc/openldap/schema/inetorgperson.schema
> include   /etc/openldap/schema/dnszone.schema
> include   /etc/openldap/schema/pureftpd.schema
> include   /etc/openldap/schema/ispman.schema
> include   /etc/openldap/schema/RADIUS-LDAPv3.schema
> pidfile   /var/run/openldap/slapd.pid
> argsfile  /var/run/openldap/slapd.args
> database  bdb
> suffix    "o=ispman"
> rootdn    "cn=admin,o=ispman"
> directory /var/lib/openldap-data
> # Indices to maintain
> index objectClass eq
> index uid,sn,cn pres,eq,sub
> index uidnumber,gidnumber pres,eq
> index memberuid pres,eq
> index mail,mailLocalAddress,mailAlias pres,eq

Add the necessary indexes (see messages above), so e.g.
index ispmanVar eq

> We run ISPMan-1.2 since about 1,5years without problems now. So i installed 
> the 1.2 on that box to see if this works - and it works, everything seems to 
> be ok. :-)
> 
> But.... where is the problem with the 1.3 install?
> Is this a known problem?

None that I currently know of ;)

Joerg
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed