Latest Server related questions

Score: 0
Patrick W avatar
How do I set up a JBOD device on Ubuntu using a SAS card
cn flag

I am running Ubuntu 20.04 LTS server. I have installed a SAS PCI card I purchased from Amazon.

The card is active and detected (lspci shows the device). I have installed the appropriate drivers from the manufacturer
I have a scsi cable connected from the card to my JBOD

I don't see any new devices showing up when I do lsblk or fdisk -l.
The JBOD has power and all the disks appear to be running. I've t ...

Score: 5
John Dalsgaard avatar
Centos 7 server with Nginx reports errors when updating packages
cn flag

I have a CentOS 7 VM with Nginx installed. I use Webmin to administer the server.

It normally installs updates automatically, but the nginx update failed so I tried to manually do the update. It returns this:

Installing package(s) with command /bin/yum -y install nginx ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.netsite.dk
 * epel: mirror.netsite.dk
 * e ...
Score: 2
Z.J avatar
Students can't install Extensions in Visual Studio Code
in flag
Z.J

We are a school and would like to use Visual Studio Code together with the Omnisharp extension.

The students' working environment has the following characteristics Server-stored home directories

  • Active Directory environment Samba 4.x is used as Active Directory
  • domain controller Students do not have write access to C:\
  • Extensions are provided locally as a .vsix file
  • Access to the Marketplace is n ...
Score: 0
JoeS avatar
Do AWS WAF logs capture all traffic, or just rule matches?
in flag

I want to implement some AWS WAF rules but I need more knowledge of the quantity (origin, resource, etc) of requests that come through my loadbalancer.

Can I skip ALB logs and get logs for requests to ALB using WAF? Or, does WAF only produce logs when the request matches a rule in an WAF ACL / ruleset?

Thanks.

Score: 0
ACL settings works when using ssh but not with scp command
us flag

I have setup an Arch Linux machine with a user 'archie' with a primary group 'users' as:

useradd -m -g users archie

Whenever archie creates a file in his ~/shared directory I want the group users to get write permissions so I add:

setfacl -dm u::rw,g::rw,o::r ~/shared

Now when I'm logged in as archie via ssh and create a file in ~/shared I can see that it works:

touch a.txt
ls -l
-rw-rw-r--+ 1  ...
Score: 0
IIS 10 corrupts Excel file on download
bd flag

I have an ASP.Net MVC application that exports data to an Excel workbook; an .xlsx file.

The workbook is generated correctly on the server and Excel is able to open and display the file if I open it from the output directory (i.e. d:\sites\app\content\exported_data\dataset_2021-12-12.xlsx). This file is 24k in size.

When the workbook is downloaded via HTTP (i.e. http://site.company.com/content/exp ...

Score: -2
BitShift avatar
How is the underlying disk space (and associated technologies) for persistent storage usually configured in Docker
za flag

I want to attach persistent storage to my docker containers. I have tried NFS using TrueNAS and seem to have no luck there.

Surely, I am approaching this in the wrong way. What are the common conventions for attaching persistent storage OUTSIDE of the container so that if the container fails or is remade, the data is re-attached or at the very least remains existent.

EDIT: Apologies for the confusio ...

Score: 0
serveraddict avatar
Can you run SAS drive from SAS backplane to SATA on mobo?
za flag

Have an SAS drive plugged into SAS port on the backplane, and it is connected to SATA on the motherboard. Is it possible to use it this way? It is a testing server for cloning another SSD.

Score: 0
kevin avatar
nginx force nginx to resolve dns - error 9#9 recv() (failed connection refused)
cn flag

I have a hostname like this: https://abc.xyz.com

I want to force resolve the dns everytime a request arrives, because if the dns of abc.xyz.com changes i want nginx to still be able to proxy to the site, therefore need to resolve the dns again.

Now i followed this post How to force nginx to resolve DNS (of a dynamic hostname) everytime when doing proxy_pass? and my configuration looks like this

ser ...
Score: 1
11011100 avatar
Incorrect PTP timestamps
bd flag

I have trouble syncing to Linux systems using PTP.

Setup:

Two PCBs with a BegleCore module and a DP83640 PHY are connected with each other over Ethernet. One board should act as the PTP master, the other as the slave. Debian 10, Kernel: 4.19.94 Driver for the Phy is loaded. Using linuxptp v3.1

On the master system I run the command:

sudo ptp4l -i eth0 -f linuxptp/configs/configMaster.cfg -m

On the cl ...

Score: 0
Leonardo Petrucci avatar
pg_dump is not the same version as psql
in flag

I updated postgres to version 14 by simply running sudo apt upgrade.

psql --version
psql (PostgreSQL) 14.1 (Ubuntu 14.1-2.pgdg20.04+1)

But pg_dump did not upgrade with everything else:

pg_dump --version
pg_dump (PostgreSQL) 12.9 (Ubuntu 12.9-2.pgdg20.04+1)

Any idea why that is? If I completely uninstalled postgres to do a fresh install would I lose any local databases as well?

Update: I purged ev ...

Score: 2
Tbonepgh avatar
Server Connection Issue - With OK CPU/RAM
us flag

Recently we had an occurrence where we were unable to connect to mutliple masters on our Redis cluster.

Connections from our code base were timing out. We were also unable to SSH into the box during this period, essentially locking us out.

This has happened on multiple occassions and each time the CPU was around 20% and memory usage was also around 20%. The number of tcp connections varied during ea ...

Score: 0
nginx returns 404 when serving React from subdirectory
mp flag

I've started with a React application served from nginx root. Then I followed this guide to serve the application from a sub-directory (/app). As suggested here, I changed my nginx config from this:

location / {
    root /usr/share/nginx/html;
    try_files $uri $uri/ /index.html =404;           
}

to this:

location /app {
    alias /usr/share/nginx/html;
    try_files $uri $uri/ /app/index.html =404;
 ...
Score: 0
Alexandre BERDAH avatar
WinRM Python File copier plugin : only appends, never overwrites?
cn flag

I am unable to change the behavior of the WinRM File Copier in Rundeck, it is a Python based plugin, launched from a RHEL 7.9 (Maipo) Linux Rundeck server that is connected to an Active Directory server.

When it copies an existing file from a Rundeck server (Linux, with Kerberos/Active Directory authentication) to Windows based targets, it appends its content. I am looking how to force overwritin ...

Score: 0
Does Windows SSO work with ADFS 2016 for OIDC Web Application?
us flag

Our web application uses OpenID-Connect (OIDC) Implicit Flow for user login with ADFS 2016. Login generally works, however users get login screen for user name and password.

Does Windows-Login / SSO (kerberos?) work with such setup so users don't get login screen but are automatically logged in with their windows login?

If so, what are requirements for SSO (kerberos?) to work for such setup? What wo ...

Score: 0
Santiago Iamarino avatar
I can't upload files (Apache)
fr flag

I have a Symfony app running on docker exposing the port 8000, then I proxy the requests from my domain to http://localhost:8000/ it works well but when I want to send files using multipart/form-data it returns a 500 error code without more information, if I make the request directly to http://my_ip:8000 it works fine so I think it is a proxy error.

I checked apache errors.log and I get this erro ...

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.