Latest Server related questions

Score: 0
Best way to route traffic based on logged in user via specific redundant route?
br flag

I have an Ubuntu 20.04 machine with 2 ethernet interfaces with 2 IP addresses each. It's an AWS EC2 instance and each of the 4 IP addresses has an EIP attached to it via NAT. Both interfaces connect to the same internal subnet. The setup looks like this:

EC2 Machine:

- eni1:

  • private-IP1 -> public-IP1
  • private-IP2 -> public-IP2

- eni2:

  • private-IP3 -> public-IP3
  • private-IP4 -> public-IP ...
Score: 0
Maverick128 avatar
Windows server 2022 - Cannot extend C: partition
jp flag

I'm trying to extend my C: partition (I have 10 GB Unallocated), but the extend option is grayed out :

Disk Image

Same results with diskpart command : There is not enough usable free space on specified disk(s) to extend the volume.

And the extend failed with the File and Storage Services (Server Manager\File and Storage Services\Volumes\Disks) :

File and Storage Services Image

Any idea about this issue ? ...

Score: 0
MartinV avatar
Apache 2.4: Require (e.g. all denied) directive not honored
mx flag

I'm running Apache 2.4.41 on Ubuntu 20.04 and am not able to get any Require directives working on my VirtualHost. As a minimum working example, my VHost file:

<VirtualHost *:80>
        ServerName my.domain.com
        DocumentRoot "/var/www/html/admin"

        <Directory /var/www/html/admin>
               Require all denied
        </Directory>

        ErrorLog ${APACHE_LOG_D ...
Score: 0
jrd1989 avatar
Migrating 2012 R2 Domain Controllers to Windows 2019 - Missing Group Policy Setting
cn flag

I currently have two Windows 2012R2 Domain Controllers. I recently stood up two Windows Server 2019 instances and promoted them to Domain Controllers. The plan is to eventually demote/retire the current 2012R2 instances when a few other applications in our environment have been migrated to a set of new (separate) 2019 instances.

I ran a gupdate /force on the 2019 DC instances and noticed that a "User ...

Score: 0
Digital ocean internal network questions
cn flag

I created two Droplets in Digital Ocean. 1 - A Docker (Linux) based VM, it has an external and an internal address 2 - A pfSense VM based on an image that I created locally and uploaded. It is on the same internal subnet but also has an external IP.

The problem is that the pfSense server I can ping from the Docker VM, but not the other way around. I want to be able to route traffic from the pfSen ...

Score: 0
Marshall Davis avatar
Starting Directory for Bash
in flag

I've a Docker container running. I connect to the container using a command like:

docker exec -it container_name bash

This logs in as root at /var/www/html. I want to know why this directory, and how I would go about changing it. This is actually a web application's container and I do want to start in the web applications content root, but that's on a differently named volume defined in the docker-comp ...

Score: 0
What should be the rDNS PTR records for a self-hosted email server with a website domain hosted elsewhere?
ec flag

We have a self-hosted mail server at our business's single, static IP address (mail.companyA.com). Our website is hosted by another company at a different IP address (companyA.com). Our emails use the @companyA.com domain.

Sometimes we send emails to certain clients that get through fine, and sometimes we get bouncebacks from the same client indicating we are blocked. Short-story: I am concerned  ...

Score: 0
Ansible select elements that are blanks from a list
cn flag
raw

I need a variable with all the blank elements present in the _names list. I tried this :

blanks: "{{ _names|select('search', '') | list }}"

But it dosent seem to work

here is the list:

    "_names":
    [
        "",
        "ABC",
        "",
        ""
    ]

To give some context, I need this variable to count the blank elements and compare it.

Score: 1
Karol avatar
SSH authentication: (public key xor password) + google authenticator code
bd flag

I'm using Debian bullseye. I'm trying to set up SSH two types logins:

  1. password + code from Google's Authenticator (if user set it, "nullok" option),
  2. public key + code from Google's Authenticator (if user set it, "nullok" option).

Type #1 works for me. In type #2 I have public key + password (not public key passphrase) + code from GA. I added this line to /etc/ssh/sshd_config

AuthenticationMethods publi ...
Score: 0
chiashurb avatar
Did I brick this X9DRH board?
tv flag

Tl;DR:

Previously-working Supermicro server suddenly has no video output (either from previously-working onboard VGA port or GPU), no iKVM, no output on UART or Serial-over-LAN. IPMI device suddenly cannot detect any of the (previously-working) sensors, and "console preview" over IPMI web interface is a blank white box. POST snooping over a dozen or so boot attempts reveals that the boot sequence is hang ...

Score: 0
Macos changing user in Apache breaks PHP SESSION persistence
dz flag

I am using Macos built-in Apache server locally for development. I have developed a site which uses PHP and relies on session cookies to persist sessions. With the default Apache setup, everything was working fine, and session data was persisted correctly.

For ease of development, I wanted to change the User and Group in Apache to my username and group. I did this by editing /etc/apache2/httpd ...

Score: 0
newbie avatar
Server 2016 wont get updates from WSUS and Reporting issues on Wsus
in flag

As the title says, I have two problems with my WSUS setup.

The first one is, that I can't get 2x Windows 2016 servers to get any updates. All other versions of windows gets updates, 2012,2019 and windows 10.

If you look at the screenshot called "wsus3.png" , you can see it says "windows server update service TRUE" and windows update false.

But I'm not getting any update from the WSUS server.

I have instal ...

Score: 0
Runcorn avatar
AWS Natting Request through Site-to-Site VPN
ng flag

I have a following specific requirement that I need to setup to access on premise server of one of the payment processor vendor that I am trying to access from EC2 instance. I don't have extensive knowledge about networking so please feel to correct me if I have made mistake in the post.

The specific requirement to achieve this is as illustrated in the diagram, enter image description here

To do this, I have created a site to site V ...

Score: 2
Intermittent SERVFAIL from different locations - how to diagnose and fix?
jp flag

I run a service at https://asti.ga .

I get occasional reports that people are failing to lookup the domain name (either NXDOMAIN in a browser or SERVFAIL if diging the name via a root DNS server). These reports seem to originate from certain parts of the world, particularly south-east Asia.

I rarely see these issues myself. However I set up a Route53 health check, and I do indeed see these issues from ce ...

Score: 0
Ansible global fail message when a task has failed on all hosts
cn flag
raw

I need a fail message when a task has failed on all hosts. For example:

- ios_facts:
    gather_subset: min
  failed_when: "{{ ansible_net_hostname }} contains 123"

where all of the hostnames contains 123 so it triggers a fail task

- fail:
    msg: all of the hostnames contains 123
  when: xxxxx

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.