Trying to install Gerrit on a Mac that has also Jenkins installed. So far:
Installed MySQL via Brew successfully.
Added user & db for Gerrit to MySQL.
D/l of gerrit.war from https://gerrit-releases.storage.googleapis.com/index.html
Installed gerrit.war into ~/Applications/Gerrit
Set canonicalWebUrl to http://localhost:8080/gerrit/ in gerrit.config
Restart Gerrit with ~/Applications/Gerrit/bin/gerrit.sh restart
But restart fails. There seems to be no consistent Mac Gerrit setup guide whatsoever and I feel I'm stuck with this issue.
Gerrit error_log says:
ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.IllegalStateException: Cannot start HTTP daemon
Has anyone running this config on a Mac and can give me some help?
on a Mac that has also Jenkins installed
Most likely the cause is that Jenkins is already running on the same port (8080). Try to change Gerrit's canonicalWebUrl to another port (or change Jenkins' port).
Related
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
I'm trying to debug remote host from my local macbook, and face an issue - Xdebug doesn't stop at any breakpoint, including xdebug_break().
I spend a lot of time by work around and try to fix it.
So my steps was:
set xdebug.remote_host to my macbook IP, this fails and PhpStorm didn't get any connection and stacking on waiting for incoming requests
change xdebug.remote_port, and find that 9001 somehow work for me (details below)
turn on xdebug.remote_autostart - and this start debug process on very first line in my app, but still no stops on breakpoints
setup SSH tunnel from local to server to 9001 port
More details:
my OS: macOS 10.15.7
OS on remote server: CentOS
PhpStorm 2020.2.2
My php.ini config
[xdebug]
zend_extension="/usr/lib64/php/modules/xdebug.so"
xdebug.remote_port=9001
xdebug.idekey=PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.remote_start=1
xdebug.remote_enable=1
xdebug.remote_connect_back = on
My configuration in PhpStorm:
Any suggestions? waidw?
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).
I have downloaded Genymotion and installed it with Oracle Virtualbox 5.0.10 on Windows 10/64bit.
I keep getting the errors:
Virtualization engine not found.
Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.
I've tried uninstall/reinstall, deleted unused network adapters in device manager. I'm at loss.
Thank you all in advance for any help/idea.
You must go the VirtualMachine preferences under File in the menu. Then choose the Network setting, then Host-only Networks.
You can use the - button to delete all of the Ethernet Adapters that you have there.
Then create a new one and use the following settings:
IPv4 Address : 192.168.1.201
IPv4 network mask : 255.255.255.0
Then in the DHCP server tab:
Address: 192.168.1.100
mask: 255.255.255.0
Lower address: 192.168.1.101
Upper address : 192.168.1.199
Check to see which Ethernet adapter # you have now set up - this might be important later on.
Click OK for all the open boxes or save whatever you have.
Then try and run genyMotion again.
This worked for me.
There is one more thing you may have to do if this still doesnt work.
Go to Network and sharing centre . Change adapter settings and disable all the Ethernet connections EXCEPT for the Ethernet adapter you have just created.
I hope that helps
Daniel
For Ubuntu
Almost every GNU/Linux system comes with an installer package for Oracle VM VirtualBox.
Browse for the Oracle VM VirtualBox installer in your directories.
If you do not have the installer or if you need to install a specific version, download and install VirtualBox for Linux hosts from the Download VirtualBox page.
When installing VirtualBox, in the Custom setup window, make sure VirtualBox Networking is enabled.
Go to the Genymotion download page and download the Linux package corresponding to your system.
Run the following commands:
chmod +x <Genymotion installer path>/genymotion-<version>_<arch>.bin
cd <Genymotion installer path>
./genymotion-<version>_<arch>.bin -d <Genymotion installer path>
Run Genymotion using the following command:
cd <Genymotion installer path>
./genymotion
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?