Latest Server related questions

Score: 0
mojo avatar
How do I mark the only Windows (10) disk as NOT bootable?
ma flag

How can I prevent Windows from (ever) booting to the current (and only) Windows disk?

  • I am doing "legacy" (not UEFI) booting.
  • I want something lower in the boot order to be attempted.
  • I want to perform this (quick?) action, and then reboot.

This is a run of the mill Windows install, with one disk and two partitions. The first partition is a "System Reserved" partition, created by the Windows install ...

Score: 0
Skiin avatar
How to configure nginx for direct access to a path
US flag

Goodnight. I have a website, let's call it "domain.com", it is already online using nginx and with HTTPS certificate, it is basically a static page built using "npm run build" and it has a button that accesses a content in "domain.com/content" and it works perfectly, but if I refresh the page or try to access it directly by typing the URL, nginx returns the 404 error page. I've already tried to configur ...

Score: 0
DanRan avatar
mysqld[1108] [Warning] Aborted connection 7466 to db: 'unconnected' user: 'unauthenticated' host: '127.0.0.1'
mx flag

I am running Ubuntu Server 20.04. It is a LEMP server running Mariadb. When I run the command sudo service mariadb status I get the following warnings:

Jul 28 00:18:59 mail.example.com mysqld[1108]: 2023-07-28  0:18:59 7466 [Warning] Aborted connection 7466 to db: 'unconnected' user: 'unauthenticated' host: '127.0.0.1' (This connection closed normally without authentication)
Jul 28 00:18:59 mail.example.c ...
Score: 2
Hellraiser avatar
Preserve order of closing services while shutting down the Linux
gu flag

I defined a Linux systemd service which has few dependencies in unit file using After= and Requires=. My service depends also on SAN filesystems controlled by Veritas.

When stopping my service upon shutdown I noticed my service is stopped after VCS service which prevents my service from stopping gracefully (as it requires filesystems controlled by Veritas to stop which are not present).

I have follow ...

Score: 0
user2125853 avatar
Why does Windows not launch specific application associated with a file type?
pm flag

I have .jsp files associated with 'javaws' (Java Web Start) from my JRE installation. When I double click on .jsp files nothing happens. If I associate the .jsp files with other applications such as 'notepad', I see the file opening. This problem is only with 'javaws'. It is also specific to one laptop. We have a number of users that use the application that is associated with .jsp file and we see n ...

Score: 0
axel_axel_ avatar
ubuntu server must login locally before ssh
mu flag

I have set up an ubuntu server machine and forwarded all ports and such. I can access it outside my LAN unless the power goes out or I restart the machine. Then I have to manually log in on the machine. Since the machine used to be a laptop I only used on LAN, I never really had this problem. Now I must connect after a power cut without a manual login. I know someone who can go and login but this cannot ...

Score: 1
petiepooo avatar
PercCLI64 secure erase
us flag

I have an SSD, Kioxia model KRM6VRUG1T92, in a Dell server with a PERC H730P that has the following policies as shown by perccli64 /c0/e32/s0 show all under Linux:

FDE Type = None
SED Capable = Yes
SED Enabled = No
Secured = No
Cryptographic Erase Capable = Yes
Sanitize Support = Not supported

Looking through the available commands for securely wiping the drive, I see three possible commands. perccli6 ...

Score: 0
Daemon Jester avatar
vxlan error in Flannel logs after Kubernetes cluster creation
gi flag

I've create a Kubernetes Cluster with 3 worker nodes and am experiencing issues with Flannal in a constant CrashLoopBackoff:

kube-flannel   kube-flannel-ds-7lc76                     0/1     CrashLoopBackOff    7 (4m52s ago)   15m
kube-flannel   kube-flannel-ds-j8rnz                     0/1     CrashLoopBackOff    7 (4m29s ago)   15m
kube-flannel   kube-flannel-ds-jg4bt                     0/1     C ...
Score: 0
Aniket Kumar avatar
Kubernetes Init timed out
gq flag

Here is my configuration and I am trying to init and node as the master node i.e. control plane node. So I am trying to route traffic between master node and the worker nodes using a HA-Proxy node which is external machine outside of this cluster. The machine is on the same subnet and ping is reachable from the master node to this node. I have the following command to do the init

sudo kubeadm init  ...
Score: 0
A. Neodizzi avatar
Exim configuration SMTP error from remote mail server after pipelined
it flag

Cause change smtp server exim configured with smart host no longer sends mail with the following errors. The command used is this

# exim -v [email protected]
From: Webmaster <[email protected]>
Subject: Test Email
This is a test email.

the errors returned are as follows:

