Latest Server related questions

Score: 0
el sparrow avatar
SSSD LDAP CONFIGURATION
cw flag

I am trying to configure ldap on port 636 on a redhat server. Right now, when I try the following command :

 netstat -antup | grep -i 636

I get

tcp        0    132 IP_ADDRESS_1:40670     XX.XX.XX.XX:636      ESTABLISHED XXXXX/sssd_be

Is there a way to change IP_ADDRESS_1 to another IP address ? I changed the sssd.conf [nss] and added override_homedir = IP_ADDRESS_NEW but the netstat still shows the  ...

Score: 0
HBi avatar
rstudio-server "unauthorized user" error on google vm
ge flag
HBi

I have a Google VM with Rstudio server installed. Everything was working fine and I was able to get in with my username and password. I haven't used this VM for a couple months and now I tried again. I am getting the Rstudio login page when typing <server-ip-address>:8787, but when I enter my username and password I get the "unauthorized user" error. I'm not sure what changed.

The only similar pos ...

Score: 0
amirsalimi avatar
How to make IpTable Rules immutable in linux
ch flag

I work on Linux and want to add rules to iptable. I want these rules to be immutable anyway (either changed or deleted). What should I do? Note that for me the rules that are running and kept in memory are important, not the rules that are stored in the iptable rules file.

I found a way to save the rules in a file and compare them with the rules backup file and detect the changes, but it's not a  ...

Score: 0
Clueless avatar
MariaDB 10.3.38 does not start after change from MySQL 5.7.41
de flag

I replaces MySQL 5.7.41 with MariaDB 10.3.38 on Ubuntu 20.04.

Unfortunately MariaDB does not start by itself over systemctl:

sudo systemctl status mariadb ● mariadb.service - MariaDB 10.3.38 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-08-08 17:30:53 CEST; 15h ago
       Docs: man:mysqld(8)
 ...
Score: 0
Sfynx avatar
Windows 11 WDS unattend xml answer file not doing asynchronousCommand
cn flag

I am currently trying to use WDS to deploy a windows 11 image. I want to run a powershell script after the admin logs in (prompt for the computer name) but I can't even get an mkdir to work. Am I doing something wrong? can I check logs or something on the local computer to debug what happened and what error it returns?

    <settings pass="oobeSystem">
        <component name="Microsoft-Win ...
Score: 0
mikey1996 avatar
Unable to login via SSH to a Linux machine with my LDAP credentials
ma flag

I am trying to setup LDAP for users to login to Linux machines. I can change the users to any given users in the LDAP list of users using the su command. A new directory is created as well. So I'm thinking the issue is not with the nsswitch.conf.

However when I login to the same linux machine using ssh, I keep getting a

Permission denied, please try again.

I know the credentials are correct, because they ...

Score: 1
George Y avatar
why does systemd tag my self-made service "thawing" after running it for a few days?
vn flag

I have found the strange tag of "thawing" running my self-made service using systemctl status XXX like this: enter image description here

On the contrary, I found it running several threads via htop: enter image description here

At first I thought it was a python problem, until I found a golang binary encountered the same problem:

[root]# systemctl status auto_quote
● auto_quote.service - run run_quotelive.sh ## <-change run_XXX.sh
   Loaded: loaded  ...
Score: 0
Alma 9 Unable to make the interface DOWN at boot
ru flag

OS: Alma-9.2

I am trying to disable an interface (ens224) at boot using the nmcli tool. I tried using the option nmcli connection modify ens224 connection.autoconnect no,nmcli connection down id ens224, nmcli device disconnect id ens224, ifconfig ens224 down. After trying all these commands and a reboot, ethtool still showing the Link detected: yes.

In CentOS 8 when I used network service instead of ...

Score: 0
Grant156 avatar
Apparent DNS failure on domain server running Small Business Server 2011
my flag

I am a volunteer who provides IT support to a community radio station. I have only been with the station a short time, so I'm still trying to get my head around the hardware and the systems they are running. As is the case with many community radio stations, we don't have much money, so the systems we run are legacy systems on legacy hardware. One such system our domain controller, which runs Windows SB ...

Score: 2
TomS avatar
Configure postfix to enforce client certificate authentication for one domain
kr flag

I have a postfix server which processes mails for several domains. The server is using TLS encryption if the client requests ist, but does currently not enforce it for compatibility reasons.

Now there's a new domain which this server should process mails for, where TLS should be enforced and where clients habe to authenticate using client certificates.

Is it possible to configure postfix for this sc ...

