Latest Server related questions

Score: 0
Seyed Vahid Hashemi avatar
Is it possible to route packets using iptables only without enabling ipforwarding?
sa flag

I'm wondering if it is possible to do routing using iptables only, without using ip_forwarding flag in kernel.

Score: 0
AChenet avatar
Forgot AWS admin password on Debian server
in flag

I have a small Debian AWS EC2 instance. I was recently trying to change the shell from bash to zsh, using the chsh command. When it prompted me for my password, I entered the same one I use to log into my AWS account, but kept getting authentication errors, so I surmise there must be a password for the 'admin' account that is specific to that account on that server, and is not the AWS account's root pas ...

Score: 0
trailing "-" as a placeholder
jp flag

If reading this I then understanding, that you can set the stdin to be piped to the command as parameter to a placeholder "-"

like:

cat <<EOF | printf -  
hello  
new line
EOF

But it only prints "%"?

Score: 0
Intune Hardware Inventory not recognizing TPM in MSI Motherboard, but Bitlocker is running
gt flag

I'm running Windows 10 10.0.19043.1237 on an MicroStar Z590-A PRO (MS-7D09) motherboard, where I recently installed a TPM. I can confirm that Bitlocker is running and providing full disk encryption, and that the recovery key is safely tucked away in Azure AD. Intune, however, is not recognizing that my device has a TPM installed, and it's causing compliance issues. When I look at the encryption monitori ...

Score: 1
Major Kuprich avatar
Varnish with Basic auth returns 401
us flag

I've tried to configure Varnish on server which has Basic Auth authentication by using these solutions:

but it doesn't help. Varnish logs still shows 401 errors:

varnishlog -g raw -i Backend_health

         0 Backend_health - mag2.default Still sick 4--X-R- 0 5 10 0.001 ...
Score: 0
A CNAME pointing to 2 different A Records set up with Primary/Secondary Failover Routing?
cn flag

Considering records like:

host.example.com as a CNAME to:

host01.example.com and host02.example.com

(on two separate records).

I want to set up those A records to be with a Failover routing policy.

Record Name      Type  Routing  Differentiator    Route traffic to
---------------------------------------------
host.example.com CNAME Failover Primary         host01.example.com
host.example.com CNAME Fai ...
Score: 0
leo95batista avatar
Change the value of the records that SAMBA creates when joining a second domain controller to the primary
cn flag

I am trying to join a second server to my primary domain controller to use as a secondary domain controller. I am using the following command to do it:

root@dc2:~# kinit administrator
administrator@EXAMPLE.COM's Password:
root@dc2:~# samba-tool domain join example.com DC --dns-backend=BIND9_DLZ --option='idmap_ldb:use rfc2307 = yes' -k yes

And the operation is successful, I have managed to join m ...

Score: 0
Linux Kernel IP Forward activated, firewalld is bypassed?
za flag

On a Linux Centos7, I have some traffic that is routed with static routes from one interface to another.

I did notice that with firewalld activated, both interfaces added in a zone, and nothing allowed in this zone, all the traffic is still routed without any restriction.

I tried to configure ip_forward=0 : then the traffic was not routed anymore. Then I added FORWARD rules in firewalld direct.xml : ...

Score: 0
Nicolás Tomassi avatar
Nginx revere proxy Websocket error 404
cn flag

i'm working with two Nginx one behind the each other.

Our Infraestructure it's like this infraestructure

Problem

I've problems with websocket connections, when i send the request to Nginx Proxy pass always return 404 but when i send the request to the final NGINX it works fine.

Logs in the FINAL NGINX
# when the request doesn't go through the NGINX PROXY PASS
# this is fine
<SOME-CLIENT-IP> - - [30 ...
Score: 0
How to deploy multi master Microsoft SQL database as IaaS or AWS RDS
in flag

We have a vendor product, which support only relational databases (Oracle and MS SQL). Due to operational efficiency and cost, we are planning to use MS SQL. However, we have a challenge to deploy the product in Active-Active mode in two different AWS regions (East and West). Since (as per my knowledge) AWS RDS MS SQL or IaaS MS SQL always-on availability group doesn't allow multi-region writes. Also, d ...

Score: 19
P.Péter avatar
Client on Debian 9 erroneously reports expired certificate for letsencrypt-issued domain
in flag

If I try to access our HTTPS server that has certbot-issued certificate from debian 9, I get the following error:

 # curl -v https://hu.dbpedia.org/
 *   Trying 195.111.2.82...
 * TCP_NODELAY set
 * Connected to hu.dbpedia.org (195.111.2.82) port 443      (#0)
 * ALPN, offering h2
 * ALPN, offering http/1.1
 * Cipher selection:      ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
 * succ ...
Score: 0
Dave_G avatar
systemd service reports "unknown port"
fr flag

On a CentOS 7 server,I'm creating a new systemd service from scratch for a new service, prometheus-slurm-exporter. (It's an application that exports data from the SLURM scheduler on an HPC cluster.) By default it uses Port 8080, but since that port is already in use by another service, I've set it use Port 9090 instead. Run from the command line, the command looks like this:

/opt/prometheus-slurm-e ...
Score: 0
Jeriko avatar
Delaying my own process to automount an external storage which start at boot
cn flag

I would like to implement my own process into a CentOS7 operating system which automount an external storage (AVID ISIS for this example) at boot through systemd.

To do that, I scripted the mount procedure (because I cannot use fstab in this particular case, the avidfos command provided by AVID is needed) but I have noticed that my process failed at boot. When I run it just after the boot process ...

Score: 0
dacracot avatar
Oracle's sqlcl ORA-01005: null password given; logon denied on new RHEL8 install, but not nearly identically configured old RHEL7
jp flag

ON RHEL7...

$ sql bagsbx1/password@jdbc:oracle:thin:@mydbdev.dacracot.org:1521/bagdev.dacracot.org

SQLcl: Release 20.3 Production on Thu Sep 30 07:06:15 2021

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

Last Successful login time: Thu Sep 30 2021 07:06:16 -07:00

Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.12.0.0.0


SQL> quit
Discon ...
Score: 0
ihorc avatar
Strange viewport layout when connected to x11vnc with Remmina
cn flag

I set up a clean qemu/kvm virtual machine with Ubuntu Desktop 20.04 and trying to connect to it using Remmina (client) / x11vnc (server). But I noticed a strange behavior. It looks like the actual image is merged with a big black area on its bottom (take a look at the vertical scroll bar). This area is much bigger than the actual image as you can see from the screenshot. screenshot

Haven't noticed such behavio ...

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.