Slamdata Issue in Ubuntu (14.04.3 LTS) AWS Bitnami instance - amazon-web-services

There isn't any error on installation and on startup I get the below message :
Server started listening on port 20223
Failed to open browser, please navigate to http://localhost:20223/
But the server is instance is not reachable # http://localhost:20223/ or
http://localhost:20223/slamdata/index.html
netstat -pnlt show the server is up & listening to port
tcp6 0 0 :::20223 :::* LISTEN 24564/java
any help ?

This was initially caused by a threading issue that was identified and resolved. If a user's virtual (or physical) environment had only one CPU available then the Scalaz executor might hang. It should not matter how many CPUs a server has now. See here for SD-1574 in JIRA.
Recent versions of SlamData (i.e. late April 2016 and newer) do not have this problem.

Related

Installation of the vCenter Server Appliance fails

Preconditions
VMware vSphere 6.5
Windows Server 2016
What I did:
I have installed windows server on ESXi.
I'm trying to install vCenter Server Appliance(VCSA) from the above windows server using vcsa-ui-installer(win32).
Expected Behaviour
The progress bar in stage 1 progresses.
Actual Behaviour
The proglas bar in stage 1 stops at 0%.
I checked it out.
'Deploy VM' task fails due to timeout
A vCenter Server VM is registered on ESXi, but it is deleted after a timeout.
There are no noticeable error messages in the VCSA installation log.
What can I do to resolve this behavior?
You have to make sure that the windows server you are installing directly accesses the ESXi server. If there is no DNS in your environment, you can solve the problem by typing IP address in system name section in vcenter setup.
When installing over Windows, pay attention to IP and name resolution issues. I think you have a problem with DNS.
https://www.tayfundeger.com/vcenter-server-appliance-vcsa-6-5-kurulumu-bolum-1.html
https://www.tayfundeger.com/vcenter-server-appliance-vcsa-6-5-kurulumu-bolum-2.html

How do I fix VirtualBox Bridged Adapter problem?

I have not had this problem in the past.
I have searched the internet but not found a solution.
I have asked the same question in Virtualbox forum but not received any answers.
I have the following setup
Host: Windows 10 (192.168.86.35), wired eth.
VirtualBox v6.0.16
Networking: Bridged Adapter
Guest 1: Ubuntu 18.04 (192.168.86.29)
Guest 2: Ubuntu 18.04 (192.168.86.26)
Both host and guests recieves IP from the same DHCP server and is on the same subnet.
Both host and guests can ping the DHCP server successfully or any WAN address for that matter.
The problem: However neither can ping each other.
Guest ping
avec#GUEST:~$ ping 192.168.86.35
PING 192.168.86.35 (192.168.86.35) 56(84) bytes of data.
^C
--- 192.168.86.35 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3050ms
Host ping
C:\>ping 192.168.86.29
Pinging 192.168.86.29 with 32 bytes of data:
General failure.
General failure.
General failure.
General failure.
Ping statistics for 192.168.86.29:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
What I have tried
Host: Turned Avast Shields off. There is no difference. I have not
tried to uninstall Avast it as I do not think this is the problem.
Guest: Condirmed Ubuntu firewall have "status: inactive"
Host: Repaired later reinstalled Virtualbox
Host: Started guest as Ubuntu Live cd. All is the same as running from the vdi (disk)
Host: Created a second Guest (cloned Guest 1 vdi)
Does anyone have any idea what the problem might be? I'm stuck.
I have found the solution and it had nothing to do with VirtualBox or the configuration/setup.
I had NordVPN installed and running as a background process on the host.
There is a setting in NordVPN called "Invisibility on LAN" defaulting to ON. That was the problem. As fast as I turned that setting to OFF host and guests could reach each other.
Turn 'invisibility on LAN' to OFF

Unable to view django website - development server

Upon running the the dev server 0.0.0.0:8000, I cannot see the website loaded in the browser.
While going through some of the reasons why this might happen, I have done the following changes:
ALLOWED_HOSTS = ['*']
Killed all processes on 8000
firewall turned off
The server I am working on is RHEL.
System check identified no issues (0 silenced).
April 01, 2019 - 04:39:38
Django version 2.1.7, using settings 'gig_bank.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
//Nothing is displayed in the browser.
Since you specified that it's a remote server, it most likely be a firewall issue,
you need to make sure port 8000 is open, you could test it using netcat as following :
nc -zv -w1 ip port
if the server is inside a cloud you need to add the rule to your cloud console, turning off the firewall in the server won't suffice.
Just in case the firewall on the server wasn't actually off, you could run sudo ufw allow 8000/tcp (For linux user)

Connecting to MonetDB server on guest virtual machine from host

I have a virtual machine (centos 7) in VirtualBox on a RHEL 5 host running MonetDB5 (server v 11.19.9). I can connect to the database from with the guest through both jdbc and mclient. However, I cannot connect to it from the host.
I have port 50000 forwarded to port 5555, and have set shared=yes in monetdb and control=yes on monetdbd. When I try to connect using
java -jar jdbcclient.jar -dmydatabase -umonetdb -hlocalhost -p5555 -Xdebug
I type in my password and it waits a long time, then says:
Database connect failed: Unable to connect (localhost:5555): Connection to server lost!
The javaclient log file is unhelpful:
RD 1438806937222: server closed the connection (EOF)
The merovingian.log file is also unhelpful since nothing is added to it. Note that the mserver command in the log says --set-mapi_open=false, even though I have set sharing and control = yes. But I can't find the MonetDB.conf file so I don't know where to change "mapi_open=true." I tried making my own MonetDB.conf file and putting it in /etc/ but it doesn't seem to work there.
Note that I can connect to the machine with
ssh me#localhost -p222 -X
where I have forwarded port 20 to 222, so I feel good about the port forwarding. Any guidance would be greatly appreciated. Thanks!
The problem was with the firewall. Even though port 22 (ssh) was automatically opened on the guest machine, port 50000 needed to be configured manually.

How can I make lein ring / jetty server accessible externally?

I'm currently attempting to start a project with Compojure.
At this point I am just trying to run the hello world app and see it through the browser.
I have a droplet on Digital Ocean with Ubuntu 13.04 installed and I cannot seem to access the webpage once the server is started.
lein ring server-headless 3000
eg: http://hostname:3000
I just get page not found. I checked to make sure jetty is using port 3000 and it is.
Am I missing dependencies?
I can't think of anything that would prevent me from viewing the page.
*Update: *
If I run the server on port 80 I can see it. I haven't added or configured any firewalls unless the Digital Ocean image comes with one by default.
on the instance run
sudo netstat -np | grep 3000
to see what address your server is listening to, if it is 0.0.0.0 then your server is listening to connections from any source and the problem is with an upstream firewall (most likely) or a local firewall (unlikely). If it is '127.0.0.1or::1/128` then your server is only listening for local connections and you need to change the binding address in the project.clj file, though this is unlikely as binding to any interface by default