Latest Server related questions

Score: 0
hancack avatar
Is it worth it to install and configure fail2ban for an Bind9 authoritative DNS server?
cn flag

In our project infrastructure we have a nameserver, based on bind9. This nameserver is configured as primary and authoritative, so it is quite important. The question is, should I install and configure fail2ban for the purpose of protecting this DNS server? Is it worth it? I tried searching fail2ban configurations for Bind9/named, but there are only a few, and it seems like it is not something that peop ...

Score: 1
Apache return corrcect page but with status "403 Forbidden"
cn flag

Apache returns the correct page, everything works but for the root document "/" it shows status 403 Forbidden. The browser still shows the page, just the status code is wrong.

Only for root "/", every other document is fine.

The problem appeared after I changed:

RewriteRule !\.(avi|css|doc|flv|gif|gzip|ico|jpeg|jpg|js|mov|mp3|pdf|png|ppt|rar|swf|txt|wav|wmv|xml|zip)$ /cms/front_content.php [NC,QSA,L]
Score: 2
What may cause TCP / HTTP request's delay / lag
in flag

We have a device that sends POST requests or TCP messages in fixed intervals, with a JSON payload, through the internet to our server running a node application, on another location.

The JSON payload has a timestamp and some other values. We compare that timestamp to the server's timestamp to calculate the time difference, that we call lag.

The interval is 100ms. What we experience, is that initiall ...

Score: 1
Soheil avatar
apache mpm event-check current number of servers and threads
fr flag

I'm using apache MPM event on my centos server with these configs:

<IfModule event.c>
StartServers 8
ServerLimit 32
ThreadsPerChild 256
MaxRequestWorkers 8192
MaxConnectionsPerChild 10000
MinSpareThreads 125
MaxSpareThreads 250
ThreadLimit 256
KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 500
</IfModule>

now what I need is to check what number of servers and threads are currently cr ...

Score: 1
CHOO YJ avatar
phpMyAdmin missing php-xml
ru flag

I have an instance on AWS (Amazon Linux 2). I installed lamp on the server and access the phpMyAdmin.

And I get this error:

Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: xml

I tried to install it (php-xml) using sudo yum install php-xml, I get this error:

Error downloading packages:

php-xml-7.2.34-1.amzn2.x86_64: [Errn ...

Score: 1
Goural avatar
CloudFormation - Updating the SecurityGroupIds of an ec2 instance it recreates the instance instead of modifying the same
cn flag

I created ec2 instance with cloudformation. When I try to update the securitygroup of the instance in the same template , cloudformation recreates the instance instead of modifying the same (Like in terraform). How to update the SecurityGroup of instance without recreating it ?

For example the below template -

Resources:
  Ec2Instance:
    Type: 'AWS::EC2::Instance'
    Properties:
      InstanceType: ...
Score: 1
Ryan avatar
Websocket from one HAProxy backend to another backend fails
cn flag

I have two backends (b1, b2) sitting behind the same frontend (f1) in HAProxy, routing based on host name. I can establish websocket to both b1 and b2 from my laptop, however if I try to establish websocket to b2 from b1 (through f1) I get 1006 error (closed abnormaly - unexpected EOF). Pinging b2 from b1 succeeds. Here's my config:

frontend f1
    bind            192.168.1.1:443 name 192.168.1.1:4 ...
Score: 1
Caleb Collier avatar
Could not resolve host: mirrorlist.centos.org; unknown error
cn flag

I'm very new to all of this, so forgive me if this is a common problem with a common answer. I've looked all around and can't find a solution to this problem. I've just installed CentOS 7 and decided to run yum update to make sure all of my stuff is up to date and get an error. I've tried to ping 8.8.8.8 as well as ping 192.168.0.1 and both times it tells me the network is unreachable. When viewing

Score: 1
cr001 avatar
Is there any difference between using a cookie and using a normal header in the case of HTTP communication?
tr flag

I have a system consisting of a custom software and an HTTP server. The software will send some requests with some headers and the HTTP server will send response back.

Now I have some custom authentication related headers that the server will send to the software, the software will keep those headers and send them back in each additional requests to bypass the authentication process.

Based on my und ...

Score: 0
Lighttpd reverse proxy to another server faild
cn flag

I am trying lighttpd as a reverse proxy (v1.4.53)

lighttpd.conf:
$HTTP["url"] =~ "(^/example/)" {
    proxy.header = ("map-urlpath" => ( "/example/" => "/" ))
    proxy.server = ("" => (( "host" => "redmine.lighttpd.net" )))
}

However, this request returns response code 404.

http://localhost/example/ --> http://www.exapmle.com/   ...404
http://localhost/example/pro/lighttpd/ --> ht ...
Score: -1
Mitch avatar
How can I get my CPU to run at maximum speed by circumventing CPU scaling?
sa flag

I am running CentOS 7 (7.9.2009) (kernel 3.10.0-1160.49.1.el7.x86_64) on a rather old laptop (Lenove T61) with a dual core CPU (Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz). The driver for CPU scaling is acpi-cpufreq, and when on the performance governor, I can get the CPU to run at the max CPU speed as listed in /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq, and observe this by doing:

Score: 0
Amazon Web Service (AWS) EC2 instances: Unstable network bandwidths with long-distance connections
us flag

I'm trying to deploy a data processing system over a wide area covering multiple regions of AWS. Before doing this, I've been profiling the network connections over the variety of distances, but I've been experiencing frequent sudden drops and fluctuations in the bandwidth over long-distance networks. I'm wondering what would be the root cause of the issue?

The cluster is set up on five regions:  ...

Score: 0
MeSo2 avatar
What would initiate MariaDB to start to resolve IP addresses?
in flag

In my Windows Logs > Application I see these Warnings

IP address 'xxx.xxx.xxx.xxx' could not be resolved: No such host is known.

The IP is unknown to me. These Warnings get logged as:

Log Name: Application
Source: MariaDB
Event ID: 100
Level: Warning

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  - <System>
      <Provider Name="MariaDB" /> 
       ...
Score: 0
Google Cloud Platform instances: Unstable network bandwidths with long-distance connections
us flag

I'm trying to deploy a data processing system over a wide area covering multiple regions of GCP. Before doing this, I've been profiling the network connections over the variety of distances, but I've been experiencing frequent sudden drops in the bandwidth over long-distance networks. I'm wondering what would be the root cause of the issue?

The cluster is set up with e2-standard-4 (4 vCPU, 16GB m ...

Score: 0
CaymanCarver avatar
Drobo is in a weird state: 4 amber lights, 1 red
cn flag

My Drobo 5N2 has four bays flashing yellow with "Data protection in progress" and 99 hours remaining, and one bay flashing red and says "Failed". Should I pull that one and put in a new drive, or do I have to wait for the 99 hours to finish?

Score: 0
Error trying to reset service account password
jo flag

Some background:

I installed Windows Server Essentials and ran the Essentials Configuration Wizard, which created a new AD forest with a single domain.

However, I needed the AD from a previously-replicated DC for that new Essentials server. What I had here was two separate forests, each with a single domain. Of course that wouldn't work. So I demoted the WSE server, joined the domain of the previous ...

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.