Re: 1.3 install problems

Michael Rühmann <[email protected]> Mon, 16 Jan 2006 10:09:46 +0100
Newsgroups gmane.comp.isp.ispman.user
Organization linplus Systemhaus Sobotta & Rühmann GbR
Message-ID <[email protected]>
Hi Joerg,

if I start /opt/ispman/bin/ispman-agent manually from console it says:

Task dir: /opt/ispman/bin/../tasks/ does not existsTask 
file: /opt/ispman/bin/../tasks//AddDestinationDomainEntry_task.pl does not 
existsEntry existed. Replacing ispmanStatus with error<br>

Don't know why I have not tried that from console before ;-)

So I copied the task directory from ispman-source to /opt/ispman and 
everything runs fine.
All folders are created... :-) :-) :-)


Now the question is why the tasks directory isn't copied at install time?
I repeated the installation process to see if there are error messages of the 
tasks directory, but I couldn't see any error messages.

Do I miss something from the docs or should I file a bug entry about that?

You can also reach me in ispman IRC (mosh).

Greets,
Micha




Am Freitag 13 Januar 2006 21:24 schrieb Joerg Delker:
> 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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click