Comments (6)
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.
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.
@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.
@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.
After mysql server started, you are supposed to import db like extra/lib.sh did.
from fbctf.
Let us know if you're still having issues.
from fbctf.
Related Issues (20)
- Cannot choose team shield in Chrome HOT 1
- Possible to do a combination of flag and quiz?
- FianGanz
- Changing country names to custom HOT 1
- Requirements HOT 1
- Welcome Message
- opensource.facebook.com redirection HOT 1
- Problem with composer HOT 1
- Graph is missing HOT 1
- Nginx error HOT 1
- first_capture and completed_by are not updating HOT 4
- Multiple challenges per country
- Dead project? HOT 3
- ERR_TOO_MANY_REDIRECTS HOT 1
- Game clock is out of sync to Game schedule
- Link to collegiate - focused challenges (In FAQ) is dead
- How can I change default port fbctf with docker HOT 1
- Locked out of UI HOT 1
- mySQL "too many connections" error HOT 1
- how to acces from my ip direct - without Vagrant?! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbctf.