Latest Server related questions

Score: 1
user137063 avatar
Is there a remote filesystem for Linux that's encrypted and resilient against unreliable servers?
ni flag

I've tried many combinations of sshfs and SMB, with autofs and/or manual mounts in a Cron job, and I've always had freezing / long timeout issues when servers become unavailable or weren't available to begin with.

My requirements are as follows:

  1. Have an actual, proper mount point in the local filesystem (i.e., not something like KIO) that is compatible with any application
  2. automatically mount the remote  ...
Score: 0
gctwnl avatar
dovecot permissions (cram md5 passwd db file) error that baffles me
in flag

I am busy migrating. I am moving from macOS+MacPorts to Ubuntu+Docker

On the old system, I have this in the dovecot config:

mail_uid = _dovecot
mail_gid = mail
mail_privileged_group = mail
mail_access_groups = mail

This seems weird to me, I think the dovecot user should be in group dovecot only if I understand the docs. On the old system dovecot, postfix, dovenull and rspamd are all members of the mail g ...

Score: 0
Anastasiya Mykolenko avatar
docker network - assign multiple ip-range by itables
by flag

I need add to my docker network which I using for squid, outgoing ip range from xx.ip to yy.ip. At the moment I adding single ip using bellow command:

iptables -t nat -A POSTROUTING -s 172.18.0.0/16 ! -o bridge-coi -j SNAT --to-source 1xx.xxx.xxx.xx4

How I can add range ip?

When I put several many above command, not working.

Score: 0
Yakup avatar
AIX 7.1/ AIX 7.2 filesystem not persistently mounted across reboots and appears corrupted
cn flag

OS: AIX 7.1 / AIX 7.2

Arch: ppc-64

I have created a custom (non-root) volume group homevg

bash-5.1# lsvg homevg
VOLUME GROUP:       homevg                   VG IDENTIFIER:  00c97c4000004b000000018577fceedd
VG STATE:           active                   PP SIZE:        512 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      799 (409088 megabytes)
MAX LVs:            256                  ...
Score: 0
heeeresjohnny avatar
mdadm RAID1 degraded but shows active partition on non-present drive
ee flag

I ran into an issue with a degraded mdadm RAID1 array on a server I inherited:

The server has two identical M.2 SSD drives with 256GB capacity each in a RAID1 config via mdadm for the operating system (Debian 11). The partitions on the drive are:

/boot -> /dev/md0 (512mb)
swap -> /dev/md1 (2gb)
/ -> /dev/md2 (232gb)

The server was last rebooted in September 2021 and has been running fine since.  ...

Score: 0
Ruslan Pylypiuk avatar
Using PasswordAuthentication yes in sshd config but password is not accepted during login
hm flag

I tried to enable password authentication in CentOS 7 only for one user - auditor, by having this lines in my sshd.config (at the end of file):

PubkeyAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
Match User auditor
        PasswordAuthentication yes

Also I tried to use another version of it like this, but it was also failing(at the end of file):

PubkeyAuthentication yes
Challen ...
Score: 0
Sam avatar
How to store EBS volumes in the database ( using aws ebs as postgresql dataspace)
kz flag
Sam

