Latest Server related questions

Score: 0
Migrating reverse proxy settings from Nginx to Apache2
cn flag

until now I have been using Nginx but due to some reasons I have to switch to Apache2. I am not a sys admin so if more info is needed, just ask

I am unable to migrate 1 simple proxy settings to Apache2:

location /auth {
  proxy_pass http://localhost;
  proxy_set_header Host $host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Forwarded-Proto https;
  proxy_set_header X-Forwarded-For  ...
Score: 1
DanRan avatar
Nginx, webP, and a strict content security policy (SCP) on a LEMP Server
mx flag

I am attempting to create a strong and secure content-security-policy in nginx, running a wordpress based LEMP Server. I believe I am using the ngx_pagespeed.so module, and have implemented FastCGI on my server. I believe one of these features renders my jpeg images into webP images on the fly.

In my content-security-policy directive on Nginx, I am attempting to eliminate XSS attacks, while still ...

Score: 0
What does the error message "sda access beyond end of device virtualsda access beyond end of device" in a virtualboxbox system?
cn flag

Today I tried to turn off one of my VirtualBox system and I got that error over and over again for a few minutes. Then I just forced a shutdown.

I remember that I resized that partition from 50G to 100G. It looks like the resize2fs did run properly. What I'm wondering is how can I test that the partition size is correct? There is no LVM. I have just one partition (/dev/sda2), although there is a some ...

Score: 0
Allow samba share to access mounted remote file store
ru flag

I have two servers on the same network. One running Windows Server 2016 and another running CentOS 8. The Windows server is my main file store, it's where all my data is. The CentOS server has the Windows share mounted and can access its files.

On CentOS, I've setup a samba share. Why? Because I have a webapp running on that same server and I want the webapp to control who can access what fi ...

Score: 0
Extract email addresses from Outlook Like
tj flag

I run a book store and often use email to commuticate with customers. I opened a HotMail account back in the 90s and have received over 100,000 emails. I'm about to retire and would like to send an email to all previous customers to thank them for their business and inform them the store is closing. How can I get a list of email addresses for everyone who has emailed me?

I know a little bit of Py ...

Score: 3
Cannot access SMB share from Windows 10 via OpenVPN Connect
kr flag

I'm sure this problem must have been solved a thousand times but nothing I do seems to work.

Summary: On Windows 10 client, using file explorer, and OpenVPN Connect client 3.3.4, can't access a NAS via SMB on which OpenVPN server (2.4.11 arm-openwrt-linux-gnu) is running.

Works:

  • Can connect to SMB share via Windows 10 file explorer when on the LAN (not using OpenVPN) using guest access (no user login p ...
Score: 1
Sherlock avatar
Determining Required LUN Level Uniqueness
br flag

I have primarily used NFS for most of my storage needs but I find my self setting up some iSCSI targets today and had what is likely a super basic question.

When I create an export for an iSCSI target, the LUN I choose does it only have to be unique on this single target, or does it need to be unique on the entire storage network we have?

I was under the impression that when interfacing with iSCSI t ...

Score: 0
U. Windl avatar
How to "upgrade" an image based on QCOW2?
it flag

I have a few VM images based on a minimal QCOW2 image (say release 15.2). Each VM's configuration is stored in a persistent image. Now, when there is a newer QCOW2 image (say release 15.3), how would I "upgrade" the OS to be based on the new image? That is I want to image have everything that the new (15.3) image has, except where I did configuration changes (like stuff in /etc).

I tried a qemu-im ...

Score: 1
Nextcloud: temporary high consumption of disk space when copying files. How to find the reason?
us flag

Nextcloud version: 23.0.0

Operating system and version: Fedora 35

I’m using Nextcloud Docker image. Nginx reverse proxy is installed on the host system. The data volume is located on a separate HDD, and the app volume itself is in root on the SSD. I noticed this problem back in version 22.x: if I copy large files using WebDAV, the space on the root partition of the SSD runs out very quickly (/tmp of the ...

Score: 0
Daemach avatar
I need to replace servers in windows 2016 cluster. Can I add the 2019 servers to the cluster and remove the old ones?
ar flag

As the subject says, I need to replace servers in a Windows 2016 cluster that uses an iSCSI SAN as shared storage. Can I just add the new servers to the cluster, after installing the iSCSI drivers, drain all of the roles to the new servers then remove the old servers? At that point, I would increase the functional level. Is there anything special I need to do or consider here or should it just work?

 ...
Score: 0
Sara June avatar
How to set logic to create multiple machines on azure using terraform?
cn flag

Below is the template I have for azure VM.

In Google cloud, we have option to set count for creating multiple machines, as I heard.

How to create multiple machines using a single template, so that based on variable value, those many number of machines should be created.

Sample template for azure windows server VM.

github url: link

I want to keep this repo permanently public, so not posting the dir ...

Score: 0
Mosky1970 avatar
Gateway Timeout Error AWS Lightsail
pk flag

I have a flask API container deployed on Lightsail. When I make a request to one of the API endpoints, I get a 504 gateway error as the status on the client-side. However, when I check the server logs on Lightsail, I see that the server returned data successfully with status code 200.

I'd like to ask for suggestions regarding what might have gone wrong on the server as everything runs fine when t ...

Score: 0
Bob5421 avatar
How can it be possible dkim fails whereas spf pass
hm flag

I have set up a postfix which sends emails.

I have configure spf, dkim and dmarc (with p=none).

I have checked with mail-tester: spf and dkim work fine.

I have set up a dmarc rua in order to receive dmarc reports.

I have seen something strange in rua reports:

Sometimes SPF and DKIM are OK.

And sometimes DKIM fails (whereas SPF is good). My question is: How can this be possible ?

Thanks

Score: 0
BungyStudios avatar
Automating GDB memory dumps
eg flag

I'm trying to dump memory from a process on my Linux machine using GDB, but I'm trying to automate this using a script.

So far I've been using the following commands (example):

$ gdb --pid [pid]
(gdb) dump memory dump_file 0x00621000 0x00622000

Is there a way to do this using only one command that I can implement in a shell script? Or is there a way to perform gdb commands using shell scripts?

Any ...

Score: 0
Deploy Odoo on Google Kubernetes: Log severity all in ERROR
de flag

I deploy Odoo 13CE on Googke Kubernetes and using Cloud Logging for logging, I config app using default container log.

Everything run smoothly, except all log output severity mark as ERROR in Cloud Loging

enter image description here

  • Can I change default Odoo ouput log format to JSON?
  • (or) Overwrite function init_logger() to make it work with deploy env?
Score: 0
Azure Application Gateway Health Probes are not being resolved correctly by apache/nginx
io flag

I am using Azure ApplicationGateway and have implemented Health Probes. I have a number of health probes, with different domains.

I struggled with Apache for weeks, trying to get a healthy probes, but got nothing but certificate mismatch errors no matter what I tried.

After a lot of pain, and switching to nginx as a test, I've discovered that the probe hostnames are not matching correctly to the rig ...

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.