Latest Server related questions

Score: 0
Sara June avatar
How to send mail when a node is down in azure devops?
cn flag

Have task on regarding agent nodes

✓Script will run on certain nodes not all nodes

✓Will get mail when node is down

✓Print node name and ip address

Could anyone please suggest how to achieve this.

Score: 0
Brent Norris avatar
Disk Partitioning errors after Disk resize in Compute Engine
sr flag

Currently stuck trying to partition disk. Getting some errors I don't understand. Might be in over my head. My question is at bottom.

The disk has been resized using GCP/Compute Engine Disk manager. from 80 to 200

While trying to partition the space using this guide, I hit a snag that's freaking me out eg;

[brentfm@whm ~]$ df -h /dev/sdb
df: ‘/dev/sdb’: No such file or directory
[brentfm@whm ~ ...
Score: 0
Kamil Bu avatar
Mobaxterm vs vim text copy
mx flag

Can I somehow copy text between two vim sessions in 2 different terminals? I use mobaxterm and can not scroll while marking text that I want to copy.

How can I do it? Edit 2 files on 2 different terminals (SSH sessions) with multiexec option and copy more text than I can see on terminal. I can not highlight it in any vim mode to copy it to my laptop notepad or other terminal SSH session window.

 ...
Score: 0
Deeepdigger avatar
Apache IF condition based on custom HTTP header
cn flag

I have a RewriteRule directive in Apache that I would like to get applied only if a custom HTTP header is present.

What I have tried:

<If "%{HTTP:X-MyCustomHeader} in { 'present' }">
RewriteRule ^/$ /present.html [NC,R=301,L]
</If>
<Else>
RewriteRule ^/$ /absent.html [NC,R=301,L]
</Else>

This does not work at all, neither RewriteRule gets applied.

Alternative that I have tr ...

Score: 0
Xcode avatar
Erased System Path Variables
de flag

I was writing a batch file that was supposed to automatically set up a computer to receive "psexec" remote commads. Unluckly i didn't really pay attention to what i was writing and i wrote this command and then ran It:

setx /M Path "C:\Windows\System32\PSTools"

You can imagine what happened... I erased all the other path variables! Then, panicking, mis-reading an online-forum, I restarted the computer ...

Score: 0
M. Jeremy avatar
How to redirect to /index.php?/Test/ in nginx?
ru flag

I have a nginx server. I want to redirect /index.php?/Test/ request to another server. I tried many example but I don't successfully.

I used example:

location / {

    if ( $query_string = "/Ajax/" ) {

        return 301 http://localhost.com/index.php?/Ajax/;
    }

    location /index.php*/Test/ {
        return 301 http://localhost.com/Test;
    }
    
    location /index.php?/Test/ {
        retur ...
Score: 0
What controls the timing of the Windows Certificate Services event "Close to expiration" ID 1003?
us flag

I have a Windows Server which started logging this warning event 36/37 days before a certificate's expiry date and I would like to understand what controls/sets this timing and how it can be configured.

The certificate in question was not auto-enrolled.

Ultimately, I would like to use this event to send a notification X days before the cert is going to expire.

The source of this event in Event Viewer i ...

Score: 0
IPv4 fragmentation and high speed data
pm flag

Please excuse me if this has been answered before, but I couldn't easily find an answer.

My company creates high-speed measurement equipment, that produces roughly 0.7 Gigabit/second of UDP data. Each set of samples is about 2500 bytes long, which caused us to use IPv4 fragmentation for sending the data. UDP checksums are not used at the moment (set to 0). The receiving end is a rather standard L ...

Score: 0
Express not fetching data from postgres database. No errors displayed
cn flag

This is a difficult question for me to ask because I'm not truly sure what the issue is.

I have an Express JS server for routing and Node Postgres (PG) for the pool.

When I either go directly to localhost or use POSTMAN to test the routes there is no response except a simple loading screen. With POSTMAN, it gets stuck like so:

POSTMAN sending request...

Or for localhost it simply stays buffering/loading ...

Score: 0
Can't get incoming mail over TLS for Postfix SMTP Relay
cn flag

I have a Postfix Ubuntu VM acting as a mail relay server, which accepts mail on port 25 and forwards it on to Microsoft Exchange online for delivery. This has been working fine for months.

Now I need to allow an SMTP client, which must use TLS, to also send e-mails via the relay. I have added the following to my Postfix main.cf:

smtpd_tls_security_level = may
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLS ...
Score: 0
Dimitrios Desyllas avatar
How I can offer a local-only domain resolution once I run docker-compose up?
fr flag

I have the following docker-compose:

version: "3.1"

services:
  nginx:
    image: nginx
  networks:
    frontend:
      ipv4_address: 172.20.0.5
    outgoing:
      ipv4_address: 172.20.1.5
  volumes:
    - "./configuration/nginx.conf:/etc/nginx/nginx.conf:ro"
    - "./configuration/service-local.key:/etc/nginx/service-local.key:ro"
    - "./configuration/service-local.crt:/etc/nginx/service-local ...
Score: 0
argyrodagdileli avatar
Direct Traffic from a Pulbic ALB to an Internal ALB for EKS
au flag

So I have an EKS cluster sitting in a dedicated VPC (EKS-VPC) In my Main VPC I have a public-facing ALB that I want it to somehow direct traffic to services running in EKS. More specifically I want the ALB to forward requests for specific endpoints to EKS and all the other ones to an EC2 instance in my Main VPC.

So for example requests to myservice.mydomain.com will go to an EC2 instance inside the Main ...

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.