Latest Server related questions

Score: 0
Robert Fridzema avatar
Java Application (Tomcat) unable to locate license file after Windows Server 2016 in-place upgrade
bd flag

Description

Hello ServerFault community,

We recently performed an in-place upgrade from Windows Server 2012 R2 to Windows Server 2016, on which Apache Tomcat 8.5 is running. After the upgrade, we encountered an issue with finding the license file for one of our applications running on Tomcat. (before the upgrade this worked fine) Whenever the license file cannot be found, a prompt is displayed in ...

Score: 0
Seomari avatar
How to solve duplicate MIME error when using reverse proxy in Nginx?
nl flag

I am trying to route from blog.example.com to example.com/blog using a reverse proxy.

The website is routing fine, but I am having an issue with the images not displaying and I am getting the following error message.

[warn] duplicate MIME type "text/html" in /etc/nginx/conf.d/example.conf

I'm getting a duplicate error with text/html in the sub_filter_types of my server block, but I can't find the cause.

Score: 0
Can not compile php-curl ext with custom curl
in flag

I have libcurl installed here:

/usr/local/curl-7.88.1/

I want to compile php-curl extension:

# cd /usr/src/php-8.1.12/ext/curl/

# /usr/local/php81/bin/phpize
Configuring for:
PHP Api Version:         20210902
Zend Module Api No:      20210902
Zend Extension Api No:   420210902

# ./configure --with-php-config=/usr/local/php81/bin/php-config --with-curl=/usr/local/curl-7.88.1/
...
checking for cURL suppo ...
Score: 0
Daniël van den Berg avatar
Deploy iso through e.g. dd using pxe
cn flag

Our current means of deploying machines is to mirror the nvme drive from a master drive before installing it in a PC.

We are deploying windows on machines that will go to customers. As such, aad (and therefore autopilot) are out of the question.

I'd like to be able to deploy a machine after the nvme has been fitted, and was therefore looking at pxe boot.

What are my options? I have tried netboot.xyz, b ...

Score: 0
arthur brogard avatar
can't get IIS FTP server working - alway closes the connection immediately
me flag

we have a small conveyancing business with a little win10 lan of five machines. Is that good enough to meet your business environment requirement? If so: i'd like to put ftp on it somewhere so I set up iis ftp server on one. but all I ever can get is 'server closed the connection' whenever i try to ftp to the site. I've tried from localhost via ftp on cmd and via address bar on firefox and from filezill ...

Score: 1
Europa avatar
Cannot login to Google Cloud Virtual Machine with IAM and two factor through SSH
cn flag

After I have created a Virtual Machine that runs latest Ubuntu LTS I want to connect to it using SSH.

When I login to it I get this screen:

enter image description here

I get a new code from g.co/sc

enter image description here

When I enter that code into the SSH-in-browser the same screen appears again.

What am I doing wrong?

1) Setup of Virtual Machine

Machine Configuration

  • Type: E2 Standard 4 (4 vCPU, 16 GB RAM)
  • Display Device: Enable

Boot disk

  • OS ...
Score: 1
Krzysztof Jabłoński avatar
Why does Application event log get cleared when I remove this custom even log
it flag

I am using powershell cmdlets to create a new event-log, register a source and log events. I experience some unexpected behavior. I created a new log with an arbitrary name by issuing the command:

New-EventLog -LogName SchedulerWakeUpTask -Source devops

I have verified in Event Viewer that it has appeared in "Applications and services logs" directory. I then created an event with

Write-EventLog - ...
Score: 0
mj_c414 avatar
Windows Update Issue - Windows 10 v.1909 to 22H2 - Error code 0xc190010a
lt flag

First time user here on ServerFault. I've utilized the forums a lot but this is my first time asking a question/engaging with the community.

I am a NetAdmin for my company and I've never encountered this issue and I wanted to reach out to the SF aerosphere.

Here's my issue. An employee that I'm working on their laptop (Lenovo ThinkPad T470) hasn't had a Win update in over a year. I have physically s ...

Score: -1
jessica mbenji avatar
reverse file not working . gives error message "bad dotted quad"
tz flag

here is my zone file

$TTL 86400
@       IN SOA  master.git-gotech.net. root.git-gotech.net (
                                        0       ; serial
                                        3600    ; refresh
                                        1800    ; retry
                                        604800  ; expire
                                        86400 ) ; minimum

@      IN  NS     mas ...
Score: 0
Роман Коптев avatar
SPF records. Allow HELO/EHLO but not sending emails
th flag

I have a mail server, let's say mail.example.com The PTR records connect mail.example.com with my server's ips (ipv4,v6). The HELO/EHLO response is mail.example.com

