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

Agent Install Fails - Ubuntu 16.04 LTS #224

Open
mattdunn4465 opened this issue Feb 1, 2017 · 5 comments
Open

Agent Install Fails - Ubuntu 16.04 LTS #224

mattdunn4465 opened this issue Feb 1, 2017 · 5 comments

Comments

@mattdunn4465
Copy link

cd /tmp
sudo wget https://github.com/vFense/vFenseAgent-nix/releases/download/v0.7.2/VFAgent_0_7_2-deb.tar.gz
sudo tar -xzf VFAgent_0_7_2-deb.tar.gz
cd VFAgent_0_7_2
sudo ./install -u 'admin' -p 'blahblahblah' -s 'vfense.example.com' -c 'default'

I get

Error(s):
- Failed to reach: "vfense.example.com"

I have tried via IP and it does the same thing. This only happens on my 16.04 boxes. Any help?

@ddelapaz
Copy link

ddelapaz commented Feb 1, 2017

Unless that is a local domain it is unreachable or simply doesn't exist... Do you own example.com? I

@mattdunn4465
Copy link
Author

That's not the real domain. Worse case if it was, i'd just add it to the /etc/hosts file but either way, that's not the issue. DNS resolves fine and network connectivity is fine.

The issue is probably how the installer attempts to lookup/connect to the host you specific. Internally on ubuntu something probably changed in the network/dns stack going from 14.04 to 16.04.

Try it out and you'll see what I mean. Simple attempt to install the agent on an Ubuntu 16.04 server and it will fail to contact the vFense server and faild to install. I'll probably have to debug later tomorrow the installer scripts

@MrMEEE
Copy link

MrMEEE commented Apr 11, 2017

Hi

Had the same problem.. curl is probably more restrictive in 16.04.. so it fails because of a self-signed certificate...

I had to generate a new self-signed certificate for nginx and trust the certificate locally on the server to get it working..

@mattdunn4465
Copy link
Author

Make sense, I'll just install an actual cert and update nginx. However now I can't download the agent tarball

@MrMEEE
Copy link

MrMEEE commented Apr 13, 2017

You can create it yourself with the /agent/devtools/build_agent in the vFenseAgent-nix repo...

We have forked the project here: https://github.com/MrMEEE/vFenseAgent

And have solved some issues... see the commits...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants