Latest Server related questions

Score: 0
naveenkumar Konidela avatar
In rhel 7, wrong fs type, bad option, bad superblock error is coming while mounting LV device
sj flag

wrong fs type, bad option, bad superblock error occurred while remounting the lv. PLEASE ANYONE CAN PROVIDE SOLUTION.

Score: 0
Ubuntu 18.04 > VSFTPd, PAM_MySQL :: How to set users home directory based on table column?
cw flag

First, thanks for taking the time to view my silly questions :) I have a server running Ubuntu 18.04 LTS, and I need to allow multiple users to connect via ftp on separate home directories for Web FTP purposes, and I've ran into an issue that I can't find any answers to after a day of searching, so I'm throwing in the towel and asking for help.

I have the table ftp in my database, and inside of it is 4  ...

Score: 0
Liso avatar
Haproxy routing to single backup server from multiple nodes
cn flag

I have several small server and one big server that contain mirror of that several small server. Let's call it Server A, Server B, Server C and Server D for group of small server, and the big server will have Server X as name.

I'm drawing this diagram to explain the setup.

enter image description here

I want to redirect user to Server X if one of Server A to D is down/unreachable, once the server is gone up the user would hav ...

Score: 0
dabadaba avatar
Is a value of 18446744073692774399 normal for kernel.shmmax?
cn flag

Context: web server hosted on DigitalOcean with a PostgreSQL database.

We were experiencing recurring database crashes for unknown reasons. Eventually I nailed down a faulty query that was overloading the system and am almost sure that's the issue.

However as I was investigating postgres crashes, I came across a post mentioning tweaking the system's kernel.shmmax because it's related to the postg ...

Score: 0
suprovsky avatar
Prevent nginx from rewriting a port in location header
hu flag

so I run a Laravel application in an nginx container, to which I give access to through another nginx acting as a reverse proxy. The container exposes a port 8123/tcp for accessing the service. The problem is that for some reason nginx adds a port to the address at some point, so let's say I access https://app.example.com, then the container redirects to http://app.example.com/docs and then redire ...

Score: 0
Nginx sees OpenVPN linux client with its public IP address while android client is seen with private VPN IP address
tr flag

I've set up the following virtual server in my NGINX conf:

server {
   listen 80;
   listen [::]:80;   
   server_name ip.myserver.com; 
   location / {
     default_type text/plain;
     return 200 "$remote_addr\n";
   }
}

The idea is that I have some other virtual servers that I want to access only using the OpenVPN connection which is on the same machine. Using this test site, it should display th ...

Score: 0
Nginx reverse proxy in front of lighttpd nextcloud server
us flag

I am running nginx proxy manager on a docker container (nginx proxy manager image) and my router is forwarding http and https traffic to my raspberry pi. My question is if the traffic is going to directly to the proxy, since it is listening on ports 80 and 443. The lighttpd server is listening on port 8443.

Score: 0
dranobob avatar
Is there a network card that lets you set "master slave" mode in Linux?
in flag

I am trying to locate an ethernet network card that allows for the setting of the master slave mode. Ethtool add this configuration (ethtool -s master-slave ) but I can't find a card that supports it.

I have several cards with the Intel i350 chip which has the setting in Windows but ethtool says

master/slave configuration not supported by device (offset 36)
Score: 0
Timothy Fisher avatar
Curl "peer's certificate issuer is not recognized" error when attempting to communicate between two servers
ca flag

I have two servers A and B that host websites that work fine in a browser with https. The lock icon in the browsers show active and trusted SSL certificates.

I'm trying to run curl so that server A can talk to server B, but am running into an error.

- Server A -
$ curl https://dev.partsvu.com
CAfile: /etc/pki/tls/certs/ca-bundle.crt
curl: (60) Peer's Certificate issuer is not recognized.

I've done some ...

Score: 0
CFD avatar
redirect nginx from port to another port and subdirectory nginx
br flag
CFD

I have a service running on: http://localhost:49159 I created an nginx docker to forward the service from port 49 to 8080 by the following

nginx.conf:
user  nginx;
worker_processes  auto;

error_log  /var/log/nginx/error.log notice;
pid        /var/run/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include mime.types;
    sendfile on;
    upstream aspnetapp {
    server 127.0.0.1: ...
Score: 0
Serguei Kamchiline avatar
How to apply new default kube-scheduler config?
ru flag

Kubernetes version 1.22. Cluster created by kops.

I'm trying to alternate default kube-scheduler config (adding profiles) as descibed here https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1beta3/#kubescheduler-config-k8s-io-v1beta3-KubeSchedulerConfiguration .

apiVersion: kubescheduler.config.k8s.io/v1beta3
kind: KubeSchedulerConfiguration
profiles:
  - schedulerName: default-sched ...
Score: 0
Praveen Dass avatar
Spring cloud gateway deployed in GCP App engine flexible causes infinite redirect loop
mx flag

I have a two services running in GCP app engine; let's say service A and B, and then I deployed a spring cloud gateway service to route external traffic to these two services based on path predicates. service A and B are deployed in app engine flexible. initially I had the gateway deployed in app engine flexible and it was working perfectly well. because we have some batch services which has response ti ...

Score: 0
Sending an email to listeners when ocurring an error on my application
us flag

Recently I deployed an app on production environment. The app sometimes writes some entries on log file and exception file.

The log files are:

  • C:\TEMP\MyApplication_log_{day}{month}{year}.txt
  • C:\TEMP\MyApplication_Exceptions{day}{month}{year}.txt

The production environment has the next features.

  • Windows Server 2016.

¿What should I configure on my Windows Server to receive an email with the ne ...

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.