Latest Server related questions

Score: 0
Jaco avatar
Connecting to Google Cloud MySql DB with a changing IP address
au flag

I connect to a Google Cloud MySql db from my laptop, however my IP address not only changes at home, but also when I travel. I have to specify the allowed public ip address in Google Cloud, but every time I reconnect I have to log in & update google cloud with my new IP address. What is the best solution to not have to do that?

Score: 0
showkey avatar
Why can't re-install apache2?
in flag

Remove and purge the apache2 in my debian.

sudo apt-get remove --purge apache2

And re-install it.

sudo apt update
sudo apt install apache2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  apache2-data
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom
The following  ...
Score: 0
John Doe avatar
Why is ansible running on a server if they already changed their password?
jp flag

What happens is that once you run a playbook with the credentials of a server (your password changes randomly every 12 hours) but after the ansible password is changed you are still able to run the playbook even though the inventory file password is old and when I want to access the same server by ssh manually, it denies me access (since the password is old). I've been looking for the reason but I can't ...

Score: 0
Tùng Nguyễn avatar
TASK [common : Pulling common images]
je flag

I'm trying to install openstack wallaby with kolla-ansible. I followed this document https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html and https://docs.openstack.org/kolla-ansible/latest/user/multinode.html to deploy multinode.

I created a local registry

docker run -d \
 --name registry \
 --restart=always \
 -p 4000:5000 \
 -v registry:/var/lib/registry \
 registry:2

docker p ...

Score: 0
Mount Azure virtual hard disks on filesystem during Azure Linux VM creation using Terraform
cf flag

I am using Terraform to automate VM creation on Microsoft Azure. The Terraform script shall accept data disk configuration as below (refer data_disk_size_gb), create the virtual hard disk and subsequently mount it in the given filesystem path.

module "jumphost" {
    count = 1
    source = "../modules/services/jumphost"
    prefix = "${module.global-vars.project}-${var.environment}"
    rg = azurerm_resou ...
Score: 0
TheHidden avatar
how to automatically configure openvpn server?
in flag

I was wondering the best way to get an openvpn server to configure dynamically based on the network connections of a device.

When the server is turned on I want to assume it knows nothing of the network its connected to, I have ideas but most of them involve monitoring interfaces, config editing and restarting the service which seems.

How would you do it, if you had to?

Score: 1
bash over Windows SSH is not working
cn flag

I have been using an OpenSSH client on Windows for a long time and an SSH server on Linux. Recently I have decided to use the OpenSSH server on Windows 10. I can install it, run the server and login to it with no problem. The default shell is PowerShell and I can run PowerShell commands as usual. I like to run bash.exe after login to my windows machine and that is the problem. It says Access Denied. I h ...

Score: 0
Kalil avatar
The other member is on a different configuration version of pfSense. Sync will not be done to prevent problems! It is possible force resync?
la flag

Some days ago I install a new second pfSense firewall. I recovered the configuration from the previous one, to put this new one as a CARP Backup the same way other on was before.

After that, fixed all problems, I face this error on the CARP Master:

Jul  2 22:54:52 pfsense-rc-pri php-cgi: rc.filter_synchronize: Beginning XMLRPC sync data to https://X.X.X.X:443/xmlrpc.php.
Jul  2 22:54:52 pfsense-rc-pri ...
Score: 0
With DNS e.g. A record, can I add a regex for any subdomain?
es flag

E.g. in my DNS providers UI, I have a A record for the main domain along the lines: mydomain.com.: <my server ip address>

This works fine. I'd like to obtain a wildcard SSL certificate to be able to add several subdomains.

Can I add a record of the form *.mydomain.com: <my server ip address> Is this normal or sound practice?

Score: 1
searchingforlife avatar
Substituting same value multiple times with nginx sub_filter
in flag

Edit: Reproducible example: https://github.com/searchingforlife/nginx-substitution

I am trying to add/inject arbitrary number of scripts to an HTML file/output. They all filter on the same value </body> to inject themselves.

nginx version: nginx/1.16.1

Imagine we have two conf files like so (simplified):

# script_one.conf

sub_filter "</body>" "<script src='/one.js'></script&gt ...
Score: 0
Adrián avatar
Is it secure to still using an old version of VMWare ESXi for production after support ends?
es flag

I'm on a small sized business in which they own a HP ProLiant DL380 G7 Server for production. We would like to use a free license version of ESXi which is the version 6.7 U3 because we can't run modern versions on that server due to processors not been compatible.(X5650 x 2) The main problem here is that ESXi 6.7 support of security patches and updates will end in 2022, which makes me wonder if it would ...

Score: 0
Zius_123 avatar
Rsyslog unable to receive syslogs from two or more switches , error in rsyslog configuration file
ng flag

I am trying to send syslogs from routers/switches in a production environment to a linux server which has Rsyslog installed on it. Its working fine as long as rsyslog config file is set to receive logs from one switch, as soon as I am making changes to the rsyslog configuration file to receive logs from another switch as well , its throwing error while restarting rsyslog server after making changes and ...

Score: 0
Eric Nord avatar
Failed to map guest I/O buffer for write access with status 0xC0000044 Hyper-V-StorageVSP Event ID 8
ug flag

Full Error information: Error 8/9/2021 10:35:11 AM Hyper-V-StorageVSP 8 None

Failed to map guest I/O buffer for write access with status 0xC0000044. Device name = d:\vms\servername\virtual hard disks\servername.vhdx

This error is switching between different vhdx files on the same Cluster Shared Volume. Some days it reports on servername1.vhdx others on servername2.vhdx enter image description here

I recently updated a ...

Score: 0
deezy avatar
Configure Postfix to prevent improper mail forwarding/duplication
ca flag

I'm trying to reconfigure my Postfix mail server to stop it from improperly relaying mail to addresses that are listed as recipients but don't have my server's domain.

Say my mail server's domain is abc.campus.edu. It's currently set up to forward mail received at [email protected] to the address defined in /home/user/.forward that is usually some campus.edu address, translating aliases as needed. I al ...

Score: 1
Windows: How can I diagnose certificate revocation check failure, when I know the OK response is sent?
in flag

TL;DR; How to discover what is wrong with OCSP response on Windows?

I am trying to install a new certificate in on-premises Exchange Server 2019. But Exchange always reports that the new certificate fails the revocation check and will not use it. The new certificate has a chain of trust from the new cert, through an intermediate CA to my root ca. When I open the new cert in certmgr.msc, I see tha ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.