Latest Server related questions

Score: 0
Apache can't serve directory or locate files even though they all exist with the correct permissions
co flag

I'm using CentOS8, with a bog-standard (yum install httpd php) installation of apache and php.

I've got a configuration (/etc/httpd/conf.d/trip.mydomain.mytld.conf) that looks like the following:

<VirtualHost *:80>
    ServerName trip.mydomain.mytld

    DocumentRoot /var/www/trip/public
    <Directory "/var/www/trip/public">
        Require all granted
    </Directory>

    RewriteEn ...
Score: 0
Raptor avatar
Fresh install of Apache Directory Studio in macOS fails to start a new LDAP server
de flag

I installed Apache Directory Studio version 2.0.0-M17 via this official download link. I launched the software from Launchpad and created a new LDAP server.

However, when I try to start the server, the status changes quickly from Starting to Stopped, and no logs are displayed. How can I debug the problem?

I tried to modify the ApacheDirectoryStudio.ini and uncommented the following lines to confi ...

Score: 0
SJWales avatar
Setting up both a public and secure share on the same Samba server
kw flag

Running RHEL 7 / Samba 4.10

I have two different shares on this server. I need to make one publicly available to everyone on the network and one password protected.

A lot of the articles I've found on how to do this seem to want you to set up a global parameter of security = share but Samba 4 doesn't support that option, it appears to be a Samba 3 thing.

I had this working for when there was just a ...

Score: 1
daisy avatar
Script to refresh SDProp immediately?
za flag

I'm reading this document, how can I refresh sdprop immediately on a Windows 2016 domain controller?

I'm trying to do this in command line, but referenced link in the document above is quite vague, I couldn't get it.

Does anyone know?

Score: 0
Erik N. avatar
IPv6 routing for VNET jails on FreeBSD 13-RELEASE
in flag

I have a IPv6 address block of prefix size 64. On my host computer running FreeBSD 13-RELEASE I have three jails:

jls

   JID  IP Address      Hostname                      Path
     1                  svcfw                         /usr/jail/svcfw
     2                  www                           /usr/jail/www
     3                  ifee                          /usr/jail/ifee

Host network adapter ...

Score: 0
M3lmoth avatar
Whitelist external IP for an external service for on premise Gitlab in AWS private network (VPC)
fr flag

I have a technical question, I have an on premise Gitlab on a private network and I would like to have an integration (Localize), there documentation says that I have to whitelist a range of IP adresses, Localize also have to use a domain name so I'll need to put a public record (which is not what I want to have a public domain record for my private Gitlab)

What is the best solution for that so t ...

Score: 0
Tony Chong avatar
PowerShell: Why am I getting this error?
cn flag

I am trying to use the PowerShell Invoke command. I am using it correct but I don't know why I am getting an error.

Invoke-Command Get-EventLog –LogName Security –Newest 100 -ComputerName WIN-9F8JQL0989

The error message:

Error message

Score: 0
Total memory varying between identical nodes
eg flag

On a cluster with multiple identical server nodes (same hardware including same brand and model for the DIMMs, same BIOS and firmware versions), same OS and same kernel options (PXE boot of the same RHEL 8.2 image), the total memory capacity is varying.

[root@node1 ~]# cat /proc/meminfo 
MemTotal:       196349760 kB

[root@node2 ~]# cat /proc/meminfo 
MemTotal:       196350128 kB

After reflashing the BI ...

Score: 0
Ben Slade avatar
For serverStatus(), are thread activity tickets used when flowControl is not triggered?
us flag

In the output of the serverStatus() command, there is output called flowControl.isLagged. Where "isLagged" is the condition for triggering flow control. When flow control is triggered, the docs say

writes on the primary must obtain tickets before taking locks

But the datadoghq.com web page says the following about wiredTiger.concurrentTransactions (tickets) stats:

The WiredTiger engine uses a ti ...

Score: 1
sparecycle avatar
How to remove ".com" suffix from hostname variable using .htaccess
ws flag

I'm attempting to create a unique series of redirects on an Apache web server (Server version: Apache/2.2.15). Using .htaccess or additional Apache modules, I need to fully parse requested URLs in order to extract hostnames without the standard .com suffix.

Example: I need vendorname from the hostname vendorname.com.

The business I'm supporting works with third-party vendors and has created unique top-lev ...

Score: 1
bind mount /dev/pts twice - umount fails with "target is busy."
ca flag

I'm trying to understand problems that I get when I run my debootstrap procedure more than once in parallel. It seems to come down to this piece of bash script:

DIR1=/mnt/foo$RANDOM
DIR2=/mnt/foo$RANDOM
mkdir -p "$DIR1" "$DIR2"
mount -o bind /dev "$DIR1"
mount -o bind /dev/pts "$DIR1/pts"
mount -o bind /dev "$DIR2"
mount -o bind /dev/pts "$DIR2/pts"
umount "$DIR1/pts"
umount "$DIR1"

Do you have an ...

Score: 0
Scalar Mikeman avatar
Docker containers front-end and back-end unable to communicate error "strict-origin-when-cross-origin"
in flag

I'm trying to do the https://devopswithdocker.com/ course, but I am not too familiar with node.js and react. I clone the repository here and make a Dockerfile in example-backend and example-front end. My Dockerfiles look like this:

example-frontend/Dockerfile

FROM node:14
 
WORKDIR /usr/src/app
 
COPY . .
 
ENV REACT_APP_BACKEND_URL=http://127.0.0.1:8080/
 
RUN npm install
 
RUN npm run build
 
RUN ...
Score: 0
Traceroute on windows from specific source IP?
sa flag

I have a Windows 2016 Server that has multiple local interfaces/IPs. I want to perform a traceroute from one of those specific source IP/Interfaces. tracert has a "-S" switch but it's 'For IPv6 only". I can't seem to find a way to perform a traceroute by starting with a specific source IP.

More details: The server in question is a SQL server and we have one interface being used for replication tr ...

Score: 0
Andyj12 avatar
Duplicating IoT traffic
mq flag

I have a simple IoT temp sensor (from China) and I can change the destination it routes traffic to. I want it to continue sending to their system AND to mine (redundancy, resilience etc). The sensor does not support sending to 2 destinations.

I use cloudflare for my webserver - so I have an A rule that routes traffic for a subdomain on to my IoT server. Can I use this to duplicate the traffic so it  ...

Score: 2
How do I configure Kubernetes to use kubenet with kubeadm?
in flag

I deployed a Kubernetes cluster using kubeadm.

$ kubectl get nodes
NAME                                          STATUS     ROLES                  AGE   VERSION
ip-172-31-33-9.us-east-2.compute.internal     NotReady   <none>                 48m   v1.22.2
ip-172-31-46-53.us-east-2.compute.internal    NotReady   control-plane,master   49m   v1.22.2
ip-172-31-47-245.us-east-2.compute.internal   NotRead ...

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.