No Network with uploaded Appliance in OVM

This is for discussing general topics about how to use VirtualBox.
Post Reply
qatester44
Posts: 4
Joined: 22. Aug 2017, 00:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Debian
Location: Rancho Cordova, CA
Contact:

No Network with uploaded Appliance in OVM

Post by qatester44 »

Hello,

I successfully downloaded and imported a bitnami-mongodb ova file into my Oracle VB this am. I can successfully launch and log into the Debian OS and can use the MongoDB shell locally, however, when I attempt to connect to the MongoDB University in Atlas, I get the following error..:

Connecting to: mongodb
2017-08-22T08:49:44.662+0000 W NETWORK [thread1] Failed to connect to server, in(connect), reason: NETWORK is unreachable
2017-08-22T08:49:44.684+0000 E QUERY [thread1] Error: couldn’t connect to server , connection attempt failed :
@(connect):1:6
Exception: connect failed

I checked the Network setting and cannot get any protocols to work..!


Regards,

James Bennett
916 865-7285 c
916 935-8121 w
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Network with uploaded Appliance in OVM

Post by Perryg »

James,
According to your post at https://community.bitnami.com/t/no-netw ... x-vm/51436 they are concerned that you do not have Internet connection, which you will not have using the host-only adapter. That connection will only allow host to guest communication. If you need to have an address that can be accessed from the host and also have Internet connection, you would need Bridged or at the very least have a second connection set to NAT.
qatester44
Posts: 4
Joined: 22. Aug 2017, 00:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Debian
Location: Rancho Cordova, CA
Contact:

Re: No Network with uploaded Appliance in OVM

Post by qatester44 »

Perryg,

I changed my Network Adaptor 1 to Bridged Adaptor - no successful internet connection
I changed Adaptor 2 to NAT - no successful internet connection
I left Adaptor 1 blank and Put NAT on Adaptor 2 - no successful internet connection

I'm at a loss...

Regards,

James Bennett
916 935-8121 c
qatester44
Posts: 4
Joined: 22. Aug 2017, 00:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Debian
Location: Rancho Cordova, CA
Contact:

Re: No Network with uploaded Appliance in OVM

Post by qatester44 »

PerryG,

I do have another Appliance setup within the OVM, it is a MS Windows OS with Network setup using NAT and it works just fine.


Regards,

James Bennett
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Network with uploaded Appliance in OVM

Post by Perryg »

Never a good idea to set any of the adapters to "blank" What is the ip address of the guest? Linux based should show with ifconfig -a
Might be a good idea to post the guests log file ( as an attachment ) as well as the guests *.vbox file ( compressed to allow it past the attachment filter )
qatester44
Posts: 4
Joined: 22. Aug 2017, 00:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows, Debian
Location: Rancho Cordova, CA
Contact:

Re: No Network with uploaded Appliance in OVM

Post by qatester44 »

Perryg,

I'm not sure what you mean by "never a good idea to set any adapters to blank" as I just imported the appliance as is as recommended. I was not aware that I needed to modify the Network settings section.

The ip address of my Windows Desktop is..:

Code: Select all

C:\Users\A045497>ipconfig

Windows IP Configuration

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : healthnet.com
   IPv4 Address. . . . . . . . . . . : xxx.177.3.226
   Subnet Mask . . . . . . . . . . . : 255.255.255.128
   Default Gateway . . . . . . . . . : xxx.177.3.131

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.56.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
When I issue the ifconfig -a command within the Debian Guest, I get..:

Code: Select all

Command not found error message
Attachments
bitnami-mongodb-2017-08-29-12-08-21.log
vbox log file...
(91.06 KiB) Downloaded 10 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Network with uploaded Appliance in OVM

Post by Perryg »

Not sure yet what the issue is but the adapter type AMD PCNet FAST III (Am79C973, the default) probably is not the right one. At this point you need to contact whom ever supplied this guest and ask them the setup procedure.
Post Reply