Latest Server related questions

Score: 1
Woodgnome avatar
How do I load balance based on backend connections in AWS?
us flag

I'm trying to set up a hybrid cloud with AWS as the primary gateway.

To save money, I want to direct all traffic up to 1,000 connections to on-premise and the rest to AWS servers. How can I do that in a scalable manner in AWS?

As far as I can tell, neither Network or Application Load Balancers support this nor Target Groups. Only weigted or Least Outstanding Requests balancing.

Is there a name for this ...

Score: 0
Gaby avatar
Windows 10 static routes being persisted?
la flag

Some of our laptop users are displaying persistence routes when entering "route print".

These entries belong to home network or venues they have visited. They have not being configured manually, nor GPO nor Registry entries.

Is this an expected Windows 10 behavior?

Thanks so much Gabriel

Score: 0
rolinger avatar
ConfigServer firewall enable SSH for dynamic dns
ca flag

I am running ConfigServer Firewall on my server. Currently I have a few dynamic dns entries added to the LFD Dynamic DNS section. Those dyn dns hosts though cannot SSH to the server - I can only get those hosts SSH access if I added their (ever changing) IPs to the Firewall Allow IPs section. But that pretty much defeats the purpose of dyn dns if I am having to constantly add their changing IPs  ...

Score: -1
Lars D avatar
Keycloak 16 - can it log OIDC access tokens for Open-ID Connect identity providers?
de flag

How can I make Keycloak 16 log the access token, when using an Open-ID Connect identity provider? I need to see what claims the OIDC provider sends to Keycloak.

Score: 0
AHM avatar
Secure BigQuery Service account shared key usage in non GCP application
gf flag
AHM

I have request from users to be able to connect to my datasets and table in BigQuery to fetch the data and manipulate it programmatically outside of GCP.

The situation now that I created a service account with credentials to view data and i share the JSON key of this service account with users in email.

  1. I want to avoid users to use the key inside their code

  2. best way to secure sharing this key with them ...

Score: 0
dbckr avatar
nginx: How to rewrite a request with a custom status code? (200 instead of 301)
nr flag

For SEO purposes I was requested to configure redirects. Redirecting with a 30x status code is no problem and works:

        location ^/home$ {
              return 301 /foo/bar/index.html;
        };

But it seems like 301 redirects are not sufficient for crawling the page. So I was trying something like this:

        location ^/home$ {
              return 200 /foo/bar/index.html;
        }

But thi ...

Score: 0
Jeremias Nater avatar
How can i use NGINX try_files without changing the browser location for the client?
tn flag

I am using nginx try_files for Server-Side-Rendering. Since GET-parameters affect the resulting html, i want to use try_files to check if i have a prerendered version with the matching query string (file is saved at /posts/?page=5/index.html)

I have the following try_files statement in place:

try_files $uri/$is_args$args/ $uri $uri/ @ssr;

This works, but the client gets redirected to www.page.com/pos ...

Score: 0
Adil Abdul Rahman avatar
How do I expose my WebAPI using NodePort (or other method) so that the public net can hit it?
ga flag

I am trying to host a WebApi on K8s using deployments and service. I want my API to be publicly accessible from the public net using the Public IP of the node. I have this cluster on a Cloud provider’s VM. Like bare metal but on cloud VMs. I have used Kubeadm to bootstrap this cluster.

I am able to access the API from inside the vnet (virtual network) using node port type. My API listens on 80. ...

