Latest Server related questions

Score: -1
Disk iops vs latency
jp flag

I am trying to understand the diference between iops and latency, this is my question:

If an hypothetical disk had 2 io per second, then its latency would be 0.5 seconds?

Score: 0
alex3025 avatar
Rsync: "chown failed: permission denied (13)"
de flag

I run a rsync task every midnight using the following command:

rsync -ahzP --stats --update --delete-before --delete-excluded --exclude "*.log" --exclude temp /mnt/raid/ /mnt/backups > /root/ext_backup.log 2>&1

/mnt/backups is a NFS mount.

The backup process runs smoothly for about half an hour, then I get the following error:

rsync: [receiver] write failed on "/my/file": Input/outpu ...
Score: 0
Ben Butzer avatar
Task Scheduler jobs run with expired password user account, but not with locked user account
cn flag

When setting up a task in task scheduler, our practice for over a decade is that the user who sets it up puts their domain account in the "Security Options -> When running the task, use the following user account". This has worked on Windows 2008 and later Windows 2016 server

We have long known that when running the task, the account that is set up only needed to work the first time. It seems  ...

Score: 0
Am3Y avatar
Replace a string from the cat output
co flag

I need to replace a string with the string which is mentioned in a file abcd.txt in all files in a folder.

For eg: I want to replace a string 'apple' with whatever the cat output of this file abcd.txt

I used the below command

grep -rl 'apple' /home/ron/log/temp | xargs sed -i 's/apple/$(cat /home/ron/output/id-3.txt)/g';

I'm getting the below error while doing it.

sed: -e expression #1, char 23: u ...

Score: 0
Lonzak avatar
POST requests fail after updating Apache load balancer ("empty stream")
tf flag

We have an apache configured as a load balancer (mod_proxy_balancer afaik) distributing the load to several wildfly application nodes. This was working fine until we updated the operating system from debian buster to bullseye.

The OS update increased the apache version from 2.4.38 -> 2.4.51 (plus some debian changes I guess). Since then all HTTP POST requests fail with an "input stream is emp ...

Score: 0
manu muraleedharan avatar
Cannot ssh into virtualbox centos from mac os x catalina
es flag

I have virtualbox installed on a Mac OS X Catalina host. I have got the Centos 9 guest os running on virtual box. For centos, i have used NAT in networking options, and mapped 2222 to 22. I cannot ssh from the mac os to the centos. Also i note that both host and guest have same ip in ifconfig. But this seems to be not a problem for the demo i am trying to replicate (Puppet course on udemy)

Alread ...

Score: 0
Copying files from remote to local using lftp in unix
kz flag

I'm trying to write a script to copy some files from a remote ftp server to a local directory. I have seen lots of examples using the mirror command of lftp but so far none of them seem to work. Currently I have a command that looks like this:

lftp -u myuser ftp.myserver.net -e 'set ftp:ssl-allow no;mirror -c --verbose eyerep-test/outgoing/archive ~/eyerep-files/outgoing;quit;'

If I execute that comma ...

Score: 0
jcnoe avatar
Ping across IPSec tunnel sends both ICMP and ESP packets
cn flag

I've been using Strongswan to setup an IPSec tunnel between two units. The tunnels SAs get setup without any issues and traffic can pass across the connection.

Whenever I ping across the tunnel, the ping request is sent as BOTH an ESP and ICMP packet. The ping response is always just an ESP packet. Looking at these packets with Wireshark, it seems like the ping request sends two packets, one enca ...

Score: 0
iTop reset admin password
tn flag

Imagine you load an external iTop save to your test server, but then you're locked out because your admin password don't work anymore.
(This story is fiction. Any resemblance to actual event is purely coincidental.)

How to reset admin password on iTop (given server access) ?

Score: 0
Sangram Sinha avatar
unable to connect mysql from gcloud app deployment
jp flag

Getting below error while trying to communicate mysql database from gcloud django app deploy. Below is the error message:

OperationalError at /
(2002, "Can't connect to local MySQL server through socket '/cloudsql/aevolveai-app-beta:us-central1:mysqlocr-uat1' (111)")

Please advise how to resolve it, sorry I am new to gcloud and serverfault

Score: 0
Ceph RGW 16.2.7 CLI changes
ca flag

I am trying to run a new Ceph cluster with Rados GW using the last software version 16.2.7, but when I set up RGW nodes I found out there are some changes in the CLI comparing with a version 16.2.4 I tested before.

The next commands are missed in the 16.2.7 version:

ceph dashboard set-rgw-api-user-id $USER
ceph dashboard set-rgw-api-access-key ...
ceph dashboard set-rgw-api-secret-key ...

they don't exis ...

Score: 0
Daniel avatar
CDP container in Active Directory required if not part of AD?
in flag

We have a Microsoft Active Directory Certificate Services Enterprise CA.

After installing the service, an AD container is created within CN=CDP,CN=Public Key Services,CN=Services,CN=Configuration,DC=ad,DC=example,DC=com

Our CDP is http-only. There is no LDAP path added. Should I keep or remove this container?

Score: 0
JimmyBanks avatar
Slow PHP-FPM startup on new VMs
za flag

I have an Ubuntu 18.04 virtual machine that is started up automatically by an Azure VMSS.

It appears that PHP-FPM is taking up to 60 seconds to startup when the VM is turned on. I was under the impression that PHP-FPM startup should be in the low seconds at most. An issue I am running into is that Azure is swapping VMs, and the first 30 seconds I receive a 502 Bad Gateway error because Nginx is s ...

Score: 0
How to replace/update Apache Log4j 1.2.x with 2.17?
us flag

My vulnerability scanner recently flagged an unsupported installation of Apache Log4j in a version of MS SQL we just recently deployed (SQL 2019). It causes two high-priority findings that I must get resolved. It seems to be, specifically, the file log4j-1.2.17.jar that is implicated.

Evidently there is a version 2.17.1 available here: https://logging.apache.org/log4j/2.x/download.html

Unfortunately ...

Score: 0
msr avatar
Centos Kickstart - partitioning fails because of arbitrary disk order
ru flag
msr

I've prepared a kickstart file for a Red Hat Virtualization 4.4 VM with 3 virtio-scsi disks with different disk sizes:

# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda

# Partition clearing information
clearpart --all --initlabel --drives=sda,sdb,sdc

reqpart --add-boot

# Disk partitioning information
part /boot --fstype="xfs" --ondisk=sda - ...
Score: 0
Zarkos.Fina avatar
RDP Windows server 2019
in flag

I'm connecting to one windows server 2019 from another windows server 2019 through RDP, when i close the connection using the "X" button and then try to open new RDP connection i get a timeout on this new RDP, however on the other hand if i "logout" on the first RDP connection and then try open new RDP then the connection goes fine, it seems that closing RDP by clicking "X" button doesnt really trigger  ...

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.