Latest Server related questions

Score: 0
Duy Vu avatar
HAPROXY: How to ensure all clients are connected to one server only?
ye flag

I have 3 servers setup: 1 primary, 2 backups. I used the following configuration:

backend pg_production_backend
    option pgsql-check user pg_user
    server primary pghost.primary:5432 check on-marked-down shutdown-sessions on-marked-up shutdown-backup-sessions
    server secondary pghost.secondary:5432 check backup on-marked-down shutdown-sessions on-marked-up shutdown-backup-sessions
    serve ...
Score: 0
manwithamission avatar
OpenDKIM & OpenDMARC on SLES 15 SP2
np flag

Hello is it possible to install OpenDKIM & OpenDMARC on SLES 15 SP2 through the default repository of OpenSUSE?

Score: -1
Alonso Espinosa de los Leal avatar
Can't go to routes using nginx and Express.JS
lt flag

So I have express.js set up behind nginx and when I go to website.com/users, I get a 404. But when I go to website.com, the page loads fine. This appears to be all other routes too, I can't get to website.com/public/css either. Here's my nginx config.

The weird part is on localhost it works perfect, also on a Lambda on AWS. Only it fails on DigitalOcean Droptlet (Ubuntu 20)

I have the express runnin ...

Score: 0
Talha5389 avatar
UAC elevation via Local Admin "pin auth" not present for Azure AD Joined Windows 11
us flag

Is there any way to elevate via local admin pin in UAC prompt for non-admin Azure AD user on Windows joined to Azure Active Directory by making a change in group policy or registry to achieve desired behavior

If I login into Windows 11 using local or Microsoft account with "Standard" user and have a local admin present with Pin sign-in configured, then in UAC prompts for "Standard" user I can elevat ...

Score: -1
Pavan Gutha avatar
I want to Migrate a Route 53 registered domain and Public hosted zones from one aws account to another across different organization
al flag

I want to migrate a Route 53 registered domain and public hosted zones from one AWS account to another. Both accounts are managed by separate organisations. Will there be any difficulties in doing so? Can someone advise me on the best way to accomplish this?

I have a proper plan in place to move a domain and host zone from one AWS account to another. But the issue here is that we recently made a  ...

Score: 0
Anish G. avatar
Apache 2.4 unixgroup authentication not working
tr flag

Require unix-group is not working for me when configuring the VirtualHost for my Apache server. Whenever I log in using pwauth, the server still authenticates users who are not members of the group that I specify. The attempted changes to /etc/apache2/sites-enabled/000-default.conf can be shown below:

<VirtualHost *:80>
    ServerAdmin ratman@localhost
    DocumentRoot /var/www/aperture-apache-se ...
Score: 1
SSH hangs even after enabling ServerAliveInterval
cl flag
Luc

Basically the same question as ssh hangs even after putting ServerAliveInterval 60, except I checked that the configuration is being used:

$ man 5 ssh_config | grep -A1 '^\s*ServerAliveInterval'
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server.

$ cat ~/.ssh/co ...
Score: -1
Marc avatar
How can I keep network routing internal?
cn flag

I have a web server behind Nginx reverse proxy. When I access the server with a client from the same internal network via its secure URL, how can I ensure the traffic routing stays within the internal network. It makes no sense in my view for traffic to go outside, travel through public internet and and come back into the internal network.

Score: 1
Richard Keller avatar
Routing 2 public IP ranges on 2 bridges
jp flag

I've set up a new Proxmox 8 server, and I'm struggling to get my networking set up correctly. A normal bridge interface with a single IP range is easy enough, but I can't seem to get my 2 IP ranges to route correctly when using 2 bridges.

Background:

  • The Proxmox host has a single physical interface, eno1, which plugs directly into my hosting provider's switch
  • My hosting provider has given me 2 IP rang ...
Score: 2
Jonathan Potter avatar
Why is UFW blocking this connection?
ug flag

I have a problem with a user who is unable to access a Ubuntu 22.04 webserver (he gets ERR_CONNECTION_RESET), apparently due to the firewall blocking his connections. However he IS able to access a different server on the same network, which has practically the same firewall configuration.

We have no other reports of a similar problem. Fail2ban is not installed. No IP specific rules are configure ...

Score: 0
Prabhash avatar
Site redirection of recently acquired domains works fine from external network but fails inside internal network
es flag

