Latest Server related questions

Score: 1
revian avatar
Ubuntu 22.04: Rebuilding a failed RAID 1 OS Boot drive
cc flag

I'm very new in the Linux world and I find it very appealing so I decided to buy a rackable server to use it to learn more (it's a very old Dell R710 which i found very cheap but I find it perfect for what my needs rather than going to a junkyard).

Before actually starting to use it, I'm doing a RAID 1 test on virtualbox. My plan is to have two SSDs in the server setup as RAID 1 that will have Ub ...

Score: 0
Surfingjoe avatar
Issue with Web Server running PHP thru Reverse Proxy
cn flag

I'm using an NGINX reverse proxy, with wild card certs installed on the reverse proxy. Routing the NGINX reverse proxy traffic to standard web servers that are running Apache2 and NGINX Web services is working great.

However, routing to a server that uses PHP code and Apache2 does not show the page correctly. I believe the PHP code or header information is not passing through the reverse proxy co ...

Score: 4
kumpel4 avatar
pacemaker agent nvmet-subsystem missing
uy flag

I tried to follow the drbd Howto "Highly Available NVMe Over Fabrics (NVMe-oF) on RHEL 9", but run into the error

`Error: Unable to find agent 'nvmet-subsystem', try specifying its full name`
`Error: Errors have occurred, therefore pcs is unable to continue`

It happend with the command:
pcs -f nvmet_config resource create p_nvme-subsystem_0 nvmet-subsystem \ nqn=linbit-nqn0 \ op start timeout=10s inte ...

Score: 0
Christine VACHER avatar
Identifying processes causing 100% cpu usage
ar flag

Some users report high CPU usage on their computers during ordinary activities (like Teams calls).

How can I collect a report of processes causing high CPU usage over a few hours?

I would like to use Windows 10 or sysinternals tools for this purpose.

