Deployd Failing to Start - mongodb issue - angularjs

Have tried to troubleshoot this issue from previous posts, but no joy so here goes.
I am working through the Apress Pro Angular book and am on a different machine today and have all the content I need to work from but Deployd is failing with the following error:
dpd -p 5500 sportsstore/app.dpd
Failed to start MongoDB (Make sure 'mongod' are in your $PATH or use dpd --mongod option. Ref: http://docs.deployd.com/docs/basics/cli.html)
bye
I installed Mongodb view homebrew and am just a bit unsure what I need to do. The deployd docs aren't helping.
I am running this on OSX Yosemite and Mongodb was installed via homebrew.
Thanks in advance :)

I have had same problem today, try to open command prompt in Administrator mode. Its working for me like this.

Related

pgadmin4 is broken after update to version 4.11

I've been using pgadmin 4 successfully until I ran a Ubuntu 18.04 update, which had the update for pgadmin 4 included. Now, whenever I run a 'Select * from table', instead of displaying the results, it displays 'table_oid'. I googled this and there was mention of a .pgadmin.conf, which I cannot find on my system anywhere. Also tried to uninstall/reinstall, which did not work.
Tried to uninstall/reinstall, tried manually creating the .pgadmin folder and the pgadmin.conf file, but this did not help. I'm sure it's something simple, but it's confusing because of the different ways it can be installed, file locations, and all of that. My python version is 3.6. Appreciate anything that can point me in the right direction.
Thanks to Toobles for pointing me in the right direction. I had found a post talking about the ~/.config/pgadmin/pgadmin4.conf file, but I did not have that file. I created it and inserted the posted settings, but it still didn't work. I just discovered that I only created the file and not pgadmin4 DIRECTORY. So dumb. To summarize the fix:
Upgrade the python3 package psycopg2 to version >= 2.8 (Toobles)
If required, create the ~/.config/pgadmin/pgadmin4.conf file and insert:
[General]
ApplicationPath=
BrowserCommand=
FixedPort=false
PortNumber=1
PythonPath=/usr/local/lib/python3.6/dist-packages
It's working fine now.
This issue has been fixed and pgAdmin4 has added backward compatibility with psycopg2 driver.
Ref: https://www.pgadmin.org/docs/pgadmin4/4.12/release_notes_4_12.html
You need to upgrade the python3 package psycopg2 to version >= 2.8 (see here).

in openfoam, paraview cannot connect to X server

My background in ubuntu and OpenFOAM: I started to learn to simulate in OpenFoam this week. I have windows 10 on my laptop and downloaded ubuntu 18.04 from the app store. In ubuntu OpenFOAM and paraview are installed by a guy from the ICT-helpdesk (paraview has already worked). Also, the Xming X server is installed.
My question: During the first tutorial (cavity) you must visualize the data with paraview. So after the guy installed everything, I could use paraview. Now I closed ubuntu and started again. If I now call paraFoam into action I get the following lines:
Created temporary 'cavity.foam'
paraview: cannot connect to X server
Does anybody know what to do with this? I checked this forum and I checked google, but could not find anybody with this specific problem.
Sincerely,
Me
Make sure that xming is running then run the following on your ubuntu terminal:
export DISPLAY=localhost:0
Now you can run paraview:
paraview

Zeppelin notebooks on Windows 7

