[codesprints] Help: setup on CentOS 7
Hongwei Li <flycoolman@gmail.com> Sat, 25 July 2020 04:38 UTC
Return-Path: <flycoolman@gmail.com>
X-Original-To: codesprints@ietfa.amsl.com
Delivered-To: codesprints@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id D755E3A12AA
for <codesprints@ietfa.amsl.com>; Fri, 24 Jul 2020 21:38:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id bHy2Msys2ZoZ for <codesprints@ietfa.amsl.com>;
Fri, 24 Jul 2020 21:38:48 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com
[IPv6:2a00:1450:4864:20::22f])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 037293A12A9
for <codesprints@ietf.org>; Fri, 24 Jul 2020 21:38:47 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id f5so11946136ljj.10
for <codesprints@ietf.org>; Fri, 24 Jul 2020 21:38:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=ynw+m7bkFc+9M5AiH6mjRtLuYdfniktfmy6B76yK1hg=;
b=QifPgeTc8hoVVy9punRqjDY8blrubEV2SXau0lWdzgMN75i8gYVbH1ULkCIcLC8Geb
tzJdeZA+0NyMj0roER2VeG+WqMa+13Rz75Aol3vxrNih48oUNvTlJKl3nZDFE9lNZlvD
nAcQ7R+Hv+3jGvnTUNYckpqra9W82vbWVb5qQXfQXDQ8BqyuqO6WZ4ZW6K6CofaKuGsM
0m9MjmGsn1mf0hPYZFmHI3Ap0QTbgZNy40KLy8Z4qGJTBk1UdtDYjg9dzNauoszc06eD
w0I9nD8lD+0U65Ik+YWu8NDFhjmzvRA4W0GhyOzJ+K6uU+hfKfe9sUc58Z94j5r7XANM
5/jQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=ynw+m7bkFc+9M5AiH6mjRtLuYdfniktfmy6B76yK1hg=;
b=MP92Mwb3/8y3GV/ZDZpkKHTtUPBZO4lCjOAuEcpgcFyClT9ELRNZM/RGnz2LKOpwdV
5qBHRVZKmshvg8JaPQ7vs+evT2k7sweQSd8Kv+OzlhscX0mILqW+0rz/XMvsseLi3W1D
CO8PkrzOHeHLASOn1YOR1il5Us3abOyF9YZX88LTgFJxlqBaSCkLbFJVGjujD4QwvWMB
xGXarEd1mwGeIBBEwUqVrTG7cyAOZT/B1O318vprw7qk/b/9/Ee8ySWAfHkncdL0+foD
2NL7KYN7yEdN22k+ROk69KByx6C2xxRaiOmbnkCvhiodf8X0Hg3dA92kQKunHPmw4UQF
dsdg==
X-Gm-Message-State: AOAM531r+jJ1fpu5qXHRSZJUvsTQZ8dkTjvLkH5N1y1xXLT8KN27/GES
SszPH/QHisbtcEAcHCF+fm1coqaX9mLuqBNU1Ek7Yj+C3b0=
X-Google-Smtp-Source: ABdhPJxN8XAsrN1x23vjZKXA9orr05L798SACOi/xYCWjH0M/5Mgkj/8gthXv//il39VqMjkyiZPy0rUEarCUizBlW4=
X-Received: by 2002:a2e:80cc:: with SMTP id r12mr6278852ljg.344.1595651926054;
Fri, 24 Jul 2020 21:38:46 -0700 (PDT)
MIME-Version: 1.0
From: Hongwei Li <flycoolman@gmail.com>
Date: Sat, 25 Jul 2020 00:38:34 -0400
Message-ID: <CAL73O_yKcyS_c+oX=xqaaDjjVWckpdO76kdo3c-EsuQujnjb9w@mail.gmail.com>
To: henrik@levkowetz.com, codesprints@ietf.org
Content-Type: multipart/alternative; boundary="0000000000003cdce705ab3caadc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/codesprints/Oh7tRuZHYQkQDPGm3rxxAbIM2gQ>
Subject: [codesprints] Help: setup on CentOS 7
X-BeenThere: codesprints@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "List for coordinating \(and following up on\) codesprint activities"
<codesprints.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/codesprints>,
<mailto:codesprints-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/codesprints/>
List-Post: <mailto:codesprints@ietf.org>
List-Help: <mailto:codesprints-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codesprints>,
<mailto:codesprints-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Jul 2020 04:38:53 -0000
Did anybody see the issue like below? When I ran the script ./docker/run, I got the below errors. Why is the script trying to connect database on the host server? I don't have mysql installed. Shouldn't it be in the docker image? I see the permission denied for every action in the script. Confusing with the permission thing. Setting up a default settings_local.py ... cp: cannot stat '/home/vagrant/ietf/src/7.10.1.dev0/docker/settings_local.py': Permission denied Creating dir /home/vagrant/ietf/src/7.10.1.dev0/test/id/ mkdir: cannot create directory '/home/vagrant/ietf/src/7.10.1.dev0/test/id/': Permission denied [vagrant@centos7 7.10.1.dev0]$ ./docker/run Running on Linux. Not trying to start a virtual docker machine on Linux Starting a docker container for '7.10.1.dev0'. The web interface for 'runserver' should appear on User vagrant (1000:1000) Gathering info ... User vagrant (1000:1000) Checking if MySQL base data exists ... Setting up the 'mysql' user for database file access ... groupadd: group 'mysqldata' already exists Checking if MySQL is running ... [info] MariaDB is stopped.. Starting mysql ... [FAIL] Starting MariaDB database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed! Checking if syslog is running ... [FAIL] rsyslogd is not running ... failed! Starting syslog ... [....] Starting enhanced syslogd: rsyslogdrsyslogd: pidfile '/run/rsyslogd.pid' and pid 514 already exist. If you want to run multiple instances of rsyslog, you need to specify different pid files for them (-i option). rsyslogd: run failed with error -3000 (see rsyslog.h or try https://www.rsyslog.com/e/3000 to learn what that number means) [ ok ady started. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Checking if the IETF database exists at /var/lib/mysql/ ... Creating group entry for GID '1000' ... groupadd: GID '1000' already exists Checking that there's a virtual environment for 7.10.1.dev0 ... Using virtual environment at /opt/home/vagrant/7.10.1.dev0 Activating the virtual python environment ... Setting up a default settings_local.py ... cp: cannot stat '/home/vagrant/ietf/src/7.10.1.dev0/docker/settings_local.py': Permission denied Creating dir /home/vagrant/ietf/src/7.10.1.dev0/test/id/ mkdir: cannot create directory '/home/vagrant/ietf/src/7.10.1.dev0/test/id/': Permission denied Thanks, Hongwei
- [codesprints] Help: setup on CentOS 7 Hongwei Li
- Re: [codesprints] Help: setup on CentOS 7 Russ Housley
- Re: [codesprints] Help: setup on CentOS 7 Henrik Levkowetz
- Re: [codesprints] Help: setup on CentOS 7 Hongwei Li