We have recently acquired 04 domains and configured 301 site redirection for those sites to our company site and it works fine from external network. However, the redirection doesn't work from inside corporate network.

The new domains resolve to the same IP address from both external & internal network. Example;

a.com - 209.17.xxx.xxx

a-a.com - 209.17.xxx.xxx

b.com - 209.17.xxx.xxx

b-b.com - 20 ...

Score: 0
jrd1989 avatar
Azure RHEL 8 VM - Apache 2.4 Package Availabilty
cn flag

I've got a RHEL 8.8 instance in Azure. This instance will replace our current RHEL 7.9 instance running Apache 2.4.34. The RHEL 7.9 instance has the following httpd package installed: httpd24-httpd. The following apache packages are also available for install - httpd and httpd24.

On my RHEL 8 instance if I do a yum search or yum info on httpd the httpd package (version 2.4.37) is returned. If I do a  ...

Score: 0
git: checking merge conflicts WITHOUT actually doing the merge
bd flag

Can't find the answer to this precise question via googling.

I do normal merge, say git merge origin/master. Say some conflicts are created.

I do not want that. I would like to just check, see the possible conflicts, in terms of files, commits, and diffs without starting the merge process.

Sure, I can do git reset --hard. Rather drastic for just seeing potential conflicts.

Score: 0
Jeffrey Bowers avatar
How Do I Make DNS Requests to An Internal DNS Server for Site That Was Previously Hosted On Prem Route To A Site Off-Prem With A Diff URL?
ly flag

This is embarrassing, but I'm hoping the hive can point me somewhere on this one.

I've got a domain that until recently pointed to an internally hosted site. Almost immediately prior to my taking over this position, that site was moved to managed hosting and given a new domain name (actually moved to a subpage on a different domain).

Here is my problem: Anyone using our internal DNS cannot get to th ...

Score: 0
Michael Cab avatar
/grub/i386-pc/normal.mod not found with special condition
za flag

I updated my ubuntu server from 18.04 to 20.04 and reboot. after reboot I fall in grub rescue. in the (hd0,gpt2) there are some directories include grub. in grub there is i386-pc and in the i386-pc all grub module, include normal.mod exist. but all the files has a '-' as their last characters. so when I type insmod normal, it gives me error that file not found. how can I solve the problem?enter image description here

Score: 1
nischeruku avatar
ssh port forward connects to bastion instead of remote server
bh flag

I am facing an issue when I try to connect to remote machine (which is behind bastion host) via ssh local port forwarding. I am looking for the connection flow: my laptop --> Bastion host --> Remote server.

The command I use is: ssh -L local port:remote server:remote port username@bastionhost:bastionport

The above command works but I am connected to bastion host instead of remote server. I di ...

Score: 0
user1749264 avatar
PXE Boot ESXi 8 on Intel NUC 12
cn flag

Hi I'm trying to setup a small home lab using VMWare. I'm trying to PXE boot ESXi-8 using kea for dhcp and tftp. I see my target host receiving a IP from kea but it does not seem to be picking up the ISO to begin installation.

The target host is a Intel NUC 12, in the BIOS I have the following. Boot Option 1 -> UEFI PXE IPv4 Network Boot -> UEFI PXE and iScsi All Secure boot and security ha ...

Score: 0
Gor Barseghyan avatar
Virtual machine static ip doesnt work
uz flag

I have created vps private Ubuntu server on virtual machine. Then I have deploy my app on it with static ip 192.168.56.101. Everything is working, when I open it on my local machine, but when I try to access it with my mobile phone browser, it doesn't load . What I'm doing wrong?

Score: 0
Rodrigo Osvaldo Grijalva López avatar
Allow connections to postgres container from other containers, but no outside machines

Using postgres 14 or 15 as a docker container, with a port in the host bind to the 5432 port of the container, with the following configuration in the pg_hba.conf file

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all  ...
Score: 0
Windows Defender Anti-Malware / Anti-Virus Does Not Reliably Update
us flag

Problem: Windows Domain environment with Windows 10 workstations that will not reliably update Windows Defender.

I use ACAS to scan my environment weekly, and every week at least a few of these workstations will report that they have not updated their definitions or signatures in more than one day (more than one day being what the plugin checks for). Sometimes definitions can be a week or more  ...

Score: 0
Tikhon avatar
Why am I not able to revoke GraphAPI Permissions in Graph Explorer Sandbox?
za flag

