Latest Server related questions

Score: 0
Does ansible_config_file actually get set?
lc flag

According to the docs, there is a "magic" (read-only) variable called ansible_config_file telling me which ansible.cfg file was actually used. But I just get an undefined variable message. (ansible_inventory_sources works fine, just to mention another from the same list).

Is this value available under another name or by another method?

Admittedly I'm trying to do stuff I'm not supposed to, preventing ...

Score: 1
MrSmiff avatar
Strange server behavoir with huge spike in system load while number of context switches are small
fr flag

We're seeing strange behavior on 3 of our machines. We're having trouble figuring what's going on under the hood. We're seeing:

1- A significant drop in the number of context switches.

2- A very large increase in the number of file-descriptors that the system is utilizing.

3- Our system load is too high, showing a sudden spike.

Is this workload familiar to anyone?

Our hypervisor is KVM, on a Xeon machi ...

Score: 0
KiDo avatar
uwsgi command not found
im flag

I've went through every single tutorial on the internet, all of them suggest:

pip install uwsgi

But after that, I keep getting:

bash: uwsgi: command not found

I have tried installing it directly:

yum -y install uwsgi

Tried via pip & pip3.8

pip install uwsgi

pip3.8 install uwsgi

Tried within Virtual env:

source venv/bin/activate

(venv) [root@ MyAPI]# pip3.8 install uwsgi

After all those  ...

Score: 1
Patrick avatar
Office365 Connectivity Issues
mx flag

I've got a 3rd party who host a system for us, it has a function to send a small number of emails for us, less than 100 a day, so we simply supplied an Office365 user to them which has been working for ages.

Last night this stopped working. The interface I can see is simply returning Message could not be sent. Mailer Error: SMTP connect() failed. (PHPMail)

The third party is massively dragging it ...

Score: 1
Cloud Functions overview chart showing a constant flow of errors while errors tab and logs don't show any errors
in flag

I believe the screenshot is quite self-explanatory. Is there some other place I could look for those errors or is it possible that in reality there are no errors?

enter image description here

Score: -1
user3260772 avatar
www.website.com works even if there is no A dns record for it
ke flag

I was checking a domain DNS records and they are the following: relevant dns records

I can connect to this website only at www.website.it, not at website.it (it automatically redirects in firefox). My understanding was that there needed to be an alias record, or a A record with www.website.it pointing to the same server. However that DNS record shows a single A record, without a www A record or CNA ...

Score: 0
philolegein avatar
How to diagnose/fix CloudFormation/autoscaling SSL errors on file download
cv flag

I have an autoscaling group that was created by AWS CloudFormation. It runs on Amazon Linux 2. Last week, it was working fine. Now, new instances throw a "certificate has expired" error when trying to download phpMyAdmin. It appears cfn-init is running yum fine, and grabbing files from S3 fine, but not working when it goes to grab remote files (which it appears it does with Python).

EDIT: see below, but ...

Score: 0
Alan Evangelista avatar
scp from Linux to Windows
sd flag

I have installed a SSH server on a Windows 10 system and I'm able to ssh sucessfully from a Linux system (Ubuntu) into it.

Now I want to scp files from the Linux system to the Windows system. I have run the following command in Linux (as explained in https://stackoverflow.com/questions/10235778/scp-from-linux-to-windows ):

scp file.py <win_domain>\\<win_user>@<win_ip>:c:/myfolder/
Score: 0
j4nd3r53n avatar
How to actually find expect in debian bullseye?
cn flag

I have debian 11 (bullseye) on my system and want to install expect - but it doesn't seem to be known to apt, although it should be there according to this:

# apt-get install expect
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package expect

It may be that I have somehow corrupted my apt configuration (although I haven't knowin ...

Score: 0
customize host name and boot volume name on SVC storage
mx flag

I am using PowerVC, which is based on Openstack. Unfortunatelly, PowerVC doesn't officialy support these features - I assume this is inherited from Openstack.

  1. While deployment of new VM on IBM environment (IBM Power servers + SVC storage), new host object on SVC is created. It's name is in format <VM_name>-. I'd like to get rid of - suffix, I'd like host object on SVC have the same name as my v ...
Score: 1
Find which RDS is using a certain parameter group?
za flag

How can I find which RDS database (if any) is using a certain parameter group?

Clicking through each DB to check that is not a solution. There's too many DBs in the organization.

Score: 0
emir ko avatar
MySQL not saving to separate data directories
in flag

Lately I've been struggling with MySQL and it's data directory a lot. At first, I've tried docker for multiple instances but our company doesn't prefer docker no one knows why.

So I come up with a solution.

Some information;

  • Multiple servers (6) will send data (like multi-source replication) and one slave
  • According to our manager, six is too much dangerous to create a multi-source one slave replic ...
Score: 0
manoll0 avatar
Fritz!Box & Ubuntu: Expose URL in LAN with Apache Httpd and Bind
ck flag

I hope someone can help me with this - I thought - simple task.

Situation:

On my private LAN I run an Internet-Router ("Fritz!Box") and a Raspberry Pi with Ubuntu 20.04 LTS on it. I developed a little Spring Boot Web-App for private purposes that I only want to use in my LAN (or maybe reach via VPN from the outside). The native URL of the Web-App is "http://ubuntu:8080", because my Raspberry is called  ...

Score: 0
Somar avatar
resize ext4 volume in amazon linux server : Couldn't find valid filesystem superblock
ru flag

I updated an EBS volume from 30Gb to 40Gb and I'm having hard time to extend it in the system:

root@ip:/home/cpmuser# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
loop0         7:0    0 55.4M  1 loop /snap/core18/2066
loop1         7:1    0 99.4M  1 loop /snap/core/11316
loop2         7:2    0 32.3M  1 loop /snap/amazon-ssm-agent/2996
loop3         7:3    0 99.4M  1 loop /snap/core/11187
l ...
Score: 0
mbieren avatar
Grafana alert Messages Template Variables not resolved
jp flag

I have the following Query to determine Filesystem quotas in %

100.0 - 100 * ((node_filesystem_avail_bytes{mountpoint="/var"} / 1024 / 1024 ) / (node_filesystem_size_bytes{mountpoint="/var"}  / 1024 / 1024))

The Legend of the Graph ist printed on {{instance}}

Then I have an alert with the following query WHEN min () OF query (A, 5m, now) IS ABOVE 85

This would result in an email alert with the follow ...

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.