Latest Server related questions

Score: 0
codecat avatar
Trying to install XML::Parser on RHEL8 Linux
cr flag

I'm trying to install XML::Parser in RHEL8 Linux and have both OS RPM packages 'expat' and 'expat-devel' installed. I also have a successful expat Perl module installation running:

cpanm XML::Parser::Expat
XML::Parser::Expat is up to date. (2.46) 

I'm running cpanm XML::Parser and getting:

Expat must be installed prior to building XML::Parser

and I can't find it in the standard library directories.

Score: 0
Mike avatar
Tar backup command for exclude backup files & cache & include only httpdocs subdirectories
ls flag

I am looking for a tar command that meets the following requirements:

I want to exclude all files ending with: backwpup & .zip (in between and before can be any e.g. uploads/123backwpup-123.zip) I want to exclude all folders in the area /media/backup/ & /application/cache/

I start at a level that looks like this:

  • example.com
  • example.de
  • example.org

With subdirectories for each:

  1. /etc/
  2. /httpdocs/
Score: 0
FredBloggs78 avatar
Rocky Linux 8 Blocking SIP traffic
va flag

I am having trouble with Rocky Linux blocking SIP traffic from an external LAN.

If I send a SIP message from external LAN, it reaches the server but the message doesnt get passed to the application.

If I send a SIP message from local LAN, it reaches the server and the message get passed to the application.

SELinux and firewallD are disabled.

Im totally stumped. Please help.

Diagram of situation

 ...
Score: 0
TonyD avatar
Setting up SSL in Apache2 with backend docker app
cv flag

I'm running Ubuntu server (18.04) on an Azure VM, with Apache2 (2.4.29). I have a backend app running in docker on the same host that is called by my site. This works easy enough without SSL. I added my SSL certificate, and a static page loads fine over https (so the certificate is valid). When I add the page that calls my app (listening on host port 8080) I get an error:

GET https://myhost.com:8080/ ...

Score: 0
nifu avatar
Block outgoing mails in postfix after a certain number
bj flag

I am running a Postfix on a Ubuntu 20.04 server. I am looking for a way to count outgoing mails to a domain or mailbox and block outgoing mails if a certain number is reached.

Let's take the following example: I have send 100 mails in the last 20 minutes to the mailbox [email protected]. This is to much or something went wrong. I need to block all outgoing mails to this mail address or domain.

I have  ...

Score: 1
Nina G avatar
Event ID 4776 Disabled Account Failed Sign in Attempts
cn flag

In our environment, I've found a handful of Event ID 4776 The computer attempted to validate the credentials for an account. Shown below is the output of that event log and it seems the user in question is Guest, which is a disabled account:

enter image description here

I've also found a corresponding Event ID 4625, shown below, from the same time and same Guest user. However, for this event id, I can see Subject Username f ...

Score: 0
Ubuntu VNC with XDMCP Black Screen
ug flag

I have a ubuntu 22.04 LTS system with the following setup: I have a Systemd unit with Socket Activation, basically the following:

[Service]
ExecStart=-/usr/bin/Xvnc -inetd -query localhost -geometry 1920x1080 -once -SecurityTypes=None
User=nobody
StandardInput=socket
StandardError=syslog

Backed by gdm with the following custom config:

[daemon]
WaylandEnable=false

[security]
DisallowTCP=false
[xd ...
Score: 0
Prereqs for "Require NTLMv2 session security"?
us flag

I have a requirement to set this up for servers on my Domain environment (both the client and server version). Workstations are Windows 10 and all Servers are Server 2019.

I know how to do it through GPO, but I am wondering if this can be done without certificates? All of our workstations are devoid of any (according to the Cert Manager "Personal" store anyways) and a few of the servers have ye ...

Score: 0
d1260 avatar
when configuring Azure file sync between a azure file share and an on-premise server can this be done with private link?
ba flag

Trying to configure azure file share between and on-premise file server and azure file share but am unsure about how to make it secure. We will be using express routewith private peering to connect onpremise to azure. Do we need to configure express route peering, private endpoints (storage account>networking>disable public access>create private endpoint?). When trying to configure the priva ...

Score: 0
Prakash avatar
Input/output error while trying to mkdir in VM at the mounted location of GCS bucket
lt flag

I m using gcsfuse in my VM in order to mount with google cloud storage bucket. while running the command "mkdir" as a root user in the mounted location, i am getting the error as below.

mkdir: cannot create directory ‘243’: Input/output error

Whereas, i am able to create the folder if i navigate to GCP console and create a folder structure inside storage bucket. Not sure where is the issue no ...

Score: 0
R. Baraiya avatar
OSError: -2, File "urequests.py", line 76, in request
ve flag

I am working with Pi Pico W, it s already connected with Wi-Fi, can see the ifconfig() output.

Furthermore , I am using this urequests code from https://github.com/micropython/micropython-lib/blob/master/python-ecosys/urequests/urequests.py, in yesterdays test almost every thinks was working fine. When tried to update records todays received below error:

Traceback (most recent call last):
File " ...
Score: 0
screendoor avatar
HTTP and websocket on the same port and domain behind reverse proxy
cn flag

I wanted to try Node-Red and have installed it on my Ubuntu server. This server runs an apache reverse proxy but I can't get it to work right. If I create a virtualhost for the HTTP connection I can access my Node-Red interface just fine, but it doesn't show me any activity such as online MQTT servers or debug messages. After some googling I found out this is because it also uses websockets and those ha ...

Score: 0
SBO avatar
Jenkinsfile - Build only if change in a specific subdirectory, how to manage post action
co flag
SBO

Basically, we're doing trunk development here, and got tons of services under the same directory.

I have a Jenkins job that is triggered through GitHub webhook, and that will do some actions only if there's a change in a specific directory of that repo :

pipeline {
        agent any
        stages {
                stage('Building') {
                when { changeset "subdirectory/*"}
                 ...
Score: 0
XENEIZE LA BOCA LOCA 12 avatar
Active Directory Users and Computers delegated user cannot create user accounts
im flag

Windows Server 2016 Active Directory under an Organizational Unit (OU), I created a user which was delegated control to be able to create, delete and manage users, and passwords.

I logged in with this user account, but the options is missing, for example NEW TAB where one can create new users, OU's, printers etc.

If I supply administrator credentials, still signed in as this same user, I can create  ...

Score: 1
Omroth avatar
Transfer 200GB from client using Google Cloud
us flag

I have a client who wishes to transfer 200GB of sensitive data to us. I would like them to upload this data to a GCloud bucket.

What is the best way to set up an external user to have access to a single new bucket and be able to upload?

Score: 0
Fab avatar
Open VSwitch - Connect two virtual networks through two physical networks
ru flag
Fab

I managed to setup the following network configuration :

DIAGRAM OF NETWORK

  • HOST1 and HOST2 are two physical machines running Debian OS.
  • They have both two network cards (eth0 and eth1), each of them connected to two physically separated network and with different subnets.
  • OVS BR1 is an open vswitch bridge (one in each host)
  • VMx are virtual machines using vethvmx ovs port in the bridge of the host machine.
  • OVS BR1 are co ...
Score: 0
DanRan avatar
Nginx Pagespeed Module: What is "Ngx_pagespeed Slow write operation on file /usr/share/nginx/ngx_pagespeed_cache..." in error logs and how to fix?
mx flag

I am running an Ubuntu 20.04 LEMP server with the pagespeed module for Nginx in a business environment. In my /var/log/nginx/error.log I am seeing the following error:

[ngx_pagespeed 1.15.0.0-8811] Slow write operation on file /usr/share/nginx/ngx_pagespeed_cache/v3/mcmo.is/https,3A/,2Fwww.mcmo.is/wp-content/uploads/2022/05/McMo-Art-Tryclops-1-scaled.webp,.tempqfKyZe: 61.512ms; configure SlowFileLatencyUs ...
Score: 0
jimbob avatar
Can I use OpenStack Rocky with a neoverse-n1?
in flag

Situation: For now, I'm stuck on OpenStack Rocky on Ubuntu 18.04.6 and I have some beefy Neoverse-n1 hardware (aarch64, 64-core, 1TB memory) to integrate. Can I accomplish this with on my current OS cluster, or is this futile?

# qemu-system-aarch64 --version
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.41)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
# virsh --versi ...
Score: 0
wowinyou avatar
Issue with SoftEther VPN Server / Client
ru flag

We have to Locations, Germany and Sweden. We are Trying to Join AD Domains Together. The Software we are Using is SoftEther VPN Server and VPN Client. One is Windows Server 2012 Std (No R2) for Resources until September and the other is 2022 21H2. If we connect the Two Together. We receive a Timeout. I've Already Checked the Firewall. No Results. Image is from Germany (Main Location). Cascade is not an  ...

Score: 1
YuutaW Liang avatar
Linux netfilter NAT based on SNI?
cn flag

I am trying to do SNI proxying to a subnet on a router while keeping the src IP.

Background: I have a router doing DNAT to do port-forwarding for many application ports, and it is connected to a subnet (using a VPN actually) with different backends. For protocols that do NOT have something like HTTP Host or TLS SNI that can be routed to different IPs based on the request, I simply uses DNAT with  ...

Score: 0
seriously avatar
port forward with openVPN to access local machine remotely
cg flag

I have an OpenVPN server set up on my AWS Linux instance and I can successfully use the OpenVPN client to connect to the server using an .ovpn configuration file. My question is how can I set up port forwarding to access web servers hosted on my local machine using myAwsPublicIp:openedPort without having to set up forwarding rules on my router. I already tried opening the port on my AWS firewall r ...

Score: 0
leonardf2001 avatar
AWX SSH connection not establishing when running playbook
ae flag

I am trying to run my first playbook. Running AWX on CentOS8,trying to connect to remote device using SSH. On my remote device I have run ssh-genkey on my device and added the .pub key to authorized_keys file. I have also taken the .pub private key and created a credentials machine type and added the private key. Username and password are blank. I can only connect using root user to my remote device ent ...

Score: 0
RSchnell avatar
PROXMOX multiport NIC, multiple /24 private networks, multiple VMs; networking setup
jp flag

I am trying to get networking setup on my proxmox server and have the following setup:

vmbr0: 192.168.0.253/24 gw:192.168.0.1
bridged to eno1
2 VMs on this network:
VM1: 192.168.0.250/24
VM2: 192.168.0.249/24

vmbr1: 172.27.27.253/24 gw: none
bridged to eno4
1 VM on this network
VM3: 172.27.27.10/24

I can ping/surf from machines setup on the vmbr0 network.

I can ping the 172.27.27.1 router from vmb ...

Score: 1
DanRan avatar
Nginx error logs: what does "pagespeed: rollback gzip, explicit configuration in /etc/nginx/nginx.conf:151" mean, and how can I fix it to use brotli?
mx flag

I am running an Ubuntu 20.04 LEMP server with the pagespeed and brotli module for Nginx. In my /var/log/nginx/error.log I am seeing the following error:

2023/02/23 07:34:49 [info] 1553667#1553667: [ngx_pagespeed 1.15.0.0-8811] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.
2023/02/23 07:34:49 [info] 1553667#1553667: pagespeed: rollback gzip, explicit configuration in /etc/nginx/nginx. ...
Score: 1
skrat avatar
How to manage app versions with AWS ElasticBeanstalk Docker platform
in flag

So I have successfully launched an app and an environment in AWS ElasticBeanstalk, using private image repository. I can build and push new versions of my app to the repository, and then run eb deploy to have it pull and update the EC2 instances. Great!

But how can I manage versions? What if I want to rollback to some previous version of the app? In the current setup there's only really one image in the ...

Score: 0
dj423 avatar
Cloud-init installing packages on Debian with contrib sources
mn flag

I need to install some zfs packages on Debian instances using cloud-init. One of the packages needs the contrib sources. I can get it to update the sources list, but the packages fail to install. If I remove the contrib source lists, some packages install, just not the ones that need contrib. Kind of a catch 22. Has anyone had success installing zfs and all prerequisites using cloud-init?

Here  ...

Score: 0
Gregor avatar
Nginx reverse proxy only specific sub directory and pass through everything else
km flag

I have development situation where i have a domain with multiple services:

https://somewebpage.com

On this service there are multiple project as subdirectories

  • https://somewebpage.com <- landing page
  • https://somewebpage.com/api <- rest api server
  • https://somewebpage.com/app <- my app

So is it possible (and how) to setup nginx and hosts file to reverse proxy only https://somewebpage.com/a ...

Score: 0
Kasper Peeters avatar
Normal traffic stalls, wireguard traffic through same server works fine
it flag

I have a weird networking issue, possibly due to problems at my ISP or with my router (an Eero 6), which manifests itself in the following way. On a machine X connected by wire to the router R, requests to certain web sites stall (sometimes the ssh handshake completes, sometimes not, but it always stops there).

This machine X also acts as a wireguard server, and the router R forwards connections  ...

Score: 1
Mojtaba avatar
Does Nginx aio work with linux?
cc flag

We have a VOD service and we are using nginx as webserver.

Our system doesn't use nginx-vod-module instead it just has all the small m4s files for a dash stream.

I came across this article(Thread Pools in NGINX Boost Performance 9x) by Valentin Bartenev.

It says that enabling aio in nginx might be a good solution for reducing io wait and load.

but it says:

A good example here is FreeBSD. Unfortuna ...

Score: -1
DanRan avatar
what the meaning of "logpath = %(nginx_error_log)s" in fail2ban jail log path?
mx flag

I am running fail2ban on Ubuntu 20.04 server, and am looking over some of the default jails. In [nginx-http-auth] the default log path shows as logpath = %(nginx_error_log)s. What exactly does %(nginx_error_log)s mean in fail2ban, and how does it articulate a log path for nginx logs in fail2ban? The same question goes for the default [sshd] jail log path and backend which has:

logpath = %(sshd_log)s ...

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.