I have created a Ec2 Amazon linux 2 instance and have attached 4 extra EBS volumes ( gp2=3gb, gp3=3gb,io1=4gb, io2=4gb and mounted it and I have installed postgres db on it.

I have created number of sample tables in the database and made my ebs root volume full to 100%. Now I am creating more table i get the below error:-

** Traceback (most recent call last): File "task15.py", line 12, in cur.execut ...

Score: 0
Ahmed Elmahdy avatar
WHM with AWS route 53 - Delegated Set major issue
by flag

currently starting to move my vps to aws using WHM server, wanted to used whitelabel nameservers, followed all guides i could find on aws, so

main domain registrar is godaddy.com

Created delegated set for "maindomain.com" I created the hostzone with delegated set for "maindomain.com", added zone records for all 4 nameservers using both IPV4 and IPV6 and A record to point to whm server along with cna ...

Score: 0
norsemanGrey avatar
Segregating Docker Services on Separate VLANs
gr flag

I have a question related to network segregation of Docker containers. Hopefully the picture below illustrates the issue.

I am using UniFi equipment on my network which is currently managed on default/native/unspecified/vlan1 VLAN. I have a pfSense VM (router/firewall) as well as a Linux VM on my Proxmox server that runs a couple of network related services in Docker containers.

Since one of these s ...

Score: 0
servusMori avatar
GHA worklfow fails when a Postman Collection Run fails (newman)
bs flag

i'm using newman in github actions workflow to run a postman collection. i need the run results no matter if any number of requests fail. but the github action fails and i can't get them.

       - name: Collection_UID
         id: collection_UID
         run: echo ::set-output name=uid::$(curl https://api.getpostman.com/collections?apikey=${{ secrets.POSTMAN_API_KEY }} | jq -r '.collections[] | sel ...
Score: 0
Dave avatar
Office 365 - Forward email to external domain without a mailbox
uy flag

We have office 365.

We want to forward email addresses from our domain to people outside our domain.

i.e.

[email protected] -> [email protected]

One way I think I can do this is:

  • Create a Mail Contact with the external address
  • Create a distribution list that has the internal address with the mail contact above

Are there any other better ways?

Score: 1
antonio amaddio avatar
How to make systemd journal remote use hostname instead of IP address?
kg flag

I do have one log server which runs systemd journal remote software to receive journal entries from remote hosts via systemd journal upload. This works fine. The only trouble that I have is that the journal names in /var/log/journal/remote are named with the IP address instead of the hostname.

The documentation says:

"[...] Files will be called remote-hostname.journal, where the hostname part is the e ...

Score: 0
Aaronx avatar
CentOS VM on VMware ESXI: System UUID and Serial number not same
fi flag

We are running CentOS 7.9 with OKD cluster 3.11 on VMware ESXi 6.7.0.

As part of our activities, we are trying to setup cloud-provider integration with the VMware to have dynamic PV/PVC provisioning in place.

While following the guide, we come to know, that product_serial and "System UUID" of the virtual machines should be the same. (bug-report, solution) We checked the files as suggested, and value ...

Score: 0
Mike F avatar
Azure AKS Web API 500 error outside of debugger
tk flag

I am developing a REST API using ASP.NET and .NET 7. Everything works fine on my local machine (in and out of a Docker container), when I publish to Azure App Service again no problem but when I publish to AKS (HTTP layer for now) I get 500 internal server error when ever I try to reach any of the endpoints, even if I try to reach endpoint that doesn't exist I still get 500 error. The strange thing is t ...

Score: 0
ziriuz84 avatar
How to configure correctly Wireguard on my VPS and on my Peers?
je flag

I'm having strange behavior with Wireguard. Traffic through VPN is ok, if I connect to external servers it connects via SSH flawlessly, servers with IP inside the VPN are unreachable, also with a simple ping. If I disconnect from VPN I can't reach anything via SSH. I don't understand where the problem is.

This is the configuration of a Peer (a proxmox machine) https://pastebin.com/w5FA38LS

This is the c ...

Score: 0
gary zhang avatar
TC: link sharing for ingress traffic not working
st flag

I was trying to set up an ingress link sharing env. by tc & htb qdisc. and I made two macvlan subinterfaces(say mgmt, data) under a parent physical interface enp8s0f0 and enp8s0f0's speed is 1000 mbit/s.

   enp8s0f0   | -- mgmt(f6:cb:f6:4d:28:df)
              | -- data(32:b2:ee:5c:1b:0d)

I made the following configuration based on ifb and tc setting. My intention is to guarantee 100mbit/s inbound ...

Score: 0
James Watson avatar
Apache2 how to limit a subdirectory to local network only
ao flag

I have an Apache2 (2.4.41) server running on Ubuntu 20.04 that serves a couple of Flask web apps differentiated by sub-directory to the internet over HTTPS and a No-IP DDNS (https://mysite.noip.com/site1, /site2 etc...). I'd like to host a third flask web app (/site3 for example) on this same server but only have it accessible to the local network (192.168.1.x/site3 but not mysite.noip.net/site3), ...

Score: 0
Mnemosyne avatar
Configure SSL for Apache Reverse Proxy
fr flag

I want to redirect HTTPS connections to my domain towards a unique subdomain using Apache2 reverse proxy. I want all the connections that come to a.example.com to be redirected towards $random$.b.example.com. To generate the random value I have a script running on port 3000, all requests for a.example.com are proxied to my script which sends back a reply to client with the 302 redirect code and the new  ...

Score: 1
shorif2000 avatar
Ubuntu 22 No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform on nested VM
us flag

I am using ubuntu 22.04 LTS minimal server. My host server is set up with kvm and is functioning well. All tests pass when running virt-host-validate.

When I create. virtual machine i want this to support kvm also and I am trying to make all the checks to pass when running virt-host-validate on the Virtual Machine, which is laso ubuntu 22.04 LTS

I have updated the following lines on grub on VM

GRUB ...
Score: 1
steven aguilar avatar
Unable to forward nginx in a docker container to localhost 3000
cy flag

I'm currently trying to configured nginx within a docker container to redirect to localhost:3000 when I navigate to localhost:8080. From reading the documentation it seems I need to map the ports to redirect requests to port 80 in the container. However, when I build an image based on the following Dockerfile:

FROM alpine

RUN apk --no-cache add nginx

COPY ./nginx.conf /etc/nginx/nginx.conf

RUN mk ...
Score: 1
NitroRX avatar
Change return path nginx
so flag

I'm trying to get file downloading in the local Telegram Bot API work. I found an example on github how to do it with nginx: https://github.com/aiogram/telegram-bot-api/tree/master/example. It's working perfectly with relative paths (e.g documents/file_0.txt). But I need to request file via full path (e.g. /var/lib/telegram-bot-api/bot-token/documents/file_0.txt). When I try to do it, nginx is looking f ...

Score: 0
midnightBlue avatar
Allow connection to internet but block local connections
in flag

PC A resides on a network with an ISP provided main router & additionally 2 WiFi Access Points, serving several devices beside PC A.

I'm looking to set-up an internet accessible SSH service on a PC A. Whilst SSH is great, I would like to mitigate the risk that PC A is compromised (e.g. accidentally exposed password), and introducing a virus or otherwise gaining access to the other devices.

Is th ...

Score: 1
svachon avatar
Cannot bind to tcp port but no application listens to it
nz flag

I am looking for a way to find out any process that may prevent binding to a port on a windows 10 machine.

My issue is that I have a server application that cannot open a socket on port 7777, sometimes it is 2809 that is blocked. The issue is not always happening, but it is reccurrent and even rebooting sometimes doesn't fix the problem. But at one point the problem disappears but then resurfaces ...

Score: 0
Kernexd Kernexd avatar
RDP login by hostname does't work
jp flag

Hi since last 2 month and after new Domain controller were added to our infraestructure (Widnows server 2019), RDP login by hostname does'nt work or is intermitent. DNS resolution its working fine, theres no firewall between connection and user/password credential are correct. if I do RDP login by IP the authentications works perfectly.

I isolated the new domain contorller on separate (Active Di ...

Score: 0
Prashant Singh avatar
Reusing Virtual Network Devices across different customers
bg flag

I am trying to reuse virtual networks(made of virtual linux network devices) across customers. I am facing issue where we are not able to find if there is any network packet from previous customer is stuck in any of virtual network devices queue or network stack? And If so how can we flush the devices without re-creation.

What I am trying to add some cool down period of say 1 second before re-use ...

Score: 0
Scott Evans avatar
passing ocs_live_extra_param onto clonezilla?
ie flag

I'm trying to build a semi unattended cloning script for some Mac machines at work... and I cant seem to figure out how to get the OCS command line parameters to pass onto the clonezilla live ocs... currently it just boots to the main clonezilla start screen where you can pick parameters manually instead of doing the boot parameters automatically

I dont know what I'm doing wrong or missing... jus ...

Score: 1
Ljubisa Livac avatar
Server refused our key - Putty trying to connect to a new VPS server
br flag

I am using Putty to connect to my VPS servers. I have created a new VPS server (Hetzner cloud) and have chosen the existing SSH key, as a security measure. When trying to connect to a newly created server over SSH (for the first time), Putty prints out "Server refused our key". I chose the same SSH key that I had created 4 years ago - the one I use all the time to connect to my existing VPS servers. I d ...

Score: 0
WiiLF avatar
Multi-Prefix (CORS Header)
us flag

How can I make this so it handles both https/http?

add_header Access-Control-Allow-Origin "https://sub.example.com";

What is happening, is specific resources rely on http traffic (//api.example.com), therefor throwing a CORS error in Chrome Console. HTTPS is forced in 3 directions, starting with DNS.

So I have no idea why its doing this. This is basically failing most of the time, when this header contai ...

Score: 0
Joel Stephens avatar
Powershell could not create ssl/tls secure channel, OS supported ciphers not used
py flag

I am trying to use powershell to connect to a dns service desec.io from a Windows server 2012 R2 server but the connection is failing with the error The request was aborted could not create ssl/tls secure channel. I used wireshark to inspect the hello packet to make sure a TLS 1.2 connection was being used and to look at the list of ciphers that are sent. My server is sending this list of ciphers when a ...

Score: 0
Nathan avatar
APEI Generic Hardware Error on a linux sever on a PCI OCP
pa flag

This error appears when executing a stress test on a server and already discarded the possibility of being a HW Issue(already replace OCP and entire conections to the OCP cables, boards, etc), haven't change CPU's, RAM's, or SSD's because is not very probable that will be the cause.

device_id: 0000:64:02.0

    Dmesg check............................[FAIL]
[  250.275668] {1}[Hardware Error]: Hardware e ...

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.