Latest Server related questions

Score: 0
Asem Abuelhija avatar
Running ps command with 'Irix mode' off
cl flag

I know that within the interactive 'top' screen, I can press 'Shift + i' to turn off 'Irix mode'

Is there a way to do the same thing with 'ps' command?

I am trying the below mini script to print out the top 10 processes that are consuming the CPU, but I want the CPU value to be relative to all cores.

[root@jo00-sat01 ~]# ps -eo pcpu,pid,args,user | (read -r; printf "%s\n" "$REPLY"; sort -k 1 -r -n) |head ...
Score: 0
How can I disable the Windows Game DVR from the command line?
cn flag

I need to disable the Windows Game DVR for a collection of Windows computers that will be running student exam / testing software, so that students can't use the Game DVR hotkeys to record the test questions and choices.

These computers are not Windows 10 Home edition so group policy can be used, but they are also not managed by Active Directory, SCCM, or Azure Endpoint Manager. Is there a way to ...

Score: 0
Adrian avatar
Is there any way to persist a response header in Nginx Plus for subsequent request lookups?
in flag

In Nginx Plus acting as a reverse proxy I would like to be able to store the key:value represented by a response header in something like a map. As far as I can see, ngx_http_map_module can't be changed at runtime so I think that's ruled out. What similar storage could I consider?

Score: 9
What Ethernet twisted pair cable is best with a particular Ethernet switch
ph flag

tl;dr I want the best supported Ethernet cable for my Ethernet switch. How do I correlate Ethernet cabling speeds measured in hertz with an Ethernet switch "speed" measured in bits-per-second bandwidth?


There are several Ethernet twisted pair cabling standards; "Cat 5e", "Cat 6", "Cat 6A", "Cat 7", etc. each supporting a maximum length and hertz rating. For example, according to Wikipedia "Cat 5e ...

Score: 1
Multihomed Windows 2016 Server default route ignoring metrics/preference
cn flag

I have a host with two NICs, both have internet access but I'm trying to manually set preference of a specific NIC.

My interface metrics:

PS C:\Users\Administrator\Desktop> Get-NetIPInterface -ConnectionState Connected -InterfaceAlias "Ethernet*"  | Format-Table;

ifIndex InterfaceAlias                  AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp     ConnectionState PolicyStore
------- -------- ...
Score: 0
hybang avatar
Make bridge with two dummy interface
ai flag

I need to test some daisychain working. but not enough interface.

     internet
        |
    [   eth1  ]
    [     dum3]---
    [         ]  | [dumbr0]
    [     dum4]---
    [   eth2  ]
        |
       pc

so, I want make virutal(dummy) bridge with two dummy interface.

I`m using CentOS 7

ip link add dum3 type dummy
ip link add dum4 type dummy
ifconfig dum3 up
ifconfig dum4 up

brctl addbr dumbr0
b ...
Score: 0
Gordon avatar
Upgraded to Windows 11 now L2TP VPN Connection Fails
nr flag

I upgraded to Windows 11 now my VPN connections fail. They were working right before the update. The error is...

The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer.

  1. I've tried everything mentioned in this article
  2. and in this video
  3. Uninstalling kb:5009543 mentioned here didn't work either.
  4. After I did  ...
Score: 0
Recursive Bind DNS server working in the cloud, but not in VM
ph flag

I'm using ansible to bring up an identical server in the cloud, as well as in a VM (Virtualbox) on my workstation. The instance uses a non-public-facing recursive Bind DNS server to cache queries and it works great when it's out in the cloud, but it won't resolve anything when in the VM and I'm scratching my head as to why. Here's the named.conf...

# Bind9

options {
    listen-on port 53       { 127.0.0 ...
Score: 0
Tom Atix avatar
Filesystem in KVM-QEMU VM switching to read-only mode although smartctl is not reporting any errors
cn flag

I have a Debian 10 Host running a Debian 10 virtual machine with QEMU / KVM. In the past few days, I got the "Error: Read-only file system" twice, after the virtual machine was running some intensive tasks for multiple hours.

I rebooted the virtual machine each time. It was telling me at boot that a manual fsck is required. I used the command

fsck -yf /dev/sda1

to fix the problem.

It worked each t ...

Score: 0
Stephen Carville avatar
NodeJS stops listening on port 443
br flag

We are having a big problem with nodejs intermittently not listening on port 443. Development claims that this is because node cannot connect to the Mongo database. However, when I get an alert the port is not listening, I can still see there are hundreds (973 at this time) of connections to the Mongo servers from /usr/bin/node.

When Mongo support is asked about this they claim there is no eviden ...

Score: -1
baron159 avatar
Home Server Setup Questions
bg flag

I think I'm on the right Stack for this question

So, I've been self-hosting a web server from my home. And recently I've started to see ;'s being included in some request. Trying to, I assume, access the router. Because following the ; is the IP address of the router. And they are trying to access the currentsetting.htm. There has also been request with the default admin creds. And other various r ...

Score: 0
Lucio Crusca avatar
What's the normal order of messages in dmesg when a USB HDD is failing?
mu flag

I have a USB hard drive attached to a Debian GNU/Linux server. I'm trying to format it (NTFS), with this command:

# mkntfs -v /dev/sdd1

which takes a few hours, because it checks the disk too. While checking, dmesg -T shows the following:

[Wed Jan 12 15:22:53 2022] sd 9:0:0:0: [sdd] Attached SCSI disk
[Wed Jan 12 18:03:26 2022] usb 1-4: USB disconnect, device number 5
[Wed Jan 12 18:03:26 2022] blk_upda ...
Score: 2
Can i update the windows registry entries for HKEY_CURRENT_USER values without elevated privileges?
sr flag

Links such as the following suggest that I should be able to edit the registry without elevated privileges, as long as I only update HKEY_CURRENT_USER.

https://blog.codeinside.eu/2015/08/11/reg-exe-or-how-to-import-reg-files-without-admin-privileges/

However, my observation is that a command like this gets an error:

reg add "HKEY_CURRENT_USER\SOFTWARE\Policies\Google\Chrome\AutoSelectCertificateForU ...
Score: 0
brudel avatar
There is a log for update package lists?
bd flag

I am looking for a log for something like "apt update", no "apt upgrade". Can anyone help me?

Score: 0
Jesse McCall avatar
"ulimit -r unlimited" in docker image. "cannot modify limit: Operation not permitted"
cn flag

I'm trying to set my real-time priority to unlimited on my CentOS 7 (CentOS Linux release 7.9.2009 (Core)) image running in Docker.

I'm executing (as root):

ulimit -r unlimited

I'm receiving the following error:

bash: ulimit: real-time priority: cannot modify limit: Operation not permitted

I pulled the centos 7 container from https://hub.docker.com/_/centos.

When executing ulimit -a, I'm met w ...

Score: 1
Block device suddenly full; can't identify a single file as culprit and SMART shows no drive errors
et flag

Setup

  • Ubuntu 20.04
  • Dell PowerEdge R820
  • [PERC H710] 2x Virtual Drives (RAID-1 Boot, RAID-0 Work Drive)
  • Everything been fine for 6 months
  • No preceeding even, just suddenly, drive full.

Details...

This machine is used for plotting Chia (cryptocurrency) - it's been working away for months without issue.

I noticed the plotting process crashed (bladebit) - which is pretty uncommon, happens maybe once every 2 ...

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.