Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Script fails #28

Open
pixel5919 opened this issue May 16, 2016 · 13 comments
Open

Deploy Script fails #28

pixel5919 opened this issue May 16, 2016 · 13 comments
Assignees
Labels
Milestone

Comments

@pixel5919
Copy link
Collaborator

Just tested the deploy script on a clean install of Ubuntu 14.04.4 LTS

+ systemctl enable docker
deploy.sh: line 69: systemctl: command not found

Do we need anything pre-installed? If so, we should create/update the wiki

@pixel5919 pixel5919 added the bug label May 16, 2016
@pixel5919 pixel5919 added this to the 1.1 Release milestone May 16, 2016
@kabilans
Copy link
Collaborator

Is this on CentOS? Tag Ian on this. I think systemctl might not be
installed on your image.

On Mon, May 16, 2016 at 3:54 PM, pixel5919 [email protected] wrote:

Assigned #28 #28 to
@kabilans https://github.com/kabilans.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#28 (comment)

Sempon Sibi Kabilan

@kabilans
Copy link
Collaborator

Also, the system should work fine regardless. It'll just start docker up
the first time you run the honeypot.

On Mon, May 16, 2016 at 4:04 PM, Sibi Kabilan [email protected] wrote:

Is this on CentOS? Tag Ian on this. I think systemctl might not be
installed on your image.

On Mon, May 16, 2016 at 3:54 PM, pixel5919 [email protected]
wrote:

Assigned #28 #28 to
@kabilans https://github.com/kabilans.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#28 (comment)

Sempon Sibi Kabilan

Sempon Sibi Kabilan

@pixel5919
Copy link
Collaborator Author

It looks like as if honeypot_config.json never gets populated. And it's on Ubuntu 14.04, you should have the credentials.

@kabilans
Copy link
Collaborator

kabilans commented May 16, 2016 via email

@pixel5919
Copy link
Collaborator Author

Did you verify that honeypot_config.json gets repopulated with the UUID changing? I had to manually enter mine.

@kabilans
Copy link
Collaborator

Mine did repopulate fine. I have no idea what went wrong for you.

On Mon, May 16, 2016 at 6:59 PM, pixel5919 [email protected] wrote:

Did you verify that honeypot_config.json gets repopulated with the UUID
changing? I had to manually enter mine.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#28 (comment)

Sempon Sibi Kabilan

@iankronquist
Copy link
Owner

iankronquist commented May 18, 2016

@pixel5919 the deploy script only works with MHN, and MHN depends on supervisor. Is MHN installed on the droplet?

@iankronquist
Copy link
Owner

Fixed by #31.

@iankronquist
Copy link
Owner

@kabilans FYI:
systemctl is part of the systemd init system and should be installed on every modern Linux distro. It can run, restart, and monitor daemons as services.
supervisor is a python daemon which watches programs and restarts them if they fail. I think you meant to say supervisorctl.

@kabilans
Copy link
Collaborator

kabilans commented May 18, 2016 via email

@pixel5919
Copy link
Collaborator Author

pixel5919 commented Jun 2, 2016

@kabilans Testing on new Ubuntu droplet fails:

+ cp /opt/beeswax_gopath/src/github.com/iankronquist//senior-project-experiment/beeswax_supervisor.conf /etc/supervisor/conf.d/beeswax.conf
cp: cannot stat ‘/opt/beeswax_gopath/src/github.com/iankronquist//senior-project-experiment/beeswax_supervisor.conf’: No such file or directory
  • Need to update since we've change file locations and names
  • Sidenote: honeypot_config.json populates but the UUID and secret need to be contained within quotes

@pixel5919
Copy link
Collaborator Author

Fixed some of the issues in kabilans/mhn#1

@pixel5919
Copy link
Collaborator Author

pixel5919 commented Jun 8, 2016

I'm having issues with the honeypot_config.json never getting populated and systemctl not working on Ubuntu 14

@pixel5919 pixel5919 reopened this Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants