Latest Server related questions

Score: 0
WhisperingShiba avatar
1 Gateway 2 Machines 2 Domains 3 Subdomains, How to
ug flag

I had a working configuration in nginx for just one of my websites, but I broke it when I tried to make it work with 2 different domains, one of which has 2 sub domains, all serving different sites or applications. To make matters harder on me, the domain running 2 apps is on a separate machine, and I am trying to proxy requests for that domain to the correct machine on my LAN. See below:

My Architecture

My NGINX  ...

Score: 2
Whip avatar
Fail2ban partial IP match possible?
cn flag

My server (Ubuntu 18.04) is getting a lot of spam requests on Postfix. Fail2ban is working but the spammers keep changing the last part of IP and not getting banned. For example,

2021-10-09 09:40:01,260 fail2ban.filter         [790]: INFO    [postfix-sasl] Found 212.70.149.88 - 2021-10-09 09:40:01
2021-10-09 09:40:04,047 fail2ban.filter         [790]: INFO    [postfix-sasl] Found 31.130.184.201 - 2 ...
Score: 0
Who has done what during the course of visiting wordpress site?
id flag

I run a small wordpress site. I use Korean. Today my statistics shows like the below. Hits for tody

My blog has no more than 100 posts so I am suspicious about the 100+ hits from the same ip.

Can this be an evidence that Russians are trying to hack into my site?

Can there be any convenient way so that I know who's doing what with my posts? Something like someone from ip addr xx.xx.xx.xx entered at url:xxxx, jumped t ...

Score: 0
uotn avatar
How to set a public LB route to a proxy on AWS?
sd flag

I built this traffic route in a VPC.

Route53->ACM(SSL)->Public ALB->EC2(Nginx proxy)->Private ALB->ECS(Internal App)

The EC2's security group is allowing tcp 80 and 443. The ECS' security group is allowing 80 from EC2's security group.

When I access the domain registered in Route53, it got 504 DNS look up failed error. When access the public ALB's DNS name got 503 Service Temporar ...

Score: 0
nginx + php-fpm give me too big error log
ru flag

I use nginx and php-fpm to deploy many wordpress in one service (centos). I have turn off log_errors in /etc/php.ini, but i still get a lot of error log.

enter image description here

enter image description here

Score: -1
Rinaldo Jonathan avatar
Can RAID 5 be made, when one or more of the disk is actually RAID 0?
mc flag

I have this question since (I think) 3 years ago, but since I was never actually planning to build server, I just shrug it off. But tonight, I literally can't sleep because of this burning question.

Lets say I have 3x 2TB disk. According to Wikipedia, RAID 5 requires at least three disks, and with this setup I would get 4TB capacity for the RAID.
Now, lets replace one of the 2TB disk with 2x 1TB disk. ...

Score: 0
How to setup HA Application Cluster on SD-WAN (Fortigate) across sites
cz flag

I've had experience building simple HA clusters with HAProxy and Keepalived on a single network and have a general idea how to do it when I control all the pieces (or in AWS). But here is my question

We have multi site connected over SD-Wan that basically gives each site something like 192.168.1.x , 192.168.2.x.. each behind a fortigate managed by a service.

If i wanted one server to sit on the .1.x ...

Score: 1
pstatix avatar
No files after send/receive of snapshot between systems
in flag

I have two separate systems, prime and alt, on the same network in the same rack:

prime 192.168.0.100
alt   192.168.0.101

Each system has a zpool running on it, created with the following sequence:

> zpool create -O encryption=on -O keylocation=prompt -O keyformat=passphrase <name> /dev/sda /dev/sdb

The <name> of each zpool is respective:

prime spool
alt   buck

On prime there is t ...

Score: 0
GKE phpMyAdmin shared sessions do not work with Filestore (NFS)
cn flag

I am migrating phpMyAdmin off of an old Debian server and into Kubernetes using GKE. I have created a Docker image that runs phpMyAdmin with apache2. The web page comes up and I can log into various MySQL databases and make some queries, but after only a couple of minutes the queries stop working and I get the error message "Error in processing request / Error code:502 / Error text: Bad Gateway (rejecte ...

Score: 0
Is it possible to implement a TCP/IP network over DECT?
cn flag

I am working at a site where DECT is implemented on Mobile Devices, and I am wondering if it is possible to setup a TCP/IP network using DECT as the data transmission layer.

Score: 0
Trying to make azure saml work with zendesk idP initiated
au flag

We are trying to setup SAML with Azure AD for zendesk when SAML is not the primary (can be JWT and SAML at the same time, we need JWT to be the primary).

We basically followed the instruction here: https://support.zendesk.com/hc/en-us/articles/360002090108-Using-different-SAML-and-JWT-SSO-single-sign-on-for-agents-and-end-users

We are using the direct link from azure to initiate the login, login seque ...

Score: 0
user3142695 avatar
Postgres and redis pods are failing from time to time
cn flag

I've setup a kubernetes cluster (1.19) using RKE on a bare betal ubuntu (20.04) machine. I'm running a self hosted gitlab instance (installed by helm chart) on that cluster.

From time to time (every 1-5 hours), some pods are passing out and I see the most restarts for

cert-manager-cainjector-856d4df858-l4fsz
gitlab-postgresql-0
gitlab-redis-master-0
nfs-provisioner-6c95ddf48-xndwh

I don't know which one  ...

Score: 0
nginx location directive does not return http status
us flag

Note: I have read through the several Q/A's on SO, ServerFault, etc... but none of the answer seem to be working.

Running an AWS ec2 Ubuntu (v20.04) web server with a basic nginx (v1.18) config. However, the location directive for /a-custom-path returning an http status code of 200 is never processed and/or is processed and ignored.

Here's the config:

server {
    listen 80 default_server;
    liste ...
Score: 0
jrd1989 avatar
Calculate Size of Azure Storage Accounts & Containers Using PowerShell
cn flag

I have limited knowledge of PowerShell but I'd like to calculate the total size (in GB) of each storage account, or each container in my storage accounts. I have multiple storage accounts and containers in multiple resource groups.

I'm having a hard time putting together a script that pulls all storage accounts and containers since I have more than one resource group. I found the script below tha ...

Score: 0
Harry avatar
My firewall rules are not working
in flag

I am trying to write firewall rules for logging messages but they don't seem to work:

First of all I have added a chain MY_LOG

-N MY_LOG

Then I wrote a rule to jump to MY_LOG chain when I receive a message with destination IP 192.168.1.132, destination port 79 and protocol UDP:

-A INPUT -d 192.168.1.132/32 -p udp -m udp --dport 79 -j MY_LOG

and finally I wrote the rule for the MY_LOG chain:

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.