Rails nitrous preview issue with rails 4.2beta - nitrousio

After doing git clone for a project I'm working on
I updated my rails in nitrous and to Rails 4.2.0.beta2
Run
rails server
=> Booting WEBrick
=> Rails 4.2.0.beta2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2014-12-02 20:13:56] INFO WEBrick 1.3.1
[2014-12-02 20:13:56] INFO ruby 2.1.4 (2014-10-27) [x86_64-linux]
[2014-12-02 20:13:56] INFO WEBrick::HTTPServer#start: pid=495 port=3000
^C[2014-12-02 20:14:48] INFO going to shutdown ...
[2014-12-02 20:14:48] INFO WEBrick::HTTPServer#start done.
I go to port 3000
We couldn't find a server running on this port – are you sure there is a server running?
Make sure to bind your server to host 0.0.0.0 (instead of localhost/127.0.0.1).
What am I doing wrong?

Just encountered the same issue setting up a rails project on Nitrous.io for the first time. The problem is that you need to change the server IP from localhost:3000 to 0.0.0.0:3000.
To do this, you must change the rails server settings in your nitrous command line window. Try this:
rails server -b, --binding=0.0.0.0
This will change the rails server settings to 0.0.0.0. When you start up the rails server again, it should work. This was my working solution.
You can find this info about making these kinds of changes on this site: http://smyck.net/2007/03/11/how-to-bind-webrick-to-any-ip-address/ or in the command line, using the command:
rails server -h

Related

Zabbix scheduled reports configuration - Cannot connect to web service: couldn't connect to server

I recently upgraded Zabbix to 5.4.1 and I wanted to start using scheduled report, but I've got some problems with conifguration (error Cannot connect to web service: couldn't connect to server).
My Zabbix is running in Docker on Debian Buster. Everything is based on official containers:
Zabbix Server (PostgreSQL), Zabbix Frontend (Apache, PostreSQL) and PostgreSQL12.
According do documentation (https://www.zabbix.com/documentation/current/manual/appendix/install/web_service) I installed Google Chrome browser:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
and Zabbix Web Service
wget https://repo.zabbix.com/zabbix/5.4/debian/pool/main/z/zabbix-release/zabbix-release_5.4-1+debian10_all.deb
dpkg -i zabbix-release_5.4-1+debian10_all.deb
apt install zabbix-web-service
I eddited zabbix_web_service.conf:
AllowedIP=127.0.0.1,::1,0.0.0.0/0,zabbix
I edited zabbix_server.conf:
StartReportWriters=1
WebServiceURL=http://localhost:10053/report
I eddited settings in Zabbix Frontend - Administration -> General -> Other
Frontend URL: http://localhost:8085 (frontend is available at port 8085)
But when I try to test report generating i get error:
Cannot connect to web service: couldn't connect to server
I've already tried with other Frontend URLs, but nothings seems to work. I tried with:
http://localhost:10053/report
http://192.168.10.18:8085/
http://192.168.10.18:10053/report
I've verified that I get answear from http://192.168.10.18:10053/report :
{"detail":"Method is not supported."}
What else can I check/try?
I found the problem. In server configuration I was usinng address http://localhost:10053/report it was wrong because in my case Zabbix server is running in docker and Zabbix web service is not running in docker. Zabbix server wasn't albe to connect to web servcie because it was in the other network. I changed the configuration and now everything works fine. Reports are beeing generated and send

Stopping Bitnami WAMP Apache and MySQL server through PowerShell script in Windows

I've trying to write a script to stop Apache and MySQL services in Bitnami WAMP. If we do manually, we have to open C:\WAMP\manager-windows.exe and stop the services like this:
However, when I go into command prompt and run the command "httpd -k start", the apache server starts running and I can access my web app but if I open manager-windows.exe again it doesn't reflect the change. I've been also trying to stop the Apache service using command prompt commands "httpd -k stop" but that is somehow conflicting with Apache web server when it is started through the manager-windows.exe.
Bitnami Engineer here,
You can use the servicerun.bat script we include in the installation directory to start/stop all the services at once.
servicerun.bat START
If you only want to start/stop Apache or MySQL using the command prompt, you can use the scripts we include at installdir/apache2/scripts/servicerun.bat or installdir/mysql/scripts/servicerun.bat

Upgrading Context Broker FIware

I tried to install Context Broker version 1.7.0 on my Centos 6 VM.
I successfully installed it but while the service is running ,when i make a request with curl i get the message "couldn't connect to host"
I checked the port 1026 and the firewall and everything is ok.
Any ideas what may be the problem?
The best way to install Orion is using Docker to test or study: (https://hub.docker.com/r/fiware/orion/).
Docker and docker-compose. You install Orion and Mongodb together, in a quick time. (https://github.com/telefonicaid/fiware-orion/tree/master/docker)
Have you tried using this method?
With it you can use the last stable version (1.10.0).

crystal server 2013 installation on windows server 2008 64bit

When I run Tomcat configuration I get the error below.
Unable to open service BOEX140Tomcat.
Here is the error I get when I run SAP Crystal Server management
Here are the installed components of Crystal Report Server:
I would like to know what other software and components I need to install or what configuration changes I need to make .
apache tomcat for bi 4 automatically stop it self
[enter image description here][3]
and changed the config file inside tomcat to below
the apacha bi for tomcat services automatically get stopped in Central Configuration manager.
From your first screenshot, it appears that IIS is active on port 8080. If Tomcat has been installed along with Crystal Reports server and you've used the default port settings during the installation, then Tomcat will be configured to use port 8080 as well.
Only one process can bind to a given port. So as port 8080 is taken by IIS, Tomcat will stop and exit with an error. You can probably find the error message in one of the log files (check the log subfolder in the Tomcat installation folder).
Here's what you can do. Either:
Change the port Tomcat is using (as described here).
Change the port IIS is using (as described here).
Stop the IIS service if you don't need it (as described here)..

I installed PHP and Apache successfully, then when I installed MySQL I encountered frustrating problems

I have looked at lots of forms and threads on this site.
First I installed MySQL using msi installer.
Configuration settings:
- detailed configuration
- developer machine
- multifunctional database
- initial path
- decision support
- enable tcp/icp networking, port 3306, add firewall exception for this port.
- enable strict mode
- best support for multilangualism
- install as windows service, include bin directory
- entered root password.
Then when I clicked execute it freezes after writing the configuration file.
- I closed that window.
Then when I opened MySQL Command Line Client and typed in the root password i get this..
ERROR 2003: Can't connect to to MySQL server (10060)
I then opened up command prompt and typed.
C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld --install
got message:
Install/remove of this service denied.
I ran the initial configuration as administrator and I have checked that port 3306 is open.
Hope this is detailed enough.
Thanks.
I would suggesting uninstalling them all and reinstalling them with a package such as LAMP (for linux) or XAMPP (for windows). Much easier to install and set up, tutorials everywhere.
Can you get to the MySQL server instance config wizard in start menu
Is the MySQL service running?
whats the conf file look like?