Latest Server related questions

Score: 1
Jas Har avatar
Fail2ban regex working but not banning. DNS warning instead
in flag

I had the following problem (already solved) with fail2ban and misplaced it on stack overflow so I'm putting it here now.

So, I've been reading issues for some days and don't seem to find a solution anywhere. I'm making some tests on a web server lab, I have set up two VMs (Ubuntu 20.04) server and client. On the server I have a PHP login app configured to give me this log whenever someone fails  ...

Score: 0
soundtruck avatar
Building cURL with NSS on Ubuntu server fails
in flag

On a fresh ubuntu 21.04 x64 or 20.04 lts x64 I do:

apt install build-essential
wget https://curl.se/download/curl-7.77.0.tar.gz
tar -xvzf curl-7.77.0.tar.gz 
cd curl-7.77.0/
apt install libnss3-dev
./configure --with-nss
make

That's what I get:

Making all in lib
make[1]: Entering directory '/root/curl-7.77.0/lib'
make  all-am
make[2]: Entering directory '/root/curl-7.77.0/lib'
  CC       libcurl_ ...
Score: 0
Lorenzo S avatar
Google HTTP Load Balancer and Google Cloud Storage: Apparently random 403 in PUT requests
in flag

I have Google Cloud Storage configured with a CNAME according to the documentation, so basically I have my Google Load Balancer handling the requests. In almost 2 years with this configuration I didn't have a problem (traffic is higher now, so the problem was probably obfuscated...I cannot know this). I am using signed URLs.

I have started having some apparently random 403 responses with the PUT operatio ...

Score: 1
How to hangup Freeswitch/Sofia SIP-Calls at a 3CX correctly?
ar flag

We are running a FreeSwitch-instance at host A, that is placing outbound calls to a 3CX-instance running at host B, using the SOFIA module.

Everything is working fine except for the hangup: The BYE packet sent by host A is not accepted by the 3CX-host with 404 user unknown.

After the first (working) call, no more calls can be initiated since the line is occupied until we restart the entire freeswitc ...

Score: 0
Alias Harun avatar
Raid 10 Centos 7 failure after power cut suddenly
cn flag

I have 1 server that using RAID 10 software. However, after recent power failure the server no longer can boot and stuck at grub rescue.

Using ls command for all device n the server does not detect the content thus cannot reinstall grub.

Using rescue mode to at least assemble the raid also fail. assemble scan

I run this command : mdadm --examine --scan --verbose and it shows below; Is it still recove ...

Score: 0
acropia avatar
NetworkManager ignores ipv6.addr-gen-mode changes on CentOS
in flag

Problem

On a CentOS Linux (7/8) box with IPv6 and EUI-64 generation mode configured, NetworkManager says that the address generation mode is stable-privacy.

Details and research

On our CentOS Linux boxes we use nmcli to rename network adapters. After that we move ifcfg-* files to the new names. This all works as excepted. Before the renaming of the adapter NetworkManagers says the IPv6 address generation  ...

Score: 1
Nico avatar
Can a service failing to start prevent login?
in flag

I'm trying to pinpoint a login issue for a user. When RDPing into a Windows Server 2008 R2 server, they got a partial error message saying Login Failed. You are. I assume this is supposed to be You are connected to the remote computer. However, an error occurred while an initial user program was starting, so you are being logged off., which seems to be a possible error message.

I checked into the ev ...

Score: 0
Brian avatar
iptables doesn't seem to be stopped
aw flag

I have a CentOS 7 computer, which originally uses iptables as its firewall configuration tool.

The computer has a docker container that listens to port 10079.

I want to use firewalld to replace iptables.

Both firewalld and iptables run outside of the docker container. I don't run them inside the container.

So I run the following commands

$ systemctl stop iptables
# disable iptables so that it doesn't s ...
Score: 1
fredpan avatar
HTTP/2 is way slower than HTTP/1.1
pl flag

I am hosting my WordPress website on a VPS located in Hong Kong. And I am trying to switch my Apache from HTTP/1.1 to HTTP/2.

However, after switched, I found that the speed is pretty low for HTTP/2 (about 2-5 times slower).

Both with exactly the same configuration, in a "pure WordPress way", without any of the cache plugin or CDN setup.

Here are the steps I followed: https://gist.github.com/GAS85 ...

Score: 0
Linz avatar
vCenter network setup
in flag

Following design to be applied:

  • ESXi Host standalone
  • vCenter deployed on ESXi

Network-Config ESXi: enter image description here enter image description here enter image description here enter image description here enter image description here

Config vCenter: enter image description here enter image description here enter image description here enter image description here

Error-Message: enter image description here enter image description here

Problem: I want to have the vCenter management enabled on the internal net 10.10.10.200, so that I can later deploy a Zscaler app-connector and make the vCenter available via Zscaler. Unfortunately I can neither add the port group "internal MGMT Net" to th ...

Score: 1
Dominik avatar
Amazon SQS maximum in flight messages
bd flag

I want to use a FIFO SQS for message transport - while researching I found the following two statements:

  • Messages per queue: The number of messages that an Amazon SQS queue can store is unlimited.
  • Messages per queue (in flight): For FIFO queues, there can be a maximum of 20,000 inflight messages (received from a queue by a consumer, but not yet deleted from the queue). To avoid reaching the quota, you ...
Score: 1
Sajal Dutta avatar
Enable CORS in a specific folder with dot in directory name
bw flag

I am trying to enable CORS in a specific file (stellar.toml) located at mydomain.com/.well-known/stellar.toml

I added the below catch all and allow for testing in my .htaccess file on my litespeed/wordpress site:

Access-Control-Allow-Origin: *

If I test it using curl command, I do not see 'access-control-allow-origin: *'. However, if I rename the directory just by removing the dot from the directory n ...

Score: 2
Damiano Dotto avatar
Centos Docker iptables block all traffics except domain
sg flag

I’m trying to block all outgoing traffic from iptables for docker’s interface docker0. But I would like to open the access for a few domains:

How can I do that?

I tried that:

iptables -I OUTPUT -o docker0 -j DROP 
iptables -I DOCKER -i docker0 -p udp --dport 53 -j ACCEPT 
iptables -I DOCKER -i docker0 -p tcp -d mydomain.com --dport 80 -j ACCEPT 
iptables -I DOCKER -i docker0 -m conntrack --ctstate ES ...
Score: 0
Gaaki avatar
Openstack : Instance can't be accessed
cn flag

I installed Openstack Train minimal on centos7 virtualbox host. I can create and run instances but i can't access them via ssh or vnc. The instance is running on provider network. When i was reading the log files i found this. Instance Log

It seems that the instance is leasing IP from Provider Network DHCP server with no errors but can't ping to gateway(192.168.1.1). PS:I used linuxbridge to set up netwo ...

Score: 0
ngocnnb avatar
Linux what preserves session when load balancing 2 gateway
jp flag

I use 1 ubuntu as gateway with 2 gateway internet:

eno3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether d4:be:d9:f8:82:7a brd ff:ff:ff:ff:ff:ff inet 10.11.12.3/24 brd 10.11.12.255 scope global eno3 valid_lft forever preferred_lft forever inet6 fe80::d6be:d9ff:fef8:827a/64 scope link valid_lft forever preferred_lft forever

eno4: <BROADCAST,MULTIC ...

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.