Latest Server related questions

Score: 0
Benjamin Qin avatar
iproute2 policy route same subnet wrong ttl value
cn flag

I have a Linux PC has two NICs:
1st name is ens192, ip is 192.168.0.2/24 gw is 192.168.0.1 also default route, major NIC
2nd name is ens256, ip is 192.168.1.50/24 gw is 192.168.1.1, and with follow policy routing commands:

ip route add default via 192.168.1.1 dev ens256 table 1000
ip rule add from 192.168.1.50 table 1000

NOW, everyone connects(PING) 192.168.1.50 is OK, below is from 192.168.4.2 (I have  ...

Score: 0
Michaël de Groot avatar
Optional sysctl configuration parameters
br flag

I am working on some automation that sets linux kernel parameters using sysctl. Specifically I am creating a template that can be deployed to systems with a high amount of connections. The automation can be found here: https://gitlab.com/de-groot-consultancy-ansible-roles/sysctl-configuration-management

On a Debian 10 system, the 'conntrack' module in netfilter is not loaded by default. When I try to cha ...

Score: 1
DNS policy for VPC endpoint
za flag

I have VPC with three subnets in different availability zones, and an interface VPC endpoint in each. The VPC endpoint has 4 DNS hostnames by default:

  • A regional DNS hostname, e.g. vpce-x.ec2.us-east-1.vpce.amazonaws.com.
  • Three endpoint-specific zonal DNS hostnames, e.g. vpce-x-us-east-1a.ec2.us-east-1.vpce.amazonaws.com.

As I understand the regional DNS hostname will to an arbitrary endpoint. Is ther ...

Score: 1
User_52345 avatar
Identifying cause of too many CLOSE_WAIT in IIS
af flag

I have a windows server running a web api that serves an android app, and today I started getting alarms saying that my server was timing out.

This server is running behind Cloud Flare.

When I connected to the server via RDC, I noticed that it was using 0% of CPU but had more than 3200 connections as can be seen here: connections

The "normal" amount of connection would be something close to 300. So i ...

Score: 0
jb naron avatar
AWS RDS PostgreSQL Upgrade from 9.6.22 to 10.17
in flag

I just finished upgrading my AWS RDS database engine from 9.6.22 to 10.17. I used these steps to make the upgrade using the AWS Console:

Create snapshot of target database to upgrade
Restore snapshot
Upgrade the restored snapshot's (which is now a new instance) DB Engine version.

After I did all of this, everything seems fine but when I access the database, this warning message appears

WARNING: p ...
Score: 0
Cannot SSH once connected to OpenVPN
in flag

I've downloaded the most recent Turnkey Linux OpenVPN appliance, set it up as a gateway, created a profile, and can successfully connect to my remote network. Everything is extremely vanilla - I didn't modify the appliance beyond the initial wizard. However, I cannot SSH to any of the systems behind the VPN once I have connected to the VPN. Strangely, I can do all of this:

  • I can ping all of the serve ...
Score: 0
Weird behaviour Windows Server 2019 stops being able to access file share
ng flag

We've observed a really strange error over the last week or so that just have us pulling our hairs.

We run a pretty busy Microsoft BizTalk Server on three servers in a cluster and we use a file share (an enterprise NAS with a mountpoint we access) to read and write files from.

We define it like: \\our_fileshare\files

which is a CNAME alias in the AD

And the NAS exists as NAS01 so we can just as well acces ...

Score: 0
Is it possible to trigger a shell script on incoming emails, can it be done without services like dovecot, postix, etc?
bq flag

This question more is for learning purpose.

I'm exploring ways to develop a small email server (in + out).

I have a domain that points to my server as well as mx records and all that stuff...

I also have the open ports 25, 26, 110, 993, 995, 143, 465....

I'd like to activate a shell script on incoming email.

I have apache + php running without problem. I type my domain on a browser => I see my p ...

Score: 0
Nina G avatar
ADSI - What are Permissions and Properties?
cn flag

In my test windows AD server I was checking out ADSI (adsiedit.msc). From this doc, I can make config changes to ADSI that allows me to monitor changes from Domains, OU deletions, etc.

I decided to take a look ADSI. When I got to the Auditing Entry for (my domain) below, I saw Permissions and Properties:

Permissions

Properties

Does anyone know what permissions and properties do? For example, if Principal is set to Everyone ...

Score: 0
How does bind 9 choose a forwarder when multiple are configured?
ph flag

If I have a dns view that has four forwarders configured, how does bind choose which forwarder to use? And what happens if the first one chosen does not respond in a timely manner? I can't find any info in the bind 9 documentation on this.

Does bind try the first forwarder and if no response go to the second one and so on? Or maybe bind knows which forwarder is closest. I need to know how bin ...

Score: 0
Dovecot Sieve Vacacations not working if the mail is relayed by external provider
kr flag

We have infrastructure with the postfix server, dovecot and sieve. Everything is working as expected but recently decision was made to start relaying our outgoing mail via the external provider. There is one problem with the sieve/vacations mechanism - all our vacation responses are bouncing because the external provider is sending following message: Diagnostic-Code: smtp; 550 From header is missing, he ...

Score: 0
Openstack Victoria : Instance failed to create virtual interface
ar flag

I installed the proof of concept architecture from the install guide with option 2 selfservice network. Everything went well, the last step before creating instance was ok :I can ping the router from everywhere. However, when i start an instance, it fails with the error "Virtual Interface creation failed". I saw in the log that, nova went in timeout, it was waiting for VIF to be plugged. When I looked b ...

Score: 0
Chris Woelkers avatar
Apache, redirect for a moved directory
in flag

On our webserver a directory has been "copied" from one location to another. Now the original location is gone however I am receiving requests to provide a redirect to the new location.

I figure mod_rewrite would be the best way to do this, though I'm not above using other methods if available. The URL scheme is like this.

Old URL: www.exampleurl.com/subdir1/olddirectory/subdir2
New URL: www.exampleur ...
Score: 1
Vinayak avatar
HTTPD server does LDAP authentication. How does the mechanism work?
ca flag

I have a HTTPD apache server which does LDAP authentication. When the user hits the URL http://localhost/, a browser prompt pops up asking for username and password.

  • How are the username and password carried from browser to the HTTPD server ? Are they really transferred to server through network? If so, are they encrypted?
  • Is browser prompt safer than entering the credentials directly in the sign-in p ...
Score: 2
pixelearth avatar
rsync all pdfs except in certain directories?
cn flag

I'm trying hard to understand the rsync filter system, and it's completely baffling me.

I have the following "test" directory structure to try to make sense of it. With no filter options here are all my files:

rsync -amv --dry-run /source /target

building file list ... done
source/
source/1.pdf
source/2.pdf
source/exclude_rules.txt
source/filter_rules.txt
source/excludedir/
source/excludedir/2.jpg
sou ...
Score: 0
eek avatar
Creating/Deploying Windows Server 2019 Image on multiple servers
us flag
eek

I manage servers that are all identical in terms of hardware and software. The only differences are hostnames and IP addresses. I've been researching how to clone the OS across these to speed up deployments, but I am having trouble since a lot of examples use VMs whereas all my servers are physical boxes.

My goal is to take the config - which consists of some registry tweaks, local group policy c ...

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.