Latest Server related questions

Score: 0
Many linked tables in a NoSQL? Tons of connections, but only 1 master?
ph flag
Fly

My company uses a NoSQL database (Mongo) for their product. However, their product is incredibly slow - which might be due to either the efficiency of their code, or/and the design of their database. While I wasn't hired as a dev or sysadmin, and am no expert in DB design, I find the latter super interesting and thought it'd be interesting to see how valid or invalid my opinions on their db design are.

Score: 0
Brett53559 avatar
Why won't exchange authenticate user in admin role?
jp flag

I have a java spring boot application that I authenticate through our exchange servers. The from address included in the email is the same address associated with the authenticated user.

When I point the connection URL directly at one of the exchange servers it will authenticate and send email successfully. However when I point it at the (I think it's called a relay) [URL that points at either se ...

Score: 0
ChrKoenig avatar
Reverse proxy and domain forwarding
cl flag

I'm trying to set up a VPS with a single IP address to run my static homepage and some additional services such as NextCloud. I already have a domain that points to the VPS's IP address. Reading through a number of tutorials on self-hosting, a common solution for this type of scenario is to set up a reverse proxy that forwards to different subdomains, e.g. nextcloud.mydomain.com. However, here's my ques ...

Score: 1
sherpaurgen avatar
Issue with customizing kernel cmdline option in Ubuntu 20.04.3
cn flag

Im trying to add rootdelay=60 option in grub cmdline options by editing file /etc/default/grub as

GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=300" and also ran update-grub update-initramfs -u however i do not observe any delay after reboot and the root filesystem mounts right away

i can see that the rootdelay=300 is present in cat /proc/cmdline ,is there any thing missing here ?

Score: 0
connect() failed (111: Connection refused) when trying to reach 1 of 3 apps
fr flag

I have two Django apps running on my Debian server with Gunicorn. One running on port 80(app1), the other on 84(app2). app1 is working fine. But when trying to open app2, I get a 502 Bad Gateway from Nginx. Both their configs are almost identical. I have no idea why this isnt working. I also have a third app running but that's running on Flask IIRC.

sites-available/app2

server {
listen 84;
server_name ...
Score: 0
EC2 disabling SSH password authentication from snapshot
br flag

I maintain a CentOS 7 server in AWS EC2 which uses password authentication instead of private keys (this is beyond my control).

I recently started testing a daily backup system using snapshots of the EBS volume. However, if I create an AMI from those snapshots and launch a new instance, it is impossible to connect using SSH. I investigated further and found out that the reason is because at insta ...

Score: 0
site-to-peer topology with wireguard
cn flag

I need to modify an existing Wireguard VPN with start topology (central peer with public IP, called "server" in the schema), so that one site will be connecting via a single "site peer" routing the traffic from other peers in its local network (as opposed to each peer from that site connecting to the "server" directly.

Before I go into depth (I am a Wireguard greenie), is something like this semi ...

Score: 0
Mat avatar
Setup IP alias for GKE kubectl connection via tunneling through the "bastion" host to avoid insecure-skip-tls-verify option
cn flag
Mat

In reference to this question: Run 'kubectl' commands from my localhost to GKE - but via tunnelling through a bastion host

I'm facing the very same situation. I did all that is described in the accepted answer and achieved the point where I can communicate with my cluster via kubectl with --insecure-skip-tls-verify flag. However, I want to get rid of this flag as it is not the secure option. For that I tr ...

Score: 0
Dorian avatar
Salt: connection refused to proxy
es flag

I have troubles with Salt, installed on an HPC cluster. All maintenance commands (i.e. salt commands) are made from master0. The minions to be managed are named node0, node1, ..., node4. When I try to install a package on a minion (let's say python's numpy on node0), I get the following error:

[root@master0 ~]# salt 'node0' pkg.install python3-numpy
  *duplicate lines removed*
https://vault.centos.org/7 ...
Score: 0
Can one pre-populate a directory (e.g., on EFS) for an EKS cluster?
pl flag

We want to run an interactive application on AWS that should be able to read and write a common workspace directory on a shared filesystem. Our approach so far was to use EFS for the shared data, and to use a PersistentVolumeClaim to reference it. However, the dynamically provisioned PersistentVolume will always create a new empty directory on EFS.

Is it possible to pre-populate an EFS directory  ...

Score: 0
uylmz avatar
Kubernetes pod can not resolve domain name if it is running on a specific node
id flag

We have an on premises Kubernetes cluster, running on nodes with hostnames node1.mycompany.local through node7.mycompany.local. We also have a database server on node16.mycompany.local, outside the Kubernetes cluster.

When a pod runs on node4 or node7, it can not resolve database domain name and fails. If I move the pod to a different node other than 4 or 7, it can connect to the database and run ...

Score: 0
Glenn T avatar
Attempting to create an RAID array in Ubuntu server 20.10
us flag

I'm attempting to create a RAID 0 RAID array on Ubuntu server 21.10, but I keep getting the following error: mdadm: An option must be given to set the mode before a second device Here is the syntax I used:

~$ sudo mdadm –create –verbose /dev/md0 –level=0 –raid-devices=2 /dev/sdb1 /dev/sdc1
mdadm: An option must be given to set the mode before a second device
(–verbose) is listed

I've s ...

Score: 1
CORS is not working NGINX + DJANGO + REACT application
cn flag

Existing nginx configuration given bellow. I tried in multiple way but nothing is working.

server {
    server_name backend.xxxxxx.com www.backend.xxxxxx.com;
    client_max_body_size 100M;
    #add_header Access-Control-Allow-Origin *;
    #add_header 'Access-Control-Allow-Origin' '*' always;
    location / {
        #add_header 'Access-Control-Allow-Origin' '*' always;
        include proxy_param ...
Score: 0
stop mail.domain.com from browser
ru flag

I have a mail server setup for a domain using postfix. For the ssl cert, I have created a virtual host for that mail server. The virtual host look like this

<VirtualHost *:80>
  ServerName mail.domainX.net
  DocumentRoot /var/www/roundcube/

  ErrorLog ${APACHE_LOG_DIR}/mail.domainX.net_error.log
  CustomLog ${APACHE_LOG_DIR}/mail.domainX.net_access.log combined

  <Directory />
    Opt ...
Score: 0
ssh-copy-id ceph@osd-0 /bin/ssh-copy-id: ERROR: failed to open ID file '/home/ceph/.pub': No such file or directory
bw flag

I can ssh successfully my ceph osd nodes but when i am trying to copy ssh id i am getting below error can anyone guide why i am getting below errors.

[ceph@monitor ~]$ ssh-copy-id ceph@osd-0

/bin/ssh-copy-id: ERROR: failed to open ID file '/home/ceph/.pub': No such file or directory (to install the contents of '/home/ceph/.pub' anyway, look at the -f option) [ceph@monitor ~]$

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.