Latest Server related questions

Score: 0
mosquetero avatar
What iptables chain applies when communicating two local network namespaces?
it flag

Imagine I have a host with two network namespaces and one veth per network namespace. Traffic from one interface to the other is routed by the root namespace, i.e. no bridge. Imagine namespace_1 pings namespace_2. The packets will end up hitting the iptables of the root namespace. According to the iptables diagram: https://upload.wikimedia.org/wikipedia/commons/3/37/Netfilter-packet-flow.svg, after  ...

Score: 0
John S avatar
OpenVPN Server to Allow Access to Two Different Networks
mx flag

I am trying to allow OpenVPN clients to the OpenVPN which has access to two different subnets. The 10.203.1.61 has a public network and is used when clients access OpenVPN while the 172.28 (ens4) is a private IP into that network. I would like them to also have the ability to access the network running on ens4.

ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 inet 10.203.1.61 net ...

Score: 0
 Ibrahim EL-Sanosi avatar
WordPress MYSQL DB BINARY LOG - Droplet/SERVER Volume Increasing rapidly
de flag

My WordPress website uses Nginx. Recently I have noticed that server volume has increased from 8GB to 40GB. I have found that the WordPress MYSQL Binary Log is taking more space. Each second, database transactions are written to the Binlog files.

I am wondering that we do not have massive traffic on our website/WordPress. And having so many and large MySQL binlog files, as well as a lot of databa ...

Score: 0
How to sync SQL Server Logins with database User after a restore from another server
in flag

I have a database server with several databases inside. This server is used as test server to store a set of test databases. The test databases do not come from the same production server thus I can have a mixed context where multiple test databases in test server come from different production servers. The logins and the mapped users in all the production servers have the same name but indeed their logi ...

Score: 1
SSL offloading with IIS and Ajp (isapi) Tomcat
ls flag

I have java web application running on tomcat on a Windows 2019 server. It runs fine on port 8180.

I have a IIS (10.0) running on the same server with isapi_redirector 1.2.48 configured. Now I can access my tomcat application on port 80, and IIS happily handles the ajp connection to tomcat.

So far so good.

Now I need IIS to do ssl offloading, ie I want to access IIS on port 443, and still access m ...

Score: 3
Paul avatar
Why does my systemd timer only trigger once when the unit is a target?
jp flag

I have a couple of services (static site generators) that I want to trigger on a regular basis from the same systemd timer. I found this question/answer, which covers exactly what I want to do, and describes a setup whereby a .target file that Wants= multiple services is triggered by a corresponding timer. This sounds great, but I'm finding that when I actually set this up, it only ever triggers

Score: 0
 Ibrahim EL-Sanosi avatar
Nginx- Setting up Firewall Bypass Prevention
de flag

I would like to Set up Firewall Bypass Prevention in my Nginx. To do so, I want to add the following directive to Nginx configuration:

location / {
    allow xxx.xx.xxx.x/xx;
    allow xxx.xx.xxx.x/xx;;
    allow xxxx:xxxx::/xx;
    allow xx.xxx.xxx.x/xx;
    allow xxx.xxx.x.x/xx;
    deny all;
    # Existing NGINX rules
}

I have already got location directive under server directive as follow:

Score: 0
Need help deciding best MariaDB storage engine for our use case and server hardware limitations
cn flag

I work for a small company and we are in need of a data warehouse.

Our production database have around 50Gb of data (grows ~10GB/year, currently), our server is running a little over it's capacity and we think that we could move some historical data to a data warehouse (around half of these 50gb can be moved) so it can run smoothly again.

Of course the data warehouse would have all the data ETL'd to ...

Score: 0
Siddhpura Amit avatar
BIND9 DNS Issue : connection timed out; no servers could be reached from outside network
in flag

I am learning Bind9 and have setup Bind9 on Ubuntu 20.04.3 LTS

Here is named.conf file

options {
    directory "/var/cache/bind";

    listen-on { any; };

    listen-on port 53 { any; };

    allow-query { any; };

    forward only;
    
    forwarders {
        1.1.1.1;
        1.0.0.1;
    };
    response-policy {
        zone "example.co";
    };
    
};

logging {
        channel rpzlog {
       ...
Score: 0
Moopsish avatar
Nginx location matching order
th flag

I read some articles on nginx matching and they said the longer location block should be matched first.

However, when I try to set up a proxy for two locations, the first location pics up all traffic and the second does not get any of it.

This is my server config.

server {
listen 80;
server_name IP;
#return 301 https://$host$request_uri;
# nginx/sites-available/fdp.conf

location /lls/ {
    proxy_set_he ...
Score: 0
How to force BIND 9.16 to resign my zones after editing zone file
se flag

I'm using BIND 9.16 new dnssec-policy feature on my zones, following the guide to enable DNSSEC. Everything worked like a charm. Now, I need to add another record to one of my zones, but after editing the zone file on /var/lib/bind/db.mydomain.com and using:

rndc reload
systemctl restart bind9

my .key file Kmydomain.com.xxxx.key is not being updated and on the logs, I see messages with the old s ...

Score: 0
Vladyslav Zavalykhatko avatar
Migrating EC2 t2.medium to t2.large ssh issue
in flag

We have 2 EC2 instances - one for staging and one for production. They have a fairly similar setup.

Since we need to scale (while still staying on EC2), I want to change the type of the production instance from t2.medium to t2.large. My course of actions would be:

  1. Stop the machine
  2. Change the type
  3. Start the machine

Before doing this for production, I experimented for staging moving t2.micro -> t2.me ...

Score: 0
Can I use HD directly in SATA with Dell T440 Server?
az flag

Can i connect hd with operating system directly to SATA motherboard?

It has a hot plug front panel, but I intend to plug the hard drive directly into the motherboard's SATA

Score: 0
ragnarlod avatar
Share Postfix IMAP Calenders
co flag

We are currently running a dovecot mailserver(maildir) and postfix. - Ubuntu 18.04.6 LTS (Bionic Beaver)

Our new COO wants to sync his contacts and calendar with outlook(MAC) and iOS(iPhone) using our service.

Is there a way we can achieve this.

Score: 0
Mourndark avatar
How to copy an Apache installation
br flag

I've got an Apache installation that I'd like to replicate on another server. I don't have any of the source files so I don't know what configure options it was built with. I know what modules are installed from httpd - V but don't know how to translate that to the configure and make steps.

I'm running on Centos 7 and will be managing it with systemctl, in case that makes a difference!

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.