Now I want to send letters like [email protected]. Let's say I set MX mail.example.com @ TXT v=spf1 mx ~all mail TXT v=spf1 a ~all

It's said I should have SPF's for subdomains to protect them from spoofing: www TXT v=spf1 -all

Let's say I do ...

Score: 1
k.elgohary avatar
strict MIME type checking is enabled issue with PGAdmin in Azure application gateway
kn flag

I am trying to install pgAdmin (image: 'dpage/pgadmin4:6.21') in Azure AKS. I am able to access the application when I use a Kubernetes LoadBalancer service, but when I use an Azure Application Gateway with Ingress, the login page is displayed without an issue. However, after login, it gets stuck on the loading page.

enter image description here

When I checked the browser console, I found the following error:

Refused to ex ...

Score: 0
NGINX - How to serve file with filename that begins with the last segment of uri?
ng flag

I have many PDFs in a \drawings folder on my server. The filename structure is: 8 digits, underscore, Rev level letter -- i.e. \d{8}_[A-Za-z]\.pdf. These files are organized in subfolders that match the first 4 digits of the filename -- \drawings\1500\, \drawings\1600\ etc.

I want users to be able to call up a drawing in the browser, not knowing the REV level, by using just the first 8 digits. e.g.

Score: 0
systemd oneshot service stops working after a few weeks
us flag

I have a systemd service that runs on shutdown. It runs a script purges all of the docker images stored on the Ubuntu 22.04 AWS VM if the host is running low on disk space.

# cat /lib/systemd/system/purge-docker.service
[Unit]
Description=Purge all Docker files on reboot if we're running low on disk space
After=syslog.service network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStop=/usr/ ...
Score: 0
Aleksandr Muravja avatar
Proxmox: how to route traffic to CTs (VMs)
iq flag

I have Promox server with 3 IPs (Main IP and 2 additional ones). Server has 3 CTs and I want to assign all 3 IPs to those CTs.

Assinging them directly to CTs/VMs didn't work (even gateway is not accessible). So I did NAT1:1 with -j NETMAP.

From outside it works correctly, but I cannot connect between each CTs using their external IP address.

Configuration:

