Latest Server related questions

Score: 0
Log TCP Client port on apache mod_proxy
cn flag

Using an Apache 2.4 Reverse Proxy (with mod_proxy) that connects to a backend HTTP service we have the following(simplified) series of TCP connections:

client ClientIP:random_port1 ---> <IP1:443 port> reverse_proxy <IP2:random_port2> ---> <IP3:8443 port> backend svc

We also get the following error in mod_proxy suggesting that we cannot make the second connection(IP2:random_port2 ...

Score: 0
prefontaine avatar
(ServiceNotFoundException) when calling the UpdateService operation through CircleCI
be flag

As stated, running this through the aws-ecs orb for circleci. Error

An error occurred (ServiceNotFoundException) when calling the UpdateService operation: 

I've already looked at https://discuss.circleci.com/t/ecs-deploy-script-error-service-not-found/4286 and Ecs service doesn't update the task definition and updated the minimum health percentage. I've also got a 3 instance cluster, so I don't th ...

Score: 0
Rafal avatar
Forwarding emails while keeping From header intact
cn flag

What I want to achieve is mails sent to a specific user on my domain get forwarded to "subscribed" addresses I manage while preserving sender information and extending that with forwarding information, ie.:

foo@mydomain.com -> mr.foo@gmail.com, mrs.foo@gmail.com
topic@mydomain.com -> mr.foo+topic@gmail.com

Mail sent from bob@hotmail.com to topic@mydomain.com should appear in my inbox as co ...

Score: 1
Honza Zidek avatar
Can NGINX call another service before dispatching
us flag

We are using NGINX as a reverse proxy, it dispatches the calls from outside to our internal Java microservices:

enter image description here

We would like to add a special service which would serve as a "man-in-the middle", but only for the request part. It's purpose is to decorate the original request (authentication, add/modify HTTP headers, verify access rights). The "decorative tasks" involve a complicated business logic which c ...

Score: 0
What are the IP ranges of Apple's privacy protection proxies?
in flag

Apple introduced privacy protection measures in macOS Monterey and iOS 15 which use a network of randomly assigned IPs to act as proxies when loading (amongst other things) email content. Does anyone know, or know how I can find out, what the network ranges of these services are?

Score: 0
df8oe avatar
AH00690: no acceptable variant
lk flag

I randomnly see the error on different domains. I have googled and tried different solutions but none removed the problem. Now I try to reproduce the error to find a solution - but I cannot reproduce!

This is the access log and error log in case of an error:

xxx.xxx.xxx.xxx - - [25/Nov/2021:18:43:33 +0100] "GET /humans.txt HTTP/1.1" 406 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWeb ...

Score: 1
Apache MPM workers stuck in G (gracefully finishing) growing - "scoreboard is full"
us flag

Running MPM worker, Apache 2.4.46, Debian 9

Gracefully finishing workers just grows over time, they dont seem to ever finish. Eventually I run out of capacity and get "scoreboard is full" error. If I restart apache they get released.

I dont believe its anything to do with my website code (php) as many of the hanging requests are just pure image GETs, no php involved.

enter image description here

<IfModule mpm_worker_module>
 ...
Score: 0
sooraj s pillai avatar
Rewriting dynamic urls in nginx config
do flag

I'm working on a PHP app, and I have moved it from apache to nginx server. I have a php page that dynamically creating xml files for sitemap . This works perfectly in apache server but when i moved to nginx its not working .

This is the code that i'm using in apache

RewriteRule ^([^/]+)\.xml/?$ sitemap.php?p=$1 [QSA,L]

This is the code i used in nginx

rewrite "^/([^/]+)\.xml/?$" /sitemap.php?p=$1 la ...
Score: 0
IIS windows authentication loop
ru flag

We star to move from windows server 12 to 19, the server is already working and we set our balancer to only use the new two nodes. The serves are register under our intranet AD ou cert. the sites use windows authentication so the iis handle it and the browser request and authenticate the users of the same ou without a problem, also works if the user use a VDI resgister on the ou callcenter. But when a  ...

Score: 1
proxy_cache_bypass keeps serving old cached response if URL changes to non-cacheable
md flag

Under normal circumstances, when using proxy_cache_bypass nginx will fetch a fresh copy from upstream, and overwrite the cached response with the new one.

But if the URL changes from a cacheable to a non-cacheable response (for example to a 4xx response with Cache-Control: no-cache), then using proxy_cache_bypass will indeed serve a fresh copy from upstream, but it will leave the old copy in the c ...

Score: 0
HadiB avatar
I have a sql server with a pictures table with 25 million entries and it has become too slow to query. currently have a xeon E5-2667v3 with 32g of ram
fr flag

I have a sql server with a pictures table with 25 million entries and it has become too slow to query i currently have a Xeon E5-2667v3 with 32g of ram, I am looking to get a hp ProLiant Gen 9 and I am not sure how to go with specs, is SQL single or multi-threaded? would I benefit from going many weaker cores or less stronger cores? does ram have a large effect? should I get more ram or faster ram? What ...

Score: 2
Darien Marks avatar
NFS mounts folders, but no files
eg flag

I have a problem getting files to show up using an NFSv4 mount between

Server: Ubuntu 20.04, 192.168.1.1
Client: Ubuntu 18.04, 192.168.1.2

On the server, I have a folder and file

/home/server/files/myfile.pdf

(note 'server' is being used as the user account name). Here is the full ownership and permissions chain of the original file:

drwxr-xr-x  root:root        /
drwxr-xr-x  root:root         ...
Score: 0
Boppity Bop avatar
Why there are SELinux errors in permissive mode?
cn flag

I have set CentOS 8 Stream with SELinux set to permissive but I still have bunch of red lines in the log e.g.:

SELinux is preventing /usr/lib/systemd/systemd from name_connect access on the tcp_socket port 80

Are these real or its just printing - what would be happening if it was in restrictive mode?

Score: 2
Integral avatar
MariaDB high %sys load on AMD compared to Intel
bd flag

we have run into a issue with MariaDB and AMD Epyc 7402. We also have much less potent Intel servers that do not suffer from this problem, using exact same configuration (we are using ansible). Under more than about 15% total cpu load in %usr, there is an unusually high load in %sys.. If anything you need is missing, i can provide whatever is neccessary in form of logs and or configurations.

HTOP Load Mysql CPU-AVG

For sta ...

Score: 0
Nginx - Is there a way to apply a fail rule on a regex only if you're not within a location block?
be flag

In my nginx config I have

if ( $query_string ~ "author=([0-9]*)" ) { return 403; }

to block author queries on the frontend from leaking sensitive information. The problem is this also blocks author queries on the backend.

How can I modify this so that

/wp-admin/edit.php?something=1&author=1 //pass
/something.php?something=1&author=1 //fail

Is there a way to apply a fail rule on a regex only if  ...

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.