Latest Server related questions

Score: 0
Udisks2 rule to ignore BTRFS-in-LUKS array member disks
lb flag

On Ubuntu 20.04 PC's with a btrfs (in crypto / LUKS) raid-1 disk array, file managers (nautiuls, thunar, etc) show duplicate entries for the [logically] same disk, and repeatedly mount duplicate /media/User/DiskLabel-N. Request: I'd like to prevent user clicks in the file manager from mounting multiple copies of the array; they pollute the UI, as well as cause the file-manager to behave sluggishly. A  ...

Score: 0
How do I set up an nginx reverse proxy for Synology drive?
sr flag

tl;dr

I tried setting up nginx to forward a TCP connection over 6690 to Synology Drive. But when using listen 6690 ssl; the Synology Drive Client cannot find the NAS, and when using listen 6690; (without SSL) the NAS is found, but its unsigned certificate is used instead of the certificate stored with nginx. Any idea how to enable SSL and use an nginx reverse proxy with Synology Drive?

Intro

I already  ...

Score: 0
gitea ask for `gitea` password on TortoiseGit and SourceTree
in flag

I have a Manjaro system running gitea server. Now when I tried to do something with the repos on the server, eg. cloning or pushing, using TortoiseGit or SourceTree, the server will ask for a password for the account gitea. SourceTree

When I do the same operation using the command line client, it would work just fine. Cli

Also I have tried SSH into the system using gitea account and it looks good I think ...

Score: 4
Linux: make traffic from same host appear to come from different IP addresses
cn flag

I am using a client library (https://github.com/Beckhoff/ADS) to connect to a PLC from a Linux machine via TCP. However, the library is only able to perform a single connection between a source IP and the destination IP address of the PLC. My goal is to connect to the remote IP/PLC with multiple clients, i.e. the remote PLC must be able to distinguish the client connections based on the (different) IP add ...

Score: 0
Barry Chapman avatar
How to fix PHP open_basedir restriction restricting access to subdirectory on nginx server
cn flag

I am using nginx with php-fpm, and we are receiving a lot of errors like this:

2022/01/23 12:48:13 [error] 5514#5514: *9277 FastCGI sent in stderr: "PHP message: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/evtm.dev.nick/wp-content/db.php) is not within the allowed path(s): (/var/www/vhosts/evtm.dev.nick/:/usr/lib/php/:/tmp/:/data/sucuri:/var/www/prepend/) i ...
Score: 0
Mira avatar
Dnsmasq how to make captive portal pop up
bt flag

I am trying to implement captive portal with dnsmasq. In dnsmasq config address=/#/10.42.0.1 doesn't work, so I have to use ugly:

address=/com/10.42.0.1
address=/uk/10.42.0.1
address=/org/10.42.0.1
address=/gov/10.42.0.1 ...

This redirects all listed domains fine, if in browser you go anywhere, however captive portal browser doesn't pop up by itself (checked no mac win and linux), and there is prob ...

Score: -2
Separate eMail relay: DNS requirements beyond PTR record?
eg flag

Some cloud business offers "always-free" VM instances. Not quite big, but enough for me, so I’m going to migrate my infrastructure there, including mail.example.com. That machine handles incoming mail for @example.com (example.com MX 10 mail.example.com). However to also send email from @example.com the machine needs a PTR record (192.0.2.1 PTR mail.example.com). The cloud provider, however, doesn' ...

Score: 0
Why do I have 5/4 active MySQL connections at all times?
bd flag

Ive created a MySQL 5.7 instance on google SQL and from the very first day, for no apparent reason, I've had 4/5 active connections at all time.

Those connections are definitely not me and, from what I understand, I am having to pay for that usage even thought it wasn't me using the SQL instance. I do have daily backups set up but they happen once a day and don't see why backup mechanism that Goo ...

Score: -2
hbquikcomjamesl avatar
Our cable modem is acting as a rogue DHCP server, even though its DHCP function is supposedly disabled
do flag

We have, for quite some time, had problems with systems on our LAN coming up "bottled," i.e., with non-functional connections. I recently noticed that the assigned IP addresses looked like they were colliding with fixed IP addresses on the LAN, which suggested that either the router/firewall (a TP-Link TL-WDR4300) wasn't honoring its DHCP range, or there was a rogue DHCP server in the network.

Thi ...

Score: 0
Systemd-networkd fails IPv6 autoconfig where ifupdown succeeds
nc flag

Title is a bit vague, since I do not know what is going on. I want to switch to systemd-networkd, and I want it to autoconfigure both IPv4 and IPv6. I come from ifupdown, with the following config:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network inte ...
Score: 0
Abid avatar
Boot manager shows two entries but only one partition remains after restore
pl flag

I had to perform a recovery (using veeam recovery agent) on a windows 2019 server instance.

Before the recovery the system was configured as software raid (mirroring) with two dynamic disks.

After the recovery only one disk remained and is now a basic disk (no dynamic disk anymore) and there is no raid anymore.

But when booting the boot manager still shows two entries (see image).Boot Manager

Booting works, but it's ...

Score: 0
How do I detect why PHP requests to external servers are slow?
fr flag
ose

For the last two months, some days, my requests(get/post) to external links are working with a delay. However, this issue only occurs in my code running on a server that I use heavily. I have three servers. (Centos 7, Centos7, Windows Server) Both of have the same features. (One is the server that I use heavily and the request I send to the external link returns slowly).

While it turns very fast  ...

Score: -1
Ishau Md avatar
Multiple emails for one domain
ng flag

currently I have google workspace emails account and webmail emails accounts on the same domain. The challenge am having is only google workspace emails can send/receive emails but webmails emails can only send mails but not able to receive emails. Please I need help on how to set up both emails (google workspace emails & webmail emails powered by round cube) to send/receive emails on the same domai ...

Score: 0
Sampreeth Amith Kumar avatar
Setting Context Path in nginx
cn flag

I am trying to serve my webpack bundled app and files from a context path. Nginx Config file is as below:

nginx.conf

server {

  listen 80;
  root   /usr/share/nginx/html;
  index  index.html index.htm;

  location / {
    try_files $uri $uri/ /mfeexample/index.html;
  }

  location /mfeexample/ {   
    try_files $uri $uri/ /mfeexample/index.html;
  }
}

Dockerfile

# Build Environment
FROM node: ...
Score: 0
AGamePlayer avatar
Do I need to restart my Debian after removing one key in authorized_keys?
sb flag

I removed a public key in authorized_keys for a computer that I've lost.

I have some servers running on the Debian and am afraid that a reboot would cause some trouble.

However, I can't verify whether the lost-computer can still log in via the key.

Am I all good now or do I still need a reboot?

I'm using Debian 10.

Score: 0
AGamePlayer avatar
Why some nginx configs are missing the http block?
sb flag

According to the nginx beginner's guide:

Serving Static Content

An important web server task is serving out files (such as images or static HTML pages). You will implement an example where, depending on the request, files will be served from different local directories: /data/www (which may contain HTML files) and /data/images (containing images). This will require editing of the configuration fi ...

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.