Latest Server related questions

Score: 0
Whitelisting a domain and all dependencies via Squid or other
jp flag

I don't know if this is a common requirement, but usually when you whitelist a single domain say facebook.com or instagram.com, you usually have to also whitelist some other cdns or other external dependencies may be required to be loaded, with some websites, payment systems for example, this domains can be dynamic or changing.

Is it possible to write use something like ContentStream or ecap alon ...

Score: 0
How do I sudo over sshfs, but on windows
jp flag

I have a very similar issue to How do I sudo over sshfs?, with the exception I can't find a way to do it on windows. I need sudo privileges to write some files, but can't figure it out on windows port of sshfs - https://github.com/billziss-gh/sshfs-win.

Score: 0
Attribute a static public ip for a pod in kubernetes and specify in service
cn flag

As per Link , we can create pods with multiples networks , if the application opens port with non-default network (eth2,3 etc) How can we expose it as service? In service yaml i do not find any way to expose the service other than default.

Score: 0
gfsadmin avatar
SQL Converting strings to date
us flag

this has really baffled me for a few days and am seeking help. I am using SQL Server 2017.

I am trying to handle strings from a free format field and either convert them to a date in the format of "dd/mm/yyyy" or if they are not in this format then simply display the text verbatim.

I need this in a VIEW so can not use SET LANGUAGE. Sounds simple using convert and isdate but does not seem to work.

 ...

Score: 0
how to export the filesystem from one container to another
ve flag

I have a container A for running tests against a service running in container B. container A needs to be able to go through the filesystem of B so it can create / delete files in specific folders, but I can't use volume mounting for sharing these folders (hard requirement). I tried to install an ssh server on container B, but container B is already running another service as entry point. I could overrid ...

Score: 1
Port forward from router to pc with openvpn
ls flag

so I want to port forward from my router to my computer which is using openvpn. The computer is running Kubuntu, before I did the same thing with windows, installed the openvpn client and ran it, and I could port forward to the computer, however in linux it doesn't seem as straight forward.

NETSTAT-

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
 ...
Score: 2
Is there any possibility of making Kubevirt work on GKE to orchestrate VMs using Kubernetes?
de flag

Assuming that a solution requires a mix of about 70% components running in containers, and 30% (legacy, monoliths, many dependencies, too hard/too expensive to containerize) in VMs, is there a way to manage the VMs via kubevirt when everything is deployed on GKE (well the containers certainly are, while the VMs are on GCP computes, ideally in same availability zone as where the GKE worker nodes are).

Score: 0
Using WEVTUtil to export logon failures
vn flag

I'm using WEVTUtil query-events Security but cannot figure out how to limit the output to just logon failures

Score: 0
Shubham Goel avatar
Bitlocker Auto-Unlock C drive with TPM
jm flag

I wanted to enable auto-unlock on C drive with TPM. When I click on enable bitlocker on C Drive, it shows me only 2 options

  • Insert a USB drive
  • Enter a password

I do not see any option which says

  • Let bitlocker automatically unlock my drive.

I have enabled the Group Policy Require additional authentication at startup.

I have enabled TPM at hardware level as well.

Please help.

Score: 0
ray an avatar
calico networking: pod to pod communication not working
in flag

ENVIRONMENT:

I am running RKE2 Rancher's Kubernetes distribution. (docs)

I have a single node cluster.
CNI: Calico; Calico is using iptables backend
iptables version: iptables v1.8.7 (legacy)
firewalld version: 0.9.3 (uses nftables by default)

Issue: I have a Hashicorp vault and Kubernetes cronjob running responsible for unsealing and initializing the vault on K8s cluster.

Because of some issue in netwo ...

Score: 1
Otheus avatar
Upgrading packages caused database to crash
us flag

A really strange confluence of dependencies led to an odd database crash. Context:

  • CentOS 7.9
  • LVM2-2.02
  • Postgresql 12, with data volume on an LVM volume, XFS formatted
  • systemd
  • dbus

While the system was up and stable, and the database running as normal, I performed a yum update. During the update, several volumes were unmounted, including the one the database was mounted on. This resulted in the panic ...

Score: 0
Nginx location block for wordpress and legacy files
us flag

I am trying to serve legacy html website documents from the new site which is a wordpress site.

The new site is using nginx and I want to be able to serve files which are structured with a permalink like /articles/file-uri and the 10 years of legacy html static files from a directory in the root called legacy.

So, again, I want to try incoming request files against wordpress root and if the requeste ...

Score: 0
mxcolin avatar
NodePort communication between nodes not working
kr flag

I have a 4 node cluster with a NodePort service exposed from port 80 to port 30871. I can access the service on each node with that node's hostname eg:

curl http://hostname1:30871 on the node hostname1

works as you would expect. Same for

curl http://hostname2:30871 on the node hostname2

I would expect to be able to reach the service from other nodes. However, running

curl http://hostname1:30871

from n ...

Score: 0
manique avatar
Debian 10, cant use 2 Network Interfaces at the same time
de flag

Problem and explanation:

What I want to do: Setting up the interfaces, so all can be used at the same time.

Problem: I got 3 Interfaces in total. 1 is the LAN Connection and 2 are LTE Connections tethered by phones. I'm testing the Connection via Ping -I (interface name) and only 1 Connection works. The other 2 are not working, I searched for 6 hours but didn't find an answer.

So to get to the question, m ...

Score: 0
003random avatar
Binding to random IP from IPv6 subnet (/64) doesn't work
cn flag

I got a scaleway.com server (DEV1-S) which offers me a /64 IPv6 subnet. I want to use an IP from this subnet to make a HTTP request (will use wget in the examples) but I can't get it to work. The request (with wget but also with other programs & programming languages) will hang.

The IPv6 adress is 2001:bc8:1830:1b18::1, the gateway is 2001:bc8:1830:1b18:: and the netmask is 64.

Running ip -6 addr

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.