Latest Server related questions

Score: -1
NickNerd avatar
How to connect to device on external network
sj flag

I'm trying to find a good way to remote connect to devices for work. The devices in question require that you are on the same network and then connect to them through your browser by searching for that specific units IP address. As things are currently we have to go on-site to connect to these devices to fault check and download maintenance reports, but would really like to be able to do this from offic ...

Score: 0
Shaamaan avatar
Network share with an untrusted domain
ru flag

We have a network share on a Windows Server 2022 which hosts a number of both "production" files as well as development files. We have two domains - a prod domain (ex. "prod.local") and a dev domain ("dev.local").

Some folders have been set up with "Everyone" access and, while a trust relationship was present between the prod and dev domains, dev users had read-only access to the shares, as expec ...

Score: 0
Mike avatar
nginx-ingress controller redirect with query parameter with a period in it
br flag

I have the following url I want to redirect to another hostname but also change the query parameters if possible.

It's basically change a url for prometheus to work in grafana. So the prometheus url is

https://prom-to-grafana.foobar.com/graph?g0.expr=vector(1)&g0.range_input=1h&g0.tab=0

I need to extrace the g0.expr to use it in the following

https://grafana.foobar.com/explore?orgId=1&amp ...
Score: 1
csom linux avatar
Samba & LDAP: did not correctly init (error was NT_STATUS_NO_MEMORY)
bh flag

I am trying to configure Samba to authenticate with a new ldap domain. In the logs I am seeing the following error:

pdb backend ldapsam:ldaps: did not correctly init (error was NT_STATUS_NO_MEMORY).

I have enabled verbose logging to try to get more information.

What does (error was NT_STATUS_NO_MEMORY) mean? Is it an issue on the Samba server or the Ldap server?

Thank you.

Score: 0
kramnitsuj avatar
accel-ppp add Domain-Name RADIUS attribute in Access-Request packets
ro flag

Anyone here has experience in accel-ppp. My goal is I want to include the Domain-Name RADIUS attribute in User-Name attribute when accel-ppp sends Access-Request packets to RADIUS server. Example, User-Name@Domain-Name, anyone here tried same thing?

Thanks.

Score: 0
Chris Halcrow avatar
What is meant by 'main' level of NGINX configuration for debug configuration purposes?
ls flag

The NGINX documentation on configuring debug logging refers to a 'main' level of the config e.g. on the following page:

https://docs.nginx.com/nginx/admin-guide/monitoring/debugging/#enabling-debug-logging-in-nginx-configuration

It is recommended enabling the debugging log on the ”main“ level of NGINX configuration to get the full picture of what’s going on.

What exactly is the 'main' section?  ...

Score: 4
W Lucking avatar
Windows server cluster shared volume (CSV) does not allocate full configured cache size
br flag

I have a Windows Server S2D cluster with five nodes. I have configured a 51GB CSV cache. However, after several days the server won't allocate more than about 1.5GB. I briefly saw 1.6GB. Why is the server not utilizing the available memory?

My guess is that entry time to live is quite short and instead of the cache extending the time to live to allow for the maximum utilization of the availab ...

Score: 0
zbro avatar
Ubuntu server installation on headless server: stuck
us flag

I am trying to install Ubuntu 22 - server on a headless server. It doesn't even have VGA/HDMI output. So I have prepared a usb stick with ubuntu installer. I am connecting via RS232. Once I get to grub, and choose Install Ubuntu option, the machine freezes. I tried adding nomodeset and gfxpayload=text but it just doesn't work. I've been running ubuntu on that machine before, so it's not a matter of hardwa ...

Score: 0
Богдан Тимофеев avatar
How to open Openshift route on macOS?

I have installed Openshift CRC on my M1 Macbook using this instruction https://crc.dev/crc/getting_started/getting_started/installing/. Version is OpenShift 4.13.6

I was able to create a simple deployment config for Java Spring Application by using Import from Git option and Builder Image import strategy (openjdk-8-ubi8). After that application was successfully deployed and I've got a route for i ...

Score: 1
Vaito avatar
Troubleshooting Apache with GSS Proxy Authentication and LDAP Authorization
in flag

I'm setting up an internal web server on a domain-joined RHEL server with Kerberos authentication via GSS proxy and tiered authorization with LDAP, where Active Directory is the source of truth. Kerberos and the authentication piece is working fine, but I cannot get authorization working and I'm out of ideas.

Here's the directory configuration:

<Directory /var/www/nietools.elsinor.net/html/>
    ...
Score: 0
Laravel, nginx, Docker, PHP - Load Test, Very Unsatisfactory Results
vn flag

