I'm trying to execute vmc tunnel but i get error 'ruby interpreter has stopped working' . Tryed to find what's the problem on the Internet but the only solution i saw was to upgrade ruby version to 1.9.3 , but I already have this version.
Thank you
This worked for me yesterday on Win7 using ruby 1.9.2p290. Ruby 1.9.3p194 failed with the same error you are getting.
Remember that the tunnel is a connection between the mysql client running on your local machine to the mysql service on cloudfoundry, so step 1 is making sure that your local mysql works, including your path so that vmc can easily find your client. Refer to the steps at http://docs.cloudfoundry.com/tools/vmc/caldecott.html for details
Can you please execute the following commands and paste the output here?
ruby -v
vmc -v
Related
I am trying to learn the Amazon's AWS - EC2 service and was following its tutorial (at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html)
I have successfully launched an instance and am on Step:2, Connect to your instance. I got PuTTY and followed the tutorial for connection using PuTTY (at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html)
Here I am unable to use the command - pscp -i C:\path\my-key-pair.ppk C:\path\Sample_file.txt ec2-user#public_dns:/home/ec2-user/Sample_file.txt as it shows the following error : ' -bash: pscp: command not found '
My main aim is to use an online free temporary server to host a RESTful API that I have made and tested on localhost in python3.
I am a beginner in this field and would like some help.
Thank you.
pscp is Windows program.
You are not supposed to use it in PuTTY terminal (on the virtual machine shell), but on your local Windows machine.
I have an EC2 Amazon Linux Ami instance running PHP server version 5.6.22, also PostgreSQL 9.4.6 installed.
Doing an echo phpinfo(); it give the following value for PDO_PGSQL library:
PostgreSQL(libpq) Version 8.4.20
This is causing that the app server throws error while trying to connect to the RDS instance with Postgres 9.5 due to the missmatching versions.
I have been looking to make that version to be 9.4 or 9.5. Until now, I had done severals reinstall, trying dealing with repositories, but without results.
EDIT:
The reported version for psql command is: psql (PostgreSQL) 9.4.6
Its very old but I wanted to write.
I had the same issue and thought that error caused by php libpq exactly like you.
I tried million times to reinstall everything, changed OS but no result. Then I found some other setting that can cause the error. That was "Security Groups". You can find it under EC2 page menu. Please switch inbound source "everywhere" for "rds-launch-wizard" group then try to connect again.
It should work, if other every options are O.K.
Good luck.
CMD error message
jupyter 404 error message
I was able to work fine with python (jupyter notebook) until yesterday, and I turned off the command prompt that was running python. When I try to restart python by typing in jupyter notebook in cmd, it throws a 404 error. I think the possible reason for this is that I was running python as a server and connecting it to asp.net website in visual studio with IIS running the asp.net. So the python server on port 8888 might still be running, and I think that is what's preventing me from opening jupyter notebook.
So I tried the following steps to get it to work, but it throws the same error:
Pressed ctrl+c twice to interrupt the kernel (interuppted but still did not run jupyter notebook afterwards)
Uninstalled Python 2.7 Anaconda and reinstalled
Removed IIS website and tried running python by itself (still not worked)
My question comes down to this:
How do I get the jupyter notebook to run? Should I try closing the port 8888 and running jupyter notebook again?
In case someone faces the same issue, I am posting an answer to my question :)
Answer:
Open Anaconda prompt then type in "jupyter notebook"
I am new on ruby on rails. and am trying to deploy my application from my local system to heroku, but when i run heroku run rake db:migrate, i get this error msg:
Running rake db:migrate attached to terminal... up, run.7855
!
! Error connecting to dyno, see https://devcenter.heroku.com/articles/one-off-dynos#timeout-awaiting-process
I've followed the link to the site but i didn't understand what was said there. Please any help as to how deploy it successfully will be much appreciated.
Thank you
Seems like your have no access to rendezvous.runtime.heroku.com:5000
Ask your system administrators or internet service provider to allow this address and port for you
This problem solution already described at https://devcenter.heroku.com/articles/one-off-dynos#timeout-awaiting-process, but I didn't understand at once too :)
You can check access to necessary resource by telnet rendezvous.runtime.heroku.com 5000 command
Update:
Recently I encountered with problem when rendezvous.runtime.heroku.com:5000 is accessible but heroku run ... command doesn't work.
In this case command must be modified to heroku run:detached ...
It helped me, but interactive utilities like bash will not work because of output will be available only in logs
Error 402: App packaging failed: 'Failed synchronizing resource pool'
I got this error when deploy a node.js application to api.cloudfoundry.com.
the vmc I used is:
vmc 0.3.10
I want to know how does this error happened. Is there something wrong with my vmc? or something wrong with my node.js application?
Thank you.
You'll definitely want to upgrade to the latest vmc. "gem update" should refresh it to 0.3.18 for you but if not, "gem install vmc" to grab the newest.
What steps did you follow to deploy the app - did you just run vmc push and follow the prompts, did you have a manifest.yml file in place (probably not as vmc 0.3.10 may have pre-dated manifest support), did you provide additional parameters to vmc push?