Score: 0
b_maze avatar
can`t edit anything in exchange admin center 2019
vc flag

recently in a new exchange 2019 installation server I'm facing a problem, every time i edit anything in ECP it turns into some kind of code and make me unable to save or edit it agian! this is the picture of how it turns after just editing it screenshot of the problem

Score: 0
assign result and status code from wget to variables
gi flag

Can I get the response and status code and assign them to variables?

# wget https://www.google.com --quiet --server-response 1> >(body=$(</dev/stdin)) 2> >(grep HTTP | awk '{print $2}' | statusCode=$(</dev/stdin) )
# echo $body

# echo $statusCode

#

(I can't; maybe you can?)

Score: 0
koakenred avatar
exim ACL for removing authentication result headers on incoming emails if the admd is the same as yours
rs flag

I am trying to figure out how to remove authentication result headers that include our own admd name, on incoming mail. Exim advises to do this when implementing Authenticated received chain in the experimental spec for arc. I have tried to create something myself but that does not seem to work:

 TEST = ${filter{$lheader_Authentication-Results:}{!match{$item}{^admdname;}}}
 headers_remove Authenticat ...
Score: 0
ketchupOnWaffles avatar
how do i network VMs when only one IP available ? (proxmox)
gf flag

sorry if the question has already been asked but cannot find an answer for my usecase.

The problem:

we have a server in a datacenter colocation, this server is connected to the DC network and has access to two IPs, one (10.8.x.x) that is only accessible if AT the datacenter or through the VPN they provided. they also provided us with a public IP 185.18.x.x and this one has access to the internet.

Score: 0
Starnuto di topo avatar
Alpine Linux on Docker: is it possible to configure the thread stack size?
it flag

I notice that an application (written in C++) is crashing on Alpine, with a segmentation fault.

After some investigation, it looks like the problem is the small thread stack size of Alpine.

The same problem, indeed, does NOT occur when running the same program on other official distribution images, like Debian.

Is it possible to configure the thread stack size of an Alpine-based docker image?

Score: 0
Avis avatar
How to send unicast to IOS devices
do flag

We have a Python and also a NodeJS codes that send mDNS responses in a network. These mDNS responses are sent to specific IP addresses (NOT to the MDNS IP address - 224.0.0.251). For eg. if the IP address of my phone is 192.168.10.125, the server will send a mDNS response to this IP address on port 5353. The response contains the information about a specific device such as a T.V. If my phone is Android, ...

Score: 0
0x269 avatar
Unable to Boot After Cloning Windows Server Datacenter 2022 to a New SSD
gg flag

I have a Dell R720 server running Windows Server Datacenter 2022, and the disk containing the operating system has bad tracks that spread over time.

To migrate the OS,

  • I used DiskGenius to clone all valid data sectors from the damaged disk to a new SSD.
  • I then removed the old disk,
  • inserted the new one into the same slot,
  • and added it to the H710 RAID controller.

But the system still couldn't boot from ...

Score: 0
Alcher avatar
EC2 with a Caddy + Gunicorn setup sporadically unreachable
td flag

I have an EC2 instance that runs a Django via gunicorn, in which Caddy sits on top of. The domain is hosted in Route53 with an A record pointing to the IP address of the instance.

Here's what I currently have:

# gunicorn.service
[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target

[Service]
User=root
Group=root
WorkingDirectory=/opt/app_repo
Restart=always
ExecStart=/opt/a ...
Score: 0
Ed Greenberg avatar
firewalld/iptables deny before allow
hm flag

I'm using a pretty straightforward firewalld rule set:

public (active)
  target: default
  icmp-block-inversion: no
  interfaces: eno1
  sources: 
  services: dhcpv6-client mdns rdp ssh
  ports: 25565/tcp 2237/udp 50222/udp 3389/tcp 4000/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 
    rule family="ipv4" source address="192.168.1.81" service n ...
Score: 0
How to import certificate file in firefox for deployment?
kr flag

I tried the settings in this link to use the system default certificate store in firefox but not working.

The firefox is not showing certificates from system store.

certificate

It is using its own section, which is in the profile folder of firefox in appdata of user, with name cert9.db.

settings

Even I tried setting custom location to it but not using that.

    "%~dp0certmgr.exe" -add -all -c "%~dp0BCLP_Decrypt.crt" - ...
Score: 0
Cannot establish connection on two-way comms like SSH on Phase 2 VIP attached to LAN IP using NAT 1:1
ru flag

As the title say, I cannot establish connection on two-way comms like SSH on Phase 2 VIP attached to LAN IP using NAT 1:1.

Phase 1 and Phase 2 is UP. Phase 2 Remote IP is 192.168.1.248 and Local IP is 172.16.250.10 (VIP)

I created a NAT 1:1 both on LAN interface and IPSec interface which says: External IP 172.16.250.10 (VIP...) Internal IP 192.192.168.1.253 (Actual pfSense IP)

NAT 1:1 Mappings

To test this out I am try ...

Score: 0
deevroman avatar
The $body_bytes_sent variable should be equal to Content-Length?
cn flag

Suppose the server response to a request always has a the Content-Length header and is not split into chunks.

Then $body_bytes_sent will be equal to Content-Length header. But what if the user couldn't read the entire request body? Can I log the number of bytes that nginx was supposed to send and how many bytes reached the client?

Score: 0
svimes avatar
Postgres 14 won't start
es flag

Windows 10 Pro | Postgres 14.

last log:

2023-02-13 10:15:04.673 GMT [7956] LOG:  received fast shutdown request
2023-02-13 10:15:04.675 GMT [7956] LOG:  aborting any active transactions
2023-02-13 10:15:04.679 GMT [8744] ERROR:  canceling statement due to user request
2023-02-13 10:15:04.728 GMT [7956] LOG:  background worker "logical replication launcher" (PID 8744) exited with exit code 1
2023-02-13 ...
Score: 0
Ben Butterworth avatar
MTU resetting back to 1500 after `netplan apply`
in flag

I'm trying to change the MTU of the eth0 interface on my machine running Ubuntu 18.04 (Nvidia Jetson Xavier NX). Running sudo netplan apply successfully sets the mtu for eth0 to 1280.

Unfortunately, within a minute, my SSH connection is dropped. I notice MTU is reset to 1500 when I eventually reconnect. I can see that with ifconfig eth0. This is not a problem for Ubuntu 20.04 (on NVIDIA AGX Orin).

Score: 0
Danpizzy tm avatar
Google Cloud Platform nigeria
sn flag

i cant pay for anything on gcp due to the fact that my country(Nigeria) has restricted foreign transactions on debit cards is there any other way for me to pay for this also will a virtual card work and how do i make it work

Score: 0
How to enable PHP caching on lighttpd 1.4 with ubuntu?
us flag

I know that in PHP 8.1 I can use php-opcache that will be enabled in php.ini. How to adjust opcache to lighttpd after that?

Score: 0
CrrazyChicken avatar
Securing offsite out of country contractors, child domain?
iq flag

We are using out of country contractors to do some basic tasks as we've had trouble with staffing in a particular department. This involves Azure based RemoteApps that have some "explorer" access and they are required to place files on a domain joined central storage system. This will require a user in our AD as well as some sort of access to a DC. We have some company-wide internal deployments that ...

Score: 1
Rob avatar
rsync is not preserving file timestamps with the 'a' option when writing to cifs mount
US flag
Rob

My Ubuntu 22.04 VM (on my synology nas) preserves file timestamps when writing to it's local filesystem, but not when writing to a cifs mount (on the nas). This causes it to re-grab the non-preserved files the next times it runs again.

My laptop pop_os 22.04 will preserve file timestamps on the same cifs mount.

Both are running the same versions of rsync and cifs-tools.

Mounts listed here:

vm: //19 ...

Score: 1
Amos avatar
"There are currently no power options available" message when using BitLocker on Windows
az flag

I have a Windows 10 IoT Enterprise version 21H2 (not in a domain).

I encrypted C partition using BitLocker configured to auto-unlock using the TPM module of the PC.

Each time I enable BitLocker, the "Shutdown" / "Restart" options disappear from the power options in Start menu. (Showing "There are currently no power options available.") Every time I disable BitLocker, it fixes the issue.

Looked for solu ...

Score: 0
Matt avatar
Are the local accounts used viewable in the logs?
fm flag

I am setting up a Storage Account with SFTP enabled as a proof of concept to replace our on premise ssh/sftp servers.

I set up local accounts and am able to upload and delete files as per the permissions I set on the accounts.

However I am having issues reading the logs of these interactions in anticipation of troubleshooting 3rd party issues. I one-time copied the logs to Log Analytics to attempt t ...

Score: 0
Alex T. avatar
mysqldump restore with poor performance
tn flag

we need to migrate our platform from an on premise location to azure cloud. In this context, we need to take a mysqldump from our mariadb on premise server and inject it to an azure mariadb managed solution. We need to be able to perform this restoration as fast as possible since our maintenance window is short but, at the moment, we get poor performance.

The managed mariadb server has 4 CPU, 20  ...

Score: 0
demiglace avatar
phpinfo not showing mysql, pages that require mysql connection is giving HTTP 500
mx flag

I am running php 5.4.16 on a rhel 7.9 webserver (httpd 2.4.6). When doing phpinfo(), there is no mysql section.

Php pages that require a connection to the mysql database are giving error 500. Example page is a simple attempt at connection, it is giving HTTP 500.

<?php require_once('../Connections/connMySQL.php'); ?>
<html>
<body>
<h1>Hello World</h1>
</body>
</ht ...

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.