Latest Server related questions

Score: 0
maxdownunder avatar
How to set up remote home folders on Ubuntu 22.04 using CIFS
pe flag

I'm trying to set up remote home folders for Ubuntu 22.04 workstations. These workstations are joined to an AD domain using sssd and krb5, and users sign in using their AD credentials. I'm also using pam_mount to mount some CIFS/SMB shares using the krb5 credentials. That's all good and working.

I'd now like to host users home folders remotely, so that they can log in on different workstations an ...

Score: 0
vynxc avatar
NGINX server is producing error response code 400 and "Bad Request" message when the server is rapidly requested
do flag

The API serves as a proxy for M3U8 videos. While accessed through an HTTP connection at IP:port requests to the API never result in a response code 400. Despite being tested under semi heavy load(10 videos playing all at the same time), no issues have been encountered. However, when tested with nginx SSL + domain, frequent failed requests have been observed under a light load(one video playing). The log ...

Score: 0
Jared Carter avatar
How do I create CNAME records in AWS if the domain is hosted elsewhere?
ad flag

I have a domain that is hosted from a provider other than AWS. I cannot input the CNAME entries that I need there because I'm using custom nameservers:

ns-743.awsdns-28.net ns-1077.awsdns-06.org ns-246.awsdns-30.com ns-2021.awsdns-60.co.uk

When I try to find anything about updating CNAME entries in AWS, it always seems to be through Route 53, but I don't own any domains in Route 53. Can someone pl ...

Score: -1
Dale Walker avatar
Active Directory with router as DHCP/DNS
cn flag

I've got a small Windows server 2012 Essentials server at home. Apart from a device to study AD, it has been used as media server and as a backup server. I had it set up as recommended with DHCP and DNS on the domain controller. The server was running 24/7. Everything was fine.

With energy prices sky high right now, and the server costing me a significant amount to run 24/7, to cut costs, I now t ...

Score: 0
Dave avatar
SSSD is not creating a krb5.conf file after realm join, not able to `id` domain users, why?
id flag

The main problem is after I join the domain, I cannot id a domain user. Be aware I am not rebooting the host, do I need to? I would think I wouldn't need to.

After doing some basic troubleshooting I realized that after I join the domain, I would think that a krb5.conf file would be created in /etc/krb5.conf but it never does.

I am joining an Ubuntu20.04 host to a Windows 2019 AD server. I have confirmed ...

Score: 0
Karma Fusebox avatar
nginx default_server breaks mTLS clients when 404 is encountered before other statuses
us flag

There's an nginx reverse proxy with several server blocks like this one:

upstream nodes_app3-ui {
        server 192.168.1.3:40000;
        server 192.168.1.4:40000;
        server 192.168.1.5:40000;
}

