You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by St...@brown.edu on 2006/04/28 17:20:05 UTC
RC1 on OS X 10.4
I've installed RC1 on my desktop OS X 10.4 system. I've got the
firewall turned off. It installed easily, and I can see it listening
for connections (on port 10389). However, all attempts to connect to
it result in the connection being closed immediately.... (eg when I'm
using a tool such as ldapbrowser)
Here's a sample from the console:
stc:/Users/stc root# lsof -n -i -P
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apacheds 12847 root 7u IPv6 0x02f1d658 0t0 TCP
[::1]:59836->[::1]:59835 (TIME_WAIT)
apacheds 12847 root 54u IPv6 0x02f1d490 0t0 TCP *:10389 (LISTEN)
apacheds 12847 root 55u IPv6 0x02f1d820 0t0 TCP
[::127.0.0.1]:30003 (LISTEN)
stc:/Users/stc root# cd /Users/stc/Progs/ApacheDS/apacheds-1.0-RC1
stc:/Users/stc/Progs/ApacheDS/apacheds-1.0-RC1 root# grep 10389 *
stc:/Users/stc/Progs/ApacheDS/apacheds-1.0-RC1 root# grep 10389 */*
conf/server.xml: <property name="ldapPort"><value>10389</value></property>
stc:/Users/stc root# telnet localhost 10389
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Any thoughts or suggestions? Thanks in advance!
Re: RC1 on OS X 10.4
Posted by Jim Jagielski <ji...@jaguNET.com>.
On Apr 28, 2006, at 1:16 PM, Jim Yang wrote:
> All,
>
> I am working on Mac OS X specific installation. This is similar to
> MySQL MacOS X.
>
> The scenario is pretty simple:
> #1: Download apacheds-standard-1.0RC1-osx10.4-powerpc.dmg
> #2: Mount the dmg disk, which contains the following files:
>
> 1. apacheds-standard-1.0RC1-osx10.4-powerpc.pkg:
> double click this file to install apacheDS on /usr/local, user
> will be asked to authenticate first
>
Would be better, I think, if one could get the normal file browser
and choose the install path.
> 2. ApacheDSStartupItem.pkg
> double click this file to Automate Startup by putting a hook
> under /Library/StartupItems/ApacheDS/ApacheDS
> you can also run ApacheDS through CLI by issuing: sudo /Library/
> StartupItems/apacheDS/ApacheDS start
>
> 3. ApacheDS.prefPane
> This will install ApacheDS preference pane to MacOS X System
> Preferences
>
> 4 Readme.txt
>
>
> Any feedback or thoughts on this process ?
>
+1 (assuming one doesn't get nasty messages next time one
runs sudo diskutil repairpermissions / :) )
Re: RC1 on OS X 10.4
Posted by Alex Karasulu <ao...@bellsouth.net>.
Jim Yang wrote:
> Alex,
>
> I don't think you can automate this process. I am using XCode and
> PrefPane plug-ins template. I will have to provide binaries download,
> which is PITA. If i find something better, i'll let you know
>
:( understood it sounds like it would be virtually impossible. Oh well
you can't always get what you want.
Alex
> Jim
>
> On Apr 28, 2006, at 12:37 PM, Alex Karasulu wrote:
>
>> Jim Yang wrote:
>>> All,
>>> I am working on Mac OS X specific installation. This is similar to
>>> MySQL MacOS X.
>>>
>>> The scenario is pretty simple: #1: Download
>>> apacheds-standard-1.0RC1-osx10.4-powerpc.dmg
>>> #2: Mount the dmg disk, which contains the following files:
>> This is soooo cool Jim (Yang)! Can't wait to have it.
>> Is there a way we can integrate this into the daemon plugins? Right
>> now the daemon plugin for M2 can build all the installers
>> for apacheds. It's pretty neat. The plugin uses the Tomcat jsvc and
>> the procrun commons daemon code (like the Java Wrapper) and builds
>> installers that use them for ApacheDS. The plugin now can invoke the
>> installer compilers for Inno setup and for izpack.
>>
>> Seems to me this new mechanism will use yet another installer builder
>> or perhaps something specific to MacOSX. Excuse my
>> ignorance here. But it would be nice to integrate whatever it is
>> with the daemon installer plugin some day so we don't have to
>> generate these installers for MacOSX by hand. Once you have the
>> process down we can perhaps work together to integrate it
>> into the M2 build and then it will be as easy to generate installers
>> as issuing an 'mvn install' command.
>>
>> Thanks,
>> Alex
>>
>>
>
>
Re: RC1 on OS X 10.4
Posted by Jim Yang <ji...@safehaus.org>.
Alex,
I don't think you can automate this process. I am using XCode and
PrefPane plug-ins template. I will have to provide binaries download,
which is PITA. If i find something better, i'll let you know
Jim
On Apr 28, 2006, at 12:37 PM, Alex Karasulu wrote:
> Jim Yang wrote:
>> All,
>> I am working on Mac OS X specific installation. This is similar to
>> MySQL MacOS X.
>>
>> The scenario is pretty simple: #1: Download apacheds-
>> standard-1.0RC1-osx10.4-powerpc.dmg
>> #2: Mount the dmg disk, which contains the following files:
> This is soooo cool Jim (Yang)! Can't wait to have it.
> Is there a way we can integrate this into the daemon plugins?
> Right now the daemon plugin for M2 can build all the installers
> for apacheds. It's pretty neat. The plugin uses the Tomcat jsvc
> and the procrun commons daemon code (like the Java Wrapper) and builds
> installers that use them for ApacheDS. The plugin now can invoke
> the installer compilers for Inno setup and for izpack.
>
> Seems to me this new mechanism will use yet another installer
> builder or perhaps something specific to MacOSX. Excuse my
> ignorance here. But it would be nice to integrate whatever it is
> with the daemon installer plugin some day so we don't have to
> generate these installers for MacOSX by hand. Once you have the
> process down we can perhaps work together to integrate it
> into the M2 build and then it will be as easy to generate
> installers as issuing an 'mvn install' command.
>
> Thanks,
> Alex
>
>
Re: RC1 on OS X 10.4
Posted by Alex Karasulu <ao...@bellsouth.net>.
Jim Yang wrote:
> All,
>
> I am working on Mac OS X specific installation. This is similar to
> MySQL MacOS X.
>
> The scenario is pretty simple:
> #1: Download apacheds-standard-1.0RC1-osx10.4-powerpc.dmg
> #2: Mount the dmg disk, which contains the following files:
>
This is soooo cool Jim (Yang)! Can't wait to have it.
Is there a way we can integrate this into the daemon plugins? Right
now the daemon plugin for M2 can build all the installers
for apacheds. It's pretty neat. The plugin uses the Tomcat jsvc and the
procrun commons daemon code (like the Java Wrapper) and builds
installers that use them for ApacheDS. The plugin now can invoke the
installer compilers for Inno setup and for izpack.
Seems to me this new mechanism will use yet another installer builder or
perhaps something specific to MacOSX. Excuse my
ignorance here. But it would be nice to integrate whatever it is with
the daemon installer plugin some day so we don't have to
generate these installers for MacOSX by hand. Once you have the process
down we can perhaps work together to integrate it
into the M2 build and then it will be as easy to generate installers as
issuing an 'mvn install' command.
Thanks,
Alex
Re: RC1 on OS X 10.4
Posted by Jim Yang <ji...@safehaus.org>.
All,
I am working on Mac OS X specific installation. This is similar to
MySQL MacOS X.
The scenario is pretty simple:
#1: Download apacheds-standard-1.0RC1-osx10.4-powerpc.dmg
#2: Mount the dmg disk, which contains the following files:
1. apacheds-standard-1.0RC1-osx10.4-powerpc.pkg:
double click this file to install apacheDS on /usr/local, user
will be asked to authenticate first
2. ApacheDSStartupItem.pkg
double click this file to Automate Startup by putting a hook
under /Library/StartupItems/ApacheDS/ApacheDS
you can also run ApacheDS through CLI by issuing: sudo /Library/
StartupItems/apacheDS/ApacheDS start
3. ApacheDS.prefPane
This will install ApacheDS preference pane to MacOS X System Preferences
4 Readme.txt
Any feedback or thoughts on this process ?
Regards,
Jim
On Apr 28, 2006, at 11:45 AM, Jim Jagielski wrote:
> This reminds me of a topic: would it be possible that during
> the install process it doesn't try to create the start scripts in
> /etc/ but rather local to the install? Much easier for people
> to install and test :)
Re: RC1 on OS X 10.4
Posted by Jim Jagielski <ji...@jaguNET.com>.
On Apr 28, 2006, at 1:06 PM, Alex Karasulu wrote:
> Jim Jagielski wrote:
>> This reminds me of a topic: would it be possible that during
>> the install process it doesn't try to create the start scripts in
>> /etc/ but rather local to the install? Much easier for people
>> to install and test :)
> Hey Jim,
>
> Glad to see you lurking. Yeah I've been meaning to fix this for
> MacOSX installs. MacOSX does not have an /etc/init.d directory
> either so it's a bit out of place for us
> to be stuffing the file over there. I think for RC2 tho I have
> made installing the
> rc script optional so root access is no longer required to do
> this. You should be able
> to uncheck the creation of this file in the installer once we
> release RC2.
>
Having it optional is good, but it would still be nice
to have a nice, easy start script for OSX, so even if it
just installed it in the (new) ./etc directory, that
would be happyness. I'll be happy to test that :)
Re: RC1 on OS X 10.4
Posted by Alex Karasulu <ao...@bellsouth.net>.
Jim Jagielski wrote:
> This reminds me of a topic: would it be possible that during
> the install process it doesn't try to create the start scripts in
> /etc/ but rather local to the install? Much easier for people
> to install and test :)
Hey Jim,
Glad to see you lurking. Yeah I've been meaning to fix this for MacOSX
installs.
MacOSX does not have an /etc/init.d directory either so it's a bit out
of place for us
to be stuffing the file over there. I think for RC2 tho I have made
installing the
rc script optional so root access is no longer required to do this. You
should be able
to uncheck the creation of this file in the installer once we release RC2.
Regards,
Alex
Re: RC1 on OS X 10.4
Posted by Jim Jagielski <ji...@jaguNET.com>.
This reminds me of a topic: would it be possible that during
the install process it doesn't try to create the start scripts in
/etc/ but rather local to the install? Much easier for people
to install and test :)
Re: RC1 on OS X 10.4
Posted by Alex Karasulu <ao...@bellsouth.net>.
Jim Yang wrote:
> Steven,
>
> This is a known problem in Mac OS X. We're still figuring out the
> cause. Alex can you confirm this ?
Yeah I'll give it a try as soon as I can pry my mac from my wifes hands :).
Alex
>
> Jim
>
> On Apr 28, 2006, at 10:20 AM, Steven_Carmody@brown.edu wrote:
>
>> I've installed RC1 on my desktop OS X 10.4 system. I've got the
>> firewall turned off. It installed easily, and I can see it listening
>> for connections (on port 10389). However, all attempts to connect to
>> it result in the connection being closed immediately.... (eg when I'm
>> using a tool such as ldapbrowser)
>>
>> Here's a sample from the console:
>>
>> stc:/Users/stc root# lsof -n -i -P
>> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>>
>> apacheds 12847 root 7u IPv6 0x02f1d658 0t0 TCP
>> [::1]:59836->[::1]:59835 (TIME_WAIT)
>> apacheds 12847 root 54u IPv6 0x02f1d490 0t0 TCP *:10389
>> (LISTEN)
>> apacheds 12847 root 55u IPv6 0x02f1d820 0t0 TCP
>> [::127.0.0.1]:30003 (LISTEN)
>>
>> stc:/Users/stc root# cd /Users/stc/Progs/ApacheDS/apacheds-1.0-RC1
>> stc:/Users/stc/Progs/ApacheDS/apacheds-1.0-RC1 root# grep 10389 *
>> stc:/Users/stc/Progs/ApacheDS/apacheds-1.0-RC1 root# grep 10389 */*
>> conf/server.xml: <property
>> name="ldapPort"><value>10389</value></property>
>>
>> stc:/Users/stc root# telnet localhost 10389
>> Trying ::1...
>> Connected to localhost.
>> Escape character is '^]'.
>> Connection closed by foreign host.
>>
>> Any thoughts or suggestions? Thanks in advance!
>
>
Re: RC1 on OS X 10.4
Posted by Jim Yang <ji...@safehaus.org>.
Steven,
This is a known problem in Mac OS X. We're still figuring out the
cause. Alex can you confirm this ?
Jim
On Apr 28, 2006, at 10:20 AM, Steven_Carmody@brown.edu wrote:
> I've installed RC1 on my desktop OS X 10.4 system. I've got the
> firewall turned off. It installed easily, and I can see it
> listening for connections (on port 10389). However, all attempts to
> connect to it result in the connection being closed immediately....
> (eg when I'm using a tool such as ldapbrowser)
>
> Here's a sample from the console:
>
> stc:/Users/stc root# lsof -n -i -P
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>
> apacheds 12847 root 7u IPv6 0x02f1d658 0t0 TCP [::1]:
> 59836->[::1]:59835 (TIME_WAIT)
> apacheds 12847 root 54u IPv6 0x02f1d490 0t0 TCP *:
> 10389 (LISTEN)
> apacheds 12847 root 55u IPv6 0x02f1d820 0t0 TCP [::
> 127.0.0.1]:30003 (LISTEN)
>
> stc:/Users/stc root# cd /Users/stc/Progs/ApacheDS/apacheds-1.0-RC1
> stc:/Users/stc/Progs/ApacheDS/apacheds-1.0-RC1 root# grep 10389 *
> stc:/Users/stc/Progs/ApacheDS/apacheds-1.0-RC1 root# grep 10389 */*
> conf/server.xml: <property name="ldapPort"><value>10389</value></
> property>
>
> stc:/Users/stc root# telnet localhost 10389
> Trying ::1...
> Connected to localhost.
> Escape character is '^]'.
> Connection closed by foreign host.
>
> Any thoughts or suggestions? Thanks in advance!