Latest Server related questions

Score: 5
VIVEK avatar
How to install and configure Redis server on Amazon Linux 2023 (AL2023)?
hu flag

Amazon Linux 2023 is loosely based on Fedora 34, 35 and 36 as per aws: https://docs.aws.amazon.com/linux/al2023/ug/relationship-to-fedora.html

However redis package is not available in AL2023, instead redis6 is available: https://docs.aws.amazon.com/linux/al2023/release-notes/all-packages-al2023-20230322.html

I tried installing it using sudo dnf -y install redis6 and it installed successfully. But I'm not ...

Score: 0
Marty Vance avatar
Apache2.4 returns 403/Forbidden error on symlinks after Ubuntu upgrade
br flag

I just upgraded my development workstation from Kubuntu 18.04 to Kubuntu 22.04.2 LTS.

For context, I keep /home on a separate disk from /. The previous / is still present at /mnt/sdc5.

Kubuntu 18.04 was running:

$ /mnt/sdc5/usr/sbin/apache2 -v
Server version: Apache/2.4.56 (Ubuntu)
Server built:   2023-03-09T07:33:5

Whereas 22.04 is running:

$ apache2 -v
Server version: Apache/2.4.52 (Ubuntu)
Server ...
Score: 0
Thom avatar
Multi cloud provider kubernetes cluster pod logs got timeout
ng flag

Hi all i have master node in digital ocean and worker node in google cloud, nodes are connected using public ip of master nodeenter image description here and pods are in running status but when i run kubectl logs i'm getting timeout error , also i noticed log is calling with local ip so there is no host in it , any one help on this ? is there any possible way to call logs using public ip ?

Update: adding /etc/kubernetes/manifest ...

Score: 0
Jonathan avatar
two network interfaces in LXC → Systemd is blocked for 5min (services dead)
ve flag

I use proxmox to virtualize some LXCs. Recently I wanted to add a second interface on a Debian 11 LXC build of Turnkey ... but there is a weird problem with systemd. When I configure two static interfaces, systemctl stops working or something like that. Services like apache2 pihole or postfix become dead and when I start them nothing happens, there are no outputs and logs .... nothing. I have to configu ...

Score: 0
alchemist avatar
Temporary disconnect of HDD in RAID 0 array
jp flag

I have a blade server on Rocky Linux 8 with 5 18TB WD Gold HDDs in a software RAID0 built with mdadm. I will accept all the lectures on this and change my ways if you all can help. I needed coffee while I was investigating what appeared to be an empty HD slot (the LED was off) and I popped out one of the drives in the RAID. I quickly put it back in and did a reboot.. to find that I am booting into eme ...

Score: 1
firewall masquerade configuration not working
cn flag

I'm using RHEL 8 and am trying to set-up NAT/MASQUERADE using firewall-cmd. So far I have all the network interfaces and services in the public zone. eno8303 is the internal nic and eno8403 is the external nic. This is my procedure but I can't get it to work:-

sudo firewall-cmd --permanent --direct --passthrough ipv4 -t nat -A POSTROUTING -o eno8303 -j MASQUERADE sudo firewall-cmd --permanent --direc ...

Score: 0
sssd.service restarting every 1 minute 50 seconds
ph flag

I have 5 workstations that have been joined to a freeipa domain. I've noticed some weird authentication related issues on 3 of the workstations. I've discovered that all 3 workstations will restart their sssd service at almost the exact same time every 1 minute 50 seconds. They're almost in perfect sync with each other. When this occurs, I see in the logs under /var/log/ssd/*.log a message about an  ...

Score: 1
merlin2011 avatar
How do I enable containerd?
vn flag

