Latest Server related questions

Score: 1
Docker w/ PHP-FPM & Nginx - 502 Bad Gateway
de flag

I'm currently trying to dockerise a Laravel application, I've managed to create my Dockerfile and docker-compose.yml with the dependencies I need. However, I am struggling to get php-fpm to kick in that will show my application.

Dockerfile

# Set master image
FROM php:8.0-fpm-alpine

# Copy composer.lock and composer.json
COPY composer.lock composer.json /var/www/html/

# Set working directory
WORKDIR /va ...
Score: 0
Change port 80 to IPv4 unspecified instead of loopback on server 2019
in flag

So i have this strange problem where i can't install milestone system on server 2019. The error says that machine repeatedly refuses the connection. When i check with netstat port 80 is used by 127.0.0.1

I have tried stopping the www publishing services but it doesn't help. uninstalling all web apps doesn't work either.

So i tested it on my earlier backup images with minimum programs installed, and  ...

Score: 1
IPTables -m set unknown option
cn flag

I'm having trouble seting-up iptables on Ubuntu 20.04.

Does anyone know why this doesn't work?

# iptables -A INPUT -m set -–match-set cf src -p tcp -m multiport –dports http,https -j ACCEPT
iptables v1.8.4 (legacy): unknown option "set"
Try `iptables -h' or 'iptables --help' for more information.

My cf has the cloudflare ip's:

for x in $(curl https://www.cloudflare.com/ips-v4); do ipset add c ...
Score: -1
Is it possible to host one TXT record for a domain on a different server, and leave all of the other DNS information intact on the first server?
us flag

I am running a business site on a computer with a managed hosting company. Everything is working fine, until I tried to establish DKIM verification for emails sent from the server. This required adding a TXT record to the DNS information. That TXT record contains an encryption key, so it's a bit over 400 characters long. I couldn't get DKIM working, then discovered that the online DKIM checkers don't re ...

Score: 0
UBKB avatar
debmirror not sync dist-upgrader-all correctly
in flag

We have mirrored the Ubuntu bionic from archive.ubuntu.com with debmirror tool in Centos 7 and we can upgrade servers with this local mirror without any issues,but when we were trying to do-release upgrade server we got error like below files are missing.

dists/bionic-updates/main/dist-upgrader-all/current/ReleaseAnnouncement dists/bionic-updates/main/dist-upgrader-all/current/ReleaseAnnouncement ...

Score: 0
ondelettes avatar
Request header read timeout, DOS attack?
in flag

I have a –draft– server with Debian 10, Apache 2.4.38 and a few –rather empty– VHosts with GnuTLS. No proxy nor Nginx.

Every now and then, I get zillions of “AH01382: Request header read timeout” all coming from one IP, in the logs.

Usually, only one IP at a time. Normal navigation on those sites don't produce this, including webcrawlers'.

It can produce gigas of log lines in minutes, wi ...

Score: 0
luca ditrimma avatar
Centos Infected By Kinsing Mining Malware
pl flag

My server has been infected by Kinsing malware. I managed to clear it. Remove the cronjob. So far, it didn't return. However, I noticed, another running processes look fishy. Normally, I haven't focused on this item except my regular services like MySQL, apache because they are normally on top of the processes. Now I became paranoid.

Do you spot any culprit here?

running services

Score: 0
I cannot start an AWS task: CannotPullContainerError
in flag

My own image public.ecr.aws/f6q1r4v8/amazonlinuxwithshell:latest fails to start on AWS (FARGATE) in a very weird way:

Last status Stopped

Stopped reason CannotPullContainerError: inspect image has been retried 5 time(s): failed to resolve ref "public.ecr.aws/f6q1r4v8/amazonlinuxwithshell:latest": failed to do request: Head https://public.ecr.aws/v2/f6q1r4v8/amazonlinuxwithshell/manifests/latest: dial ...

Score: 0
Sahat Shah avatar
How to protect Backend server from DDoS
in flag

I live in a country where there is no DDOS protection for game servers ( UDP Protocol ).

Since latency is important for users, I can't host it in other country or region.

So I have only one option left and that is using fail-over servers.

Current architecture

I have a main dedicated server where game server is running.

I have 64 dummy VPS where I have installed Nginx proxy.

So the main server's IP  ...

Score: 0
How do I create DNS entries for private addresses on AWS?
ng flag

To do any ops work on our servers, we first need to ssh into a DMZ server with a public IP, before ssh-ing on to the app servers, with ips such as 172.16.3.239. I would rather have memorable hostnames, to do something like ssh app.staging, but I am unsure how this works on AWS. I have only setup DNS for globally accessible ips with my registrar, and since the AWS private subnet is for a private range ...

Score: 0
Tom Johnson avatar
IXFR and inconsistent condensation results
br flag

https://www.rfc-editor.org/rfc/pdfrfc/rfc1995.txt.pdf says:

An IXFR server may optionally condense multiple difference sequences into a single difference sequence, thus, dropping information on intermediate versions.

This may be beneficial if a lot of versions, not all of which are useful, are generated. (...).

But, this feature may not be so useful if an IXFR client has access to two IXFR servers:  ...

Score: 0
Tom Johnson avatar
Are SMTP servers generally obliged to copy MAIL FROM from client-server session?
br flag

Are SMTP servers during (STMP) server-to-(SMTP) server communication generally obliged to copy MAIL FROM from client-server session? I've explicitly checked that servers of some mail providers actually exhibit this behaviour, but it doesn't seem to be a requirement enforced by https://datatracker.ietf.org/doc/html/rfc5321 . Also, I don't know how popular this practice is (if it is not a standard).

 ...
Score: 0
Ali Kargar avatar
HP 1/8 G2 medium changer not detected in Oracle Linux 8
vn flag

I have a HP 1x8 G2 Autoloader that connected to a SAN switch, on my VMware environment I have an Oracle Linux that should work with the tape. The problem is after connecting tape to VM, medium changer is not detected but tape drive is OK!

$ cat /proc/scsi/scsi 
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: VMware   Model: Virtual disk     Rev: 2.0
  Type:   Direct-Access        ...
Score: 1
Makoa avatar
Reverse proxy forwarding
sa flag

Could you help me?

sudo echo "1" > /proc/sys/net/ipv4/ip_forward
sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination 1.1.1.1
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 2.2.2.2
sudo iptables -t nat -A POSTROUTING -j MASQUERADE

I am using these iptables rules to create loadbalancing servers. I am just distributing .mp4 and .mp3 contents, b ...

Score: 0
Aviad P. avatar
Interpreting strace of crashing process on VM
us flag

I have a process that is running fine on a very old RedHat Linux 7.1 machine. However when I try to run it in a VM it fails with the following strace log (this is the tail of the log):

[...many lines before this...]
shmat(688143, 0, 0)                     = 0x45665000
fork()                                  = 2375
semget(99, 1, 0x1b6|0666)               = 393228
rt_sigaction(SIGUSR1, {0x4003d860, [USR1],  ...

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.