Git Product home page Git Product logo

Comments (2)

mavam avatar mavam commented on July 20, 2024

I'm encountering the same issue during docker-compose up:

misp_web | Creating admin GnuPG key
misp_web | Generating admin PGP key ... (please be patient, we need some entropy)
misp_web | gpg: Generating a basic OpenPGP key
misp_web | gpg: fatal: can't open /dev/random: Permission denied

Your fix did the trick for me, but I'm still getting an erroneous site:

Screen Shot 2019-03-17 at 14 23 43

Here's my log file:

Attaching to misp_db, misp_web
misp_web | Container started for the fist time. Setup might time a few minutes. Please wait...
misp_web | (Details are logged in /tmp/install.log)
misp_db | [Entrypoint] MySQL Docker Image 5.7.25-1.1.10
misp_web | Restoring MISP files...
misp_db | [Entrypoint] Initializing database
misp_db | [Entrypoint] Database initialized
misp_db | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
misp_db | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
misp_db | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
misp_db | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
misp_db | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
misp_db |
misp_db | [Entrypoint] ignoring /docker-entrypoint-initdb.d/*
misp_db |
misp_db | [Entrypoint] Server shut down
misp_db |
misp_db | [Entrypoint] MySQL init process done. Ready for start up.
misp_db |
misp_db | [Entrypoint] Starting MySQL 5.7.25-1.1.10
misp_web | Configuring postfix
misp_web |
misp_web | Current default time zone: 'Etc/UTC'
misp_web | Local time is now:      Sun Mar 17 13:22:19 UTC 2019.
misp_web | Universal Time is now:  Sun Mar 17 13:22:19 UTC 2019.
misp_web |
misp_web | Creating MySQL database
misp_web | MYSQL_PASSWORD is set to 'misp'
misp_web | mysql: [Warning] Using a password on the command line interface can be insecure.
misp_web | Connected to database successfully!
misp_web | Database misp empty, creating tables ...
misp_web | Imported /var/www/MISP/INSTALL/MYSQL.sql successfully
misp_web | Creating MISP configuration files
misp_web | Fixing the MISP base URL (http:\/\/misp\.tenzir.com) ...
misp_web | Creating admin GnuPG key
misp_web | Generating admin PGP key ... (please be patient, we need some entropy)
misp_web | gpg: directory `/var/www/MISP/.gnupg' created
misp_web | gpg: new configuration file `/var/www/MISP/.gnupg/gpg.conf' created
misp_web | gpg: WARNING: options in `/var/www/MISP/.gnupg/gpg.conf' are not yet active during this run
misp_web | gpg: keyring `/var/www/MISP/.gnupg/secring.gpg' created
misp_web | gpg: keyring `/var/www/MISP/.gnupg/pubring.gpg' created
misp_web | gpg: Generating a basic OpenPGP key
misp_web | +++++
misp_web | .................+++++
misp_web | gpg: /var/www/MISP/.gnupg/trustdb.gpg: trustdb created
misp_web | gpg: key 1661E5F1 marked as ultimately trusted
misp_web | gpg: Done
misp_web | Congratulations!
misp_web | Your MISP docker has been successfully booted for the first time.
misp_web | Don't forget:
misp_web | - Reconfigure postfix to match your environment
misp_web | - Change the MISP admin email address to [email protected]
misp_web |
misp_web | Starting supervisord
misp_web | 2019-03-17 13:22:23,404 CRIT Supervisor running as root (no user in config file)
misp_web | 2019-03-17 13:22:23,410 INFO supervisord started with pid 1
misp_web | 2019-03-17 13:22:24,413 INFO spawned: 'master' with pid 46
misp_web | 2019-03-17 13:22:24,416 INFO spawned: 'redis-server' with pid 47
misp_web | 2019-03-17 13:22:24,417 INFO spawned: 'misp-modules' with pid 48
misp_web | 2019-03-17 13:22:24,419 INFO spawned: 'resque' with pid 49
misp_web | 2019-03-17 13:22:24,421 INFO spawned: 'apache2' with pid 50
misp_web | 2019-03-17 13:22:24,586 INFO success: master entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
misp_web | 2019-03-17 13:22:24,586 INFO success: misp-modules entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
misp_web | 2019-03-17 13:22:24,587 INFO success: resque entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
misp_web | 2019-03-17 13:22:24,766 INFO exited: master (exit status 0; expected)
misp_web | 2019-03-17 13:22:25,498 INFO success: redis-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp_web | 2019-03-17 13:22:25,498 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp_web | 2019-03-17 13:22:25,586 INFO exited: misp-modules (exit status 0; expected)
misp_web | 2019-03-17 13:22:30,538 INFO exited: resque (exit status 0; expected)

from x_old_misp_docker.

alper avatar alper commented on July 20, 2024

I would throw away the images and rebuild it with the other config, that's for one.

But getting this to work has been hugely unpredictable. I'm not sure whether the dependencies are pinned, but it seems that some weeks it doesn't work and then trying again the following week it works.

from x_old_misp_docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.