Thanks, I was hoping for an easy solution and that is just that.
Curious why the RPM package, if not supported, is still being offered on
the download page. It should at the very least be commented that it is
no longer supported, correct?
Pete
On 10/12/2011 2:44 AM, Sébastien Bahloul wrote:
Hi Peter,
Packages are not used many more. I suggest to move back to .zip archives.
Packages have been initiated for deployments which require
distribution software packages.
Regards,
--
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/
2011/10/12 Peter Worden <[email protected]
<mailto:[email protected]>>
This error is encountered only with use of the RPM installer on a
Ubuntu server 10.04 64 bit machine. Use of the tar.gz or zip
packages works flawlessly.
_Here is the error encountered while following the quickstart
guide for 1.2:_
<username>@<hostname>:/usr/share/doc/lsc/sample/bin$ sudo
./lsc-sample --start-ldap-server
Starting LDAP server on ldap://localhost:33389/ ...
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cli/ParseException
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.lsc.utils.LdapServer. Program
will exit.
This was the process I followed to install LSC from RPM on Ubuntu
server 10.04 64 bit:
_Convert RPM to DEB:_
Install necessary stuff:
sudo apt-get install alien dpkg-dev debhelper build-essential
Get the LSC package:
cd /usr/local/src
sudo wget
http://tools.lsc-project.org/attachments/download/148/lsc-1.2.1-0.el5.noarch.rpm
Convert the package to DEB:
sudo alien lsc-1.2.1-0.el5.noarch.rpm
Install the Debian version:
sudo dpkg -i lsc-1.2.1-0.el5.noarch.deb
I noticed there were warnings when running the sudo alien
conversion command, but ignored them. I'm assuming that is normal
since many errors are typically encountered when compiling
applications on nix distros.
Anyway, could someone please assist me in locating the cause of
error and shed some light on possible solution/workaround.
Lastly, what is the benefit of running LSC from the package
installer vs running it from the zip or .gz packages?
Many thanks,
Pete
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
<mailto:[email protected]>
http://lists.lsc-project.org/listinfo/lsc-users
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users