[CalendarServer-users] twistd: The specified reactor cannot be used

Gaurav Jain monkeyfdude at gmail.com
Tue Nov 25 21:54:28 PST 2014


I fixed it, by re-doing the whole build.

Please ignore

On Tue, Nov 25, 2014 at 9:19 PM, Gaurav Jain <monkeyfdude at gmail.com> wrote:

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


More information about the calendarserver-users mailing list