Latest Server related questions

Score: 0
Andrew avatar
Cloud-init for ubuntu-20.04-server-cloudimg works but not ubuntu-20.04-minimal-cloudimg-amd64
vn flag

So I'm trying to use cloud-init with minimal image ( https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img ) but it does not seem to work at all. The exact same procedure works with the server image ( https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.img ).

I'm using with meta-data and user-data with genisoimage - ...

Score: 0
jscott avatar
Deleted package shows in AWS systems manager inventory
cn flag

We have systems manager configured to report inventory on our EC2 instances. I was able to use Inventory search to find Ubuntu instances with the unattended-upgrades package installed. The search found eight instances with the package installed.

I then used run command to delete the package from two instances: enter image description here

And verified that the package was removed: enter image description here

I also logged into the instances and verified t ...

Score: 0
Nina G avatar
How to join windows 2012 to windows 2016 AD domain
cn flag

I have a lab environment with a Win Server 2016 that serves as a AD DC and I have a Win Server 2012 that I'm attempting to join to the domain. Requesting assistance to see what I'm doing wrong.

Win 2016 Server Config:

  1. Installed AD DC and DNS role
  2. Domain name red_domain.com
  3. Static address configured as 192.168.1.111
  4. Preferred DNS set to 192.168.1.111 (not sure of this is right)
  5. Alternate DNS is 8.8 ...
Score: 0
I.F. Adams avatar
Figure out what NVME target device initiator is using
be flag

I've got a simple NVME-TCP stack going (Linux to Linux machines), and it works fine.

One one machine I've got the initiator going and it presents block device in typical form (e.g. /dev/nvme2n1). Target is exposing one of its nvme devices as through NVME-TCP.

The question I have is as follows: either programmatically or from the command line, from either the target or initiator side, can I identify  ...

Score: 0
How to get all dates in syslog-ng to appear in ISO format
mx flag

I'm using a recent syslog-ng version 3.19, and I'm keen on getting all the timestamps in all future messages to use ISO 8601 format. YYYY-MM-DD etc.

I see from the help on the syslog documentation that the ISODATE is the way to do this, and that it is possible to to things with the template keyword, either with a curly or a curved or a word after it to have different effects, and that it's possible to pu ...

Score: 0
Serving Django App with Apache 2 on Virtual Host
us flag

I am learning the Django framework and can run my first app on the development server using:

python3 manage.py runserver

enter image description here

However, what I really want to do is serve my app with Apache so it can be accessed from the web. My Apache Virtual Host is:

<VirtualHost *:443>
    ServerName django.example.com
    DocumentRoot /var/www/django/hello_world/mysite
    WSGIScriptAlias / /var/www/django/h ...
Score: 0
A X avatar
Azure SQL Private Endpoint - can creating one cause downtime?
my flag
A X

Suppose I have an Azure SQL Database Elastic Pool and I am accessing it from an Azure Web App via Firewall rules and everything is working fine.

Now suppose I want to add a new Private Endpoint to the Azure SQL Database Elastic Pool. This would NOT block access via the existing Firewall rules / access outside of the newly created Private Endpoint - is that right?

In other words, adding a Private En ...

Score: 1
How to install security patches on CentOS 7.x
mw flag

I need to install several security and apllication patches. An example of a patch considered critical is below:

Vulnerabilities 134087 - CentOS 7 : kernel (CESA-2020:0374)-

Synopsis The remote CentOS host is missing one or more security updates.

Description An update for kernel is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact  ...

Score: 0
Marc C avatar
How to throttle filesystems on Pure FlashBlade
yt flag

I'm extremely perplexed by the lack of information on the web about Pure Storage CLI commands and other information.

I'm currently looking for a way to throttle one or more filesystems (volumes) on a Pure Storage FlashBlade. I know this is possible on most models of Pure FlashArray but I cannot find how to do this from the GUI or CLI for FlashBlade.

Any help would be much appreciated.

Score: 0
AlexVPerl avatar
Hyper-V: Benefit of Putting Virtual Hard Disks and Virtual Machines Folders on Separate Drives
cn flag

Hyper-V has two folders 'Virtual Hard Disks' and 'Virtual Machines', the first stores the virtual disks themselves and the latter stores settings, snapshots, etc.

Is there's benefit of storing these two folders on separate SSD drives to:

  1. Increase performance - reduce chances of disk related IO bottleneck

  2. Increasing individual SSD life longevity - 'Virtual Machines' folder stores .VMRS files which are eq ...

Score: 0
TW103 avatar
Postgres/Sequelize/Node not working
jp flag

my issue is that i cant seem to get my app to serve. If i use my heroku db instance connection string, it works, but when i try to use google SQL, it wont serve. the db hooks up, and logs and everything is working fine, no errors. here is my connection

DBNAME: xxxxx:asia-south1:xxxxx
USER: postgres
PW: xxxxx
DB: yyyy


const options = {
  dialect: 'postgres',
  host: `/cloudsql/${DBNAME}`,
  dialec ...
Score: 0
Max avatar
Revoked certificate not getting into Microsoft CA CRL
cn flag
Max

I have a CA and an Active Directory + ADFS instances set up on a Windows Server 2016 machine. I issued a client certificate for one of the users (for smart card logon) and then revoked it. However, I'm still able to log in via the revoked certificate.

When trying to debug this, I see that the revoked cert doesn't appear in the CRL. Should this be configured somehow, or is it some kind of caching? ...

Score: 0
Strongswan IPSec Configuration on a VPS
aq flag

Please assist. I'm trying to set up a site to Site IPSec tunnel with strongswan on my VPS but sadly my provider cannot enable the following kernel modules for me:

ah4 ah6 esp4 esp6 xfrm4_tunnel xfrm6_tunnel xfrm_user ip_tunnel tunnel tunnel6 xfrm4_mode_tunnel xfrm6_mode_tunnel

Is there a way to configure strongswan or any other platform in an alternative manner that doesn't rely on enabling addition ...

Score: 0
Max avatar
NGINX Referrer directive not followed
ng flag
Max

I have this in my configuration, where I'm trying to remove the referrer entirely when doing a 301 redirect. The weird part is while 99% of clicks are have a blank referrer, a small percentage retain the full referral URL. Is this a specific browser causing this?

location = /... {
    add_header X-Content-Type-Options nosniff;
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Robots ...

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.