When I go to https://developer.microsoft.com/en-us/graph/graph-explorer and log in with my Azure account, I cannot revoke access to mail.send:

enter image description here

And am presented with this message:

"You require Directory.Read.All and DelegatedPermissionGrant.ReadWrite.All to be able to revoke consent to permissions"

enter image description here

So I granted access here:

enter image description here

And Here:

enter image description here

However it appears that Admin Consent is required and I am not ...

Score: 0
OpenVPN static IP and reserve it
us flag

I build OpenVPN server, and topology subnet config is used. I also want to assign static IPs to specific user. My question is how to keep this static IP from being given out to the rest of the users on the server. Say, the server setup is like that:

server 10.3.18.0 255.255.255.0
route-gateway 10.3.18.1
topology subnet
client-config-dir /etc/openvpn/client

then I put the following to /etc/openvpn/cl ...

Score: 0
How do I tell what changes did the group policy made?
ve flag
Tim

I have a situation where someone within a client's SecOps team made a GPO change but is not fessing up to it because it caused a pretty big outage.

From the Windows Event Logs on the affected server, I can see logs saying before and after the incident:

The Group Policy settings for the computer were processed successfully. New settings from 4 Group Policy objects were detected and applied.

Assuming the p ...

Score: 1
Colin Liew avatar
Debian Bookworm Preseeding MD5 Checksum error
pm flag

I have tried everything I can think of and different ways of calculating the MD5 but everytime the install comes back with Checksum does not match. Can anyone help me?

This is my txt.cfg. The checksum I've got for the preseed.cfg below it is c5894cd5c7279e7dbb930fcf99a35e1f.

    menu label ^Install
    kernel /install.amd/vmlinuz
    append vga=788 initrd=/install.amd/initrd.gz preseed/file=install/pr ...
Score: 1
Haproxy blocking more TCP requests than expected
rs flag

In short HAproxy is blocking my TCP requests while I expect not to be and found nothing in logs.

Here the interesting part of my haproxy file :

global
        log /dev/log    local0 debug
        log /dev/log    local1 debug
        chroot /var/lib/haproxy
        user haproxy
        group haproxy
        daemon

        # Default SSL material locations
        ca-base /etc/ssl/certs
        crt-base ...
Score: -1
Garnet avatar
How can I configure additional domain on the existing network
jo flag

I have a Server machine running Windows Server 2003 on the existing network with its own domain. We have bought a new Server machine and Windows Server 2022 and want to create a new domain for this new server and run it on the same network. The old Administrator of Server 2003 should not have access to the new Server 2022

Score: 0
Kaspacainoombro avatar
Apache2.4 mod_sed, how to use a variable in OutputSed
bf flag

Apache2.4, mod_sed

I am trying to use a variable instead of static text to make a sed command.

SetEnv MY_VAR TESTING
OutputSed "s|TEXT_TO_SEARCH|%{ENV:MY_VAR}|g"

But the TEXT_TO_SEARCH is replaced with the literal text %{ENV:MY_VAR}. How can i use the variable? Thank you.

Score: 0
OpenVPN - Problems routing between clients in different subnets
us flag

I've been searching for many hours to try and solve a problem I am facing, but with no luck.

I have an OpenVPN (CentOS 7) setup consisting of a VPN server and clients, some of which are in different subnets with access controlled using iptables. A Windows server also connects to the OpenVPN server, and users need to connect over their tunnels to it. I have tried various combinations of config fil ...

Score: 1
rookie099 avatar
Can ADFS groups be referred to as both DOMAIN\groupname and groupname@DOMAIN?
dk flag

Does the near-equivalence between DOMAIN\username and username@DOMAIN only hold for users or also for groups? In particular, can ADFS clients that request groups as claims with option Token-Groups - Qualified by Long Domain Name assume that the format for each entry will be DOMAIN\groupname, or do they have to accommodate both styles?

Score: 0
ondrej5834 avatar
runas become returns Win32ErrorCode 1314: A required privilege is not held by the client
gs flag

and thanks in advance for reading and support.
I keep running into the error mentioned in title when using runas as become method from my Ansible controller towards Win10 Pro 22H2 host. I did my research on various forum resources, but none of them solved my case.

Is someone able to tell me what I am doing wrong? I am providing info about my lab setup below.
Many thanks in advance;

Output from ansible  ...

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.