Git Product home page Git Product logo

Comments (6)

marjoripomarole avatar marjoripomarole commented on July 19, 2024

You need to run provision with

./extra/provision.sh dev `pwd`

Instead of

./extra/provision.sh dev pwd

pws is a unix command that will print out your correct directory. Which is the path where you cloned fbctf.

from fbctf.

farooqy avatar farooqy commented on July 19, 2024

Thanks it worked, I entered the ssl cert and key directories, it was successful, but the nginx seems to fail again, and mysql server. Below is where the error begins to the end.

nginx: [emerg] PEM_read_bio_X509_AUX("/etc/nginx/certs/fbctf.csr") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: TRUSTED CERTIFICATE)
nginx: configuration file /etc/nginx/nginx.conf test failed

  • Restarting nginx nginx [fail]
    [+] Installing Unison 2.48.3
    [+] Remember install the same version of unison (2.48.3) in your host machine
    [+] Creating DB - fbctf
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    [+] Importing schema...
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    [+] Importing countries...
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    [+] Importing logos...
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    [+] Creating user...
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    [+] DB Connection file
    [+] Adding default admin user
    [+] The password for admin is: cf5acb5ee161c98d55c962d79b345f03
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
    [+] fbctf deployment is complete! Ready in https://10.10.10.5

from fbctf.

qazbnm456 avatar qazbnm456 commented on July 19, 2024

@farooqy You should double check if certs are loading correctly, and typing service mysql start to solve "Can't connect to local MySQL server through socket" problem.

from fbctf.

farooqy avatar farooqy commented on July 19, 2024

@qazbnm456 I started mysql but now access is denied, but it generates the password for the site, but the site doesnt load.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

from fbctf.

qazbnm456 avatar qazbnm456 commented on July 19, 2024

After mysql server started, you are supposed to import db like extra/lib.sh did.

from fbctf.

gsingh93 avatar gsingh93 commented on July 19, 2024

Let us know if you're still having issues.

from fbctf.

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.