Latest Server related questions

Score: 0
Fix 502 Bad Gateway
in flag

I have Nginx running on Ubuntu server (digital ocean), I've setup LEMP stack for hosting the Wordpress website. I'm getting 501 Bad Gateway when I try to reach website using the IP address.

I see this errors in the log:

2022/05/24 14:43:52 [error] 199802#199802: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 212.58.120.29, server: localhost, request: "GET /ttemp.php H ...
Score: 0
stackprotector avatar
How can I remove a no longer existent child domain from my forest?
th flag

In a virtual environment, I lost the virtualized DCs of a child domain of my forest. I don't need the child domain, but as the DCs are gone now, I cannot remove the domain in the intended way by demoting the child DCs. How can I finally get rid of the child domain in my forest and delete all traces of it?

Score: 0
birgersp avatar
Redirect port 443 to 8080?
us flag

(note: I intentionally wrote "httpz" instead of "https" because I got an error message when trying to post the question)

I have a web server (docker container) running on 8080. I want people going to httpz://mydomain.com to access it. I changed the port configuration for the container (docker compose) to map 443 to 8080, and that works. But I would rather route traffic going to my server from port 443 t ...

Score: 0
Nginx failed open /etc/nginx/html/sockjs-node - no such file or directory error
in flag

I am trying to dockerize three applications, two frontend applications using react and one nodejs backend application, the two frontend applications use the same backend with different ports.

The frontend (https://localhost/login) and backend (https://localhost:8443/api-portal and https://localhost:8443/api-adminportal) applications are working perfectly.

The problem is when i try acess the other fr ...

Score: 0
Munchkin avatar
Docker: error could not translate host name to address: Name or service not known in psql
et flag

We have the following Dockerfile:

FROM debian:stable-slim

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get full-upgrade -y && apt-get install -y --no-install-recommends \
    systemd \
    procps \
    apt-utils \
    build-essential \
    postgresql-server-dev-all \
    postgresql-plpython3-13 \
    pgxnclient \
    libc6-dev \
    wget \
    python3 \
    python3-pip \
 ...
Score: 0
potato avatar
using external disc for media files with RewriteRule
nl flag

My apache DocumentRoot folder is $HOME/MyProject/src. Large external disc is mounted on a server on /storage path.

I have a bunch of rewrite rules set on in apache .conf. For example:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/api/media/(.*) /data/$1 [L]

With the new external disc in place, rewrite rule should point to actual absolute p ...

Score: 0
App deploy fails on GCP App Engine flexible (GAE flex) when specifying engines.node version: [Errno 11] write could not complete without blocking
cn flag
gcloud --project my-project-id app deploy app.yaml

fails on GAE Flex when I specify a engines.node version in package.json but succeeds when I remove it from the package.json.

I have specified

"engines": {
    "node": "16.x"
  }

in my package.json

The error I ultimately get is:

ERROR: gcloud crashed (IOError): [Errno 11] write could not complete without blocking

This occurs in the middle of the build ...

Score: -1
Intolighter avatar
Centos7 slave zones doesn't query master for zone file
jp flag

This is my named.conf. These are zones on 192.168.2.194.

Also, 192.168.2.194 can successfully query zone files from centos 7 master zones.

Score: -1
Faisal Sharif avatar
FSMO Roles Conflict between Domain Controllers
ar flag

One site has two domain controllers DC01 and DC02, replication is not good , DC01 is claiming PDC and Infra while other one [DC02] is claiming all 5 roles, this is sort of strange scenario, the other guy tried to transfer or seize roles which was failed.

Any suggestion will be appreciated.

Regards,

Score: 0
Mounting Windows NFS Share to SUSE Linux SLES - nobody:nobody issue - cannot chown
cn flag

Here's my setup:

  1. Windows Server - 192.168.0.57
  2. SUSE SLES15 Server - 192.168.0.5

There is a folder on my Windows server - F:\ARCHIVE

The SUSE server has a user U1 and group GRP1


I want to mount the Windows folder as NFS in my SUSE server. I want to set its ownership to U1:GRP1.


Here's what I have done:

I have shared this folder via NFS as NFS_ARCHIVE: https://i.stack.imgur.com/xLGyq.png

The Sha ...

Score: -3
RADIUS-server which asks for the same password for every request
jp flag

I need to create a RADIUS server which always asks for the same passsword, no matther which username gets checked. is there somethign I could do?

please don't start to argue if this makes sense or not. the password asked will be used in a SSO-System where the user only needs this shared password once to setup his 2FA.. after this there is a Passwordless login in place (only the "2nd" factor)

Score: 0
Nginx reverse proxy + Vercel hosted app not working together
in flag

I have a Wordpress site running Nginx that exists on https://www.exampleurl.com

I have an app running on Vercel - https://github.com/cwackerfuss/react-wordle - that I want to run under https://www.exampleurl.com/wordle/ of my website (not a sub-domain, that would of course make this all a lot easier).

So, I have setup a reverse proxy in Nginx:

location /wordle/ {
proxy_pass https://wordleexample.verc ...
Score: 0
Duns avatar
error editing an item (impossible editing)
ru flag

In some tables (either myisam or innodb) I get this error:

CODE: SELECT ALL
Warning in ./libraries/classes/InsertEdit.php#1765
 implode(): Invalid arguments passed

Backtrace

InsertEdit.php#1765: implode(
string ',',
string 'pro_doct',
)
ReplaceController.php#312: PhpMyAdmin\InsertEdit->getCurrentValueForDifferentTypes(
boolean false,
string '2ab6240bef8140b28277f912b86342bf',
array,
string '\'\ ...

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.