Latest Server related questions

Score: 0
Jeff Chambers avatar
Windows security updates for server 2012 r2
tz flag

I have been trying to research this and can't seem to find an answer. I will try to be as detailed as possible. I ran a Nessus scan on a few windows server 2012 r2. A specific security update is not installed and Nessus recommends to install it. When I go to the microsoft update catalog I type in for example: KBxxxxxxx and it brings up the update. It also brings the update for windows 8.1. However, the  ...

Score: 0
Mehan Alavi avatar
Running php and django on two subdomains
be flag

My friends and I have made a project which is made out of two parts. One is made in Django and other one is made in php language. We have just one server so we want to use 2 subdomains. My question is how is this possible? If we install apache and make our subdomains, How we can make Django and php be ran on these subdomains?

thanks.

Score: 0
Martin Rosenau avatar
Can a WPA2-EAP network be created with consumer hardware for testing purposes?
uz flag

We are working on the firmware of some device containing a WiFi SoC. (The firmware of the SoC is not modified by us.) Our customer now wants support for WPA2-EAP because the WiFi chip seems to have built-in support for that method according to the manual.

Our problem:

We must test our software changes so we need a WiFi network that requires WPA2-EAP authentication (to check if our software sends the ...

Score: 1
How to make multiple changes to REQUEST_URI at once?
cn flag

I'm dealing with requests from a proprietary client, that sometimes uses back- rather than forward-slashes: GET /path\to\the\file.txt, and I'd like to straighten them all out.

mod_rewrite can replace one at a time:

RewriteRule ^(.*)\\+(.*) $1/$2 [QSA]

but how would I replace all such occurrences at once, like sed's /g modifier?

Score: 0
joe.mse avatar
EXIM4: Signing Emails with DKIM
co flag

I really am banging my head against the wall with this one. I have tried for serveral days to get dkim signing to work on outbound emails from a server running on Debian 12, exim4 version 4.96, but to no avail. I don't even get DKIM error messages, just nothing.

Here's what I've done so far:

  1. Created a new public-private rsa pair in /etc/exim4/dkim (let's call them domain-private.pem and domain-public. ...
Score: 0
Disparity avatar
Mounting local and S3 storage to the same folder location?
ve flag

Using Oracle Linux 8, I have a /usr/local/caplogs/logs folder which has logs from my services written to it constantly. I have S3 storage, which I have attached to /usr/local/caplogs/logarchive using S3-FUSE which works superb, I then take anything that is 28 days old, move it to the archive folder which pushes to the cloud host.

What I am trying to achieve is to remove the logarchive folder and  ...

Score: 0
r3nat0m avatar
Streaming records corrupted
eg flag

I have two Debian servers. On server A, I am producing a video multicast stream, and on server B, I record this stream. The problem is that when I watch the records I see freezing/pixelization, but If I capture the stream directly from server A there are no problems.

I'm recording on the NVME disk (checked the read/write speed and it's okay) also there are no network issues(errors or drops). I tr ...

Score: 0
ivanpop avatar
Send emails from Exchange to external recipient with the same domain name
ws flag

I have two mail servers - one of which is on Exchange. Both mail servers have the same domain name, let's say domain.com.

On the Exchange Server I have distribution list groups, but I need to add members which are from the external mail server with the same name, domain.com.

I can add users from other domains and add them to the distribution lists and they receive group mails fine. The problem is t ...

Score: 0
Halacs avatar
How to create initial influxdb2 token from CLI?
us flag

I just migrated my influxdb 1.8 to influxdb 2.7 on an Ubuntu 22.04.3 LTS server. I did it from package repo.

Migration went fine, but new CLI client asks token for everything.

I saw influx auth create command is there to do so but it also requests a valid token.

Migration script, part of the package, made me only a username and a password but token.

Finally I could login with my username and password v ...

Score: 0
Dharam Pandya avatar
React web app routes not working with query string by using nginx when there is query param
aq flag

What is mistake hear, I am using this to solve nginx in ubuntu location / { try_files $uri /index.html$is_args$args = 404; }

Score: 1
Devin Gardner avatar
AWS API Gateway + Cognito + IAM
hm flag

I'm working on an API for my company. I'm trying to restrict external users from accessing specific methods of a specific endpoint using IAM + Cognito. Currently I have a single Cognito user pool, with two groups (internal and external). There are IAM roles set up for each group, with the correct permissions set for the API Gateway Resource(s). I'm just not sure how to finish hooking everything up to pr ...

Score: 2
Pavel Hofman avatar
HPE Smart Array P410 - Replacing failed drive of a degraded mirror with a new one using ssacli with the failed drive kept connected?
vu flag

A server is using attached drives without the HP hot-plug drive cage, with drives attached to P410 using two SFF8087 -> 4x SAS SFF8482 cables. I can add new drives while running, but cannot remove a specific drive (no way of IDing for now).

A mirror array is running degraded (one physical drive failed), the OK drive is quite old, I do not want to power off the machine to risk the sole OK drive ...

Score: -1
Richard Rosner avatar
Nginx forwarding presenting wrong certificate
cn flag

I have a little problem with nginx. We have two subdomains we own, let's call them domain1.com and domain2.com. For domain2 we don't have further subdomains, for domain1 we have several. If someone enters www.domain2.com I would like nginx to forward the person to https://domain2.com, otherwise just forward them to https://. I achieve this with these two blocks at the end of the config of domain2 in s ...

Score: 0
Andrés Chandía avatar
Which is the correct capability in Courier SMTP config to get user's password (encryption type)
br flag

MySql: 8.0.34-0ubuntu0.22.04.1

I have followed this guide: Postfix With Courier IMAP Mail Server Installation (unfortunately they do not answer questions).

I had to change the encryption method for the user's password because the one recommended in the tutorial is rejected by MySql server: dbname.encrypt does not exist

Recommended user creation query:

INSERT INTO users (id, name, maildir, crypt) VAL ...
Score: 0
Kafiti avatar
Windows Node HNS Network Restart Error 0xc0000005
pt flag

I have a Kubernetes cluster with 2 Linux nodes and 2 Windows Server 2019 running Kubernetes v1.26.0 and Containerd v1.6.20 also Vmware tools version 10.3.2

The Linux nodes are running just fine, but Windows node are misbehaving.

This is a new cluster, but Windows node can run for just <4hrs before Pods from Windows started to complain over missing endpoints.

I have checked the Windows Node and found ...

Score: 0
GHULAM RAZA GMAIL avatar
SSL Certificate without Private Key
am flag

I have SSL Certificate with below files and dont have privatekey as CSR generate with this key:

root.crt, server.crt, intermediate.crt

I want to use this certificate on one of my vm of Ubuntu 23.04 apache2 server.

Your step by step guidance is required.

Thanks

Score: 1
小太郎 avatar
pvmove: "Insufficient free space" when trying to move mirrored LV
ng flag

Originally I had two PVs /dev/nvme0n1p2 and /dev/nvme1n1p1 containing various mirrored LVs.
I recently added two new larger capacity PVs /dev/nvme2n1p1 and /dev/nvme3n1p1, and expanded a LV (home/windows-persistent) to make use of the new space.

However, I noticed the LV is now split across all 4 PVs, whilst I prefer it to be on just 2 PVs, so I attempted to move the LV to just the new PVs with pvmove ...

Score: 0
JMenezes avatar
Docker blocking connection from remote for a single specific port?
mq flag

I have a server with two docker containers, each with their own PostgreSQL databases. One container is mapped to port 32772 and the other to 32771. These two databases used to be acessible by remote uses, and worked perfectly simultaneously. Until we had a forced shutdown of the machine.

The previous admin set up a system so that docker would start on startup and so would the 32771's container. I ...

Score: 0
Henry avatar
Django: Configuration for serving static files on IIS server
as flag

I have a django application deployed on an AWS IIS server. Static fils are served just fine via 'runserver', but not via the IIS server. I have done everything right but it doesn't work. i even tried adding a static folder virtual directory but it didnt work. this is my webconfig:

 ...
Score: 3
Pavel Hofman avatar
Increasing RAID1 (mirror) redundancy in HP Smart Array P410?
vu flag

Please is it possible to add a third (or more) drives to a mirror (RAID1) in P410? IIUC it would mean creating "Mirror Group 3" (or more). I could not find any way to add a new mirror group using the HP tool ssacli, the documentation only talks about expanding capacity of the mirror (i.e. adding drives to existing mirror group/s), not about increasing redundancy (i.e. creating new mirror groups). Also g ...

Score: 1
Zayatzz avatar
Issue with setting up nginx for wordpress
cn flag

I have a following wordpress nginx configuration in my /etc/nginx/sites-available/wordpress:

    index index.html index.htm index.nginx-debian.html;

    location / {
        proxy_pass http://nextjs;
        proxy_http_version 1.1;
            proxy_set_header X-Forwarded-Host $host;
            proxy_set_header X-Forwarded-Server $host;
            proxy_set_header X-Real-IP $remote_addr;
        ...
Score: 0
LeeCS avatar
Migrating a CA to a new server - CA services won't start
ie flag

We have an Enterprise Root CA running on Server 2012 R2. I built a replacement server running Server 2019 and followed the steps in the below article, I backed up the CA and relevant registry keys, then restored them to the new server. I followed every step exactly. https://www.starwindsoftware.com/blog/migrate-root-ca-to-a-new-server

When trying to start the CA services, I get an error stating "certif ...

Score: 0
RedOne avatar
delete MailBox in exchange server 2019
im flag

i have exchange server 2019 i delete the user from active Directory users but the mailbox is still On the disk I mean, the space saved on the disk shows that the mailbox is still there And I want the mailbox to be deleted from the server, but I think that because I deleted the user before deleting the mailbox, this problem has arisen and I cannot delete this mailbox.

I tried to find this mailbox  ...

Score: 0
Dhanushka Ekanayake avatar
Disable auto reconnect for remote client connections in mysql
sg flag

I use below version of MYSQL in my DB server.

root@XXXXXX-test-server:~# mysql -V
mysql  Ver 14.14 Distrib 5.6.16, for debian-linux-gnu (x86_64) using  EditLine wrapper
root@XXXXX-test-server:~# 

When I close remote connections from server side using KILL command, it is reconnectiong from client side automatically.

Server side:

mysql> 
mysql> show processlist;
+----+-----------+-------------- ...
Score: 1
zamunda68 avatar
AuthorizedKeysCommand setup prompts for password
td flag

The issue: Even though I've set up AuthorizedKeysCommand and password authentication is stopped when I attempt to log in from my Mac, I am still being asked to enter the password:

OS: Rocky Linux 9.2

OpenSSH version on the server: OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022

debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering ...
Score: 0
r.cam avatar
Site says forbidden even though user IP address is whitelisted when using the site's IP address in the URL
la flag

The site uses a load balancer and I have the following settings in my Apache conf.d:

<VirtualHost *:80>
  ServerName mysite.com
  ServerAlias www.testsite.org

  DocumentRoot /var/www/html/server/public

  ErrorLog /var/log/httpd/testsite.log

  <Directory /var/www/html/server/public>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
  </Directory>

  <Locatio ...
Score: 0
nyoatype avatar
Error in IKE phase 1 when trying create IPSeC tunnel with Juniper SRX 300
in flag

Less than month ago we had to replace our old SRX 210 HE device with a new SRX 300 because the old device started to become unreliable. We had two IPSeC tunnels to two different places both working without a hitch. However, after we rebuilt the configuration for the SRX 300 device based on the configuration extracted from the SRX 210 HE, only one of the IPSeC tunnels connected.

It seems that it's ...

Score: 1
Hassu avatar
What is the difference between a query for a TXT record and a query for a TXT record against a particular name server?
me flag

For the purpose of implementing an email server, I want to be able to look up a domain's DKIM record. What is the difference between these two sets of DNS queries? Which should I choose to implement for my email server and why? Approach 1

> nslookup -q=txt m1._domainkey.amazon.com
Server:     10.0.11.162
Address:    10.0.11.162#53

Non-authoritative answer:
m1._domainkey.amazon.com    text = "v= ...
Score: 0
Hannes Oberberger avatar
JBoss CLI command running into failure
pf flag

I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss Cli. I have already tried the following command, but the option seems not to be supported:

/subsystem=logging/periodic-size-rotating-file-handler=DELETELOG:add(autoflush=true,file={"relative-to"=>" ...
Score: 0
Somekindofnick avatar
Setup A Program to Run At Startup As A Specified User On Linux
it flag

I have a server running Debian 12 that does not have root access enabled as recommended by many. I do have an another user admin privileged account on the server.

I have a program that does not come with a service bundled with it.

I have created user unprivileged on the server that has limited access to the filesystem and no sudo.

I have an application that unprivileged owns I would like to run as  ...

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.