When I run systemctl status containerd, I get the following output:

 containerd.service - containerd container runtime
   Loaded: loaded (/usr/lib/systemd/system/containerd.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2022-08-31 19:22:36 UTC; 6 months 27 days ago
     Docs: https://containerd.io
 Main PID: 3881 (containerd)
    Tasks: 165
   Memory: 87.5M
   CGroup: ...
Score: 0
Micah Hunsberger avatar
Clipboard > Type Clipboard Text doesn't work on Server 2022 Guests for Powershell window
cn flag

I can paste text into the guest OS using the Clipboard > "Type Clipboard Text" menu command, except when I am trying to paste into a PowerShell window on a Server 2022 guest. If I launch cmd or notepad, I can paste, but if it is a PowerShell window, then nothing gets typed to the screen. Is there some setting in PowerShell that I am missing that disables this kind of typing? I have only noticed this i ...

Score: 2
alsoeric avatar
Detect when an SSH or SFTP connection has closed
sy flag

I have an application that receives a collection of files by SFTP. I need to know when that session has finished so I can process the batch of files in a group.

Currently, I'm using the brute force solution of waiting an hour after the last file change as a signal that the transfer is done. Is there anything more elegant/reliable than a timeout?

[edit] Adding in response to larsks comment.

In this envi ...

Score: 0
Pablo avatar
how to keep website up when server resource is not available
at flag

First of all I should say I'm newbie in server configuration and managment.

In my case mariadb has high cpu usage and oom killer close this service when resources are not available and website get down.

how to keep up website when oom killer kills a service or limit resource for services to prevent killing service by oom killer ?

I searched a lot about limiting resource but all soulution said I should  ...

Score: 0
Eder Andrade avatar
NGINX - redirect userdir to another domain
fj flag

I had an apache virtualhost config that redirects "http://host.domain.com/~userdir" to another host:

RewriteRule ^/~(.+) http://anotherhost.domain.com/~$1 [R,L]

But I'm having trouble to migrate this config to Nginx. Anyone could help me please?

Score: 1
nithyanadham singaravadivelu avatar
Windows Certificate Authority server
xk flag

A default installation of a Microsoft PKI running Windows includes LDAP URL's as first within CRL distribution points (CDP's) and Authority Information Access (AIA).

Question 1 :

I want to issue a certificate from my windows certificate authority server to Cisco DNA device but want my HTTP-type CRL being included as first with my certificate and internal LDAP URL's as second within CDP and AIA exten ...

Score: 0
Ali Asad Sahu avatar
How To configure the minimum word length for full-text search in Nextcloud
cn flag

What is exact JSON to provide to sudo -u www-data php /var/www/html/nextcloud/occ fulltextsearch:configure to configure minimum word length for full-text search?

Score: 0
homeFault avatar
Dell IDrac8 SMTP setup diagnosis - RAC0225
it flag

I tried to setup the mail warnings on an IDrac8, it's not my first time, that's why I am wondering what I am doing wrong.

on this server it won't send mails with following error

"RAC0225 sending of the test mail failed"

Network settings for idrac are setup properly. Connected via an exclusive lan port to our network, gateway and DNS is accessible via this port.

SMTP settings for idrac are setup properly,  ...

Score: 1
Erika avatar
Can not start etcd cluster when setting up a HA K8S cluster
pn flag

I am following this article to set up a HA k8s cluster: Guide: Kubernetes Multi-Master HA Cluster with kubeadm

I have three master nodes(3,4,5) and four worker nodes(2,6,7,8) (one of the worker nodes is HAProxy Load Balancer)

In "Installing and configuring Etcd on all 3 Master Nodes" section, step6, I get the following error in master node 3:

{"level":"warn","ts":"2023-03-28T17:21:07.929-0700","call ...
Score: 0
Eric avatar
ESXi with 1 vSwitch using multiple teamed NICs each connected on a seperate physical switch for resilience/redundancy
at flag

I've read many posts (even from vmware) saying that in ESXi, NICs teamed in a vSwitch should all be connected to the same physical switch. I found nothing about what I am describing below and in my opinion, this infringes the resilience/redundancy goal we all want to achieve.

If a datacenters, there is a bunch of switches uplinked one to another via a trunk port so it permits hundreds of NICs con ...

Score: 1
FreeIPA authentication issues across high latency link?
ph flag

We recently setup a FreeIPA server. We're using it for central user management, DNS, and CA. It's been working great with one exception.

Some of the workstations that authenticate with this FreeIPA server are several thousands of miles away. Round Trip Time is about 300 ms. We've noticed some unpredictable authentication failures on these machines. One second they'll fail to authenticate a l ...

Score: 0
Kevin Keane avatar
exclude a subnet from a firewalld zone?
mx flag

We have a, historically grown, rather complicated network layout, forcing me to build complex and hard-to-manage firewalld zones. One thing that would really help me is if there was a way to exclude one subnet from a zone, but I have not found a way to do that.

I'm using firewalld on RedHat Enterprise Linux 7/8/9, so any solution has to work with firewalld 0.6.3 and higher.

Example:

Assume that there a ...

Score: 1
Arup Rakshit avatar
Nginx throwing 404 errors when assets from subfolder of the root are requested
cw flag

My nginx config file looks like:

passenger_enabled on;
passenger_ruby /home/inspection/.rbenv/shims/ruby;
rails_env    production;

root         /home/inspection/app/current/public;

location /build/ {
root /home/inspection/app/current/public;
autoindex off;
}

if (-f $document_root/under_maintenance.html) {
        return 503;
}
error_page 503 @maintenance;
location @maintenance {
        rewrite  ...
Score: 0
Francisco avatar
Squid proxy: How to pass param to ext_sql_session_acl
ca flag

I'm trying set external acl that check against database if authenticated user is overcuote, for that I try to configure acl rule as:

external_acl_type CHECKOVERCUOTE ttl=3600 negative_ttl=10 children-max=5 children-startup=2 %LOGIN /usr/lib/squid/ext_sql_session_acl --dsn "DBI:mysql:database=squidmgr" --user squidmgr --password dbpassword --table "proxy_usuario" --uidcol "identificador" --usercol " ...
Score: 0
Arrow Root avatar
Cross Account SSM session: AccessDeniedException
sm flag

I have two AWS accounts and one role in each account: Account-A have RoleA and Account-B have RoleB.

RoleA will assume the RoleB to be able to connect in an EC2 instance in Account-B through ssm start-session.

Using the RoleA, I'm able to assume the RoleB and describe the instances in Account-B using aws cli, but I can't start a ssm session due the following error:

An error occurred (AccessDeniedException ...

Score: 1
virtual concatenation of two certificate files
us flag

mongod requires a certificateKeyFile that is a combination of a certificate and a private key.

certbot manages quarterly renewals of tls certificates that cannot be valid for more than 3 months. the result of a successful certbot renewal run is the creation of new certificate files that can be accessed by some symlinks (that it also manages) at /etc/letsencrypt/live/$(hostname -f).

is there a way ...

Score: 1
N. J avatar
SSSD versus direct ldap IPA
cn flag

I'm trying to setup so my sudoers in nsswitch.conf is using sss and not ldap directly. However, when I try to switch this and run a sudo I get following error:

Error userX is not allowed to run sudo in hostx. This incident will be reported.

If I add the host is added to IPA manually in the DNS, this is not a problem.

Question: Why do I get this problem when I switch to use sss rather ldap directly ?

Score: 1
bitshift avatar
Index rebuild of system-versioned table
us flag

Curious, if a table is system-versioned and an index needs to be reorganized/rebuilt, how will its history table affect this operation. Does the history table have to get checked/scanned during an index rebuild on the main table?

Score: 0
yegeg58572 avatar
Extending virtual device and then fdisk now gives unknown physical volume on centos 7
ua flag

I'm trying to extend space on sdb. It was 800G before, I've added 1TB to it, making it 1.8T total (extended the disk from VM's Vmware settings).

  1. Extended the 800G disk with 1TB more making it 1.8TB

  2. Restarted the server and did fdisk -l; which showed /dev/sdb to be now 1.8TB

  3. Did fdisk /dev/sdb and created a new partition /dev/sdb1

  4. Tried creating the new partition with # pvcreate /dev/sdb1 and it c ...

Score: 1
nikis avatar
Apache 2.4 expr - how to load a html file via RewriteRule?
my flag

On Apache 2.4, Having a bunch of mixed SEO friendly and dynamic URLs on an ecom site I want to implement a simple caching system for my blog posts and product pages. First I want to have md5(REQUEST_URI+QUERY_STRING) and then load the prerendered /cache/md5hashumfile.html that's all.

Here is my htaccess code:

    RewriteEngine on 
    RewriteBase /subfolder/
    RewriteCond "expr=%{DOCUMENT_ROOT}/subf ...
Score: 0
Cat Mucius avatar
How to define custom Azure AD Conditional Access policy for blob service on specific Storage Account?
ng flag

Good day,

Is it possible to define a Conditional Access policy regulating access to a blob service of a particular Storage Account?

Let's say, our general policy is too restrictive (say, it requires MFA or particular source IP ranges) - and we want to make exceptions for calls to <our-storage-account>.blob.core.windows.net. Is it possible?

I saw couple of mentions that it's possible to add an  ...

Score: 0
Stan Huang at Taiwan avatar
Why does local IPv6 work for net-snmp, but glocal one doesn't?
us flag

My Linux-based NAS contains Net-Snmp v5.9.3. I found that both IPv4 and IPv6 work fine for the whole NAS functions except SNMP functions. Basically, Net-Snmp works fine except the following issue:

IPv4 works fine with Net-Snmp IPv6 with link local address (fexxxxxx...) works but glocal unicast address (2000 xxxxxx...) doesn't

That's, when browsed it's MIBs thru link local IPv6 address, it's fine. But i ...

Score: 0
Sushmita Chakraborty avatar
Azure Windows Virtual Machine Activation
sg flag

I am currently using 3 Windows VMs on Azure. All of them are server 2022 datacenter edition. Now one of the VMs is showing activated while the other 2 are not. I am using these for lab practices. I don't need it but very curious as to what happened. I created all the 3 VMs in the same way on Azure portal.

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.