Score: 2
tsc_chazz avatar
File access on SSD array suddenly slowed down; TRIM appears to be unavailable. How to enable, or what else could it be?
vn flag

We have a system that's used for a GIS database (with Postgres as the underlying engine) which is using a software RAID 5 array of 4x2TB Samsung EVO870 SATA SSDs as its database drive. There is a nightly backup script that dumps the tables to a local temporary directory, GZips them, and transfers them to a separate machine (with mv). Normally the backup starts at 1830 and runs until 0500; yes, it's a ...

Score: 1
zmehall avatar
OpenLDAP ppolicy working with passwd, but not ldappasswd
zw flag

I've been working on this for about a week, and can't seem to figure out why this is happening.

I've got passwd working, letting users change their own ldap password from a client machine, and it working with the ppolicy overlay:

$ passwd
Current Password: 
New password: 
BAD PASSWORD: The password is shorter than 8 characters
New password: 
BAD PASSWORD: The password is a palindrome
New password:  ...
Score: 0
James avatar
Unable to install SQL Server 2019 because of the missing ODBC driver
bv flag

I am unable to install Microsoft SQL Server 2019 Developer Edition because of a missing ODBC driver 2017 (screenshot attached)

I already installed various version of the ODBC driver, already ran powershell commands to set SchUseStrongCrypto registry value

Still no success

Any advice?

enter image description here

Score: 0
Learner avatar
AWS application migrations service MAC address?
im flag

I want to migrate a on premise license server to aws using lift and shit of aws. There are couple of license server softwares running on server which are tied to MAC address of server. Software's are in production and are heavily used. Is there a way I can retain MAC address of server from on premise to AWS or if I can manually assign MAC address to server after migration to aws?

Score: 2
What is the difference between `return` in `server`, `if`, and `location`?
sy flag

return in server block

The Securely Deploy a Django App With Gunicorn, Nginx, & HTTPS uses the following HTTP-to-HTTPS redirect block:

# Redirect HTTP to HTTPS
server {
  server_name             .supersecure.codes;
  listen                  80;
  return                  307 https://$host$request_uri;
}

I interpret this to do a 307 redirect for every HTTP request on port 80 where the Host HTT ...

Score: 0
404NotFound avatar
Failed to add worker node on external network to Kubernetes cluster
ve flag

Hello I am currently running a Kubernetes cluster at home with 1 master node and 1 worker node. I tried to add instances running on Oracle Cloud as worker nodes to this Kubernetes cluster. I port-forwarded all the ports listed in the official documentation on the router at home, and I did the same for the Oracle Cloud firewall.

After that, I tried to add a node of Oracle Cloud to the cluster usin ...

Score: 1
Should there be a `server_name` directive present if only one website is served with NGINX?
sy flag

The Mozilla SSL Configuration Generator omits the server_name directive whenever generating config for NGINX (e.g., see the one for NGINX 1.22.1 & OpenSSL 3.0.2).

After reading through a couple of related docs and threads (see at the bottom), I've come to the conclusion that this is probably because the configuration is provided assuming that only one site is going to be served.

I intend to do just ...

Score: 0
Vincent avatar
mount LVM2 dump or extract files
dm flag

I have a dump of a filesystem. I dont know how it was created. I want to extract all the files and the filestructure.

file dump.bin says it is a LVM2 PV (Linux Logical Volume Manager) file and prints a UUID and the size. I tried to use kpartx like this: sudo kpartx -a -v dump.bin but there are no partitions in /dev/mapper/ afterwards.

When I cat the file, it starts with imageUSB and is followed with conte ...

Score: 2
Serge Bigras avatar
Apache2 cannot get authentication to work
gd flag

Running:

Apache 2.4.41 on Ubuntu 20.04

I am trying to force authentication on /var/www/html but I think I have tried every combination of options possible but every single time it lets people in with following message in access.log

AH01625: authorization result of <RequireAny>: granted (directive
limited to other methods)

My vHost file :

ServerName icecast01.sbsica.com
ServerAdmin info@sb ...
Score: 0
Abhishek Sha avatar
Promiscuous Mode on VMware capturing only broadcast
cn flag

I'm facing an issue with using promiscuous mode on VMware. I have 3 VMs connected to a single portgroup on which promiscuous mode has been enabled. It's changed to "Accept". I am monitoring traffic between the first 2 VMs on the 3rd VM. All 3 VMs are in the same subnet. Well, I've disabled IP services on the 3rd VM so it behaves like a proper passive interface.

The problem I'm facing is that all  ...

