packstack installer CentOS 7 repository issue - centos7

I am trying to install packstack installer on my virtualbox running CentOS 7. I have come across two issues:
1) when trying to install I get an error "cannot find a valid baseurl for repo: centos-ceph-nautilus/7/x86_64". I am able to ping my DNS server and also google.com so therefore, external internet connection shouldn't be a problem.
2) When trying to query cat resolv.conf there is nothing - Not sure if I need to add DNS?
Things I have tried:
1) Uncomment baseurl from this directory /etc/yum.repos.d/CentOS-Base.repo - Nothing happens
2) Adding another DNS server in cat /etc/sysconfig/network-scripts/ifcfg-enp0s3 - Nothing happens
Please help me!

Related

Get err_connection_refused accessing django running on wsl2 from Windows but can curl from Windows terminal

I got the err_connection_refused when trying to accessing django running on wsl2 (http://localhost:8000) from Windows but when I use curl http://localhost:8000 from Windows terminal bash, it's working fine. I have tried to add a new firewall inbound rule for port 8000 but it's still not working. Is there anything else I need to take care of.
Thanks a lot
Seems like a forwarding problem. WSL2's interface is NAT'd, whereas WSL1 was bridged by default. WSL seems to do some "auto-forwarding" of ports, but only on localhost. However, sometimes this auto-forwarding mechanism seems to "break down". The main culprit seems to be hibernation or Windows Fast Startup (which are both closely-related features).
Does the problem resolve if you do a wsl --shutdown and then restart the WSL2 session? If so, try disabling Windows' Fast Startup. I already had Fast Startup disabled due to a different (non-WSL issue) on my system, so that could be related to why I am not able to reproduce.
Along the same lines, do you Hibernate instead of powering off? In that case, a wsl --shutdown might resolve as well.
For future readers, note that the above two points seem to resolve the issue for most people who have upvoted and responded in the comments. However, if that does not work for you, the following were my original "additional suggestions":
For some additional ideas, see this github issue. There are some suggestions on services that might be needed. (Side question - Are you running Windows Home or Professional?)
Is there any chance that your Windows hosts file (e.g. c:\windows\system32\drivers\etc\hosts) points localhost to an IP other than 127.0.0.1? If I attempt to access via my local Windows IP address, rather than 127.0.0.1 or localhost, I get an ERR_CONNECTION_REFUSED as well.
Since you were looking at the firewall rules, maybe look at a forwarding rule instead of just an inbound allow?
If all else fails, try exporting/backing up the WSL2 session (see wsl --export), then import it in as a new WSL1 session. See if it works there.
On my WSL2/Ubuntu 20.04 system, I attempted to reproduce (but haven't been able to yet) with the following steps:
mkdir -p ~/src/dj-test
cd ~/src/dj-test
python3 -m venv dj
source dj/bin/activate
pip install Django
django-admin startproject config .
python manage.py runserver
(although I used activate.fish since I'm running the fish shell)
From Vivaldi web browser in Windows, accessed localhost:8000, which returned "The install worked successfully! Congratulations! ..."
curl under Powershell Core worked as well.

Orocrm is not installed

I want to install the Orocrm application on a Centos 7 server and I followed all of the following instructions step by step https://doc.oroinc.com/backend/setup/dev-environment/manual-installation/commerce-ce/#step-3-oro-app-name-application-installation.
I put my Centos IP address as a domain name. But when I try to open the homepage with my IP address it gives me this current problem
So what should I do?
This message is shown when the installed parameter is not set in the config/parameters.yml file. This happens automatically at the end of the installation process when everything is ok.
Most likely, you had some errors during the installation. Please check the log file in var/logs and the installation command log to find out what is the error cause.

Having issues in getting pgAdmin4 working on Amazon EC2

I am trying to install pgadmin 4 on an RHEL 7.5 EC2 instance and get it working. I refered to following link for installation step -
https://askubuntu.com/a/831263
in config.py I have changed the DEFAULT_SERVER= my-instance-ip
After executing the pgAdmin4.py script, it shows a message that tells me to navigate to http://my-instance-ip:5050
However when I try to open the page it says 'This site can’t be reached'
I have checked the security group, checked if the port 5050 is opened in the instance. Still it doesn't work.
Am I doing something wrong?
Thanks in advance.

Unable to install devstack in Virtual Box

I followed the steps below, but I'm getting an error.
Install Virtual Box (version 5.0.0) running on Windows 7 host machine.
Install Ubuntu server version 14.04.02 on it.
git clone https://github.com/openstack-dev/devstack.git
cd devstack; cp samples/local.conf .
After that i ran ./stack.sh but came with this error after running for approx 30 minutes:
2015-07-21 20:04:18.841 | ERROR (ConnectionRefused): Unable to establish connection to 10.0.2.15:8774/v2/c199aa06389a4c8c85dffddad18fce1b/flavors/… 2015-07-21 20:04:20.433 | + exit 1 deb#Devstack:~/devstack$
Please help me in resolving the issue
Try re-running the stack. Thats the best hack i found for DevStack debugging.
You need to do some specific network settings in virtual box to overcome this error.
From the Network section, change Attached to to Bridged Adapter, Adapter Type to Paravirtualized Network (virtio-net) and Promiscuous Mode to Allow All.
Check Enable Nested VT-x/AMD-v from System > Processor .
Select USB Tablet as the Pointing Device from System > Motherboard.
Then restart the virtual machine and check ifconfig for a new IP, add it in local.conf and then try install script again.
It should work this time :-)

VMC tunnel crash

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