Comments (7)
Like so:
$ cd security_monkey/supervisor
$ sudo supervisorctl -c security_monkey.ini
> restart securitymonkeyscheduler
Run status a few times to make sure it has started correctly
> status
from security_monkey.
Getting unix:///tmp/supervisor.sock; no such file with the cloudformation template
from security_monkey.
Hey Jaguar,
I've noticed this as well. Under some circumstances, supervisor seems to die off, even if security_monkey continues to run. (Root cause currently unknown)
lucab has provided a pull request ( #47 ) to switch to the system supervisor. That may (or may not) stop this from happening. That has been merged into develop but not yet pushed to master.
In the mean time, try this:
$ sudo pkill -9 python
Kills all python processes to make sure security_monkey is shut down before we launch another instance of supervisor.
$ sudo supervisord -c security_monkey.ini
$ sudo supervisorctl -c security_monkey.ini
Launching supervisord again should make sure there is a file in /tmp/supervisor.sock
from security_monkey.
The steps above did not work. Any other ideas?
from security_monkey.
Give me some more information. What happened when you launched supervisord?
$ sudo supervisord -c security_monkey.ini
Any output? Is supervisorctl still returning the same error?
from security_monkey.
FATAL Excited too quickly (process log may have details)
from security_monkey.
My guess is that your pkill command didn't kill security_monkey processes correctly so when supervisor tries to start a new instance of security monkey, the port that it is listening on is already taken.
$ ps agux | grep python
$ sudo pkill -9 python
$ ps agux | grep python
Use these commands to make sure security_monkey is shut down before trying to start supervisor again.
from security_monkey.
Related Issues (20)
- not getting description of Unknown issue HOT 2
- Problemas al ejecutar pub get
- Error al ejecutar Pub build HOT 2
- Ubuntu- Create a Self Signed SSL Certificate
- error when running monkey db upgrade HOT 4
- Google SSO Crashes on /api/1/auth/providers HOT 1
- botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the AssumeRole operation: Access denied HOT 11
- Hardcoded reference to Riot Games HOT 4
- No way to see what we are about to justify
- monkey db upgrade fails HOT 2
- ALB/ELB scans are not working HOT 4
- monkey db upgrade - issues HOT 5
- frequent null value in column "item_id" violates not-null constraint exception HOT 4
- monkey db upgrade is throwing error HOT 1
- monkey db upgrade issue is still there HOT 1
- Python 3 inconsistent list ordering causing frequent change detections
- pkg_resources.DistributionNotFound: The 'octodns' distribution was not found and is required by the application HOT 1
- How to Generate a change item email HOT 11
- Where to Submit a Security Vulnerability
- How to run SecMonkey locally 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 security_monkey.