Latest Server related questions

Score: 0
somedude avatar
nginx reverse proxy gives 400 when defining location
se flag

I want to create a reverse proxy to access my ip camera (10.10.10.31). But for some reason when I try to change my location from "/" to "/cam1" I get a 400 bad request. I can see it is trying to acces 10.10.10.31/cam1 but that does not exist.

How can I make it possible to go to someWebsite/cam1 and then get redirected to 10.10.10.31/

This works:

server {
    listen 50000;
    server_name someWebsite;

 ...
Score: -1
Mike Muffin avatar
How does Windows recognize the Ethernet Networkname?
ni flag

I try to understand, how Windows recognize the correct LAN\Ethernet Networkname shown on the Network Tray Icon or in the Network Settings.

On the DHCP Server the "015 DNS Domain Name Option" is set to: MySubDomain.MyDomain.intra, but the Network on Windows will be recogized as "MyDomain.intra" and not MySubDomain.MyDomain.intra. In the IPConfig it shows also the "Primary Dns Suffix" as "MySubDoma ...

Score: 0
RobGTX avatar
Installing Ubuntu/Debian on a running remote server (Without BIOS Access and Live CD)
dm flag

Currently I have this case, I have a dedicated server that has several attached disks, one of them a 350GB SSD and a 2TB HDD.

The 350GB disk is covering the entire /root partition so I need to reduce that partition to only 30GB and leave the remaining free for other purposes.

I can only access the server via SSH and the only other option is to enter rescue mode with GRML.

I tried to install Debian with ...

Score: 0
Craig avatar
HP Proliant DL380 gen9 SATA drives
st flag

Considering buying this server. It has 16GB RAM, two 300GB SAS drives, and two Xeon E5-2640v4 processors. It appears that the backplane is capable of either SAS or SATA drives and I was hoping someone would confirm that for me. I have checked HP support for this model and it seems to say that is the case. However what I am not sure of is whether the backplane in the unit had this capability or whether  ...

Score: 1
Can't Remote Manage Hyper-V
cn flag

Hyper-V installed on my Server 2019 machine. I have a VM setup on it without a problem. I have my admin account in the Server Administrators and the Hyper-V administrators group. Hyper V Service is running. On my Windows 11 and my Windows 10 machines I run Hyper V console as admin and I go to connect to server and connect with the same account. It gives me the message:

An error occurred while attemptin ...

Score: -1
Daniel Marschall avatar
OpenVPN changes DNS settings in Windows Server
cn flag

On my Windows Server 2022 Standard, I have two network adapters.

  1. The physical network card, which has IP 10.0.22.10/24
  2. The OpenVPN virtual WinTun adapter, which has IP 10.0.30.1/24

Note that I am using the netmask 255.255.255.0, not 255.0.0.0.

Beside OpenVPN, the server has the roles DHCP, DNS, and ActiveDirectory.

As soon as someone connects to OpenVPN, then the WinTun adapter will get IP 10.0.30.1. Th ...

Score: 8
Rich Remer avatar
SAN certificate with URI fragment
in flag

I need to generate a TLS certificate with a SAN URI where the URI has a fragment (has a hash '#'). But when I try to generate a certificate using openssl, the fragment gets stripped.

# generate key and CSR for client certificate
openssl req -nodes -new -keyout me.key -out me.csr -subj "/O=Acme/CN=me"

# sign cert
openssl x509 -req -in me.csr -CA My-CA.crt -CAkey My-CA.key -set_serial 01 -out me.cr ...
Score: 0
ccc_cdxxb avatar
Exchange 2019 - Issues with Outlook for Mac Syncing
pl flag

We've recently run into an issue that we cannot identify a resolution to. We have a single Mac (Ventura) user in our domain that connects Outlook for Mac to our Exchange 2019. The client was originally Microsoft Office for Mac 2021 LTSC but is now the O365 version.

The problem is the client will only sync mail every 30 minutes no matter what we try. It can be manually synced with Send/Receive  ...

Score: 0
SkwalExe avatar
Setting up iRedmail in parallele with web server
za flag

I already have a web server installed with nginx, and I can access it by visiting https://skwal.net/

I would like to access iRedMail applications under https://skwal.net/mail/(iredadmin for example)

Here is what I tried :

server { 
    listen 8080;
    server_name skwal.net;
    return 301 https://$server_name$request_uri;
}

server {
    listen 8443 ssl;
    server_name skwal.net;

    error_page 5 ...
Score: 0
Mach avatar
How do I fix amdgpu and amdgpu-dkms packages not installing?
tl flag

I'm trying to install the amdgpu package and it throws a bunch of errors:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dctrl-tools dh-dkms libcfitsio9 libgdal31 libmpdec3 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mo ...
Score: 0
agiAWjoa0za avatar
Remove "lspci" devices from guest VM - possibilities and limitations
ng flag

Prerequesites: some RedHat KVM hypevisor and Ubuntu server as guest.

So, I'm worryng about virtual pci devices, connected to my Linux VM (on VPS) by default. One of them is VGA device which lets anyone to access my VM directly via VNC (possibly vulnerability because of it's shared in control web panel via JS libraries, you know and of course, hosting provider can get access via hypervisor - I don ...

Score: 0
Dillon's dcron SYNC and ASYNC
dk flag

The specific question for cron using Dillon's minimalist cron version is:

How to create a cron job that runs every first Friday of the month, in ASYNC mode?


Dillon's cron attempts to mix synchronous cron (the traditional) and asynchronous (anacron style) in a single daemon.

The idea is great, but the execution not so much, as one needs to read attentively what makes a cron entry SYNC or ASYNC. (It ...

Score: 0
Kavishka Gihan avatar
mod-security replace characters in POST body
zm flag

I want to replace all the non-alphanumerical characters in the request body (not in the parameters themselves, but their values) with nothing using mod-security. For example:

# Initial request
param-1=val@@#ue1&param-2=value{^%2 

# Changed request
param-1=value1&param-2=value2 

Tried this method including some other common ways I found, but none of them seems to be the way to get this to wo ...

Score: 5
JamieB avatar
iptables: DROP on an interface does nothing, but works if I don't specify an interface
uz flag

Setup:

Ubuntu 20.04 on a box with 5 physical ethernet ports (let's call them eth1 - eth5).

I have joined them all to a bridge ("br0") with brctl and they can all ping each other.

What I'm trying to do: allow eth2 - eth5 to all continue chatting freely with each other while limiting what can come in via eth1. (Ultimately eth1 will be the "outside connection" for specific inbound traffic while the other  ...

Score: 0
Falken avatar
AWS (SES + API Gateway) + HTML Form fails. Error is: InvalidParameterValue: Missing final '@domain'
kg flag

I'm trying to set up a contact form on my site, I feel I am close but there is something funky going on with the source address value. I'm passing the data as URL encoded instead of multipart as I only need some text.

Contact form:

<form id='contact-form'>
  <label for='replyTo'>Email</label>
  <input name='replyTo' id='replyTo' type='email' autocomplete='email' required>
  &lt ...
Score: 0
Richard Askew avatar
REQENV and SETIF If statement isn't evaluating correctly
in flag

....or it is and I've missed something.

So I have a website that can only be accessed via certain IPs. A new development is that I want some of the pages on the site to be open and freely available to everyone regardless of IP - lets say www.mywebsite/opendir/coolstuff and www.mywebsite/opendir/morecoolstuff

To that end I have the following in my .htaccess:

RewriteEngine On
RewriteRule .* - [E=REQUEST_UR ...
Score: -1
boog avatar
Anybody familiar with the Shoretel database?
kz flag

I have a copy of the local db from our old shoretel voip system... which is no longer in service. I've been tasked with trying to locate information pertaining to calls to and from specific numbers over the past year or so.

Wondering if anybody is familiar with the schema of this database and which tables I might be able to query to find call info. I had done some investigation and read that ther ...

Score: 0
BenjiHare avatar
Struggling to deploy files to %appdata% subfolders with GPO
ar flag

I have a few minor MSOffice projects which require files to exist in various subfolders of %appdata%, and I'm trying to deploy these to a test OU but have been unable to push the files to their respective folders in the test group.

The files exist in

\\svr01.company.internal\shared\test

I created GPOs to push these out to

%appdata%\Local\Microsoft\Office, %appdata%\Roaming\Microsoft\Outlook, a ...

Score: 0
totabank avatar
Can't enable ssl on windows apache24
ec flag

So, i've already sucessfully installed ssl certificates in apache virtual hosts (2 websites) but i'm unable to access them because every time I activate SSL in httpd.conf apache service wont start

</IfModule>

# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random eq ...
Score: 0
Ninh Pham avatar
GKE pods unable to resolve Cloud DNS CNAME record and unable to connect to services outside vpc
er flag

Currently I have a GKE and GCE setup in the same VPC and for some reason I'm able to resolve the CNAME record in Cloud DNS as well as connect to that service from the GCE (the service locate in AWS and we already have a VPN between those 2 VPCs). But when I do the same on a pod in GKE , it unable to resolve CNAME record, it still able to resolve A record just fine. And also it unable to connect to that  ...

Score: 0
Docmur avatar
Windows Server 2022 - IIS - FTP Sites / FTP Publishing
cw flag

Good Day

I have two Windows Server 2022 Data Centre VM's in Azure. I'm attempting to set them up as IIS servers, so I can host a bunch of ASP.Net sites. They'll be setup to load balance, so if one goes off-line we'll be fine. I've set them up with ASP.Net, IIS and importantly FTP Server. I've configured the sites, but can't get a stable “always-on” FTP connection.

No matter what I change, to ...

Score: 0
EK0 avatar
crontab job output not generating email
zw flag
EK0

I have been running many cron jobs (on various operating systems, CentOS, for example) that normally run with no output. I usually keep an eye on my jobs by checking my email. I use the fact that any errors will generate output as a simple monitoring mechanism, because any output will show up as an email. No email means everything is running as expected.

After installing a new machine with Roc ...

Score: 0
redpy avatar
Find to exclude the snapthost directory in SLES 15
us flag

I am searching for the executable file name pxe using the command

find / -type f -executable -print | grep pxe$

and this works fine in RHEL, but in SLES the snapshot directory messses up the search. How to exclude the snapshot directory in my search.

I have tried these combination but did work.

localhost:~ # find / -type f -executable -print | grep pxe$
find: File system loop detected; ‘/.snapshot ...
Score: 1
Lázár Zsolt avatar
SSH - Getting 'Broken pipe' error when trying to configure multi-hop connection
in flag

I have two SSH servers: ServerA that supports key-based authentication, and is accessible from my workstation, and ServerB that only supports password-based auth, and can only be accessed from ServerA. My goal is to SSH into ServerB from my workstation, but I'm getting a very useless error. Here's my ~/.ssh/config file:

Host ServerA
    HostName 10.8.0.1
    User ubuntu
    Port 22
    IdentityFile ~\.ssh ...
Score: 0
esel avatar
How to install Linux distro on Windows Server 2019 and WSL version 1
cn flag

I am trying to use WSL on a server with Windows Server 2019 (Version 1809). I enabled the WSL feature and can execute the wsl command in powershell.

PS C:\Users\user> wsl
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore

It seems that the Microsoft Store Desktop App is not supported by this version of W ...

Score: 0
Itais avatar
Port Mapping - Dell FX2s Chassis with Cisco Nexus\FEX Switches
in flag

having some trouble with doing remote port mapping with dell FX2s chassis and fc430 blades\sleds. the goal is to figure out what are the ports in nexus switches\cisco fex that the dell chassis 10Gb sfp+ is connected to.

as someone is familiar with this chassis, it got 2 Dell PowerEdge FN 410S IOM modules, in our configuration, each connected with 2 cables to our cisco nexus backbones through a Ci ...

Score: -1
Arkadiusz Rycyk avatar
OpenVPN Configuration
al flag

I am trying to connect to remote network 10.0.4.0/24 via cloud relay server form windows pc with no success. Whole setup looks like this : enter image description here

windows client sits on 192.168.150.0/24 locally remote network to which I want access to sits on 10.0.4.0/24

my openvpn server.conf

local 161.xx.xx.xxx
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth S ...
Score: 0
vudex avatar
Failing to decrypt kerberos AP_REP with wireshark
dm flag

I'm trying to decrypt kerberos traffic with wireshark for the learning purposes. My process of following:

  1. First I retrive keytab for the test user with kadmin
kadmin.local:  ktadd -k vdzh-fin.keytab [email protected]
Entry for principal [email protected] with kvno 15, encryption type aes256-cts-hmac-sha1-96 added to keytab WRFILE:vdzh-fin.keytab.
Entry for principal vdzharko ...
Score: 0
Ferra avatar
UFW logs - connections to closed port
cn flag

I'm probably missing something easy to understand:

I've a tiny homeserver where there are some docker containers inside it, running on 192.168.1.10.

On top of them I've NGINX which works as a reverse proxy, and UFW, which block ALL connections except for some internal ports and 2 external ports; those external ports are opened from my router and are 443 and 59272 which I use for VPN connections.

Inspec ...

Score: 0
FrancoisD avatar
Weave net empty flows for OpenvSwitch
fr flag

I have 2 containers c1/c2 on 2 separate hosts and I am running Weave Net docker plugin with multicast and fastdp enabled.

Both containers can communicate fine on the underlay network both in unicast and multicast packets.

But weave report show :

"OverlayDiagnostics": {
            "fastdp": {
                "Vports": [
                    {
                        "ID": 0,
                        "Na ...

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.