Public bug reported:
In calendarserver 5.3 on Ubuntu 14.10, the launch script does not
properly launch the server using the default configuration files and the
init.d script. This is because calendarserver spawns a child postgreSQL
server by default. However, the server expects the binaries located in
/usr/lib/postgressql/x.y/bin to be in the path when launching, and exits
with an error if they are not. See
https://www.calendarserver.org/ticket/397 for an error log under that
condition.
An easy solution is to edit the calendarserver init script and add the
appropriate directory to the path. (See attached init script for the
modification). However, my attachment should not be considered a patch
as the path is postgreSQL version specific. A more clever programmer
could add a few lines to the init script to determine the path, then add
it.
Per the linked ticket on www.calendarserver.org, this bug appears to
have existed since at least 10.04
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: calendarserver 5.2+dfsg-1
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
Date: Sat Dec 6 11:36:44 2014
InstallationDate: Installed on 2014-12-05 (0 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64
(20141022.2)
ProcEnviron:
TERM=xterm-256color
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
XDG_RUNTIME_DIR=<set>
SourcePackage: calendarserver
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.caldavd.caldavd.plist: [modified]
modified.conffile..etc.default.calendarserver: [modified]
mtime.conffile..etc.caldavd.caldavd.plist: 2014-12-06T11:01:09.819860
mtime.conffile..etc.default.calendarserver: 2014-12-06T08:22:46.171443
mtime.conffile..etc.init.d.calendarserver: 2014-12-06T09:33:52.195770
** Affects: calendarserver (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug calendarserver utopic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1399975
Title:
caldendarserver requires postgres binaries in path
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calendarserver/+bug/1399975/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs