Latest Server related questions

Score: 5
Джон Смит avatar
Cloning data from a damaged SSD
kw flag

The SSD went into read-only mode, so you need to move the partition to a working SSD, but I encountered the fact that the LVM size is different:

#lvm pvscan

PV /dev/sdc3 VG pve lvm2 [<111.29 GiB / 13.87 GiB free]

PV /dev/sdb3 VG pve lvm2 [<118.74 GiB / 14.75 GiB free]

It will not be possible to transfer through DD due to the difference in volume.

sudo dd if=/dev/sd ...

Score: 0
Hussein Hijazi avatar
Optimal automated neo4j backup startegy
gt flag

I'm trying to figure out the most optimal way to do automated daily backups of my > 2TBs neo4j database. I need to get a db copy and upload it to S3. I have a neo4j cluster with 1 primary db and 2 secondaries. I have the neo4j data directory(/var/lib/neo4j/data) on all machines mounted on a separate device. Taking an offline dump of the db takes around 1-1.5 hrs, an online dump takes much longer. So  ...

Score: 0
Kyungrae Kang avatar
Questions on 40GBe QSFP+ to 4X 10GBe SFP+ breakout cables
my flag

I run a small(~400cores) Linux cluster. I am using aggregated 10GBe ethernet ports(with Netgear XS728T), but now considering an upgrade to 100GB ethernet with QSFP28 ports(Mellanox SN2100).

As I don't want too much work on the upgrade, I want to use a QSFP+ to sfp+ breakout cable but I wish someone who knows better could check if the new layout would work.

  (WAN)
    |
    |      <- RJ45 cable
    ...
Score: -1
restorit2 avatar
phpmyadmin unable to login
ca flag

Over the past couple of days I have usually not been able to login to phpMyadmin, but once I was able to. Either I get a blank screen of this message: This page isn’t working xx.xxx.xxx.xxx is currently unable to handle this request. HTTP ERROR 500. (this happens in Chrome, Firefox, Edge)

I am just setting up Wordpress thru Google Deployment (what a pain) and this is my first time using the ph ...

Score: -1
jfreak53 avatar
nGinx keeps shutting down
pm flag

The nginx process keeps shutting itself off, here are the errors

2023/04/18 11:47:29 [alert] 11073#0: worker process 11312 exited on signal 9
2023/04/18 11:47:29 [alert] 11073#0: fork() failed while spawning "worker process" (12: Cannot allocate memory)
2023/04/18 11:47:29 [alert] 11073#0: could not respawn worker process

I know it has enough ram, it's a VPS I control and I've jacked its ram up to 4GB ...

Score: 0
Brian A. Henning avatar
Process Appears and Disappears Randomly in `top`
cn flag

Very similar in theme to this question, but that refers specifically to high-load processes; in my case, it's a quite unobtrusive task. It's not a matter of falling off the bottom of the terminal space; I can filter by that PID and see the one line appear and disappear over time. The task isn't exiting, as the PID is the same and the CPU time (when visible!) continues to trickle upward. Could t ...

Score: -4
Trunk avatar
OVH DKIM Record Not Found
vi flag

I set up a DKIM Record on my OVH VPS recently.

The ultimate record generated is as follows (public key overwritten):

v=DKIM1;g=*;h=sha256;k=rsa;s=email;p=AVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRRRRRRYYYYYYYYYYYYYBBIIIIIIIIIIGGGGGGGGGGGGGGGGGGGSSSSSSSSSSSSSSSSSSSSSEEEEEEEEEEEEEEEEEEEEEEECCCCCCCCCCCCCCCCCCCCCCCCCRRRRRRRRRRRRRREEEEEEEEEEEET;t=y:s;

No errors show ...

Score: 0
Swapped in new SAS drive, RAID still shows degraded, what next?
cn flag

I need to replace a failed RAID 1 drive on an ancient PowerEdge 2950. The old drive was throwing amber warning lights with the LED showing error 1810.

I have a new SAS drive installed and the controller appears to see it. There are two solid green leds on the new drive:

enter image description here

I've booted into the OS and waited 30 minutes, but it does not appear to be rebuilding the drive.

Rebooting back into Ctrl-R, on the ...

Score: 0
Pasindu Prabhashitha avatar
Kubernetes Nginx Ingress url rewrite for dynamic id in url
at flag

I'm running a Kubernetes cluster on Azure Kubernetes Service(Aks). Currently, I'm having a service called product-service and I have exposed it to the outside using Nginx Ingress. My current ingress configuration looks like below.

apiVersion: networking.k8s.io/v1
kind: Ingress
    metadata:
    name: my-ingress 
annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/use ...
Score: 0
drkmkzs avatar
Necessity to backup Cassandra system keyspaces
in flag

I was wondering about the necessity to backup (in order to restore of course) the system keyspaces of Cassandra.

My backup/restore procedure is the following:

  • backup: snapshots (nodetool) + dump of keyspaces (cqlsh DESC keyspace) on all cluster nodes
  • restore:
    • create keyspaces (cqlsh)
    • restore schema.cql of all tables of all snapshots (cqlsh)
    • import tables of all snapshots (sstableloader)

With ...

Score: 0
Red Hat Enterprise 7.4 End-of-Life status
cn flag

I would like to get a definitive and authorized answer on the end-of-life of RHEL 7.4.

I tried to find information via

https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_1_Phase

and

https://access.redhat.com/product-life-cycles?product=Red%20Hat%20Enterprise%20Linux

However, most websites including the last link refers to RHEL 7.9. Where can I find official EoL information ...

Score: 0
dctech avatar
Block access to xmlrpc symlink file with htaccess
th flag

I have a WordPress site I am versioning with the help of symbolic links on an Apache/2.4.52 (Ubuntu) server with Nginx as a reverse proxy.

The directory structure is as follows:

example.com
  wp-admin -> symbolic to different directory
  wp-content
  wp-includes -> symbolic to different directory
  .htaccess
  wp-config.php
  ...
  wp-load.php -> symbolic to different directory
  xmlrpc.php - ...
Score: 0
Securing endpoints on Azure Application Gateway for access by HubSpot
kh flag

We have a legacy system which presents a REST API that has Basic Authentication / this API has so far only been accessible from within our private network.

We've been asked to make this API available publicly. However, our InfoSec team have a rule that Basic Auth is not sufficient (essentially for the reasons given here; though we're using >=TLS1.2 and it's a system-to-system API so there's no b ...

Score: 1
Marco Montevechi Filho avatar
Does a defunct process still allocate resources in the system?
de flag

I have a production machine (Ubuntu 18.04) that runs processes in GPU using Nvidia. A certain process has allocated memory and is now defunct, leaving the GPUs basically unusable.

ps -o ppid= -p

Returns one which means that PID=1 is parent of my defunct process, so i cant kill it.

nvidia-smi reveals that this process has lots of memory allocated in the GPUs. So i figure i can use

nvidia-smi --gp ...

Score: 0
ERO avatar
Curl has incorrect DNS resolution in a dind context
in flag
ERO

I am running a docker:20.10.7-dind container.

Into this one I am running a multi containers app.

One container is a back container. Another one is a keycloak container.

I connect on the back container and have :

back$ cat /etc/resolv.conf
nameserver 127.0.0.11
options ndots:0
back$ cat /etc/nsswitch.conf
hosts: files dns
back$ nslookup keycloak.localhost
Server:     127.0.0.11
Address:    127.0. ...
Score: 0
SandShriner avatar
Adding users from DC to remote desktop users
tl flag

How to add a user from DC to allowed remote desktop users for certain PC?

It lets me choose only users on local machine, although I am connected with a user defined in DC server. A domain user. Even if I try pressing advanced, same thing. Adding domain user to Administrators group is not an option. My goal is choosing from domain users, not local machine ones. Moreover, I am connected with the sa ...

Score: 0
Олег Пона avatar
Fedora Server 38 beta dnf error
sz flag

After this night my dnf on Fedora 38 broken. Always when I try to install some package or run upgrade command i have output

Total                                                                                                                     685 kB/s | 1.2 MB     00:01     
Problem opening package avahi-glib-0.8-22.fc38.x86_64.rpm
Problem opening package avahi-libs-0.8-22.fc38.x86_64.rpm
Proble ...
Score: 0
BradG avatar
Restrict location to just one IP in vhosts not working
bg flag

I am trying to restrict the access to a specific location for just one IP address in the vhosts file but for some reason it is not working. This for apache 2.4.29.

Here is my vhosts file:

<IfModule mod_ssl.c>
        <VirtualHost *:80>
                ServerName subdomain.example.com
                Redirect / https://subdomain.example.com/
        </VirtualHost>

        <Virtual ...
Score: 0
Subito avatar
100 concurrent requests to a Django-App with Gunicorn lead to "54: Connection reset by peer" and 502's
ru flag

I'm hosting a Django-App which serves as an API-Endpoint. Unfortunately the App which uses the API does a lot of concurrent requests on page-load (in the realm of 80-90 requests).

Nginx is running as the reverse-proxy in front of gunicorn and reports the following problem: kevent() reported that connect() failed (54: Connection reset by peer) while connecting to upstream

That lead me to scaling g ...

