Latest Server related questions

Score: 0
Tal.Z avatar
K8s v1.21 - Remove object from delete queue - Finalizers
au flag

Cluster information:

Kubernetes version: 1.21 Cloud being used: EKS Installation method: Host OS: Amazon Linux CNI and version: Flannel CRI and version: Docker

Hi,

I have an object with a finalyzer attached, According to the documentation once the object is deleted its is actually "marked" for deletion and will be deleted once the finalizer is removed and only then the object will be deleted.

My questio ...

Score: 0
Linux bash way for unprivileged user to take ownership of contents of only one particular directory?
in flag

I want a particular user to recursively change owner and group of all the contents of a particular directory, and only that directory. The directory is a kind of "inbox", where a service writes files, and subdirectories.

Currently, I have an administrator sudo chown, but I would prefer the destination owner to do it themselves, without that user having any more permissions then required. Let's say the o ...

Score: 0
Pure-FTPd how to close idle connections?
us flag

In my pure-ftpd server, we got more idle users than allowed and they are preventing new connections. How can I remove them? I tried restarting pure-ftpd but that didn't work. Active or inactive pure-ftpd, pure-ftpwho keeps reporting the same number of idle connections.

Thanks for your help.

-- A.

Score: 0
Omsl avatar
Dhcp server dont access internet
ru flag

I have 2 ethernet cards in Ubuntu Server 20.04;

enp1s0 my main ethernet card,

enp2s0 my dhcp server ethernet card.

I want devices that receive ip via enp2s0 to access the internet, but if I set the enp1s0 interface to dhcp: false and define a static ip in netplan configuration, enp2s0 can access the internet. But when I do enp1s0 interface to dhcp:true, enp2s0 cannot access the internet. How can I fix thi ...

Score: 0
user12207241 avatar
What's the safest way to swap an SSD (RAID 10)?
cn flag

I have machines (4x 2 TB SSDs, Hardware RAID 10 via LSI 9265-8i cards) and occasionally need to swap an SSD - for example if it fails.

I'm curious to hear what people consider to be the safest approach in swapping failed drives whilst a server is online and booted into the OS.

One thing that unfortunately won't work is enabling drive LED (megali PdLocate) for the good drives (leaving the bad drive w ...

Score: 0
Stopping DRBD so I can run some tests with a VM
in flag

We have two servers I inherited, both running DRBD and each then running KVM virtual machines.

I would love to stop a VM running on server1, and bring up just the 1 VM on server2 for some tests. Though with DRBD doing its thing on these servers and the broken startup script (posted here) I have from server2, it makes me nervous as I don't want to stop fully server1, just the one vm on it. I did ...

Score: 0
T Ravi Theja avatar
Apache2 server fails to start without sudo first time
ng flag

I have deployed my application to a kubernetes cluster that does not allow root user within pods. So I had to change the user to ubuntu. Due to this, I changed the default port of apache2 from 80 to 8080 as ports < 1024 are not allowed to be started without root access.

My issue is that when the apache2 server starts it throws the error

chown: changing ownership of '/var/lock/apache2.Ct3C4fV26c': O ...
Score: 0
samtech avatar
AWS Policy to Read/write RDS
us flag

In my scenario , I want a policy that will allow reading and writing of abc-database-backups/rds/postgresql-backup on S3? We'll want the my servers to have that access added.

Is creating a role and attaching it to the servers is best or adding a key to the server?

I tried this :

aws iam create-policy \
     --policy-name rds-s3-integration-policy \
     --policy-document '{
            "Version": "201 ...
Score: 0
Solarwinds Netflow Generator is crashing with file not found
vn flag

I am using this tool from Solar Winds to generate v9 Netflow events.

It was working until an OS update a few days ago. Now, it starts, but when I generate events it crashes every time. I have tried running it as Administrator and my regular privileged user. The cause might be a .NET update.

I have also tried using the processmonitoring tools, but I am not seeing an obvious root cause. Though I am pr ...

Score: 0
sammo22 avatar
Creating a new reverse proxy configuration in Nginx routes to a different config
jp flag

I have been banging my head on the wall with this. Any help that can be offered would be greatly appreciated.

I have handful of websites/services running on various different servers. I have a reverse proxy running on a server here at home to route different subdomains to their destinations elsewhere. I create a new conf, I indicate where my proxy_pass should be going to. My /etc/nginx/conf.d has ...

Score: 0
Nginx Redict without modifying url
ec flag

I want to make a redirection from one domain to another but from one page only.

Example: https://domainA.com/site/page to https://domainB.com/site/page

In nginx I put:

location /site {
         rewrite ^/site/page https://domainB.com/site/page break;
}

and it works, it does the rediction, but it changes the url and I want the url to always be https://domainA.com/site/page

How can I do so that the url d ...

Score: 0
FeoJun avatar
How to get users running processes without it's username in it?
ru flag

I'm trying to write all users and their running processes in file using: ps -r -U username -o pid,command,user > up.txt But I don't need commands that contains users name in it. How can I filter commands by their name?

Example

22312 ps -ls                       username
16411 ps -r -U username -o pid,com username

I need to get only 22312 row

Score: 0
AGK avatar
Can't install/uninstall SQL Server
sn flag
AGK

When I try to install SQL Server Express I got this error

Unable to install SQL Server (setup.exe)

Then I'm trying to uninstall everything related to the SQL server to avoid previous installation files, but I can't delete 1 folder (see image below)

inlined

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.