All CTs/VMs are connected to both vmbr0 (exter ...

Score: 0
mamptecnocrata avatar
debian server fails to initialize on login load and other related problems
zm flag

Very good day/afternoon/night, I have finally decided to expose my problem after trying several options, but unfortunately none of them is related to my issue. The case is that we have a debian server in use, which one day stopped booting. Here I attach the screenshot image that I made at that time. Just in that one it stays for hours and hours, having to force the shutdown. The exact moment during loadin ...

Score: 1
halfer avatar
How to debug why a NodePort is refusing connections in K8S?
cn flag

Introduction

I recently got a simple web app working on a three-node Ubuntu Server with MicroK8S. I decided to try rebuilding my cluster and reinstalling everything using YAML manifests, to ensure the process was replicable. However, the app is now not reachable from outside of the cluster. I am seeking debugging techniques to drill into why the NodePort is apparently not creating a TCP listener on all ...

Score: 0
Greg Z avatar
Setting up Domain Trust over NAT?
kg flag

Short summary of our situation.

I have two separate domains that we need to establish a one-way forest trust between. Domain 1 has native subnet of 172.18.xx and Domain 2 has native subnet of 10.162.xx.xx.

The two networks are connected via a VPN tunnel through two firewalls. The problem is that the 172.18.xx.xx subnet is already in use in the hosted environment so we have a NAT to 10.162.xx.xx.

We hav ...

Score: 0
Will Ashworth avatar
No candidate version available for php7.4-fpm
sb flag

We’ve been installing php7.4-fpm via the ppa:ondrej/php repo with apt on an Ubuntu 18.04 server with our Chef recipes, but today it’s not working today. I think maybe the packages have been removed from the ppa:ondrej/php repo. Is there something I can do or maybe an alternative repo that can be used? We're trying to update the recipes and stack dependencies to work with PHP 8.x, but that won't work  ...

Score: 0
deeholzman avatar
Is it possible to set up .htaccess rule for incoming traffic from 301 redirect?
mg flag

We have a permanent 301 redirect that is set up for an old site that is now being redirected to a page on a new site. Is it even possible to set up an .htaccess rule on our new sites Apache server to direct requests coming in from this old '301 redirected' site to a specific page on the new site?

We have a rule in our .htaccess file that contains a condition that the request is coming from the o ...

Score: 0
Jerrin avatar
IP Based Rate Limiting for a TCP passthrough vip
pa flag

Trying to set this up for one of the applications. We use Nginx under the hood. Is it possible to set up an IP-based rate limiting for a TCP passthrough VIP?

I understand that it is possible to set this up for a regular HTTPS vip, where the certificate terminates at the DLB.

Score: 0
Haswell avatar
How does GRE interface route packet to remote endpoint
in flag

I have the following topology which I configured to run a GRE tunnel between my Desktop and the wireless router. enter image description here

On the PC:

ip link add l2gre0 type gretap remote 192.168.0.103 local 192.168.0.10

On the Router:

ip link add l2gre0 type gretap remote 192.168.0.10 local 192.168.0.103

My client obtained an IP address of 10.10.10.102 from the DHCP server on PC. I try to ping the gateway IP 10.10.10.1

Score: 0
user3142695 avatar
Is it possible to make services running on local server reachable for public?
cn flag

I'm running a local QNAP NAS server and a remote server which is hosted at a public provider (bare metal kubernetes cluster).

I would like to run some services on my nas server, which should be reachable over the internet. For example I want to run an object storage like minio - or something like that. But my problem is, the IP of the NAS server is changing from time to time as it is using my pri ...

Score: 0
Comandante avatar
OpenVPN + PAM + Freeradius
ne flag

Situation: I have fully configured and working Freeradius server. Installed OVPN 2.6.4 on other server. And goal is auth through Radius. Installed pam-radius-auth. Configured (confs below). Authentication is working just fine, but there are no Accounting packets from OVPN. When I'm trying pamtester - everyting is ok, accounting is here, but when I connected OVPN - no.

/etc/pam.d/ovpn

account required  ...
Score: -1
Michał Turczyn avatar
DNS server hosted in docker
tr flag

I am trying to follow tutorial on how to setup DNS server hosted as docker image.

But of course I am facing problems.

I have setup named.conf file as below. But i am completely uncertain what IP addresses I should put, I have put my local machine (that i use to run docker), default gateway ip:

acl internal {
  192.168.1.0/24;
  192.168.0.0/24;
  127.0.0.1;
  localhost;
  192.168.0.144;
};

options {
  ...
Score: 0
Shanah Jr Suping avatar
Docker and Nginx Reverse Proxy Best Practices
ae flag

I recently found out some basic security stuff I could implement to ensure that my VPS's are safer. I have tried to implement these but I have run into some problems. I do not know what my next steps should be.

Firstly, instead of handling my nginx configs manually, I set up nginx proxy manager. It has been working well for me so far. This doesnt have anything to do with the security stuff I fgou ...

Score: 3
IT-Girl avatar
memcached support requires libmemcached
sb flag

We've configured a Dockerfile containing the following code snippet:

ENV MEMCACHE_VERSION=8.0 \
    MEMCACHED_VERSION=3.2.0

############## END ENVIRONMENT VARIABLES ###############
########################################################

RUN apt-get update && apt-get install -y --no-install-recommends \
    zlib1g-dev \
    zlib1g \
    libmemcached11 \
    libmemcachedutil2 \
    libmemc ...
Score: 0
vivan sai avatar
Parse and enumerate all the fhir elements
tv flag

I am using the Firely nuget package to parse a Patient FHIR resource from a bundle. The keyValuePair.Value type is object and for complex fhir datatypes contains nested objects. How do I parse and extract all the fhir elements and its values to a csv format?

Is there an easier way to parse and enumerate the elements without having to typecast the resource first and then extract each individual el ...

Score: 0
Mathew avatar
How do you set the " ErrorDocument 404 / example.php " code up without running into this error?
mw flag

I have been working on this "ErrorDocument 404 issue" for the afternoon and I have been unable to solve this issue just yet. Can you please help.

I have set up my custom error 404 page and from that I have been trying to link it to any URL that a user miss spells or incorrectly types into the URL slot. I have been using

    ErrorDocument 404 / example.php

to try and link the users to my error 404 pag ...

Score: 0
TonyAngelino avatar
Winrm client cert replacement fails
dz flag

I'm managing a group of servers with Ansible and in case of Windows Servers, winrm is being used. Everything was setup and working fine, but the time has come to replace the cert for the service user that ansible is using (not the cert for WinRM SSL connection). It was initially set up with a self-signed cert (as a test) and then replaced with the proper CA-signed cert. But now, I'm trying to replace th ...

Score: 2
ZX Spectrum 48K avatar
SQL Server 2019, SQL Server Agent service doesn't auto-load - error 776, token supplied to function is invalid
tt flag

I noticed after a recent update to Windows 2019, our lone server running Active Directory, that several related SQL Server services were no longer starting.

After researching each of those errors, I was able to get them running, leaving SQL Server Agent as the only one left to troubleshoot. I can start it manually, it runs for 10 seconds, then shuts down.

After researching, things I've tried:

  1. SER ...

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.