Score: 1
Dohn Joe avatar
old hardware - certified EOL OS vs. uncertified current OS
us flag

If you are a small business and have some old, non-internet-facing servers around, what are the pros and cons for dealing with the OS situation? We have an old server that is used for numerical and other computational stuff, which needs a re-install to be usable again, hence my question.

Should I install an OS with hardware vendor certification even though it is barely supported or even already o ...

Score: 0
Zemzema avatar
Gluster 11, cannot make replicate volume
gh flag

I'm trying to single node volume, convert to replicate volume by adding one more brick to gluster volume. I'm using command:

gluster volume add-brick replica 2

But every time I get Distributed-Replicate volume.

Type: Distributed-Replicate
Volume ID: 01fd7285-ce8c-4f52-8dd9-8b2f8c179074
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: s1:/storage/brick1/v ...
Score: -1
bv4nuf avatar
Postfix / How to allow sending only to one IP
bi flag

I have a postfix server that is on a public IPV4 address. I want to allow postfix to send emails ONLY to this IPV4 address (the same). Tried many things but no success...

Any idea ? Thanks in advance.

++EDIT01 : there are several domains on this server, and I want ONLY ONE domain to send emails to itself.

Score: 1
NFSv4: machine gets unresponsive when share is accessed without ticket
bd flag

We are implementing NFSv4_kerberos for mounting of home directories on a RHEL 9 machine. The think is that if a user has a cronjob that writes to the mounted homedir after the ticket expiration, the whole machine gets very unresponsive, to the point that I cannot even use the GUI.

Using top, I see this:

root      20   0  622392  74816  12876 R 100.0   0.9   1267:35 udisksd
1878994 ec-fran+  20   0  ...
Score: 3
Poiter avatar
Problems after installation of KB5025229/KB5025230 on Azure VM with Windows Server 2019/2022
id flag

After installation of KB5025229/KB5025230 we are getting errors in our software:

System.IO.IOException: The process cannot access the file '{file}' because it is being used by another process.

After de-installation of KB5025229/KB5025230 the problem is gone. The problem occurred on multiple Azure VM's with Windows Server 2019 and Windows Server 2022.

Software is a c# dotnetframework4.7 asp.net M ...

Score: 0
ensuring nginx always restarts
cn flag

the service setup with systemd for file /lib/systemd/system/nginx.service was set up with a last line in the service block

[Service]
Type=forking
PIDFile=/run/nginx.pid
[...]
KillMode=mixed
Restart=always

to always restart. However, this line seems to have disappeared at some point in time. I seem to recall something about aliases, but the documentation does not specifically refer to them.

There ...

Score: 0
unLimit avatar
How to change volume type when restore volume by backup_id openstack rest api?
mg flag

I create a backup from snapshot_id + volume_id. And that volume_id type is SSD. Then I performed the restore backup operation. Can I change the volume type from SSD to HDD? And at what step is it processed?

Score: 0
MUmla avatar
How to stop auto-rebooting of xen-domain?
jp flag

I want to terminate a xen-domain named xyz. I'm doing so by executing sudo xl shutdown xyz (also tried destroy). The domain is shutdown normally - but it's getting rebooted every time and I don't understand why.

The link to the domains config-file in /etc/xen/auto is already deleted (like described here). What can additionally lead to such a behaviour and how can I stop it?

xen_version is 4.4.1. In ...

Score: 0
najarajar avatar
Unable to boot SunOS 5.8
am flag

I had to hard reboot a SunOS 5.8 server due to a networking fault. On giving 'boot' command on OK prompt, I get the following messages

Can't read disk label. Can't open disk label package Boot device:
secondary File and args: Can't read disk label. Can't open disk 
label package

Can't open boot device

I am unable to run fsck on OK prompt. How should I go about troubleshooting this error?

Its a Sun Enter ...

Score: 0
Johnathan Martin avatar
Diagnosing mySQL Random CPU Spikes
zw flag

Our organization has a fairly advanced (as in many moving pieces) web application that's been working great up until recently, yet no noticeable changes have been made.

There is the Apache Web Server, the mySQL Server (Data Processing), and then another mySQL Server that handles the repetitive requests for the public. Traffic influx to the main web server would almost only impact the secondary SQ ...

Score: 1
Andy2 avatar
Kernel reboot without log during starting the crash kernel
sr flag

I am testing crash kernel image feature with arm64 device, kernel version is linux-5.4, now i am trigger kernel crash via "echo c > /proc/sysrq-trigger", then kernel would trigger null-pointer crash and save context, then start the second kernel. Now i see kernel reboot without any log, so i need to find out the cause that kernel reboot.

console log is:

AP488B:/# echo c > /proc/sysrq-trigger
[04 ...

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.