Latest Server related questions

Score: 1
Always Sunny avatar
Sending email with ssmtp From value issue
pk flag

I am trying to send an email from my cron script using ssmtp, the email is working fine but the "From" value is always showing Ubuntu <ubuntu@example.com> which I don't want to use because I need to use something like From="Cron Report <no-reply@example.com>",

ssmtp.conf

#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disabl ...
Score: 0
YonzLeon avatar
HAProxy method to perform backend rotating at specific time
de flag

i have a HAProxy topology with:

  • 1 Frontend
  • 3 Backend Server: backend-1 | backend-2 | backend-3

I wonder if there is a method to do rotating backend without sharing load on every backend ?

The example: every 30 minutes traffic will go from backend-1 to backend-3 sequentially

I really appreciate all your answers :)

Score: 0
How does SSL certificate map to server IP when it is issued for domain name?
in flag

I have an apache webserver on say a public IP address x.x.x.x

I have purchased a domain name somename.com

My administrator has mapped the IP address to the domain name.

I have a SSL certificate issued for the domain name and this is installed on the web server.

When a user (browser) enters the web url, the request will go to the IP address (web server, via the DNS server). The web server will respond to t ...

Score: 2
Python deployment fails with "packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5."
ro flag

Issue in google app engine: previous deployment 1 week ago was ok, now i get

"packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5."

both packages are not defined in the requirements.txt file.

It looks like a new packaging version 21.2 was deployed automatically. How to solve this?

Update: being worked on:

https://github.com/pypa/packaging/pull/482

Score: 0
Ana Mal avatar
Debian web access apache2 for mail server
bo flag

i am responsible for my mail server i am new to Debian and mail server aswell i am facing issue after install the ssl certificate the page still shows http:// not https:// i use to see this command root@mail:/# apachectl -S

the output comes like this

*VirtualHost configuration:

*:80                   mail.12345.com (/etc/apache2/sites-enabled/000-default.conf:1)
*:443                  mail.12345.com (/et ...
Score: 0
DKIM not aligned for email identities
ng flag

We have several email addresses which are forwarded to a main email address. Then when we reply to these emails, we use RoundCube Identities (which I guess just spoofs the "from" header?) This way, we do not have to log into several email address to reply each time. However, this is causing "DKIM-Signature is not aligned" warnings and is probably causing our replies to land in spam folders (?).

I ...

Score: 0
Amazon EKS: Moving pods from one node group to another
eg flag

I currently have a Managed Node Group serving my EKS cluster and have added another:

  • NodeGroup1 [current - 20gb ec2 disk]
  • NodeGroup2 [new - 80gb ec2 disk]

I'd like to migrate my current pods from Node Group 1 to Node Group 2 to allow more disk size for the worker nodes, and then stop using Node Group 1. node groups image

I've made the new node group as such:

eksctl create nodegroup --cluster prod --name NodeGroup2 --no ...
Score: 0
Does zfs zfs recv validate checksums?
cn flag

It seems that zfs send includes a checksum for all included data (stated for instance here). Is this checksum automatically verified by zfs recv? I would assume it is, but I cannot find any confirmation of this. I'm planning to use zfs send/recv to migrate a zpool to another disk and would like to be 100% sure the data is ok before I destroy the original pool.

Score: 2
Mak Sim avatar
SSH using public key losing Authentication on windows server
cn flag

I want to SSH from my laptop (A) to Windows Server (B) and run commands against SQL Server (C) from powershell. All three in one windows domain. I'm running built-in openssh server and client for Windows Server 2019.

If I connect to server B using password then I can run commands using Invoke-Sqlcmd and query SQL Server C just fine.

But if I connect using RSA key, I can't run commands anymore because  ...

Score: 0
Anil Kumar avatar
Need some pointer on the approach for proxying the request based on complete request URL in Nginx for 1000 of APIs
jp flag

I have 2 applications(One Being Simulator and the other one is real application) running with the same root context and trying to use Nginx as a proxy to these 2 applications. I have around 1000 APIs being served from Simulator while the others should go to the Real application server.

Could someone please let me know a good approach for writing this routing logic for Simulator APIs as how to con ...

Score: 0
Displayname71 avatar
How can I search for symlinks that point to other symlinks?
ng flag

I have morass of chained symlinks like this scattered around:

A (symlink) -> B (symlink) -> C (file)

Some may even involve longer chains, I'm not sure yet.

When manually examining a single file it's easy to see what's going on but I'm looking for an automated way to find these and (preferably) clean them up.

In the example above I would want the B->C symlink to stay in place but the A->B symli ...

Score: 0
puks1978 avatar
Forward DNS to specific ports to access docker container
cn flag

I have 1 domain and 1 subdomain:

example.com.au
api.example.com.au

I have 2 docker containers running 2 different applications, a frontend website and an API. These containers are accessible over 8080 (frontend) and 3000 (backend).

Both domains are on an ELB over HTTPS and I have setup IP routing to forward traffic from http and https to port 8080 so the frontend web app is loading fine but the webapp ne ...

Score: 0
Exim established many connections to strange ips
cn flag

I installed VestaCP and used their mail server for my domain mails. But when I run netstat on my server,it shows some strange connections. There are no problems with my mail server until now, I just worry about these connections.

Does my server meet any security problems?

# netstat -antp

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      ...
Score: 1
nginx Proxy Manager Custom Locations
um flag

Ultimately I intend to configure nginx to proxy content from web services on different hosts. As currently set up I'm using nginx Proxy Manager with nginx in Docker containers. To exclude the complexities of web service setup from the issues of configuring the reverse proxy, I have set up web servers with static content.

  • I have Apache in a container on the same docker network as the nginx container.
Score: 0
QEMU freezes at "Booting from Hard Disk..." with -nographic
ca flag

A QEMU VM, both the host and guest OS being Ubuntu 20.04. QEMU 6.1.0 is compiled without any special parameters. The guest was installed from a downloaded iso image of Ubuntu server.

If I start the VM using

qemu-system-x86_64 -hda ubuntu.qcow -m 4000

, QEMU starts a VNC server and I can view in VNC Viewer that the guest Ubuntu OS is running properly.

But if I start the VM using

qemu-system-x86_64 -hda  ...

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.