Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: otternase on March 05, 2007, 10:40:21 AM
-
Hi,
I have a problem after updating SME from 7.1 to 7.1.1. this morning.
There ws a dependency problem with e-smith-lib 1.18 an ox . This has been the case in the past also while trying to update that libm, and therefore I installed it using
rpm -Uvh --nodeps e-smith-lib-1.18.0-2.el4.sme.noarch.rpm
Now I´am in trouble. When logging into OX ist says:
ERROR: Session doesn´t exist
While starting openldap
/etc/init.d/ldap restart
in /var/log/messages I see:
Mar 5 10:32:07 darwin2006 slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Mar 5 10:32:07 darwin2006 slapcat: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Mar 5 10:32:07 darwin2006 slapcat: /etc/openldap/slapd.conf: line 20: schema checking disabled! your mileage may vary!
Mar 5 10:32:07 darwin2006 ldap: Herunterfahren von slapd succeeded
Mar 5 10:32:07 darwin2006 slaptest: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Mar 5 10:32:07 darwin2006 slaptest: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Mar 5 10:32:07 darwin2006 slaptest: /etc/openldap/slapd.conf: line 20: schema checking disabled! your mileage may vary!
Mar 5 10:32:07 darwin2006 ldap: succeeded
Mar 5 10:32:07 darwin2006 ldap: Starten von slapd failed
EDIT:
Here is the interesting part of /var/log/slapd.log while trying to startup slapd ...
Mar 5 10:45:12 darwin2006 slapd[16711]: slapd starting
Mar 5 10:45:12 darwin2006 slapd[16730]: @(#) $OpenLDAP: slapd 2.2.13 (Aug 13 2006 01:27:00) $ buildcentos@build-i386:/home/buildcentos/rpmbuild/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
Mar 5 10:45:12 darwin2006 slapd[16730]: daemon: bind(6) failed errno=98 (Address already in use)
Mar 5 10:45:12 darwin2006 slapd[16730]: daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
Mar 5 10:45:12 darwin2006 slapd[16730]: slapd stopped.
Any hints?
Thank you for the great job in developing SME and for the help given in this forum.
Regards
Rolf
-
Could you be a little more specific?
- What exactly did you upgrade? Only the e-smith-lib or did you perform a full upgrade from 7.1 to 7.1.1?
- Did you read http://forums.contribs.org/index.php?topic=35135.0?
- Did you follow the HOW-TO install ox http://forums.contribs.org/index.php?topic=34388.0?
- Do you have a backup http://forums.contribs.org/index.php?topic=35323.0?
If you performed from 7.1. a yum upgrade while working with ox, this should have caused in unsolved dependencies. If you proceeded as I described in the workaround, you should be able to run ox without any problems.
In any other case, you need to restore ox from a backup. If you don't have a backup, try to create one before you do any other changes. See the links above. Then try to build a clean and stable installation of 7.1.1. Follow the workaround. Restore the backup. Try to login ox.
-
Hi,
Could you be a little more specific?
- What exactly did you upgrade? Only the e-smith-lib or did you perform a full upgrade from 7.1 to 7.1.1?
- Did you read http://forums.contribs.org/index.php?topic=35135.0?
- Did you follow the HOW-TO install ox http://forums.contribs.org/index.php?topic=34388.0?
- Do you have a backup http://forums.contribs.org/index.php?topic=35323.0?
In any other case, you need to restore ox from a backup. If you don't have a backup, try to create one before you do any other changes. See the links above. Then try to build a clean and stable installation of 7.1.1. Follow the workaround. Restore the backup. Try to login ox.
I followed the how-to on Vincents Website to install ox. It worked great until this morning :-(
I have no backup. OX is not full used yet. I made a full upgrade, the first step was the mentioned "rpm -Uvh --nodeps" of the e-smith-lib . btw: I use the palm-sync extension from open-xchange. It also worked until this morning.
Tried your workaround, but it did not work for me. I think I need to make a full new install of OX?
I also read the thread:
http://forums.contribs.org/index.php?topic=29824.0
and did
/sbin/e-smith/config setprop ldap status disabled
svc -d /service/ldap
I think that was a mistake... how can I reverse this (do I need to)?
OX is still not running (same error). There are no errors in the log files (as far as I can see). What do you need to help?
Regards
Rolf
-
Hi,
I still have a serious problem with OX. It says "Error: seesion doesn´t exist" after trying to login.
I followed the mentioned how-to. Kicked postgresql and ldap, reinstalled all the open-xchange rpms, initall_ox ...
There is an error during initall_ox, maybe this can help somebody to give me a hint? During the run of initall_ox, after the last add user I see:
Create User : rolf password: rolf
LDAP Success
SQL Success
LDAP Success!
ldap_bind: Can't contact LDAP server (-1)
Added Group users to LDAP
Added Group paul to LDAP
/var/log/messages says every 1 min. and 15 sec. :
Mar 6 10:46:49 darwin2006 slapd[19481]: fd=7 DENIED from unknown (127.0.0.1)
While loggimng in the groupware.log says:
Mrz 06 12:03:03 darwin2006.yamka.local openexchange: NamingException: simple bind failed: localhost:389
java.lang.NullPointerException
at com.openexchange.groupware.MailReminder.work(MailReminder.java:107)
at com.openexchange.server.RecurrenteObrero.run(RecurrenteObrero.java:86)
at java.lang.Thread.run(Thread.java:619)
Does anyone have an idea? Any help would be highly appreciated. We use OX sind 2003, I configured it on an old SUSE 9.1 from scratch and know it a little bit. Buit I don´t know the SME Server very good. Therefore I don´t know where to begin the error-search.
Pls. remember: OX ran without problems until yesterday morning, when I performed the upgrade from 71. to 7.1.1. :-( Shouldn´t have done that .
Regards
Rolf
-
Rolf, I didn't execute this command -
Code:
/sbin/e-smith/config setprop ldap status disabled
svc -d /service/ldap
was not necessary for me.
Was it possible to perform a backup of your existing ox? Before you change more things, try to use the modified backup_ox script from the HOW-TO.
Did you *COMPLETE* uninstall the previous ox-installation? Did you also try to get a clean server-status, before you changed the ldap status? Did you also use the modified scripts from the HOW-TO before you re-installed ox?
Question: what is the result of
- ps -A | grep slapd
- ps -A | grep java
What rpm's of Vincent do you use? Be careful with the latest version:
- sme7-open-xchange-0.8.2.1-72.noarch.rpm
- sme7-open-xchange-conf-0.8.2-27.noarch.rpm
- snip -
--> Processing Dependency: sme7-jotm for package: sme7-open-xchange
--> Processing Dependency: sme7-common-transaction for package: sme7-open-xchange
--> Finished Dependency Resolution
Error: Missing Dependency: sme7-jotm is needed by package sme7-open-xchange
Error: Missing Dependency: sme7-common-transaction is needed by package sme7-open-xchange
- snip -
You should be able to install with a yum local install:
- openldap-clients-2.2.13-6.4E.i386.rpm
- sme7-postgresql-7.4.8-7.noarch.rpm
- sme-j2sdk-1.6.0-9.i386.rpm
Don't forget the
- signal-event post-upgrade
- signal-event reboot
stefan
-
Stefan, ist works !
Question: what is the result of
- ps -A | grep slapd
- ps -A | grep java
... said that java runs, but no slapd.
I removed all the ox-rpms and openldap-clients. Then I kicked postgresql and ldap, did
/sbin/e-smith/config setprop ldap status disabled
svc -d /service/ldap
I expanded all the ldap templates manually:
expand-template /etc/openldap/slapd.conf
expand-template /etc/openldap/ldap.conf
and then:
/sbin/e-smith/config setprop ldap status enabled
svc -u /service/ldap
signal-event post-upgrade
signal-event-post-reboot
checking for slapd after reboot shows that it was working. I reinstalled ox and run initall_ox . It worked without errors. After that OX started up without problems. The OX-Palm-Sync also works...
Phhh! Had been a few ours work. And, to be honest, I really don´t know exactly why it is working now. The LDAP seems to be broken seriously and needed a complete reconfiguration.
I will be more careful with updates of the sme-server in the future.
Thank you very much for your help. Your HOW-TO and your help in this thread has been very useful for me in solving this problem.
- sme7-open-xchange-0.8.2.1-72.noarch.rpm
- sme7-open-xchange-conf-0.8.2-27.noarch.rpm
I use the latest version and ignored the dependency issues. It works.
- openldap-clients-2.2.13-6.4E.i386.rpm
yes.
- sme7-postgresql-7.4.8-7.noarch.rpm
- sme-j2sdk-1.6.0-9.i386.rpm
I use the latest versions of that (installed via the sme update system).
Thank you very much again. Sometimes I think: "Why don´t we use commercial software, pay lots of money and when we have trouble, we just call Mr. Heroeadmin and he fixes it!" But, to be honest, thats boring :-)
Regards
Rolf
-
Rolf,
you wrote
Quote:
- sme7-open-xchange-0.8.2.1-72.noarch.rpm
- sme7-open-xchange-conf-0.8.2-27.noarch.rpm
I use the latest version and ignored the dependency issues. It works.
Did you install the two rpm's with yum or rpm? And are you able to work with the ox-panel in the server-manager? Means, can you add aliases for ox-users?
Would be nice to have a feed-back.
stefan
-
Hi Stefan,
Rolf,
Quote:
- sme7-open-xchange-0.8.2.1-72.noarch.rpm
- sme7-open-xchange-conf-0.8.2-27.noarch.rpm
1) Did you install the two rpm's with yum or rpm?
2) And are you able to work with the ox-panel in the server-manager?
3)Means, can you add aliases for ox-users?
top 1)
I installed them
rpm -i --nodeps sme7-open-xchange .... . rpm
top2)
Yes, that works.
top 3)
Yes, that works also. I added an alias called "test_alias" , it has been created and deleted correctly.
Hope this helps.
Regards
Rolf
-
Hi Rolf,
thank you for your reply! Before installing
- sme7-open-xchange-0.8.2.1-72.noarch.rpm
- sme7-open-xchange-conf-0.8.2-27.noarch.rpm
I made a backup of my existing installation with backup_ox. (For the modified scripts, see my HOW-TO)
Then I run rpm -Uvh --nodeps sme7-open-xchange*. rpm
After the installation I changed the language of postgres. Then I did a restore_ox (For the modified scripts, see my HOW-TO). Two more things to do:
- service postgresql restart
- service open-xchange restart
Login ox. Everything is fine. Login the server-manager. Everything is fine.
Last step: Change Vincents scripts in /usr/local/open-xchange/sbin and in /usr/local/open-xchange/share with the modified scripts of the HOW-TO.
You helped - thank you Rolf!
Regards
stefan