Comment 2 for bug 1600252

Revision history for this message
Battant (mparchet) wrote :

Hello,

Here is my configuration
Ubuntu 16.04 64 bit
uname -r
4.4.0-22-generic

apt-cache policy calendarserver
calendarserver:
  Installed: 7.0+dfsg-2
  Candidate: 7.0+dfsg-2
  Version table:
 *** 7.0+dfsg-2 500
        500 http://ch.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

I have follow the README.debian file instruction

/usr/share/doc/calendarserver/README.Debian

and i have installed this package

sudo easy_install -U cffi (See this bug for details : https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1512792

Problem :

When i try to start calendarserver with this command

"systemctl start calendarserver.service"

Calendarserver don't start

calendarserver.service - LSB: Calendar and Contacts Server
   Loaded: loaded (/etc/init.d/calendarserver; bad; vendor preset: enabled)
   Active: active (exited) since jeu. 2016-05-19 20:52:10 CEST; 35min ago
     Docs: man:systemd-sysv-generator(8)
    Tasks: 0 (limit: 512)

When I try to restart calendarserver with this command

" systemctl restart calendarserver.service"

Calendarserver is running

calendarserver.service - LSB: Calendar and Contacts Server
   Loaded: loaded (/etc/init.d/calendarserver; bad; vendor preset: enabled)
   Active: active (running) since jeu. 2016-05-19 21:32:16 CEST; 12s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5317 ExecStop=/etc/init.d/calendarserver stop (code=exited, status=0/
  Process: 5327 ExecStart=/etc/init.d/calendarserver start (code=exited, status=
    Tasks: 8 (limit: 512)
   CGroup: /system.slice/calendarserver.service
           ├─5352 CalendarServer 7.0.a1+unknown [Combined]
           └─5354 memcached -U 0 -s /var/run/caldavd/memcache.sock -u caldavd

However about 5 minute later

Calendarserver exit without unexceptionally without message

● calendarserver.service - LSB: Calendar and Contacts Server
   Loaded: loaded (/etc/init.d/calendarserver; bad; vendor preset: enabled)
   Active: active (exited) since jeu. 2016-05-19 21:32:16 CEST; 11min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5317 ExecStop=/etc/init.d/calendarserver stop (code=exited, status=0/SUCCESS)
  Process: 5327 ExecStart=/etc/init.d/calendarserver start (code=exited, status=0/SUCCESS)

mai 19 21:32:15 mparchet-W240EU-W250EUQ-W270EUQ systemd[1]: Starting LSB: Calendar and Contacts Server...
mai 19 21:32:16 mparchet-W240EU-W250EUQ-W270EUQ systemd[1]: Started LSB: Calendar and Contacts Server.

In addition when I try to connect to this server with Evolution, I get the error message :

"Connection refused".

Could you help me please to solve both issues

Thanks in advance for your support

Best regards

Battant