From dev-return-8205-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Mon Oct 03 10:04:03 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 83513 invoked from network); 3 Oct 2005 10:04:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 10:04:01 -0000 Received: (qmail 92274 invoked by uid 500); 3 Oct 2005 10:03:56 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 92061 invoked by uid 500); 3 Oct 2005 10:03:54 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 92049 invoked by uid 99); 3 Oct 2005 10:03:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 03:03:54 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [203.10.110.72] (HELO mail.netspace.net.au) (203.10.110.72) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2005 03:03:59 -0700 Received: from [192.168.0.6] (220-253-39-114.VIC.netspace.net.au [220.253.39.114]) by mail.netspace.net.au (Postfix) with ESMTP id 11DBC7B49E for ; Mon, 3 Oct 2005 20:03:27 +1000 (EST) Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: <768dcb2e050922061326f61862@mail.gmail.com> References: <4311D47B.3070408@labeo.de> <768dcb2e05092121097bba9262@mail.gmail.com> <32609e7705092205015e6d2489@mail.gmail.com> <768dcb2e050922061326f61862@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-25--297250333 Message-Id: <405B4020-0CB5-4CB5-A28E-762987CA06D2@pegacat.com> From: Chris Betts Subject: Re: Only 'uid=admin,ou=system' can initiate the first run. Date: Mon, 3 Oct 2005 20:03:24 +1000 To: "Apache Directory Developers List" X-Mailer: Apple Mail (2.734) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-25--297250333 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Hi Folks, I've been trying to get the 0.9.3 version going (I was using 0.9). Initially I had the same problem as Stefan, and indeed I still =20 can't get it to run using 'default properties'. However, once I'd =20 figured out that 'server.properties' had changed to 'server.xml', and =20= got my paths sorted out, it starts fine. The problem now is that I =20 get an error 'Exception in thread "main" javax.naming.NamingException: =20 attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.26 has already been =20 registered! (BoostrapAttributeTypeRegistry.java:88). Any ideas? Have the false starts messed things up somehow? =20 This is using the default server.xml I found in svn_head\apacheds=20 \trunk\main after doing a full svn update. Also, do we have an easy listening 'getting started' guide =20 somewhere? The 'Building and Running the Apache Directory Server' =20 web page is good, but could it be expanded and updated a little? =20 Maybe we can link it to a wiki page, and that way we could all keep =20 it up to date when things change? (I'd be happy to have the first =20 crack at writing such a page, from the perspective of the =20 clueless :-) ). - Chris On 22/09/2005, at 11:13 PM, Trustin Lee wrote: > ApacheDS initializes system context partition at its first run. It =20= > adds entries such as admin user which contains admin password. =20 > ApacheDS has to run as an admin at the first time to create an =20 > appropriate administrator information. > > We can fix this issue by using default admin password. WDYT? > > 2005/9/22, J=E9r=F4me Baumgarten : > Hi, > > I just compiled ApacheDS (from SVN) and still get the behaviour > described by Stefan except that the server immediately stops and it > always behaves that way, no way to get it up and running. > > Regards, > J=E9r=F4me > > On 9/22/05, Trustin Lee wrote: > > Hi Stefan, > > > > Sorry for the late reply first of all. I hope you understand me. ;) > > > > 2005/8/29, Stefan Zoerner : > > > If I use a current apacheds-main-0.9.2-SNAPSHOT.jar and > > execute a simple > > > > > > java -jar apacheds-main-0.9.2-SNAPSHOT.jar > > > > > > in a fresh directory, I get the following exception on the =20 > cmdline: > > > > > > Exception in thread "main" > > javax.naming.NoPermissionException : Only > > > 'uid=3Dadmin,ou=3Dsystem' can initiate the first run. > > > at > > > > > =20 > org.apache.ldap.server.jndi.DefaultContextFactoryService.checkPermissi=20= > onToCreateBootstrapEntries(DefaultContextFactoryService.java > > :578) > > > --- > > > > > > After this message, the server starts and after some time =20 > clients are > > > able to connect. If I stop the server and restart it the same =20 > way (it is > > > not the first run, partition is available on disk), the error =20 > does not > > > occur. > > > > I fixed this issue just before. :) > > > > Trustin-- > > what we call human nature is actually human habit > > -- > > http://gleamynode.net/ > > > > --=20 > what we call human nature is actually human habit > -- > http://gleamynode.net/ --Apple-Mail-25--297250333 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Hi Folks,

=A0=A0 =A0I've been trying = to get the 0.9.3 version going (I was using 0.9).

=A0=A0 =A0Initially I had = the same problem as Stefan, and indeed I still can't get it to run using = 'default properties'.=A0 However, once I'd figured out that = 'server.properties' had changed to 'server.xml', and got my paths sorted = out,=A0 it starts fine.=A0 The problem now is that I get an = error
'Exception in thread "main" = javax.naming.NamingException: attributeType w/ OID = 1.2.6.1.4.1.18060.1.1.1.3.26 has already been = registered!
(BoostrapAttributeTypeRegistry.java:88).
<= BR class=3D"khtml-block-placeholder">
=A0=A0 =A0Any ideas?=A0 = Have the false starts messed things up somehow?=A0 This is using the = default server.xml I found in svn_head\apacheds\trunk\main after doing a = full svn update.

=A0=A0 =A0Also, do we have = an easy listening 'getting started' guide somewhere?=A0 The 'Building = and Running the Apache Directory Server' web page is good, but could it = be expanded and updated a little?=A0 Maybe we can link it to a wiki = page, and that way we could all keep it up to date when things change?=A0 = (I'd be happy to have the first crack at writing such a page, from the = perspective of the clueless :-) ).

=A0 =A0- = Chris



On = 22/09/2005, at 11:13 PM, Trustin Lee wrote:

ApacheDS = initializes system context partition at its first run.=A0 It adds = entries such as admin user which contains admin password.=A0 ApacheDS = has to run as an admin at the first time to create an appropriate = administrator information.

We can fix this issue by using = default admin password.=A0 WDYT?

2005/9/22, J=E9r=F4me Baumgarten <jbaumgarten@gmail.com>:
= Hi,

I just compiled ApacheDS (from SVN) and still get the = behaviour
described by Stefan except that the server immediately = stops and it
always behaves that way, no way to get it up and = running.

Regards,
J=E9r=F4me

On 9/22/05, Trustin Lee = <trustin@gmail.com> = wrote:
> Hi Stefan,
>
> Sorry for the late reply first = of all.=A0=A0I hope you understand me. ;)
>
> 2005/8/29, = Stefan Zoerner <stefan@labeo.de>:
> > If = I use a current apacheds-main-0.9.2-SNAPSHOT.jar and
> execute a = simple
> >
> > java -jar = apacheds-main-0.9.2-SNAPSHOT.jar
> >
> > in a fresh = directory, I get the following exception on the cmdline:
> = >
> > Exception in thread "main"
> = javax.naming.NoPermissionException : Only
> > = 'uid=3Dadmin,ou=3Dsystem' can initiate the first run.
> = >=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0at
> >
> = org.apache.ldap.server.jndi.DefaultContextFactoryService.checkPermissionTo= CreateBootstrapEntries(DefaultContextFactoryService.java
> = :578)
> > ---
> >
> > After this message, the = server starts and after some time clients are
> > able to = connect. If I stop the server and restart it the same way (it is
> = > not the first run, partition is available on disk), the error does = not
> > occur.
>
> I fixed this issue just before. = :)
>
> Trustin--
> what we call human nature is = actually human habit
> --
> http://gleamynode.net/ =



--
what we call = human nature is actually human habit
--
http://gleamynode.net/

= --Apple-Mail-25--297250333--