Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5EFDE200B6E for ; Sun, 21 Aug 2016 23:46:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5D84E160AAA; Sun, 21 Aug 2016 21:46:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A53EC160A8E for ; Sun, 21 Aug 2016 23:46:19 +0200 (CEST) Received: (qmail 95218 invoked by uid 500); 21 Aug 2016 21:46:18 -0000 Mailing-List: contact dev-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list dev@airflow.incubator.apache.org Received: (qmail 95206 invoked by uid 99); 21 Aug 2016 21:46:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2016 21:46:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 163AF1A0CFD for ; Sun, 21 Aug 2016 21:46:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lRDf47eBxaJe for ; Sun, 21 Aug 2016 21:46:16 +0000 (UTC) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 35FE85FB03 for ; Sun, 21 Aug 2016 21:46:15 +0000 (UTC) Received: by mail-ua0-f174.google.com with SMTP id n59so159657716uan.2 for ; Sun, 21 Aug 2016 14:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=1RXAe1XPqMSn7GxlCceQCzgBUNUvk+VBJCjCfvkDLSE=; b=vQaIMf14DsyIIUbMtShENkwuJUMIjNcNDrJEtNkbiWyUovk4Fz0yARF1tvZcw6GG1+ qFDLiQzu68hQbdCdaTRVFBt6OIEw8oXHwXAB+FTr4B3uwWg6kdwzPBKymwzVAFN3oeSh PS0IBigJq4iIaD67VKq3LBTeo/grzSrE+VH+PQGIlYQS5/6lLHx/2lfdtfQ/6+zQhhqh 6q+so0BSSVNSdlt0A/yDrQKVRON8+N9mYPvufrYiRJ7uKXtvck+07tCrxLBoMvaCop3Y J55GXKV+p++2DcAlATro9omJT677vuCPsric2M4F8XNZSz4p0vPGyu0LjC1Smm4/z2RY xdLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1RXAe1XPqMSn7GxlCceQCzgBUNUvk+VBJCjCfvkDLSE=; b=Xg1rRbRI51XNekHjZdreajvvgFTj4Z4yVyhoa25mvi8lUJrtGL9JChSmfPcEuMuHbd r3cRLHliSnKsNxI6M3qghOTJ1xm7JSn+Vjpa5vAzDlmJX4AWeRj7Pppl0ZALdILnxLnC fR2w4O9tsYaA76Id4680AmwDU1OsbPZNsgPdV9gQmRhpmnhmBRaCFnQALuUKQJEPEXaI hcaVF2YXutNq1yQx63DZG91lpIrY4R0gbeZrc/ZkBnxUj+V0Qi8l5DyzN46BwqlBw94H Iu/si/KuBeyvSRTV3NKIR2bLBAO1GtrtJCL9puF8Nf2gI7+mmBQ71inhoVuEfks02/Q3 gGjA== X-Gm-Message-State: AEkooushzVSbHYzXDFwYwMaGcZrdCf2ORK0oBAV+/iSmPp5vOi243gdQ4n0EAyaPNPp/r2t/IRi+OLC45F6IDw== X-Received: by 10.31.41.198 with SMTP id p189mr8057002vkp.50.1471815974040; Sun, 21 Aug 2016 14:46:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.89.194 with HTTP; Sun, 21 Aug 2016 14:46:13 -0700 (PDT) From: David Montgomery Date: Mon, 22 Aug 2016 05:46:13 +0800 Message-ID: Subject: airflow supervisord scripts do not work To: dev@airflow.incubator.apache.org Content-Type: multipart/alternative; boundary=001a113eed104ebb73053a9bdce2 archived-at: Sun, 21 Aug 2016 21:46:20 -0000 --001a113eed104ebb73053a9bdce2 Content-Type: text/plain; charset=UTF-8 Hi, its great that one can start the webserver from the command line however using the upstart scripts do not work. this is in the https://github.com/apache/incubator-airflow/blob/master/scripts/upstart/airflow-webserver.conf exec usr/local/bin/airflow webserver But I want to use supervisor. And toe below is the terrible error I get Traceback (most recent call last): File "/usr/local/bin/airflow", line 15, in args.func(args) File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 423, in webserver 'gunicorn', run_args File "/usr/lib/python2.7/os.py", line 344, in execvp _execvpe(file, args) File "/usr/lib/python2.7/os.py", line 380, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory [program:airflow] command = /usr/local/bin/airflow webserver -p 80 process_name=%(program_name)s autostart=true autorestart=true stopsignal=KILL stopasgroup = true killasgroup = true stdout_logfile=/tmp/airflow.log stdout_logfile_maxbytes=1MB stdout_logfile_backups=1 stderr_logfile = /tmp/airflow.err stderr_logfile_maxbytes=1MB stderr_logfile_backups=1 [group:airflow_server] programs=airflow --001a113eed104ebb73053a9bdce2--