Latest Server related questions

Score: 0
Debian 11 server not able to delete default gateway
cn flag

I am not able to delete the default gateway from my debian 11 server:-

peter@discovery:~$ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.13    0.0.0.0         UG    0      0        0 enp6s0f0
0.0.0.0         0.0.0.0         0.0.0.0         U     1002   0        0 enp8s0
91.187.223.128  0.0.0.0         255 ...
Score: 0
Zak avatar
Connection Refused to all sites using ProxyPass HTTPS 443
in flag
Zak

I am trying to set up proxy forwarding for a https site that I want to move to another internal server. I want the remote server to handle the certificates as well.

The issue is, when using the configuration below, all 1000 websites go down. Not just the site in question "myfunkywebsite.com". In the browser I get "Connection Refused" for all 1000 websites. So I think it's a configuration error ...

Score: 0
Difference between a filter and a handler in Apache
cn flag

I am trying to understand Apache architecture, but I struggle to understand the difference between filters and request handlers. It seems that filters are run immediately to handle any bytes received from the client (so it is basically L4), then Apache parses the request (to decide if it's a valid GET, POST etc) then calls all the request handlers, then it calls output filters. Is this understanding cor ...

Score: 1
Kubernetes: pod can't mount a PVC even though the latter seems to be properly bound to a PV
ru flag

​Hello.

I'm experiencing a problem while trying to deploy a pod that has been configured to use a Persistent Volume. My installation is hosted on Hetzner Cloud and Kubernetes has been configured according to the instructions made available by the provider. The basic configuration seems ok since I can deploy e.g. Portainer from one of the provided manifests: it correctly mounts the PVC and runs. ...

Score: 0
chewie avatar
Nginx to point to different subdomains
fr flag

I have a domain (example.com) that I am trying to use subdomains to show different parts of the applications. Right now is all Hosted in AWS.

This is sort of the set up I am trying to go for.

sbx.example.com trn.example.com office.example.com

My nginx conf right now is as follow:

    server {
        listen 80;
        root /var/www/html/apt-front/dist;
    
        # Add index.php to the list if  ...
Score: 0
How to redirect all subdirectories to a specific directory?
es flag

Say I have domain.com that redirects to domain.com/app

RewriteEngine  on
RewriteRule "^/$" "/app/" [END,NE,R=permanent]

I also want to redirect everything to domain.com/app.

So, domain.com/sub1 or domain.com/sub2 or domain.com/sub3 redirects to domain.com/app

RewriteEngine  on
RewriteRule    "^/$" "/app/" [END,NE,R=permanent]
RedirectMatch  permanent "^(/(?!app/).*)" "/app/" 

It works for the root to ...

Score: 0
ciekawy avatar
on hotspot running openvpn how to share obtained dhcp-option DNS?
ag flag

There is linux box being a hotspot for number of devices. It also runs openvpn client which is supposed to be shared with connected hotspot clients. Openvpn receives PUSH_REPLY dhcp-option DNS x.x.x.x and I want the hotspot clients to use DNS obtained by the openvpn client.

I am looking for some reasonable configuration to make this working but I am not sure where the DNS should be updated upon openv ...

Score: 0
Failed to start the IKEv2 VPN connection to surfshark via NetworkManager
us flag

I try to connect to surfshark VPN provider through IKEv2 manually. Here are the logs

 charon-nm[5070]: 05[CFG] received initiate for NetworkManager connection Surfshark IKE2
 charon-nm[5070]: 05[CFG] using gateway identity 'ru-mos.prod.surfshark.com'
 charon-nm[5070]: 05[IKE] initiating IKE_SA Surfshark IKE2[1] to 92.38.138.139
 charon-nm[5070]: 05[ENC] generating IKE_SA_INIT request 0 [ SA KE No N ...
Score: 0
sgc avatar
Apache2 VirtualHost RedirectPermanent and AJP Proxy Conflicts
us flag
sgc

It turns out that locations controlled by ajp ProxyPass on my site are being processed before the VirtualHost redirect, which came to my attention because google has indexed 25k+ pages at ardownload.example.org - a subdomain I have never used and don't know how they started down that path. They also have about 12k pages from other subdomains that "don't exist". I traced the problem to the fact that the  ...

Score: 0
user3178486 avatar
static IP with openVPN
in flag

here is my problem: I have an OPENvpn server, with some linux user. (raspberry and custom embedded linux OS with openVPN).


client.conf:

client
proto udp
explicit-exit-notify
remote ################
dev tun
resolv-retry infinite
nobind
#persist-key !!!!!!!!!!
#persist-tun !!!!!!!!!!
remote-cert-tls server
verify-x509-name server_XL98c6RoSdvOVX3E name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls ...
Score: 0
hcr avatar
Understanding output of zpool status and physically identify faulted disk
il flag
hcr

I have a ZFS running on an Ubuntu 20.04 server that currently is running in degraded state due to a faulted disk. The output of zpool status looks as follows:

me@server:~$ zpool status tank
 pool: tank
 state: DEGRADED
 status: One or more devices could not be used because the label is missing or
    invalid.  Sufficient replicas exist for the pool to continue
    functioning in a degraded state.
  ...
Score: 0
Stillkill avatar
How can I invalidate all user logins on Exchange across all browsers, devices and machines?
jp flag

I believe multiple of the user accounts on this exchange server to be compromised. I have already reset the user passwords of the affected accounts, but I want to be certain that any session that was authenticated using the old credentials is invalidated.

Exchange 2016 CU9 v15.1 Windows Server 2016 v1607

Score: 0
Is it possible to identify when a DynamoDB item is marked as expired
cn flag

According to the AWS Documentation for TTL, "How It Works: DynamoDB Time to Live (TTL)":

If the attribute is a Number data type, the attribute’s value is a timestamp in Unix epoch time format in seconds, and the timestamp value is older than the current time but not five years older or more (in order to avoid a possible accidental deletion due to a malformed TTL value), then the item is set to expire ...

Score: 1
Tristan avatar
Is there an "initial memory allocation" different from the "limit" in Openshift/Kubernetes?
cn flag

In java, you have min heap space (-Xms) and max heap space (-Xmx). Min heap space is allocated to the JVM from start, "max heap space" is the limit where the JVM will say "out of heap space" when reaching it.

Are there such different values (initial and limit) for a pod in Openshift/Kubernetes, or initial memory allocation is always equal to limit for some reason?

Score: 1
Thermatix avatar
Docker Nginx returns 404 for proxy_pass endpoint
us flag

On a separate PC (which has the locally accessible only IP 192.168.1.148), I have 3 containers: docker_compose_ui, docker_compose_web_console & nginx

Two of the containers are listening on ports but have not been forwarded to the host:

docker_compose_ui 5000/tcp
docker_compose_web_console 8888/tcp

Nginx is forwarded:

nginx 0.0.0.0:80->80/tcp, :::80->80/tcp

docker_compose_ui & docker_ ...

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.