<div dir="ltr"><div><div>Hi,<br><br></div>I am getting the following error when I start server with ./run<br><br>2014-11-26 05:13:42+0000 [-] [caldav-1] /usr/bin/twistd: The specified reactor cannot be used, failed with error: reactor already installed.<br><br></div><div>EC2 Ubuntu 14.x instance with CalendarServer-5.2.2 source from svn<br></div><div><br></div>Full log is below.<br><div><div><div><div><div><br></div><div>Please provide pointers.<br></div><div><br>*****************************************************************************<br>2014-11-26 05:13:41+0000 [-] [twisted.internet.tcp#info] LimitingInheritingProtocolFactory starting on 8008<br>2014-11-26 05:13:41+0000 [-] [twisted.internet.tcp#info] LimitingInheritingProtocolFactory starting on 8800<br>2014-11-26 05:13:41+0000 [-] [twisted.internet.tcp#info] LimitingInheritingProtocolFactory starting on 8443<br>2014-11-26 05:13:41+0000 [-] [twisted.internet.tcp#info] LimitingInheritingProtocolFactory starting on 8843<br>2014-11-26 05:13:41+0000 [-] [twisted.internet.tcp#info] _PeerPoolFactory starting on 7654<br>2014-11-26 05:13:42+0000 [-] [caldav-1] Usage: twistd [options]<br>2014-11-26 05:13:42+0000 [-] [caldav-1] Options:<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --savestats      save the Stats object rather than the text output of the<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        profiler.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -o, --no_save        do not save state on shutdown<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -e, --encrypted      The specified tap/aos file is encrypted.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -n, --nodaemon       don&#39;t daemonize, don&#39;t use default umask of 0077<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --originalname   Don&#39;t try to change the process name<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --syslog         Log to syslog, not to file<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --euid           Set only effective user-id rather than real user-id.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        (This option has no effect unless the server is running<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        as root, in which case it means not to shed all<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        privileges after binding ports, retaining the option to<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        regain privileges in cases such as spawning processes.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        Use with caution.)<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -l, --logfile=       log to a specified file, - for stdout<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --logger=        A fully-qualified name to a log observer factory to use<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        for the initial log observer. Takes precedence over<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        --logfile and --syslog (when available).<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -p, --profile=       Run in profile mode, dumping results to specified file<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --profiler=      Name of the profiler to use (hotshot, profile, cprofile).<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        [default: hotshot]<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -f, --file=          read the given .tap file [default: twistd.tap]<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -y, --python=        read an application from within a Python file (implies<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        -o)<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -s, --source=        Read an application from a .tas file (AOT format).<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -d, --rundir=        Change to a supplied directory before running [default:<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        .]<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --prefix=        use the given prefix when syslogging [default: twisted]<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --pidfile=       Name of the pidfile [default: twistd.pid]<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --chroot=        Chroot to a supplied directory before running<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -u, --uid=           The uid to run as.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -g, --gid=           The gid to run as.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --umask=         The (octal) file creation mask to apply.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --help-reactors  Display a list of possibly available reactor names.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -r, --reactor=       Which reactor to use (see --help-reactors for a list of<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        possibilities)<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --help           Display this help and exit.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --spew           Print an insanely verbose log of everything that happens.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        Useful when debugging freezes or locks in complex code.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]       --version        Print version information and exit.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]   -b, --debug          Run the application in the Python Debugger (implies<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                        nodaemon), sending SIGUSR2 will drop into debugger<br>2014-11-26 05:13:42+0000 [-] [caldav-1] <br>2014-11-26 05:13:42+0000 [-] [caldav-1] twistd reads a twisted.application.service.Application out of a file and runs<br>2014-11-26 05:13:42+0000 [-] [caldav-1] it.<br>2014-11-26 05:13:42+0000 [-] [caldav-1] Commands:<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     caldav           Calendar and Contacts Server<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     conch            A Conch SSH service.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     dns              A domain name server.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     ftp              An FTP server.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     inetd            An inetd(8) replacement.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     mail             An email service<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     manhole          An interactive remote debugger service accessible via<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                      telnet and ssh and providing syntax coloring and basic line<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                      editing functionality.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     manhole-old      An interactive remote debugger service.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     news             A news server.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     portforward      A simple port-forwarder.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     procmon          A process watchdog / supervisor<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     socks            A SOCKSv4 proxy service.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     telnet           A simple, telnet-based remote debugging service.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     tftp             A TFTP Server<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     web              A general-purpose web server which can serve from a<br>2014-11-26 05:13:42+0000 [-] [caldav-1]                      filesystem or application resource.<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     words            A modern words server<br>2014-11-26 05:13:42+0000 [-] [caldav-1]     xmpp-router      An XMPP Router server<br>2014-11-26 05:13:42+0000 [-] [caldav-1] <br>2014-11-26 05:13:42+0000 [-] [caldav-1] /usr/bin/twistd: The specified reactor cannot be used, failed with error: reactor already installed.<br>2014-11-26 05:13:42+0000 [-] [caldav-1] See the list of available reactors with --help-reactors<br><br></div></div></div></div></div></div>