I have failed to install Apache Zeppelin (v. 0.7.1) on my Windows 7 desktop.
I would like to proceed without having to install Docker, however.
I tried reinstalling the Java runtime etc. but Zeppelin does not start.
Any suggestions?
(I am aware of version 0.7.3 but don't feel like wasting even more time trying it on Windows 7).
Please share the errors your are getting. Confirm you have made all the settings (environmental or otherwise) as required.

Not able to install the GUI package(odl-dlux-all) related to OpenDaylight Carbon version

I am not able to install the package odl-dlux-all on the Ubuntu 16.04 machine. Following is the error message
Error executing command: Can't install feature odl-dlux-all/0.0.0:
null
VM : Ubuntu 16.04
Opendaylight version : Carbon
What is the issue?
Should i install gnome-desktop for this?
Prat,
This is what I have found. It looks like you and I were in the same boat. I ran into this issue, also. After additional searching, I found that ODL's website has a guide for the DLUX features.
These are the features I installed and it got me where I needed:
odl-dlux-core
odl-dluxapps-nodes
odl-dluxapps-topology
odl-dluxapps-yangui
odl-dluxapps-yangvisualizer
odl-dluxapps-yangman
Be sure you enter them as separate commands using the feature:install command prior to each of them.
I found the guide on ODL's website HERE.
I hope this helps!! :)
The way OpenDaylight's DLUX features are structured was changed in Carbon. Application-specific logic was broken out into odl-dluxapps-* Karaf features for easier maintenance.
Install and start OpenDaylight:
sudo dnf install -y http://cbs.centos.org/repos/nfv7-opendaylight-70-release/x86_64/os/Packages/opendaylight-7.0.0-1.el7.noarch.rpm
sudo systemctl start opendaylight
Connect to the Karaf shell (make take a moment for Karaf's SSH server to come up):
ssh -p 8101 karaf#localhost
# password: karaf
See the available DLUX features:
opendaylight-user#root>feature:list | grep dluxapps
odl-dluxapps-yangutils
odl-dluxapps-yangui
odl-dluxapps-topology
odl-dluxapps-yangvisualizer
odl-dluxapps-applications
odl-dluxapps-yangman
odl-dluxapps-nodes
features-dluxapps
Install the ones you're interested in:
opendaylight-user#root>feature:install odl-dluxapps-topology
In a browser on the same machine:
http://localhost:8181/index.html#/yangui/index
Login with admin/admin and things should work.
Here are the DLUX docs.
Note that DLUX isn't widely used by ODL developers, and isn't packaged as a product by vendors. Most people use the REST API directly to query OpenDaylight. There are REST API examples in the NetVirt Postman Collection, as an example.
It is true. You have to install all dlux features manually.
The Change against ODL Boron is, that Carbon removed feature odl-dlux-all. And in Carbon odl-dlux-core installs only core and nothing more. I had always gray login page in DLUX WEB login, there was nothing, only blank gray page.
I suggest you to use command: feature:list | grep dlux
This will create for you complete list of available DLUX features. And You have to install all of them.
After you finish installation of DLUX use same command with parameter -i which will show you only succesfully installed features:
feature:list -i | grep dlux
so you will see the result.
Don't forget that after instalation Dlux needs a few minutes to be fully ready. If you try to login to dlux during this time, you can get ERROR403 but also login page will not accept the credentials even they are correct. So be patient and wait.
+----------------------------------------------------------------------+
DOCUMENTATION OF OPENDAYLIGHT
IS HORIBBLE AND SOMETIMES PURELY WRONG
+----------------------------------------------------------------------+

Failed to start Mongodb

I'm studying pro angularjs by adam freeman. I've installed deployd v0.8.8 and created sportsstore. When I run 'dpd –p 5500 sportsstore\app.dpd' form command prompt, it shows 'Failed to start MongoDB Make sure 'mongod' are in your $PATH or use dpd --mongod option. Ref: http://docs.deployd.com/docs/basics/cli.html bye'.
I've found all the possible answers as much as I can. But still can't solve it. I'm using Windows 7 32-bit. Please help me.
Try to run like this: http://pastebin.com/raw/apKQb043 (Moved code snippet to pastebin).
Hello you must install mongodb after this add the path of th folder installation into the windows path environment restart your cli and type again the command
from control panel open up advanced system settings. click on environment variables. under system variables select path and click edit. then add the directory for your mongodb installation in my case is "C:\Program Files\MongoDB\Server\3.2\bin". P.S if you use windows 8.1 or an earlier release of windows OS type a ";" first. leave out out the quotation marks.

Resources