Latest Server related questions

Score: 0
Downsize the boot disk in a VM Instance
us flag

We have a VM instance with SSD disk of 950 GB with mongodb server running on it. We found that the disk can be of 60 GB hence was trying to resize disk.

Followed few posts and solutions but failed eventually to SSH. https://stackoverflow.com/questions/50731578/google-cloud-how-to-reduce-disk-size

Looking for help.

Score: 1
Marty Cagas avatar
Postfix causes issues when its service is enabled using systemctl and doesn't launch on boot
ae flag

On a Rocky Linux version 8.5 machine (a bug-for-bug compatible Red Hat Enterprise Linux downstream), I have configured Postfix + Dovecot setup. After troubleshooting all configuration errors, I got to the point where both services would at least launch.

systemctl enable dovecot.service
systemctl enable postfix.service

After restarting the machine, I could see Dovecot launched properly when queried using  ...

Score: 0
Routing WIFI and LAN on Mac OS
mx flag

An old post couldn´t help me. Things are like this:

I have one Network(managed from a router with access to the internet) All Mac´s are in that Network via Ethernet. In this Network is as well a NAS for Backups and some Files.

Additional i have Starlink Wifi (So not a network, only access to fast Wifi. That is how the starlink router work)

Now that i´m in the Starlink wifi, i cant connect to the NAS ...

Score: 0
en1cc avatar
Terraform Libvirt - How to use local qcow2 file
tr flag

i try to provision some nodes for a kubernetes cluster based on kvm and debian. I want to use the Debian 11 Genericcloud Image and clound-init to initialize it. So i put the debian baseimge to /var/lib/libvirt/images/templates on the remote machine, where kvm runs. I worked thorugh some tutorials and serverfault post and the say, I should handle it like this in my code:

resource "libvirt_volume" "d ...
Score: 0
Milos Vé avatar
How to register a variable in one role and use it in another one in Ansible?
np flag

I am trying to register a variable in a role and then use it in another one.

Here are the different files I'm using :

playbook.yml

---
- hosts: hostsgroup1
  [...]
  roles:
    - role1
- hosts: 127.0.0.1
  connection: local
  roles:
    - role2

role1/tasks/main.yml

- name: Example 1
  [...]
- name: Example 2
  shell:
    qm agent {{ VM_id }} network-get-interfaces |grep ip-address |grep '172.20'  ...
Score: 1
pbies avatar
Can't configure SMTP encryption - postfix
cl flag

I have docker-mailserver and Roundcube in containers, beside there is MySQL database for mail data and user passwords. Dovecot inside is configured to verify logging in users passwords with database. Yesterday I've configured IMAP and it is working properly. Also Roundcube is working with no problem. Now I am facing problem configuring secure connection for SMTP. Even if there is setting "require" and s ...

Score: 0
Andrea Nobili avatar
Can I set multiple TXT record on my DNS? (in order to proove the ownership of a domain to 2 mailboxes system)
mx flag

I am not a system\network engineer (I am a software developer) so this is not my cup of tea.

I have the following problem: I am configuring some Office 365 mailboxes for a client (that at the moment is using another old mail service).

Following this official documentation: https://docs.microsoft.com/en-us/microsoft-365/admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider?view=o365-wo ...

Score: 1
user2713516 avatar
How to forward traffic from 2 On-prem branches to eachother via Azure VPN Gateway
in flag

I have 2 scenario's that I am trying to solve in my Azure network environment. In both scenario's OnPrem-branch1 needs to connect to OnPrem-branch2 via my own Azure virtual network. I have Azure Site2Site VPN tunnels to each OnPrem branch from one of my Vnets in Azure. Note: There are multiple branches hence the 2 case below.

Case 1:

OnPrem-branch1 <--- Azure S2S VPN ---> Azure Vnet <--- Azure ...

Score: 2
Themoonisacheese avatar
Virtualizing Solaris 2.5.1 (1995)
cn flag

Posting here instead of unix exchange because although unix is the suject, this should apply to other non-nix OSs.

Our development team has been asked to automate some tasks that happen to interact with an industrial equipment running, get this, Solaris 2.5.1, which as far as i can tell is equivalent to SunOS 5.5.1. considering none of them are experienced with this version of solaris, which came out i ...

Score: 0
R.Smith avatar
NVMe parallel writes
sy flag

I'm trying to understand better how writing to NVMe can be optimized.

I have a process which writes a large amount of data to disk (~100 gb) in one batch job. The data is spread across 100s of files.

I have multiple NVMe disks available and will be writing separate files in parallel in one process using multiple threads (~10).

Currently all the data is written to a single NVMe disk, I am wondering if a ...

Score: 1
RewriteRule won't match if trailing slash present, throws nginx 404
cn flag

With this .htaccess...

RewriteEngine on
RewriteRule ^foo$ foo.php
RewriteRule ^foo/$ foo.php

...I get the following behavior, when I request

  • /foo — works, I get foo.php
  • /foo/ — fails unexpectedly with a bare 404 from nginx
  • /foobar — fails, as expected, but with a pretty 404 ErrorDoc from nginx

Note: there is no folder foo present.

Am I missing something or is this the hosting provider's f ...

Score: 0
HAProxy: Defer TCP connection to backend only after first data arrives
in flag

I'm trying to understand if haproxy 2.2 or greater has a specific configuration that allows to defer opening the tcp connection to backend servers only after the first data segment is transmitted from the client.

I am running haproxy to balance long-lived tcp connections on a custom protocol where the client always speaks first.

However there are several incoming connections which do not send anythi ...

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.