We are creating two servers in Hetzner (https://www.hetzner.com/cloud).

Parmeters of both: CPX51 - vCPU 16 AMD, RAM 32 GB.

On one server with Ubuntu 22.04 we install Docker and run the PHP application Laravel + nginx on it. The nginx image is https://serversideup.net/open-source/docker-php/.

On the other one we install the Artillery application (https://www.artillery.io)

Our test scenario

config: ...
Score: 4
user1861857 avatar
Will changing my DNS A record have an impact on my emails?
eh flag

I have a domain name with godaddy, which also provides email via a Microsoft Business 365 plan. My website is hosted on Wix.com. The domain name points to my website via pointing meaning that I did not change the nameservers on godaddy. For personal reasons, I need to move away from Wix and I do not want to transfer my domain name or emails to another web host.

If I change the DNS A record to my  ...

Score: 1
Pouya Babaie avatar
PPPOE connecting in debian
mh flag

a network has a pppoe VPN connection and after i searched how to enable it ,i reached the command pppoeconf , when i used it , it showed me for enabling and disabling the vpn via command : sudo pon dsl-provider and for disabling it : sudo poff , but i lost my regular connection after i disable it.

Wired Connection Status

as you can see my LAN icon is kind of lost and i don't know anything in deta ...

Score: 1
Oleg Pawson avatar
Route outgoing packets from VM to GRE tunnel from which income packets came from? (TCP flows)
ai flag

We have a network infrastructure with Anycast IPs on edge servers in multiple countries, those servers encapsulate traffic in GRE tunnels to endpoint nodes with virtual machines

Currently we route all TX to default route with one of our EDGEs, but assymetry and poor RTT sometimes is bad for us.

(example: outgoing TCP SYN packet going to default route (EDGE ams-1), incoming TCP SYN/ACK comes from EDG ...

Score: 0
tristesse11 avatar
how to set up eat /etc/pam.d/radiusd file to authenticate a user with his username, password and Google Authenticator token. Using Freeradius for 2FA
td flag

i have a problem about configuring the “/etc/pam.d/radiusd” file. I am working on a Linux Debian System. rn this is my configuration:

auth requisite pam_google_authenticator.so forward_pass
auth required pam_unix.so use_first_pass
account required pam_unix.so audit
account required pam_permit.so

the goal is at the end, users just type their username, password and the google token. (this information ...

Score: 1
shagrat861 avatar
OpenSSL issue with Rancher/Kubernetes cluster on RHEL 8
qa flag

So we are working on setting up a big Rancher/Kubernetes cluster on a bunch of RHEL 8 servers. We have everything installed and have Rancher running on a 3 node cluster behind a load balancer. The issue we are running into is enrolling the other nodes for the worker processes into rancher.

Every time we try and enroll them, we are getting an error when we run the enrollment command:

OpenSSL/1.1.1l-fips: ...

Score: 0
Jason C avatar
Error Installing Memcached with Plesk Ubuntu Server
br flag

We are working on getting a new Ubuntu Plesk server running with memcached and keep running into errors when setting it up for PHP.

Using the instructions from Plesk we run the following successfully:

apt install memcached autoconf automake gcc libmemcached-dev libhashkit-dev pkg-config plesk-php*-dev zlib1g-dev make

But we run into an issue once we try to install the PHP extension (in our case fo ...

Score: 2
Lumi avatar
Apache GZIP for images - any reason?
pl flag

JPEG, GIF, PNG and WEBP images are already compressed. Is there any reason to serve them up using GZIP compression, regardless of whether or not the client says it may accept GZIP compression?

curl -H "Accept-Encoding: gzip" -I ^
 https://www.nps.gov/articles/000/images/LATP_Article_TheCalutronGirls.jpg

This HEAD request produces the following headers:

HTTP/1.1 200 OK
Content-Type: image/jpeg
… ...
Score: 1
simonalexander2005 avatar
Activation Specification batching MDB processing
eg flag

I have an MQ topic with messages that expire after 2 hours. There are thousands of messages on the topic at a given time.

I am using an MDB and an Activation Specification in Websphere to process the messages. The activation spec has multiple instances configured, so that it can process the messages in parallel.

Websphere appears to be reading the messages in batches, every 5 seconds, which looks li ...

Score: 0
Wadjet avatar
Restrict access to a Prometheus server in AKS can only be achieved with nginx-ingress?
gm flag

Prometheus server with its respective Loadbalancer in AKS.

I wanted to secure the access to /metrics through network rules...but it doesn't work. I can still acess to the endpoint with any device.

  az network nsg rule create \
    --resource-group $AKS_RESOURCE_GROUP \
    --nsg-name $AKS_NSG \
    --name DenyAcess \
    --access Deny \
    --protocol Tcp \
    --direction Inbound \
    --priority 52 ...
Score: 0
ben avatar
Strongwan S2S VPN to Fortinet
by flag
ben

I want to hide my local hosted server behind a public VPS. So i established a VPN between my local firewall(fortinet) and my vps(strongswan). Diagram

The VPN is up but no traffic at all. Even in tcpdump i can't see any traffic coming from the tunnel in both directions.

VPS:

  • 92.x.x.x on ens6 (srv1.domain.net)
  • 10.200.0.25/29 on ens6:1 (alias IP on Networkdevice with "ip addr add")

Home:

  • dynamic IP -& ...
Score: 0
lucas auscher avatar
USRP N210 on a vmware debian machine, connecting via an ethenet to USB adapter
kh flag

For a professional project, I must fully automate a process which involves a GNURadio python flow played on an USRP N210. In order to acess the USRP, I installed a VMWare Debian machine on a Windows Computer (I need windows in order to acess another Electronic Device) However my computer has no ethernet port, so I plugged the ethernet cable coming from the USRP the adapter setup (it is an USRP from Et ...

Score: 0
Nicholas Heitz avatar
Google Cloud Managed Instance Group cannot be deleted and Autoscaler cannot be modified
sv flag

The title basically encapsulates the problem.

After attempting to automate scaling a region-based managed instance group on google cloud platform, the MIG seems to have gotten itself into an inconsistent state that hasn't cleared after 3 days. When I attempt modify the autoscaler, using either the stable or beta CLI:

~ $ gcloud beta compute instance-groups managed update-autoscaling instance-group-1 - ...
Score: 0
Berkay Demirci avatar
Choosing batman-adv interface based on port
by flag

I am working on a set up where I have bat0 and bat1 batman -adv networks. When non-mesh clients send packets on a certain port number, I want the connected node to be able to choose bat1 instead of bat0 for those packets. I managed to make this work by using ip rule and ip route and without bridging bat0 and bat1 to ethernet but I want something like this to work with all possible non-mesh clients conne ...

Score: 3
Bruce Skingle avatar
Unable to format drives previously used in RAID array - weird 15bit mode
co flag

I am clearing out a load of old hard disks, and reformatting them to ensure they are blank. I previously had an x86 PC with BIOS RAID running Fedora and several sets of 4 drives which IIRC were RAID 0+1 arrays, in various sizes inc 40Gb and 500Gb. That machine is dead and I cannot boot it.

All of these drives, and none of the others cannot be formatted.

I have disposed of most of my old PCs and all  ...

Score: 1
a-kodez avatar
Unable to create a Linux bridge with a VLAN interface on Fedora
id flag

I'm trying to set up a Linux bridge that includes a VLAN interface on my Fedora system. My goal is to use this bridge with virt-manager to create multiple VMs, each with an interface in the bridge that can communicate on a specific VLAN (VLAN ID 12).

My physical interface is enp5s0, and I've created a VLAN interface enp5s0.12 for VLAN ID 12. I'm using NetworkManager and the nmcli command to manag ...

Score: 1
Faisal Alam avatar
Can't authorise commands via tacacs+ server executed in shell by ssh
ru flag

I've setup a tacacs+ server and a PAM tacacs client from here- https://github.com/kravietz/pam_tacplus/tree/main.

When user ssh into the tacacs client machine, I want authentication from tacacs+ server and allow execution of only those commands in shell which are allowed in the tacacs+ server config.

Authentication works but I can't get shell commands authorisation to work.

What changes would I h ...

Score: 0
xinit avatar
Removing packages from a local, apt-mirror based repo
dj flag

I currently have local repo installed using apt-mirror as was described in linuxtechi website. It has deb-amd64 data of 2 versions of Ubuntu, namely, 20.04 and 22.04. Now I would like to support only 22.04 and remove the 20.04 only data with minimal effort. Is there a smart way to do this? I do not mind downloading the entire data again, if necessary, but do not wish to do the set up again. And if it ...

Score: 1
Josef Glatz avatar
Write a variable with multiline content into an yml file but keep it as-is
fr flag

The task: what works/what not

Replacing/adding one-liners is working as expected

A file sentry/config.yml has the following line(s)

# ...
# github-app.webhook-secret: 'GITHUB_WEBHOOK_SECRET' # Use only if configured in GitHub
# github-app.client-id: 'GITHUB_CLIENT_ID'
# github-app.client-secret: 'GITHUB_CLIENT_SECRET'
# github-app.private-key: |
#   -----BEGIN RSA PRIVATE KEY-----
#   privatekeypri ...
Score: 0
Ken Y-N avatar
AppArmor rule to allow QEMU to create a char device socket in a directory
in flag

Given the following command line for QEMU (from this page):

qemu-system-x86_64 -machine accel=kvm -cpu host \
    -m $mem -object memory-backend-file,id=mem,size=$mem,mem-path=/dev/hugepages,share=on \
            -mem-prealloc -numa node,memdev=mem \
    -chardev socket,id=char1,path=/tmp/sock0,server=on

With a default install of Ubuntu 22.04 I get this error:

[12264.014241] audit: type=1400 audit(16 ...

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.