server {
        listen 443 ssl;
        server_name app3.myserver.net;

        ssl_certificate /etc/letsencrypt/live/myserver.net/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/myserver ...
Score: 0
opike avatar
error ModuleNotFoundError: No module named 'lsb_release' when trying to run lsb_release -a
cn flag

Seeing the following output when trying to run lsb_release on Debian:

(venv) vm-1671541226:/$ lsb_release -a
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
ModuleNotFoundError: No module named 'lsb_release'

Debian version: 10.12 Python version: 3.9.14

According to apt-get it is there:

(venv) vm-1671541226:/$ sudo apt-get install ls ...
Score: 0
CrossBound avatar
vSphere with Tanzu - TKGs Cluster - Granted Developer Access but Still Unable to Login
st flag

I have a couple of TKGs clusters setup with vSphere with Tanzu. Everything seems to be working with the cluster itself. I am using our Active Directory SSO integration to sign in. I have an administrative user and I'm able to login to the cluster just fine and use the kubectl CLI to interact with it. This is the same user that created the namespaces/TKGs clusters. Within the namespace in vSphere, I have ...

Score: 0
zip6como avatar
How do i enable DNSSEC on NameSilo (using DS records form YDNS)
eu flag

(First of all i am new to domains in general and DNSSEC). I have tried to enable DNSSEC on NamesSilo for my domain. I only have the ds records in plane text and don't know wich value has to be inserted where They look like this:

33333 77 1 9999999999999999999999999999999999999999
33333 77 2 9999999999999999999999999999999999999999999999999999999999999999
33333 77 4 9999999999999999999999999999999999 ...
Score: 0
Marco avatar
Use more CPU cores using code in PyTorch that also uses GPU
ms flag

I'm trying to successfully run code in PyTorch that uses DataLoader. It is possible to configure the DataLoader to load data using several processes (which speeds up data loading a lot), via the use of the num_workers argument, configuring it with a positive number (https://pytorch.org/docs/stable/data.html#multi-process-data-loading).

I can get the desired result by setting num_workers to a number  ...

Score: -1
Cloud-Lover avatar
I got a security threat message in (VM ESXi) Management Interface
tn flag

I Have a server in (Leaseweb Germany Datacenter), VMware ESxi 6.7.0 Update 3 installed on it

the 'root' user have a very strong password similar to this level of complexity cK62AzW@$FMu

Today the server went down and when I tried to access the VMware ESXi management interface via the IP address I got the following threat message rather than (VMware ESXi management interface)

the threat message

I rebooted the server, then t ...

Score: 0
Can't get PyGObject running in my alpine docker image
es flag

I can't get the Python:Alpine Docker image to install all my required PIP libraries.

Unfortunately installing PyGObject is failing all the time and I can't get it running.

  Building wheel for PyGObject (pyproject.toml): started
  Building wheel for PyGObject (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for PyGObject (pyproject.toml) did n ...
Score: 0
Ryfor avatar
Oracle 19c on Oracle Linux 8, dbora start script ONLY starting when chkconfig sets it to level S99. Any other level like S98, fails to start on reboot
mz flag

I'm running Oracle 19c on Oracle Linux 8, dbora start script ONLY starting when chkconfig sets it to level S99. Any other level like S98, fails to start on reboot. Regardless of the chkconfig level, the script will run successfully, manually with service dbora start/stop. If it's set as level 99 (see below):

#!/bin/sh
# /etc/init.d/dbora
# chkconfig: 345 99 10

it then will be running after I reboo ...

Score: 1
Tom Donohue avatar
Why can't I attach custom fields to the journal with systemd-run --user?
jp flag

I want to run a program in a transient unit with systemd-run, using the user-level service manager (--user), with some custom fields attached to the journal.

According to the docs I can use LogExtraFields to do this. So I am running the program and setting the custom field FOO=bar, like this:

$ systemd-run --user --property LogExtraFields="FOO=bar" sh -c "sleep 1 && echo henlo"

But when I check t ...

Score: 0
greptech avatar
How to preview uploaded non-public website?
ug flag

How do I preview a website I uploaded to Google Cloud? I do not want it to be publicly accessible yet and want to see first how it looks and loads. I created the CNAME record, and bucket, enabled the computing API, and more. Where and how do I view it without it being public yet?

Thank you!

Score: 0
Aidan Perry avatar
Ubuntu 22.04 box cannot ping and connect to some services
mp flag
iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ufw-before-logging-input  all  --  anywhere             anywhere            
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            
ufw-after-logging-input  all  --  anywhere             anywhere            
ufw-reject-input ...
Score: 2
mugirl73 avatar
Powershell Help - Add Active Directory MemberOf to existing Script
cu flag

The working PowerShell script below provides me with all the users from a specific AD Group. It also lists their Title and Department. I want to add another column that lists all of the other AD Groups they are a member of. I added an example, the first 3 columns are from the working script the last column in yellow is what I would like to see. I appreciate the help, my PowerShell expertise is limited.

Score: 0
Stdugnd4ikbd avatar
Can't connect to mysql after managing systemctl (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock')
cn flag

I needed to run a program (just a compiled c++ program, not script, i.e., like /var/programname) on startup on CentOS 7.

I followed this guide https://www.howtogeek.com/687970/how-to-run-a-linux-program-at-startup-with-systemd/

Rebooted via reboot command, checked if my program is running via ps aux, it is.

But now, I can't connect to mysql database (maybe there are other problems). I have phpMyAdmin,  ...

Score: 0
Juliver Galleto avatar
Drop all connections from other domain except from original domain on Apache 2.4
cn flag

I have ubuntu server with apache 2.4 web server and original domain is running with ssl. Someone pointed their domain to my server and in my virtual host, it specify there the servername and serveralias so it should accept only connection from original domain, below is the virtual host

<IfModule mod_ssl.c>
<VirtualHost *:443>
    DocumentRoot /var/www/interoptive.com
    ServerName inte ...
Score: 0
titogeo avatar
rpcinfo not working inside a docker container running on rhel9
bo flag

rpcinfo is working fine on host(rhel). On the same host inside container, rpcinfo does not work. This is not related to the image, as this works fine on RHEL 8 and centos. Any inputs are helpful.

#Inside container     

rpcinfo -p <SERVER_DNS>
    <SERVER_DNS>: RPC: Success

# On Host

rpcinfo -p dns
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    1000 ...
Score: 0
Ed Greenberg avatar
Linksys SPA-504G with NAT: RTP stream problems
hm flag

I've got an asterisk server out in the cloud, and a Linksys SPA-504G behind a nat in my home.

My router port forwards TCP 5060-5063, and also UDP 10000-20000 (for RTP) to the sip phone.

My phone is set for NAT Mapping Enable = yes and Nat Keep Alive Enable = yes. SIP is set to 5061, not 5060.

The phone is set NOT to register. Instead, my public IP address is set in the sip.conf stanza at the Asterisk s ...

Score: 0
rbmxrenato avatar
How to list/check Partition Count usage on a given Event Hubs Cluster
to flag

everybody! I hope you are doing well!

Currently I'm supporting an Azure Event Hubs cluster that very often has notifications that the Partition Counts has reached its limit: 2000 Partition Counts, since it has 1 Capacity Unit (CU).

I looking for a way that I can check/list the amount/remaining Partition Counts that have/are used on the Event Hubs Cluster.It can be on the Azure Control Panel or over  ...

Score: 0
Gurudath R avatar
SSRS Sql Server Reporting Server Custom Security 2019 exception in Windows Server 2019
lc flag

I am facing a problem with respect to SSRS(Sql Server Reporting Server) 2019 Custom security Exception in windows server 2019.

SSRS report works fine from winforms vb.net code in previous version of SQL Server (2016, 2014 and 2012) but not in 2019.

Running report using Vb.net Winforms source code and sending WebRequest to SSRS server with necessary details like server url,username ,password, DBName etc ...

Score: 0
Florian Bach avatar
Multiple IPv6 tokens on one interface
jp flag

For a while, Linux has had support for IP tokens, meaning, you could do the following ...

ip token set ::10 dev eth0

and no matter what IPv6 prefixes the machine receives, it will always use ::10 for the interface ID without me having to hardcode a prefix:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 11:22:33:44:55:66 brd ...
Score: 0
Walter Vehoeven avatar
Problems generate a USB that will boot and install Ubuntu Server 22.10 without need for any user input
ar flag

So I would like to generate an unattended installation of Ubuntu from a USB, but I seem to get stuck in my boot\grub\grub.cfg file, I think line

linux /casper/vmlinuz file=usb:/ubuntu.seed preseed/file=usb:/ubuntu.seed auto=true priority=critical DEBIAN_FRONTEND=noninteractive ---

should work however, I am obviously wrong as it doesn't become unattended. .

set timeout=10

loadfont unicode

set men ...
Score: 0
KoenDG avatar
Full Implications of SMB mount option "noserverino"?
in flag

Working with Ubuntu-based systems.

Having run into a samba mount giving a stale file handle, the advice around the net seems to be adding noserverino as an option for the mount.

Reading the documentation, it states:

You can also use "noserverino" mount option to generate inode numbers smaller than 2 power 32 on the client. But you may not be able to detect hardlinks properly.

This doesn't really ...

Score: 0
Arvinder Pal avatar
Vertical Scaling resources (CPU, RAM) for Kafka Production cluster
US flag

Currently we are using three node kafka Cluster in Prod with hardware specifications : Zookeeper : CPU 2 Core Ram 4GB Kafka : CPU 4 Core Ram 8GB

We want to vertically scale our Kafka cluster to double the resources we currently have. Could anyone please tell how can we perform this activity with no downtime and without creating a separate cluster ?

Score: 0
PawelC avatar
Elastisearch on kubernetes - memory_lock not working
gb flag

I'm trying to deploy elasticsearch on kubernetes, with memory_lock enabled, but nothing works all the time. First, I'll paste my kubernetes config

apiVersion: apps/v1
kind: Deployment
metadata:
  name: elasticsearch
  labels:
    app: elasticsearch
spec:
  replicas: 1
  template:
    metadata:
      name: elasticsearch
      labels:
        app: elasticsearch
    spec:
      containers:
        - n ...
Score: 3
Can I change the storage location for individual replicated VMs in Hyper-V?
us flag

I have 2 Windows servers (2016)

  • one replicates VMs to the other.
  • On the replication server, I have two drives (C & D).

Is it possible to change the location of individual VMs that are replicated to the replication server? For example, have some go to the C drive and others to the D drive? This does not seem to be possible as I can only configure the location of the replicated VMs in Hyper-V Ma ...

Score: 0
gegentierversuche avatar
Xen configuration with 2 NIC and routing method
ps flag

I have an Ubuntu 20 Server in a Data center with one Public IP and 1 additional NIC to connected to Switch. In this configuration I have a VM with configured as routing method. The VM can ping to host vice versa and goes to Internet without any problem.

Now I have second Server same structure same OS same Xen version and same configuration. The only difference is of course the Public IP is differ ...

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.