SMTP|> MAIL FROM:<> SIZE=2952
  SMTP|> RCPT TO:<[email protected]>
         will write messa ...
Score: 0
Priyanka avatar
Ansible regular expression to match a string from a list of line
na flag

I'm trying to read a content of file from remote file. but i want the message to be displayed only matched UUID from fstab file. but when i ran below playbook it is throwing below error.

playbook:

- name: read content from a file
  hosts: all
  become: true
  tasks:
    - name: read a content
      slurp:
        src: /etc/fstab
      register: output
    - name: print
      debug:
       msg: "{{ (ou ...
Score: 0
Test-SRTopology Fails to Create CIM Session to Local Host
cn flag

We are trying to setup Storage Replication between two brand new Server 2019 VMs. I have followed all the steps in Microsoft's guide (https://learn.microsoft.com/en-us/windows-server/storage/storage-replica/server-to-server-storage-replication) up to where we are supposed to test the replication. When I run the following

Test-SRTopology -SourceComputerName SrcSrv01 -SourceVolumeName e: -SourceLogVolu ...
Score: 0
No events after Audit Detailed Directory Service Replication GPO applied to DC
in flag

I have created GPO for Audit Detailed Directory Service Replication and applied to DCs. But no events in log, like: 4928(S, F): An Active Directory replica source naming context was established.

4929(S, F): An Active Directory replica source naming context was removed. Domain - ordinary domain withou Azure.

Thank you for any help.

Created GPO and checked it applied to DC.

UPDATE I see in auditpol:

Score: 3
Are self-signed SSL certificates still allowed in 2023 for an intranet server running IIS?
us flag
Tim

I'd just like to confirm that self-signed certificates are still allowed in 2023-2034 for an IIS server that is not exposed to the internet and serves up only intranet apps. I'm asking because I'm repeating a process I've used for the past several years but it's not working this time. Browsers are rejecting the certificate as invalid. Has there been another industry tightening of security relate ...

Score: 0
Tymofii256 avatar
How to send nginx cache key as a header?
ps flag

I would like to send an NGINX cache key to a client. Instead of applying MD5 to "$scheme$proxy_host$request_uri" as described in the documentation (see http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_key and http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path), I prefer to obtain the cache key from the file name.

Let's assume I have the same proxy_cache_path

Score: 0
jwtrees avatar
Email account to use for company domain registration account?
dk flag

Domain registration is a very important part of security. If a domain is stolen, all emails in this domain becomes accessible so an attacker could use I forgot my password feature on many website or cloud service and login very easily. Often even bypassing MFA authentication.

Being developers, I want to say that we are very new to server administration. For example, we mostly use highly managed solution ...

Score: 0
Dave. avatar
keepalived - "broadcast storm" - failover - backup server freeze
id flag

I run a keepalived failover configuration. If a failover happens the backup server gets unresponsive (console & network) all the VIPs gets unresponsive too. When the master comes back the situation gets back to normal after a minute or so - it seems the backup server does not get online.

Keepalived serves 570 VIPs. In a 21 masked network. for every "C"-class range within there is a vrrp insta ...

Score: 1
samtech 2021 avatar
k8s pods ImagePullBackOff issue bitnami rabbitmq-exporter
th flag

In our scenario, We are facing an issue that fails to download the bitnami/rabbitmq-exporter from Dockrhub.

kubectl get statefulset rabbitmq -o yaml

 name: rabbitmq
        - name: RABBIT_URL
          value: http://localhost:15672
        - name: RABBIT_USER
          value: user
        - name: PUBLISH_PORT
          value: "9419"
        - name: RABBIT_CAPABILITIES
          value: bert,no_sort ...
Score: 0
Ambassador Kosh avatar
In a GitLab runner SSH to local network that has IP as default Docker Bridge IP
bd flag

I have a GitLab Pipeline based on the python:3.10.11 image. The runner needs access to a local network that is on 172.17.0.0 via SSH/Paramiko. But it is unable to connect to the newtwork, when the runner pings an IP on the local network, it says Destination Host Unreachable. I imagine this is because the default Docker subnet is also 172.17.0.0. Is it possible to change the default Docker Bridge IP for  ...

Score: 1
rk3dnp avatar
Ansible update list
la flag