I have read [https://serverfault.com/questions/33776/get-a-history-of-cpu-memory-usage/33789#33789] which recommends PerfMon, but Perfmon requires t ...

Score: 0
Butane Sh avatar
KTBTGT request failure on disabled administrator
nl flag

The default domain administrator account is disabled (we have disabled it!) but I receive the following err frequently on Dcs:

Event Code:  16
User Name:   administrator
Failure Code: 0x12
Logon Service:  krbtgt/X.COM
Logon Time: Aug 12,2023 09:26:22 AM
SID: -
Remarks: A Kerberos authentication ticket (TGT) was requested.
Event Number: 4768
Domain Controller: dc1.X.com
Event Type: Failure
Client IP ...
Score: 1
cpp_learner avatar
Alma Linux -Static route configuration is not working as fall back mechanism, when default gateway is down
no flag

Currently I am using Alma-Linux, where I need to create 2 default gateways for the same NIC. Main intent of 2 default gateway configuration is.. when any one of the gateways is down then other one will work so that there will be no communication lost to remote host which is in different subnet altogether.

enter image description here

Gateway Configuration Below IPs are used for routing

  1. 11.12.13.1 ( As a default gateway)
  2. 11.12.13.2 ...
Score: 0
james emanon avatar
Issue building local docker image
my flag

I am looking to build a docker image and its been literally years since I've had to do this, and I've forgotten most everything I've learned about docker. I wanted to test locally before uploading to GCP.

Re: I'm updating from node:12.*

Anyways, this is my dockerfile:

FROM node:16-alpine

RUN echo "deb http://nginx.org/packages/mainline/debian/ stretch nginx \deb-src http://nginx.org/packages/mainline/de ...
Score: 0
Overflowed avatar
Ping and mDNS over WireGuard not working
sk flag

When running through WireGuard VPN tunnel from outside the network, I can access machines inside directly via IP. For example, hitting IP of PiHole box in a browser returns the PiHole UI. I can also access the internet fine.

When issuing a ping command to that same IP address through WireGuard results in a “no route to host” error. Same applies to pinging the router’s IP. When inside networ ...

Score: 0
user4433437 avatar
ipv6 : same /64 prefix across multiple physical subnets / interfaces - in Linux
fj flag

I'm trying to figure out how to configure a single ipv6 /64 prefix that need to be routed across several different physical subnets interfaces. The problem illustration is like this:

                                      / Wi-Fi subnet 1
Internet - ISP -+ Router host (Linux) - LAN subnet 1
                                      \ Wi-Fi subnet 2

The illustration here is for 3 subnets, but that in practi ...

Score: 4
Abdul Wadood avatar
why read is faster when using O_DIRECT flag?
bn flag

I copied a 10GB of file in my SSD which has read bandwidth of around 3.3GB/s, benchmarked using fio command. Here is the ref: https://cloud.google.com/compute/docs/disks/benchmarking-pd-performance

I cleared out the cache using this "sync; echo 3 > /proc/sys/vm/drop_caches". After that I tried to read the file in small chunks of 3MB every time using system calls open() and read(). If I open the  ...

Score: 1
Andrew avatar
Linux: Run a specific command as another user?
hu flag

I want to be able to allow users to run a specific command as another user, is this possible?

I have a script that reads a remote file through ssh to get a status, something like:

#!/usr/bin/sh

state=$(ssh -q -i $HOME/.ssh/id_rsa" auto@remote-host "[ -f /path/to/state/file ] && cat /path/to/state/file 2>/dev/null")

printf "${state}"

The auto user has a key setup so that it can login to the ...

Score: 0
TurbineTech avatar
Do I need CALS if only using Windows Server 2019 as a Hypervisor and non Windows Server services?
sl flag

Here is the situation:

  • Windows Server 2019 Host running Hyper-V with 1 Windows Server 2019 vm and 1 linux vm.
  • There will be no active directory, there is no domain, one local admin on the Windows Host machine.
  • Multiple people will very rarely be accessing the host server and logging in over RDP to the local admin account for administration purposes.
  • Multiple people will very rarely be logging into the w ...
Score: -1
Kuitogu67 avatar
Rdp over wireguard. Port security
hk flag

I have a wireguard server on the cloud. Then I have several peers. I want to connect one pc (peer #1) to another pc (peer #2) via RDP, using the wireguard server in order to leave port 3389 closed to the internet.

What I did: I restricted inbound connections to 3389 on target RDP pc to the wireguard ip of the other peer PC.

Screenshot of the firewall config

This configuration is also what the tailsca ...

Score: 0
Eric avatar
Azure Policy Geographic Logic
cn flag

We're using Azure Policy to push out diagnostic settings for various PaaS solutions and running into some issues where we'd love to have one policy for 10+ regions and have them send logs to the regional log analytic workspace.

I know we could create 10+ policies and scope it to the specific regions, but I really don't want to have to maintain that many policies, therefore I'm hoping to add condi ...

Score: 0
Nicholas O'Connor avatar
How does one log into a Windows server, via RDP, using a Microsoft account with 2FA enabled?
cn flag

My client runs a Windows server, and has added me to it using my Microsoft account. I do not have physical access to this server. RDP is giving me authentication errors if I try to connect, which are related to the two factor authentication on my account. I cannot find anything in the Remote Desktop Connection client within my Windows 11 system that looks related to 2FA requests.

How do I, comple ...

Score: 0
Marc avatar
Re-connect to shell and e2fsck
cn flag

My server disconnected my SSH session which had a e2fsck running and I would like to re-connect to the shell and see the e2fsck output. I logged into my server via SSH and started a e2fsck on a 3TB harddisk. After 20mins the SSH session closed (Putty) but the e2fsck command is still running. How can I see the output of the running e2fsck? IS there a way to re-connect to the e2fsck output? And secondly:  ...

Score: 1
JackD avatar
FreeBSD 13.2 install (boot) issues on a DELL PE R430 server hardware
us flag

I am a newbie FreeBSD user and I would like to install FreeBSD 13.2 on a DELL PowerEdge R430 server hardware. After downloading and booting from a bootable USB stick made from image "FreeBSD-13.2-RELEASE-amd64-dvd1.iso", FreeBSD boot menu appears and when I press enter, tons of texts are running, I can't even stop to read it. When it stops I receive some USB bus related error messages. Is it possible to ...

Score: 0
PaulH avatar
nginx-proxy always returning 301 Moved Permanently
us flag

I'm following the example docker compose for an nginx-proxy, but it always returns a 301 Moved Permanently error. I'm using docker hosted in Ubuntu 22.04.

my docker-compose.yml file

version: '2'

services:
  nginx-proxy:
    image: nginxproxy/nginx-proxy
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - ../certificates:/etc/nginx/certs ...
Score: 2
kirill_l avatar
W32Time doesn't respect MaxPosPhaseCorrection settings
cn flag

I'm having a problem with W32Time service on Windows Server 2019 not respecting the default limit on positive time offsets (MaxPosPhaseCorrection/MaxNegPhaseCorrection = 15 days). The server is running on AWS as non-domain joined and the time service is configured to use the Amazon Time Synchronization service.

Sometimes Amazon's service returns invalid data for synchronization, weeks or even a m ...

Score: 0
Josh avatar
PowerDNS API changetype REPLACE does not replace a RRset
ro flag

I'm making the following API call to PowerDNS, expecting to replace the old record value oldhostname.example.net with the new value newhostname.example.net.

PATCH /api/v1/servers/localhost/zones/example.org
X-API-Key: secret
Content-Type: application/json
{
  "rrsets": [
    {
      "name": "test.example.org.",
      "type": "CNAME",
      "ttl": 3600,
      "changetype": "REPLACE",
      "records": [
 ...
Score: 1
Should type microsoft.authorization/roledefinitions be accessible through Azure Resource Graph
kh flag

Is type microsoft.authorization/roledefinitions available through Azure Resource Graph?

Context

I'm hoping to query Azure Resource Graph to fetch all roles which have specific permissions. Looking around I found microsoft.authorization/roledefinitions which seems to be a good starting point; it's documented here and is listed under tables in Azure Resource Graph Explorer / double clicking it adds the li ...

Score: 0
Quango avatar
Is there a way to check the DNS registration date when scanning emails on Office 365?
il flag

We've just caught an email spoofing attack on our business, and it's not the first like this. Bad actor registers a DNS name very similar to a company we work with and then sends messages purporting to be from that company (but the domain name is wrong) and users trust these and click the links (doh!).

If we had a way to check the date of a DNS registration when a message is received and flag as  ...

Score: 0
MeSo2 avatar
DST Root CA X3 (Self-signed) - has expired in certificate chain used by Let's Encrypt (Apache/Windows)
in flag

Is it safe to remove a self-signed root certificate from the chain; and what, if any, are the consequences of doing that?

And how would I go about doing this on a Windows setup? The instructions under "Manually updating the local certificates" which suggest to remove the DST Root CA X3 certificate from the chain is for non-Windows setups.

This is how I found about about my problem: I ran a SSL test on my ...

Score: 0
pfSense L2 firewall not blocking half of DHCP traffic
bq flag

I have a pfSense instance (NetGate SG-series), with setup:

  • 802.11q enabled
  • LAN ports 1 (LANP) and 2 (LANB) with VLAN assignments
  • Interfaces assigned and enabled

LANP:

  • (1, 5t) tag configuration
  • Static IP configuration
  • DHCP server bound to this interface
  • Block BOOTP 67-68 from any source to the secondary LANB server's static IP
  • Allow BOOTP 67-68 and tag bootp_lanp
  • Allow all traffic from LANP subne ...
Score: -1
Bharath Naidu Yenumula avatar
Difference between Authentication-Results and X-MS-Exchange-Authentication-Results email headers
zm flag

I am using Outlook for my company and I got an email from an external domain. I have analyzed the email headers and the email headers have two headers:

  • Authentication-Results
  • X-MS-Exchange-Authentication-Results

Can someone help me understand the difference between both of the headers and what happens if both headers are present in email headers? Which header takes priority/overrides the other hea ...

Score: 0
username avatar
Cannot start SQL Server 2022 on a system with TLS 1.3 only
kr flag

From documentation it seems that SQL Server 2022 should support TLS 1.3:

SQL Server 2022 (16.x) supports Transport Layer Security (TLS) 1.3 when TDS 8.0 is used. link

However, when I try to start a service on Windows Server 2022, where only TLS 1.3 is enabled (I have disabled TLS 1.2 and older protocols), the server will not start. I see the following errors in event log:

SQL Server could not spawn FRu ...
Score: 0
Refresh kerberos ticket instead of prompting for pam password
mm flag

Using centralised auth against FreeIPA is working great. In order to use Kerberos SSO when using ssh, scp etc from jumphosts users must initiate their Kerberos tickets first with kinit. I've added this to bashrc for users so that they're prompted for their password as none of the clients aren't tied to the IPA realm.

However, the tickets time out after 24 hours. Thus if a user tries to ssh or scp ...

Score: 0
Elias Estatistics avatar
How to make ddrescue rescue unreadable files along with rsync run when you backup files, when they exist only at the source?
as flag

How to make ddrescue rescue unreadable files along with rsync run when you backup files, when they do exist only at the source?

I think that major programs that work on backup disks must "merge" with ddrescue for platter disks.

I have a lot of disks that are faulty. I would like to rescue these files because they may not exist elsewhere.

I would like to merge rsync with ddrescue. If I have a disk with  ...

Score: 5
Corosync/Pacemaker/DRBD Resilience Tuning
gf flag

I have a DRBD cluster and one node was switched off for a couple of days. The single node ran fine without a hiccup. When i switch it on I got into a situation where all resources got stopped and one DRBD volume was secondary and the others primary as it seemingly tried to perform a role swap to the node just switched on (ha1 was live and then i switched on ha2 at 08:06 for the sake of logs understandin ...

Score: 5
sokar avatar
Building a low-cost, high-availability cluster using Windows Failover Cluster or Proxmox
jp flag

I need to build a high availability cluster (key functionality, SLA almost 24/7) for virtual machines (AD DC, FS, WSUS, Print server, one Oracle database, a few Linux (not important to business). Performance is not that important, but everything need of course to work well.

Things I have:

  • for now one physical site (data center)
  • license for Windows Server 2019 Standard
  • ability to install Proxmox  ...

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.