Latest Server related questions

Score: 0
Setting up custom domain for GCP load balancer
il flag

In this page

I mentioned we need to point the A record to load balancer IP.

enter image description here

My website domain.com already have landing page. I want to point api.domain.com to load balancer IP, but I can't set a CName to an IP (it needs to be a domain name), what should I do in this case?

Score: 0
Too many mounted filesystem
in flag

How to umount this cgroup?

Also i have no idea is it important or not. It seem cgroup is comefrom docker but im still not sure.

I was trying install gns3-remote

And it give me cgroup like this.

Then i deleted gns3-remote because it's for fresh vps not my private vps. I dont need it anymore. Also im still not sure if i clearly remove it

Is it okay keep this cgroup? Im just annoying seeing this files ...

Score: 0
ndd avatar
Disable outgoing IPv6 for specific users on linux
ru flag
ndd

I would like to block outgoing IPv6 connections for specific users on linux machine. I don't want to disable IPv6 for whole system. How can I do it? I can do it using ip6tables and rejecting OUTPUT connections with icmp6-adm-prohibited or icmp6-no-route or icmp6-addr-unreachable but that for some reason causes delays of about 1s with every connection made (IPv4 is tried only after waiting for 1s). If mu ...

Score: 2
becko avatar
SSH keys: ed25519 vs RSA performance demystified
pl flag

It is claimed that ed25519 keys are better than RSA, in terms of security and performance. In terms of security, I understand that 4096 bits RSA keys are practically unbreakable for the foreseable future, so I am not asking about that.

What I would like to understand is the performance difference (in terms of speed). When people claim that ed25519 keys are faster, what does it mean? I am asking fr ...

Score: 0
K8s ( on eks ) access pod with hostNetwork: true from another pod
pf flag

I'm installing metricbeat ( deployed using this manifest file ) on my eks cluster.
In order to monitor also some other metrics ( such as traefik and HPA ) i added Prometheus with remote_write enabled, and i've enabled the remote_write metricset on metricbeat.
If I then login into the prometheus pod and i try to connect to the Node address ( because metricbeat has hostNetwork:true) on port 9201 i a ...

Score: 0
Guzzle's POST request timing out from server (locally works)
cn flag

I'm trying to POST request my API, which is in a nginx server, from an apache server, but no response is obtained. Requests from localhost to the same nginx server work fine. But, when the same snippet is executed in the production server, we get a time out, and Guzzle throws an exception after few seconds.

Exception threw:

<br />
<b>Fatal error</b>:  Uncaught GuzzleHttp\Exception\Co ...
Score: 0
pico avatar
GIT-SCM bash.exe doesn't work from "Enter-PSSession -Computer myServer"?
jm flag

Let's suppose I download and install Git-SCM on a remote windows 10 computer using this installer:

https://github.com/git-for-windows/git/releases/download/v2.33.1.windows.1/PortableGit-2.33.1-64-bit.7z.exe

I unzip this exe installation file to the directory C:\GitPortable on the computer myserver. Which means on this computer I can start bash from powershell by typing:

PS> $env:path = "C:\Po ...
Score: 1
How can the SPICE password of a libvirt+kvm+qemu virtual machine be changed while the machine is running?
au flag

I have a virtual machine that is running on a KVM+QEMU stack with libvirt. The VM is using a qxl or virtio display and has a spice graphics listening on a port.

I'd like to change the password (in SPICE they call it "ticket") used to access that machine from virt-manager or remote-viewer while the machine is running. The old password should be invalidated immediately and new SPICE connections sho ...

Score: 0
thewire247 avatar
Minio console OIDC login using helm chart
cn flag

I am attempting to setup the minio operator in Kubernetes using the helm chart https://github.com/minio/operator/tree/master/helm/minio-operator

It all launches ok, however I'm trying to set it up so you can access the console using your OIDC login, currently it just asks to paste a JWT in.

So far I've tried the following:

  • setting the environment variables shown here in the server and console pods:
Score: 1
Kubernetes failing to start: failed to build map of initial containers
in flag

Starting today, k3s is failing to start with the following error: "Failed to start ContainerManager" err="failed to build map of initial containers from runtime: no PodsandBox found with Id '9f141a500138e081ae1a641d7d4c00c3029ecce87da6e2fc80f4a14bd0a965fd'. After this log line, it crashes.

I can't find anything on the internet, so does anyone here have an idea how to solve this?

I'm running k3s v ...

Score: 0
rbn avatar
What happens with a Aufs location if a drive is lost
tj flag
rbn

If I use Aufs to show a unifid filesystem to my Ubuntu server and then one of the drives break. Will the storage become missing or will it just not show the data from that drive but show the rest.

Score: 2
Using MySQL raw disk on Windows?
ru flag

I'm having trouble getting MySQL 5.7 to use raw disk (a block device, bypassing the filesystem) for its data. My understanding of the documentation is that basically, first time mysqld is executed, the config needs to have the newraw keyword in the value for innodb_data_file_path, and should be replaced with just raw for 2nd execution.

[mysqld]
innodb_data_home_dir    =
innodb_data_file_path   = //./E::5 ...
Score: 0
How can I get RAM frequency from the OS X low-level terminal?
cn flag

How can I get RAM frequency from the OS X low-level terminal? Which comand can help in this situation?

Score: 1
Yvain avatar
Response with and in memory file with Django and nginx
uz flag

I have a piece of code that works fine on my local setup (Django embeded dev server running on Windows) but not on server (ubuntu + gunicorn + nginx)

I build an Excel file et send it from memory like so

output = io.BytesIO()

workbook = Workbook(output, {"in_memory": True})

worksheet_user_list = workbook.add_worksheet()

# Fill file...

workbook.close()

output.seek(0)

response = HttpResponse(
    o ...
Score: 0
Can fail2ban-client tell me if an ip from a CIDR range is in a jail?
gb flag

If I have a CIDR like 13.54.63.128/26 can fail2ban-client tell me if there's an IP in this range that's currently banned?

Currently I'm doing:

CIDR="13.54.63.128/26"
nmap -sL -n $CIDR | awk '/Nmap scan report/{print $NF}' | while read ip
do
  sudo iptables -L -n | grep $ip
done

which does the job, but feels a bit hacky.

Please note this is not a question concerning fail2ban's partial IP matching. I wan ...

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.