Latest Server related questions

Score: 1
Rohini avatar
Scaling based on number of processes running on ec2 instance
gr flag

I have a use case where multiple python scripts will run in parallel on ec2. They read an SQS queue and perform operations such as download from S3, parse files, split, process, and update database. The scripts run every 5 min. If SQS is empty script does nothing and exits. If SQS has message, it gets processed by the script which may run for over an hour. So the run durations vary.

In auto scali ...

Score: 0
How can I download latest build with Ansible win_get_url module?
uz flag

I try to download the latest installation file from our JFrog repository with the following task:

- name: Download Server.msi file from JFrog repository
  ansible.windows.win_get_url:
    url: "{{ jfrog_url }}/Product/20.100.999.4112/x64/Server.msi"
    dest: C:\Server.msi
    url_username: "{{ jfrog_username }}"
    url_password: "{{ jfrog_password }}"
    validate_certs: no

Currently, the URL  ...

Score: 0
delato468 avatar
CORS prevent js window.onerror from subdomain reporting informations
us flag

To log Javascript errors i have set up a function with window.onerror which trigger an ajax request and inform me about script errors. I load all my static files from a subdomain and if an error occurs from a file outside of the main domain, CORS seem to delete informations because of leak... https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror#notes

I have tried to fix the ...

Score: 0
Askirkela avatar
Nginx rewrites correctly for one but not the other
fr flag

Basically, I am trying to use the proxy_pass directive to call a remote API.

So far, this is what I got:

server {
  location /a {
    proxy_pass https://a.com;
    rewrite ^/a(.*)$ $1 break; # no trailing slash, defined in application code
  }
  location /b {
    proxy_pass https://b.com;
    rewrite ^/b(.*)$ $1 break; # no trailing slash, defined in application code
  }
  location / {
    # Rest o ...
Score: 0
Wulf avatar
VLAN QEMU Hypervisor bridge without host ip
in flag

I'm using debian 10 with kvm/qemu as hypervisor. You can ignore the bond...

I created X VLAN Tagged and created a bridge on that tagged vlan.

auto bond0
iface bond0 inet manual
        slaves eno1 eno2
        bond-mode 4

auto bond0.10
iface bond0.10 inet manual
        vlan-raw-device bond0

auto br10
iface br10 inet static
        address 192.168.10.2
        gateway 192.168.10.1
        netmask 255. ...
Score: 0
OttoEisen avatar
Debian: no traceroute output for single host
br flag

After a recent upgrade to Debian 11 on my router I noticed that my desktop (current W10) only sporadically gets replies when doing a traceroute across the router, usually just * * *, rarely a single reply. Several other systems (Linux/Windows) work fine, so does everything else. Using tcpdump on the router I see the incoming ICMP messages but no replies from the router. Comparing a dump from my desktop  ...

Score: 0
Paravozik avatar
Native VLAN (EVE-NG) Lab doesn't work like I wait for
mx flag

I am studying native vlans. I created this lab (see the picture). I waited for I could from VPC3 pings to VPC. But I can't. And I can see there is a ID VLAN (100) after a SW2.

My reasoning were so. Ping from VPC4 is not tagging. Next this ping is not tagging by SW1 trunk. Next the ping go to VLAN 700 and doesn't tagging too. So, I waited for I got replay from VPC. But no.

Now I can

  • ping from VPC3 ...
Score: 0
Rafael Emshoff avatar
SSH works, ping and https get no response
cn flag

Background: I'm trying to configure an ubuntu server to run a node.js application with https. I previously had everything working fine with http (configured a year ago), and I wanted to open the firewall for :443 and redirect it to :8443:

sudo ufw allow 443/tcp
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443

When trying out my app, it turned out the https request  ...

Score: 0
live2 avatar
Wireguard not reconnect after network cable reconnected
in flag

I am currently testing with my wireguard ubuntu setup. But I have a problem with the vpn connection it is not reestablished after unplugging and plugging the network cable. If i unplug the switch from the uplink it works without problem.

Is there a solution for this?

My client config

[Interface]
Address = 10.100.0.2/32
PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DNS = 10.100.0.1

[Peer]
 ...
Score: 0
Zinal Shah avatar
Websites getting down every day on VPS Server
cn flag

I have a VPS server using 4 CPU and 4GB RAM shared across 10 PHP websites of which 2 website(website and set cron jobs) are using sometime more than 6 CPU core of 4 CPU core available. And because of that all websites getting down and show this error "508 Resource Limit Is Reached".

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.

What shou ...

Score: 0
Nginx sending 301 when using proxy_pass
mr flag

I have a website hosted on AWS, www.example.com. I have created a blog on Wix myblog.wixsite.com/blog. Now, I want to show the contents of myblog.wixsite.com/blog on www.example.com/blog. So I used the following Nginx conf to try & achieve that.

location /blog/ {
          sub_filter 'http://myblog.wixsite.com/' 'https://$http_host/blog/';
          sub_filter 'https://myblog.wixsite.com/' 'https://$h ...
Score: 1
ivan.ukr avatar
How to kill a process running under SYSTEM account in the Windows Server?
in flag

I have a server with Windows Server 2008 R2 and a service process (our custom service) running on it under SYSTEM account. A service has presumably hanged and I wanted to stop it. I tried stopping via Management Console "Services" snap-in, but it didn't help, service process still running, despite in the Management Console it is already marked as not running. Is there a way to kill it from the command l ...

Score: 0
Katie avatar
Cloudfront distribution with react app and wordpress app hosted on same domain - how to get browsers with react app cached to render wordpress app?
in flag

I have a domain that hosts a react website in an s3 bucket via cloudfront. There is also a wordpress site hosted on a subdomain of that domain, and in the cloudfront distribution for the web app, I have two behaviors set up with path patterns en and en/* that are set up with the wordpress subdomain as its origin.

This setup seems to work when visiting en/* paths in incognito mode, and in browsers ...

Score: 0
sjaak avatar
NGINX basic auth only secures index instead of all files in location
cn flag

I want to secure the whole /setup location using basic auth. However I'm running into the following two problems:

  1. When using location /setup only localhost/setup prompts for credentials. Using localhost/setup/mypage.php bypasses the prompt fully or you can just click cancel when prompted and still see the page.
  2. location ^~ /setup secures all files in the /setup directory but A) this causes all php fil ...
Score: 0
AWS RDS reserved instance reservation id
cn flag

A very simple question:

When purchasing a RDS RI, I input a temporarily name for the field Reservation ID, thought I could change it later; now I found I couldn't, or at least I don't know where to change it.

Is it just permanent, unchangeable unless you buy a new RI, or is it just I don't know where to change it? If it's the later please let me know how I can change it and I will really apprecia ...

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.