Latest Server related questions

Score: 0
How to correctly sync time of an Hyper-V host which is member of a domain?
ph flag

There are many posts concerning issues when dealing with time synchronisation over a domain which holds virtualised PDC Emulators (see this article).

As a result our PDC Emulator time (and domain time), although configured to sync from an authoritative NTP server, was wrong because of the Hyper-V Integration services/Time synchronisation. As soon as this was disabled, the PDC emulator (and domain) t ...

Score: 0
Ilya avatar
NGINX display first site in subdirectory of second
my flag

The problem is:

First site firstsite.test runs on PHP 7.4, I need to launch second site on PHP 8.0 and another framework inside its subdirectory: firstsite.test/second-site/

So, now I have 2 separate nginx conf for each sites and they are workinbg separately.

But I cant make second site to be shown on first site subdirectory. What I tried:

  1. Make an alias in first site conf:
server {
 listen IP:port ...
Score: 1
pdp avatar
Why is iperf3 data transfer slower than scp?
in flag
pdp

I have been measuring the throughput between two hosts connected via a fiber channel. The OS is CentOS 7.9.2009 and iperf3 version is 3.1.7 (RPM). One of the tests was the measurement of transfer rates when the transferred data gets written to file. This is relevant because our application is write heavy. The server was started by running:

$ [server] iperf3 -s -F zero.img -i 30

The client by:

$ [client]  ...
Score: 1
Taxel avatar
Pgadmin4 cannot start in Kubernetes
in flag

I have set up Postgres in Kubernetes (k3s administered with Rancher) which seems to be working fine but in order to take a look at the databases I tried to add a pgadmin4 pod.

I first tried adding the image dpage/pgadmin4 without any additional configuration (except for the a node port from port 80 and the PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD env var), got the error below and tried a few t ...

Score: 1
Why is SSH key for specific Host not used before catch-all?
cn flag

I'm trying to connect to Github (on a Mac) using a specific SSH key. When my .ssh/config file looks like this:

Host github.priv.com
  HostName github.com
  UseKeyChain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_gh_priv

Host *
  UseKeyChain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa

it uses id_rsa when I run ssh -T [email protected], but when I use a specific host:

Host github.pri ...
Score: 0
disregard traffic in config file OpenVPN
bd flag

i want to disregard the traffic of the openvpn config file. I want to when i connect to the tunnel , I stay in the default gateway without entering the tunnel

Score: 0
Nishu Ali avatar
gmail smtp vs sendmail configuration in windows and centos
ke flag

I've got a local server (Windows 10) with XAMPP on it, and for testing Centos 7 with cPanel/SSH access where a Laravel application is hosted. In both cases mail host is set as 'smtp.gmail.com'. When I'm sending mail from local PC 'smtp' as mail driver works fine, but not in the Centos server. In the Centos server email is sent when driver is set as 'sendmail'. So what is the issue?

Score: 1
zigojacko avatar
Stop Nginx rewrites breaking all pages following location block
gb flag

I'm having to rewrite URLs in nginx.conf that contain particular query parameters;

As an example:-

location /brands/exampleA {

    if ($arg_cat = "9") {
        return 301 /page/brand-filter;
    }

    if ($arg_cat = "38") {
        return 301 /page/category/brand-filter;
    }

}

These URL rewrites would then rewrite example.com/brands/exampleA/?cat=9 to example.com/page/brand-filter and example.com ...

Score: 1
VM running under Hyper-V thinks it connects to a new network after every host reboot
eg flag

I have turned a physical machine running Windows 10 21H1 into a virtual machine that I run under Hyper-V on a new machine running Windows 10 21H2.

Networking-wise, the VM is configured with two network adapters connected to one virtual switch each: one that is linked to the wifi adapter on the host machine, and the second one is just an internal network.

Whenever I reboot the host machine, upon the  ...

Score: 0
Itération 122442 avatar
What is the difference between "Content created" and "Creation date" on Windows 10 file properties?
se flag

On my Windows 10 computer, I have the following properties for a file:

  • Created at, in the general properties overview
  • Content created, in the detailed properties

Those two properties have different values.

enter image description here

enter image description here

What is the difference between those values ?

Score: 0
Operation timed out on port 22 - SSH into EC2 instance
cn flag

Whenever I try and connect to my EC2 instance using SSH, I get ssh: connect to host 35.xxx.xx.xxx port 22: Operation timed out.

The weird thing is that this happens the majority of the time, but not every time. Very occasionally it will let me connect just fine... Then I think the problem is fixed and celebrate! But then I get the same issue again the very next day.

I have been reading through forums t ...

Score: 0
MortenB avatar
Understanding OpenVPN with redirect-gateway disabled
sa flag

I’m looking to set up an OpenVPN server on a VPS with a dedicated ip. It will have one client, my home computer, running MacOS. The reason is that my home computer is behind a CGNAT, but I want to be able to reach it from the internet for https, ssh, torrenting and a Plex server.

I’m planning to disable redirect-gateway to have default traffic originating on my home computer use the regular ISP rout ...

Score: 0
How to return 404 instead of 403 in Apache Drupal htaccess
jp flag

I'm a new to Apache. I have this .htaccess of Drupal 9 below. How can I get Not found (404) instead of 403 (Require all denied) of core/system files such as install.php, update.php. What is the best practice of it?

# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.ori ...
Score: 0
Error code 0x90090331 - Explicit EAP Failure
sd flag

Can anyone direct me to a reason for an Explicit EAP Failure with Error Code 0x90090331?

Evidently, the error code is not on the internet.

I have been troubleshooting some enterprise wireless issues with Intel Wifi cards and Meru Virtual Cell APs (AMA!). Either by changing some Intel Driver settings, or by resetting DNS/WINS stacks (prompted by "Configuration Change" events on wifi driver causing dro ...

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.