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

Error when attempting to start the vm: "vagrant up" #23

Open
jxfish2 opened this issue Jan 23, 2019 · 10 comments
Open

Error when attempting to start the vm: "vagrant up" #23

jxfish2 opened this issue Jan 23, 2019 · 10 comments

Comments

@jxfish2
Copy link

jxfish2 commented Jan 23, 2019

--> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8080 (guest) => 8080 (host) (adapter 1)
default: 8000 (guest) => 8000 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...

There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "93808398-d11a-4c5e-855f-a55725de6bbd", "--type", "headless"]

Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

The Stderr listed here is different from the error shown in your documentation.

My environment:

CentOS 7
Virtual Machine, hosted in the Azure cloud.

I installed Vagrant, VirtualBox, VirtualBox repository, Vagrant file, OpenInfoButtonVM, and Kernel Modules in support of VirtualBox (to import the Oracle Public Key)

Note that we have several other projects running Vagrant just fine in the Azure cloud.

Do you have any specific instructions for installing from the source file?

Any help would be greatly appreciated.

Have a great evening.

@lrasmus
Copy link
Collaborator

lrasmus commented Jan 24, 2019

@jxfish2 does the host hardware you're running on support virtualization, and is it enabled?
https://forums.virtualbox.org/viewtopic.php?f=6&t=58820

@jxfish2
Copy link
Author

jxfish2 commented Jan 24, 2019

Thanks for the response, but I just finished editing my original post.

My server is running 64-bit CentOS 7.

My server is a VM, running in the Azure cloud.

Now, this brings up another question.

This is a dedicated server, just for InfoButtons.

Can we run Vagrant, and the OIB, without installing VirtualBox?

Is there a way to install your VM, or the application, via your source code, directly on the server, without VirtualBox?

@jxfish2
Copy link
Author

jxfish2 commented Jan 24, 2019

As RedHat Linux is the default Linux platform for the majority of corporate IT environments, RedHat and CentOS really need to be supported, by any projects that you develop.

What is the fastest, and easiest way, to install InfoButtons directly on a dedicated RedHat based server?

I have an older InfoButtons server that I built back when you were first developing InfoButtons.

I wanted to upgrade this older version, but you do not offer any upgrade instructions that I could find, and the new process is completely different than the old process.

My original InfoButtons server was built on a VM located in our own dedicated data center.

We recently migrated everything to the Azure cloud, and I need to build a new InfoButtons instance in the Azure cloud.

In the Azure cloud, we carved out a dedicated CentOS 7 VM, just for InfoButtons.

Note, that this server is for our own internal development efforts.

Production installs will be done on supported RedHat Linux servers.

@lrasmus
Copy link
Collaborator

lrasmus commented Jan 24, 2019

@jxfish2 thanks for the extra info. Just to disclose, I'm not a member of the dev team, just an enthusiastic community member :)

Sounds like you had already gone through the install guide and are looking for something to streamline the process further. Are you hoping to use the "official" build in another container platform, or do you want to further streamline the process of building it yourself?

@gdelfiol - I'm blanking, but has the team done anything with other deployment options like a Docker container? Is this something on the roadmap, or (if not, but it's desirable) is this something we could contribute?

@gdelfiol
Copy link
Collaborator

@aniskand may be able to help with some your questions. I will try to help with what I know.

We have not done anything with Docker, but we could if it helps.

@jxfish2 , do you know what version of OpenInfobutton are you using? We had a major change to the profile XML schema over 5 years ago and then several changes to the DB schema. If your version is prior to those changes, it will be simpler to start from fresh and use the LITE tool to reconfigure your resource profiles.

@jxfish2
Copy link
Author

jxfish2 commented Jan 24, 2019

@gdelfiol , If you were able to publish your VM as a Docker container, downloadable from GitHub, that would be MUCH more platform independent.

As a Docker container, it would not matter the platform, and it would not matter whether it was in Azure, AWS, IBM's new cloud, the Google cloud, or at a local data center.

If all of your development efforts were designed as Docker containers, everything you do would be so much easier for end users to deploy, and it would not matter what Operating System the end users were working on.

However, in the meantime, I still need to try to get InfoButtons up and working on a CentOS 7 server, running in the Azure cloud.

Any ideas or assistance would be greatly appreciated.

Thanks for your time, and have a great new year.

@aniskand
Copy link
Collaborator

aniskand commented Jan 24, 2019 via email

@jxfish2
Copy link
Author

jxfish2 commented Jan 28, 2019

Hi Andrew,

I am using the BUILDGUIDE link you specified above.

I do have a few quick questions:

  1. The latest JDK is 11.0.2. Is it ok to install this latest version, or would it be better to install an older version?

  2. I am attempting to download the latest MySQL 5.x version, but there are several options on the download page. Which version should I download?

@aniskand
Copy link
Collaborator

aniskand commented Jan 28, 2019 via email

@lrasmus
Copy link
Collaborator

lrasmus commented Jan 28, 2019

@jxfish2 - just be aware of licensing in JDK 11 vs. OpenJDK 11
https://blog.jetbrains.com/idea/2018/09/using-java-11-in-production-important-things-to-know/

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

4 participants