caldendarserver requires postgres binaries in path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calendarserver (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
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.calendarser
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: calendarserver 5.2+dfsg-1
ProcVersionSign
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-
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
XDG_RUNTIME_
SourcePackage: calendarserver
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
Ironically, I just realized that calendarserver does not depend on the postgreSQL, though it should be, or at least, postgresql should be a recommended package.