The task is to get a list of the latest updates. Approximately as the command issues dnf check-update Ansible code:

  tasks:
  - name: List Available Patches (Non-Kernel)
    dnf:
      list: updates
      update_cache: true
    register: packages

  - debug:
      msg: >-
        {%- set output=[] -%}
        {%- for p in packages.results -%}
        {{ output.append((p.name ~ '-' ~ p.version ~ ...
Score: 0
cyanat avatar
Iptables: limit mdns packet per second per ip
us flag

I have a network with a lot of MDNS (UDP 5353) traffic on it.

To avoid overloading my server, I limit globally the MDNS packets accepted by iptables with this rules:

iptables -A INPUT -i eth2 -p udp --dport 5353 -m limit --limit 100/second -j ACCEPT

Now I would like to set this limite per source IP, in oder to accept 5 MDNS packet per second for a single source ip.

However, I'm not sure on how to  ...

Score: 0
Christian Leber avatar
printer settings import not working as system account
ee flag

I'm trying to import the settings for printers via SCCM that runs installations in the system account. Manually as User with Administrator rights, it's working as expected. Manually as system account or over SCCM, it's not working.

Command I use:

rundll32 printui.dll,PrintUIEntry /Sr /n "Zebra" /a "C:\Temp\Zebra.dat"

The file is where it's expected, the printer has the correct name, and it works as admin ...

Score: 1
SSH PermitLocalCommand - ! command produces no output
in flag

I've enabled PermitLocalCommand in my ssh .config file and I can run a command locally but the command I run appears to produce no output.

[[email protected]]$ ssh [email protected]
[[email protected] ~]$ echo "I'm on remote machine"
I'm on remote machine
~C
ssh> ! echo hello world

[[email protected] ~]$

I've no idea where the output goes... I've tried doing ! echo hello world > /tmp/file and I can see that the file do ...

Score: 0
Ciro García avatar
Proxy TCP connection to different hosts depending on the origin host
eg flag

I have a home server exposed with NoIP, with a wildcard domain.

I have some services that run on some TCP ports (mainly game servers), and I am trying to sort of "assign" each of them a subdomain. To do this, I have a virtual network interface with multiple IPs where I can publish multiple instances of the same kind of service (two game servers for the same game, for example) and use the same por ...

Score: 0
MaxNTF avatar
Ubuntu - server protection when forwarding ports via ssh
ps flag

I will make a reservation, I am mediocre in Linux systems. I have several Raspbian (Client) devices that have access to the network over LTE (IP over NAT). I have my own server under Ubuntu (server). I plan to automatically run a script on the "client" to forwarding a port via SSH, and for this I created a user without a shell on the "server" (user_123). If the "client" device is opened, you can find "u ...

Score: 0
lopass avatar
Dovecot fails to fetch messages due to cache size issues
sr flag

I migrated maildir users from an old courier imap install to dovecot on docker alpine:latest. Initially everything seemed great, however, a problem seems to have crept in. Some messages will fail to fetch due to cache size differences, the logs end up looking like this:

  1. Error read(/mailmessage1) Cached message size smaller than expected
  2. Error Broken physical size in mailbox
  3. Error Deleting corrupted c ...
Score: 0
user984993 avatar
Not able to execute shell commands in ansible control node
gw flag

Need your suggestion pls.

The below one is ansible file which calls an python file in the control node(localhost) and process an excel file which is also present in control node based on hostnames. There is no issue in processing the excel and now I am facing challenges while sending the file in mail.I am trying to extract the current logged in user in control node and send mail to that logged in ...

Score: 0
Piotr Płytkowski avatar
VPN route establish connection failed
pe flag

I am traing to connect from my VPN from work to home but it is failed (my real address is not 12.12.12.12 I chaneged it here).

initiating Main Mode IKE_SA Note8[3] to 12.12.12.12
generating ID_PROT request 0 [ SA V V V V V ]
sending packet: from 192.168.222.113[500] to 12.12.12.12[500] (212 bytes)
received packet: from 12.12.12.12[500] to 192.168.222.113[500] (160 bytes)
parsed ID_PROT response 0 [ ...
Score: 0
Francois Botha avatar
DynDNS - Solution for site-to-site VPN's over 5G backup internet?
nu flag

One of our sites have moved to a new locaiton and I have been battling with the fibre provider to install the new connection at the site. Currently, we run a 5G connection as a backup connection at this site (as a secondary WAN on our Firewall), but due to the IP changes (which is static on the fibre, but not on 5G), our VPN to this side is down of course.

My question is, would DynDNS be a soluti ...

Score: 1
Ned Martin avatar
Email message headers pass SPF check after failing earlier SPF checks. Will this result in spam?
ph flag

I have an issue where email is being marked as spam by Gmail/Google Apps systems.

When reading the mail headers, the most recent SPF check in the mail chain passes, but earlier checks fail. That is, the email has passed through a variety of systems, and earlier ones have failed SPF checks but more recent ones (including Gmail's servers) have passed SPF checks.

My question is, are previous SPF failur ...

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.