Latest Server related questions

Score: 0
Reverse DNS for multiple subdomains
bn flag

We're setting up a system where each of our users gets their own subdomain of companymail.com for sending / receiving emails, and they can set up multiple mailboxes under that subdomain. We also want to allow them to use their own domain. E.g.:

Main domain: companymail.com.

User 1 has two mailboxes set up:

[email protected]
[email protected]

User 2 has one mailbox set up:

mai ...
Score: 2
user15013406 avatar
AWS ECS Fargate Task cannot pull secrets from SSM
us flag

I'm bootstrapping an ECS Cluster with AWS CDK. I created SecureStrings in SSM which I want to pass to the container secrets.

But when starting the service I get the following error message on the task:

"ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve secrets from ssm: service call has been retried 1 time(s): AccessDeniedExce ...
Score: 0
David Le Borgne avatar
Proxmox VE 6.4 kernel panic during backup to NFS/CIFS
cn flag

For a few weeks, we experience systematic kernel crashes during the backup of two distinct Proxmox VE fully-updated 6.4 hosts running on 5.4.114-1-pve Linux kernel. Backups are using the stop mode and a NFS or CIFS mount.

I've taken the two enclosed screenshots of the hosts console after two crashes. They seem to both exhibit the same fib_get_table kernel method. What can I do to further diagnose ...

Score: 0
Load balancing RTMP servers on autoscaling mode
in flag

I've got a question in my server flow design. That I have Nginx-RTMP server(X.X.X.1) running on EC2 which supports N no of streams together. Now I put it on autoscale and launch a new machine(X.X.X.2) at let's say N-3 streams connected to 1.

I want to achieve the same end point url for all RTMP streams and I am thinking of using HAProxy as a load balancer on high n/w bandwidth machine but

  1. how can I add  ...
Score: 0
TheHidden avatar
can I create a socks proxy with socat to an interface
in flag

I have an openvpn connection (and thus a tun interface with an IP)

I am not in control of the server so cannot make any configuration changes.

What I want to do is use socat to essentially create a socks proxy to the tun interface so I can tunnel my burp proxy through a specific interface without messing up my routes / firewall too much.

not used socat a lot so struggling to get how it works. This is w ...

Score: 1
Install Plugins on RabbitMQ hosted in Amazon MQ
vn flag

I have a RabbitMQ hosted in Amazon MQ, but im finding it difficult to find any documentation or guides to how to install this plugin https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/. In the documentation it does not state how to remotely(Since Amazon MQ does not allow direct CLI access). I tried this command: rabbitmqadmin --base-uri=@url --vhost=/ --ssl --username=@user --password=@p ...

Score: 1
LH AL avatar
How do you redirect URLs with a query string with htaccess?
er flag

I want to redirect pages like :

example.com/fr/opportunites/?sector_cat=bourses-detudes&ajax_filter=true

To


example.com/fr/bourses-detudes/

the second page is a post type page created with WordPress

Is there any possibility to do that with htacees in litespeed server ?

Thanks a lot

Score: 1
Why does this regexp match, but not location / in NGINX
in flag

I basically have those two locations in NGINX (Return codes added for debugging purpose)

location / {
    return 401;
}


location ~ "^/(assets|((de|en|es|fr|it|zh|ru)-[a-z]{3}))" {
    return 402;
}
         

The idea is to return 401 on GET https://www.example.com/, but it always returns 402

How can that be?

$ http https://www.example.com/ --print Hh
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gz ...
Score: 0
Mario avatar
Network connectivity problems on Angstrom linux
br flag

I have an embedded device running Ansgstrom Linux on a Colibri VF61 board. The kernel version is: 4.4.59-2.7.2+g7cfa321

In some occasions the device becomes completely inacessible (does not respond to ping or to other services running on other ports). The leds were still blinking and disconnecting/reconnecting the cable was sufficient to reestablish connectivity. During the outage all the services, apar ...

Score: 0
Capture and convert Windows Defender Firewall log to allow rules
cn flag

is there a way to capture the Windows firewall traffic (TCP/UDP, Ports, IPs) for some time and then convert them to allowed firewall rules on Windows systems?

It would make sense in my opinion to capture the traffic for like a week while "allow" both incoming and outgoing. Then let the main programs use their ports and capture the traffic into the Firewall log. Then create allow rules from the lo ...

Score: 1
How to ensure execution of time consuming task on reboot/shutdown?
cn flag

I have a bash script that is supposed to execute on reboot/shutdown of a remote Ubuntu server, connected over SSH:

ls /etc/rc{0,6}.d/k99*
/etc/rc0.d/k99_stop_all  /etc/rc6.d/k99_stop_all

The script needs about 3 min to finish.

How can I ensure the reboot/shutdown only happens on successful execution of k99_stop_all?

Does sudo shutdown -r 10 starts execution of the script scheduled for reboot?

Score: 0
Omera avatar
Ubuntu Key Exchange Algo
br flag

I am trying to test the connectivity to several network devices, with Ansible installed on Ubuntu 20.04.2 LTS, using ansible ad-hoc.

The problem: SSH is not working as the device's key exchange method is only ssh-RSA, the server doesn't support that. Trying to enforce ssh-RSA but I know it's not available as it wasn't sent as one of the key exchange methods on the cipher negotiation.

Ansible_output: ...

Score: 0
grub rescue on Ubuntu 18.04 with btrfs partition
uz flag

I have a small server (HP ProLiant MicroServer Gen8) running Ubuntu 18.04 64 bit with the latest HWE generic kernel (5.4.0.74.83~18.04.67); it has two SATA drives, GPT partitioned but booting in legacy BIOS mode. Both drives are partitioned as follows:

  • partition 1 (1 MB): "shadow" boot partition, for GRUB code;
  • partition 2 (several TBs): BtrFS, containing @ subvolume for / and @home subvolume for
Score: 0
AnnoyinC avatar
Can't connect to servers that have a static IP in a dynamic network
kn flag

In my network, you get an automatically assigned IP address. Friday I set up 3 debian servers to instead use the static addresses 192.168.0.177, .188 and .237. Today I powercycled them and I can no longer reach them. As in, connection timed out when trying to ssh.

I made the ip static by changing /etc/network/interfaces on the servers to use a static gateway and ip: (interfaces.d is an empty directory)

Score: 1
enko avatar
nginx slows down my rest-service by 5x
us flag

I have a simple REST service set up that natively (standalone executable) handles 135k/rps. Service is running on localhost:8181

autocannon benchmark running from separate machine yields:

┌───────────┬─────────┬─────────┬─────────┬─────────┬──────────┬──────── ...

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.