Latest Server related questions

Score: 0
Automatic way to find where variables are coming from in Ansible
in flag

Whenever I have to change something in our Ansible repository, I have to check all the places where a variable could be set and that's very time consuming.

Is there something that would show me something like "the varialbe X being used in this template file is defined is all these places for host Y"?

Score: 0
shubhendu dandapat avatar
Not able to ssh into google compute engine. Also on troubleshooting I am getting no network status
cn flag

Troubleshhot images here

I tried to ssh into this machine but all its showing is that "You cannot connect to the VM instance because of an unexpected error. Wait a few moments and then try again."

Error while trying to ssh into my server

Tried retrying it again but to no avail.

Score: 0
U. Windl avatar
Migrating SLES OpenLDAP to 389-DS using openldap_to_ds
it flag

As SLES15 stopped support of OpenLDAP, suggesting to use 389-DS instead, I tried to migrate my databases following the guide provided with SLES15 SP3. However the command to (test-)convert the configuration failed with a double fault like this:

# openldap_to_ds TEST1 /tmp/slapd.d /tmp/dump.ldif
Examining OpenLDAP Configuration ...
Traceback (most recent call last):
  File "/usr/sbin/openldap_to_ds", ...
Score: 0
Rose Riyadh avatar
link custom domain (name.com) to Azure vm laravel & nginx
cn flag

Good day, I have a Laravel application on an Azure Virtual machine using Nginx in the ubuntu VM. I wanted to link it to the custom domain I purchased on name.com... Those are the steps that I did so you can track with me the issue because I ran out of options:

VM SIDE:

  • I created static IP on my VM.
  • I created my DNS name on my VM.
  • I opened ports: (80, and 443) on my VM.
  • I added my domain as server_name ...
Score: 0
Niels Reijnders avatar
Google Cloud CPU usage to high when sending API requests
ru flag

I have a WordPress site hosted on Google cloud and I'm only using the rest API to GET data and POST data. The only thing I noticed when sending 15 / 20 API calls in a short time was that it crashed the server.

The machine type I'm using is: e2-small (shared server) CPU platform: Intel Broadwell GPUs: none

CPU usage most of the time is around 10%. But when sending 20 API calls after each other it spi ...

Score: 0
dan avatar
Editing fail2ban apache-noscript config to add "AH10244: invalid URI path"
co flag
dan

I have the following (default) /etc/fail2ban/filter.d/apache-noscript.conf configuration file:

[Definition]

script = /\S*(?:php(?:[45]|[.-]cgi)?|\.asp|\.exe|\.pl|\bcgi-bin/)

prefregex = ^%(_apache_error_client)s (?:AH0(?:01(?:28|30)|1(?:264|071)|2811): )?(?:(?:[Ff]ile|script|[Gg]ot) )<F-CONTENT>.+</F-CONTENT>$

failregex = ^(?:does not exist|not found or unable to stat): <script& ...
Score: -1
santhosh narayan avatar
Need Secure way to Login VMs
ph flag

I am a manager working in an IT company.

We have more than 1000 Vms in Live and accessed by lot of people.

We need to have a Secure way to Login the vm without sharing the password to our team.

Linux / Windows we need to Keep the Login as secure and Provide the solution to track/store the commands which they are executing inside the vms.

Request you to share your inputs.

Regards, Santhosh

Score: 0
Avneesh Mishra avatar
Setting cgroup limits to all users in network
cn flag

I have a FreeIPA user authentication set up. There are many users in the system already, along with many host systems (configured IPA clients). I want to set up cgroup restrictions on the tasks these users are doing (specifically, for CPU and memory/RAM). I could test it on a single host using a single test user (using these steps). However, this involves listing all users in each host, and managing and s ...

Score: 0
Squid config http_port only works when local IP is not specified
ru flag

I'm running squid 4 on windows. I will soon have multiple static IP NICs so I need to understand the http_port command better.

This works: http_port 3128

This works: http_port 127.0.0.1:3128

This does not work: http_port 10.0.0.3:3128

Why? That's the local IP of my NIC.

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.