Page 1 of 1
ubuntu - Problem with ldapmaper
Posted: Sat Feb 17, 2007 1:54 am
by Bluescreen
Hi,
i want to install the scalix-server_11.0.1.11_i386.deb package. My problem was:
Code: Select all
dpkg -i scalix-server_11.0.1.11_i386.deb
dpkg: error processing scalix-server_11.0.1.11_i386.deb (--install):
subprocess pre -installation script returned error exit status 10
Stopping Scalix LDAP mapper (ldapmapper): /var/lib/dpkg/info/scalix-server.postinst: line 86: 5958 Terminated
/etc/init.d/ldapmapper restart
Errors were encountered whie processing:
scalix-server_11.0.1.11_i386.deb
Posted: Sat Feb 17, 2007 9:31 am
by Bluescreen
Posted: Sat Feb 17, 2007 12:38 pm
by florian
The message is nothing to worry about - see
http://bugzilla.scalix.com/show_bug.cgi?id=14533
Just make sure ldapmapper is running after you put on the server rpm. otherwise, start it manually.
HTH,
Florian.
PRE installation script
Posted: Fri Mar 23, 2007 5:42 am
by Wittnezz
I have the same message appearing on my debian box. The bug you refer to is in the postinst script - the above message is from the pre -installation script. The installation is never run, but kills itself with the above mentioned error.
Is there a fix for this? Or a workaround?
Greeting from Denmark
Claus Witt
Posted: Fri Mar 23, 2007 9:22 am
by florian
The trivial workaround is to start /etc/init.d/ldapmapper manually after running ommakeom.
The minor bug will be fixed in one of the next releases.
Florian
Posted: Tue Apr 03, 2007 10:43 am
by ametade
I'm having the same problem: I cannot install scalix-server_11.0.2.17_i386.deb because I get that ldapmapper error. I tried to manually start ldapmapper before but without sucess.
Posted: Tue Apr 03, 2007 12:37 pm
by florian
what do you mean - can't install? by the time this error hits, it is already installed, it's at the very end of the postinstall script where this is failing.
Florian.
Posted: Tue Apr 03, 2007 12:38 pm
by florian
having said this, it's going to be fixed in the April monthly release, out very soon.
Florian.
I am having the same exact problem...
Posted: Fri Jun 08, 2007 8:26 pm
by Alternative Mind
I can't install scalix because of this same exact issue. I have tried starting the service, but nothing.
I downloaded the latest version from the download site: Release 11.1.0
Is this something that can be simply fixed through an installation script? If so, could you please share the fix, I don't mind unpacking and repacking the *.deb file.
Thanks,
Here's a detailed log
Posted: Sat Jun 09, 2007 3:52 pm
by Alternative Mind
Code: Select all
zniper@rusty:~/scalix-debian-11.1.0-GA/software/scalix_server$ sudo /etc/init.d/ldapmapper start
Starting Scalix LDAP mapper (ldapmapper):
zniper@rusty:~/scalix-debian-11.1.0-GA/software/scalix_server$ sudo dpkg -i scalix-server_11.1.0.10849_i386.deb
(Reading database ... 38943 files and directories currently installed.)
Preparing to replace scalix-server 11.1.0.10849 (using scalix-server_11.1.0.10849_i386.deb) ...
dpkg: error processing scalix-server_11.1.0.10849_i386.deb (--install):
subprocess pre-installation script returned error exit status 10
Restarting Scalix LDAP mapper (ldapmapper): .
Errors were encountered while processing:
scalix-server_11.1.0.10849_i386.deb
Not quite the same error
Posted: Mon Jun 11, 2007 6:49 am
by Splinter
Hi there.
I have a similar error that I get when installing on Ubuntu 6.06 LTS. I've tested the other scalix-*.deb files and they install with no errors returning. However when I run dpkg -i scalix-server*.deb, it returns an error:
Code: Select all
dpkg -i scalix-server_11.0.4.10790_i386.deb
Selecting previously deselected package scalix-server.
(Reading database ... 40486 files and directories currently installed.)
Unpacking scalix-server (from scalix-server_11.0.4.10790_i386.deb) ...
dpkg: error processing scalix-server_11.0.4.10790_i386.deb (--install):
subprocess pre-installation script returned error exit status 10
Errors were encountered while processing:
scalix-server_11.0.4.10790_i386.deb
There are no errors returned about the LDAP mapper and there are no scalix directories in /var/opt/ or /opt/.
Thanks.
Posted: Mon Jun 11, 2007 9:15 pm
by schlouf
Hi there.
I have a similar error that I get when installing on Ubuntu 6.06 LTS. I've tested the other scalix-*.deb files and they install with no errors returning. However when I run dpkg -i scalix-server*.deb, it returns an error:
Code: Select all
dpkg -i scalix-server_11.0.4.10790_i386.deb
Selecting previously deselected package scalix-server.
(Reading database ... 40486 files and directories currently installed.)
Unpacking scalix-server (from scalix-server_11.0.4.10790_i386.deb) ...
dpkg: error processing scalix-server_11.0.4.10790_i386.deb (--install):
subprocess pre-installation script returned error exit status 10
Errors were encountered while processing:
scalix-server_11.0.4.10790_i386.deb
There are no errors returned about the LDAP mapper and there are no scalix directories in /var/opt/ or /opt/.
Same problem here, please advise.
Posted: Tue Jun 12, 2007 1:52 am
by Splinter
schlouf wrote:Hi there.
I have a similar error that I get when installing on Ubuntu 6.06 LTS. I've tested the other scalix-*.deb files and they install with no errors returning. However when I run dpkg -i scalix-server*.deb, it returns an error:
Code: Select all
dpkg -i scalix-server_11.0.4.10790_i386.deb
Selecting previously deselected package scalix-server.
(Reading database ... 40486 files and directories currently installed.)
Unpacking scalix-server (from scalix-server_11.0.4.10790_i386.deb) ...
dpkg: error processing scalix-server_11.0.4.10790_i386.deb (--install):
subprocess pre-installation script returned error exit status 10
Errors were encountered while processing:
scalix-server_11.0.4.10790_i386.deb
There are no errors returned about the LDAP mapper and there are no scalix directories in /var/opt/ or /opt/.
Same problem here, please advise.
I found that allthough the installer exits with an error, the necessary scalix files are installed to /opt/scalix/. This aloud me to run the:
Code: Select all
sudo ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7
and then I could start the message store
After which you should restart the LDAP mapper youself before continueing installation of the other deb files
Code: Select all
sudo /etc/init.d/ldapmapper restart
starting with the tomcat connector, then tomcat and continue from there.
Hope this helps.
Cheers.
Is there a reslution to this issue
Posted: Thu Aug 30, 2007 2:49 pm
by psifry
Did anyone get to the solution here? I tried the fix posted above but I get no success only 'sudo: ommakeom: command not found', I suppose because the installation is incomplete.
Any advice?
sifly.
noooob
Posted: Thu Aug 30, 2007 4:43 pm
by psifry
Doh, calling all you nooobs out there.... is this a regular noooob occurance or what? Note the time of my previous post... I spent 4 days banging my head against the screen cos I couldn't figure out the problem above, then I finally work up the courage to post my problem to the forum (cos I hate being a noooob) and then 15 minutes later I find the answer that has been evading me.... doh.
So to all you fellow noooobs out there who hit this problem on ubuntu, the solution is that you can't run the ommakeom command with sudo you have to go up to root which you do by typing :
sudo su
then ommakeom works
happy days