Terms of service
|
Imprint
|
Copyright
News
Products
Company
Contact
Project Site
February 09, 2012, 11:20:05 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
Home
Help
Search
Login
Register
Kolab on Gentoo
>
Kolab2/Gentoo
>
Bugs
>
Gentoo update issues
Pages: [
1
]
« previous
next »
Print
Author
Topic: Gentoo update issues (Read 5409 times)
Strunzdesign
Newbie
Karma: 0
Posts: 9
Gentoo update issues
«
on:
June 17, 2008, 09:37:16 AM »
Hi,
yesterday, I synced my Gentoo Groupware box (portage & layman) and made an update. Unfortunately, some problems regarding Kolab occured, and I want to mention them here.
1. Apache AddDirectoryIndex-Problem
-> This is alreads discussed here in another thread
2. Kolabconf error: Openldap not running (slapd)
-> Errors in configfile /etc/openldap/slapd.conf
Seems that this file was replaced with a default one, and slapd was unable to start. Error message was like: "Invalid database (hdb)".
Kolabconf does _not_ replace the broken file with the correct template, I had to perform this task by myself... luckily, I was able to copy slapd.conf.old to slapd.conf and slapd restarted again (including kolabconf)
3. /etc/init.d/kolabd start does not work anymore.
powerstation ~ # /etc/init.d/kolabd start
* Starting kolabd ... [ !! ]
However, Interesting:
powerstation ~ # start-stop-daemon -b --start --exec /usr/bin/perl /usr/sbin/kolabd
/usr/bin/perl already running.
powerstation ~ #
... but there is no perl or kolabd proces running!
When I start kolabd "by hand" within a screen session, it works flawlessly:
powerstation ~ # /usr/bin/perl /usr/sbin/kolabd
kolabd - Kolab Backend Daemon
Copyright (c) 2004 Klaraelvdalens Datakonsult AB
Copyright (c) 2003 Code Fusion cc
Copyright (c) 2003 Tassilo Erlewein, Martin Konold, Achim Frank
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Any Ideas what's going on here?
I think the system is running again, but with a kolabd started by hand. I don't know the implications of changing AddDirectoryIndex to DirectoryIndex, and I don't know if kolabconf renewed my slapd.conf afterwards. But it seems to work now.
Regards,
Florian
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: Gentoo update issues
«
Reply #1 on:
June 18, 2008, 12:01:35 AM »
#1: rm /etc/apache2/modules.d/70_mod_php5.conf
rm /etc/kolab/templates/70_mod_php5.conf.template
USE="kolab" emerge -av =php-5.2.6-r1
#2: Haven’t had that problem yet
#3: Had that problem, same issue, same result, no solution
I’m also having an issue with the kolab-webadmin ebuild not copying over a folder.
I created a linux image to clone that has a working kolab install. Before applying updates I run them against that image to make sure I wont’ break a clients install. Gunner is usually pretty good at keeping the overlay up and running however he’s been busy with kolab 2.2
Logged
http://www.aplusperfect.com
nullpointer
Newbie
Karma: 0
Posts: 6
Re: Gentoo update issues
«
Reply #2 on:
June 18, 2008, 10:34:32 PM »
#3: ... solution
Open /etc/init.d/kolabd and remove /usr/bin/perl from the exec command (error message is clear: '/usr/bin/perl already running' -> do not start second instance)
start-stop-daemon -b --start --exec /usr/sbin/kolabd
/usr/bin/kolabd knows about interpreter from the first line in the file - #!/usr/bin/perl
«
Last Edit: June 18, 2008, 11:03:11 PM by nullpointer
»
Logged
nullpointer
Newbie
Karma: 0
Posts: 6
Re: Gentoo update issues
«
Reply #3 on:
June 18, 2008, 11:01:18 PM »
2. Kolabconf error: Openldap not running (slapd)
-> Errors in configfile /etc/openldap/slapd.conf
I can commit here, I had this issue too. Obviously the /etc/openldap/slapd.conf is hard rewritten with dist file and not exposed into the standard Gentoo etc-update mechanism. I noticed it because my ldap directory location is not default (on Gentoo /var/lib/openldap-data). You do not have to see this as issue if you do not change anything in the slapd.conf by hand.
Regards
Robert
Logged
Gunnar Wrobel
Administrator
Sr. Member
Karma: 2
Posts: 331
Re: Gentoo update issues
«
Reply #4 on:
June 21, 2008, 07:26:17 AM »
Hrm, looks like I need to be quick with 2.2. 2.1 really starts to break down now.
Logged
Strunzdesign
Newbie
Karma: 0
Posts: 9
Re: Gentoo update issues
«
Reply #5 on:
June 23, 2008, 08:27:09 AM »
Hi,
thank you very much! :-)
The problem with /etc/init.d/kolab could be solved here as well, just by removing "perl" from the start-stop-daemon line :-)
Greetings,
Florian
Logged
nullpointer
Newbie
Karma: 0
Posts: 6
Re: Gentoo update issues
«
Reply #6 on:
June 23, 2008, 10:19:42 PM »
Quote from: Gunnar Wrobel on June 21, 2008, 07:26:17 AM
Hrm, looks like I need to be quick with 2.2. 2.1 really starts to break down now.
Oh no, the installation of 2.1 was not so difficult. Just following the Wiki, issues are solved in the forum now
For any user expecting 'click and go' is the installation a bit tricky, but I think this kind of user does not set up Gentoo as his/her box of choice. What I am *really* missing, is SyncML, everything else if perfect. Thanks, Gunnar !
Logged
xehqter
Jr. Member
Karma: 1
Posts: 94
Re: Gentoo update issues
«
Reply #7 on:
June 24, 2008, 01:15:43 AM »
I posted the how-to install syncml, its in the thread you started.
Logged
http://www.aplusperfect.com
notHerbert
Newbie
Karma: 0
Posts: 4
Re: Gentoo update issues
«
Reply #8 on:
August 04, 2008, 02:43:02 AM »
It looks like the /etc/init.d/kolabd problem is fixed because mine has on top:
#!/sbin/runscript
and
start-stop-daemon -b --start --quiet --exec /usr/bin/perl /usr/sbin/kolabd
It works.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Kolab2/Gentoo
=> Horde/Kolab
-----------------------------
Kolab2/Gentoo
-----------------------------
=> Bugs
=> Configuration
=> Extensions
=> Miscellaneous
-----------------------------
Horde/Kolab
-----------------------------
=> Installation
=> Problems/Bugs
-----------------------------
Other Languages
-----------------------------
=> Deutsch/German
=> Francais/French