Score: -2
Sina M avatar
the theory of SSH public and Private key and its application in realworld machines
rw flag

there.

In this question, I have a very specific one about public and private keys. So Public keys should be put on the opposite side. For example, if we have a server, the public key of the server should be put in the user's machine And the user's machine public key should be put into the server machine this is the theory that is telling the example with the example of Alice and Bob. they want to ...

Score: 0
Massimiliano Moraca avatar
NGINX redirect returns 414 Request-URI Too Large
cn flag

I'm not an NGINX's expert, I'm trying to redirect an entire website from a domain to another domain.

To test the solution in local I'm using two different urls:

  • fake old domain -> 127.0.0.3
  • fake new domain -> 127.0.0.1

But when I use the code below:

server {
    listen 80;
    listen [::]:80;
    server_name 127.0.0.3;
    return 301 $scheme://127.0.0.1$request_uri;
}

I see this error:

414 Re ...

Score: 0
Miroslav Ivanov avatar
How can I enable mod_wsgi in Apache2.4.57.0 on Windows?
ee flag

Apache/2.4.57 (Win64) Django 2.4.2 I am new to Django and I tried to connect it with Apache through mod_wsgi but it seems new versions of Apache does not support such kind of module. I installed mod_wsgi wheel in Anaconda with pip. Am I right? Or is there any different way I could deploy my Django project in production? I saw on the official page I could use nginx. Any opinions?

Score: 0
JCPuente avatar
Custer does not start. etcd and kube-apiserver do not start. Kubelet starts
rs flag

After a blackout, the cluster does not start. 3 workers + 2 Control Planes. Installed with kubeadm. Version 1.27.1 containerd 1.6.22 Ubuntu 22.04.3 LTS It has been running fine for more than one year, and the last kube* upgrade was 2-3 months ago.

containerd starts. Kubelet starts, but none of the pods are launched, neither the etcd nor the kube-apiserver. So kubelet does not execute the /etc/kub ...

Score: -1
How is it possible that tracert is 5ms fast over the atlantic ocean?
in flag

I am analyzing tracert on windows , trying to understand details:

tracert 8.8.8.8

Tracing route to dns.google [8.8.8.8] over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms 192.168.1.1

2 <1 ms <1 ms <1 ms 169.254.10.1

3 1 ms <1 ms <1 ms 88.220.36.225

4 5 ms 5 ms 5 ms 88.220.204.172

5 5 ms 5 ms 5 ms 88.220.204.179

6 5 ms ...

Score: -1
Jakala avatar
access minidla with vlc over zerotier
cf flag

I have a server with some dockers. One of these is a MiniDLA server. In my local network I can see all movies/songs that minidla server shared, with my smartTV, phone, tablet... Its working.

Now, i added a new docker with zeroTier client in server. I created a network in zerotier Web and I connect server with this. Also I installed zerotier in my phone, and when im using 3g/4g connection, if i co ...

Score: 0
Lukasz avatar
Linux bridge not forwarding traffic after changing bridge ports
ai flag

Problem: after changing bridge-ports value of a network interface, all networking on that IP stops working. Base system is Proxmox VE 7.4, based on Debian Bullseye.

Background: I have a Proxmox VE home lab with 3 nodes. I've recently decided to move 10gbps networking.

Each node is configured as follows:

  • two 1gbps ports (onbaord, Broadcom BCM5716) - eno1 and eno2
  • two 10gps ports (PCIE, Broadcom BCM5 ...
Score: 1
Santyuste avatar
SubCA certificate of trust
fr flag

I have deployed a PKI infrastructure with a Stand-Alone Root CA (which will be kept off) and 4 Enterprise SubCA's which depends on this Root CA. To make the computers trust the Root CA, I am going to send the Root CA certificate to the domain computers to be distributed from an AD GPO. The doubt I have is if I also have to distribute the certificates of the SubCA's on the respective computers that are g ...

Score: 0
UncleBob avatar
Puppet $facts built-in variable is undefined
in flag

I'm having an issue with a puppet agent running on a pi. It's running the same modules as a lot of others, and just this one is showing this issue, so whatever it is, it must be damn specific.

My problem is, I don't know where to start looking for it. When running, puppet is throwing the following error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluatio ...
Score: 0
Does installing/updating 64-bit odbc driver automatically install/update 32-bit and 64-bit driver?
in flag

I installed odbc driver 18 (64-bit), but notice that it shows up in both system32 and syswow64's odbc.exe.

Does installing/updating 64-bit odbc driver automatically install/update 32-bit and 64-bit driver?

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.