Latest Server related questions

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 ...
Score: 0
Hamed Zargar avatar
How to view total traffic usage of each user in ocserv
mw flag

I'm using ocserv as VPN server in my company on ubuntu, and I want to view how much traffic each user is using. Users are set in ocpsswd file. Do ocserv have this feature or any library I can use? As I search Google and I'm confused. Anybody can help me?

Score: 4
Rtype avatar
ESXI 8.0 Host to NFS slow vs Guest to NFS
gn flag

I have been trying to track down why my backups have been slow using ghettoVCB from the ESXI host.

I'm currently backing up my virtuals using ghettoVCB to a NFS share on TrueNAS from the host OS.

When I copy files to the NFS share from a guest (Ubuntu 20.04) on the ESXI machine I get about 257MB/s (which is about right as I have a dedicated 2.5gb channel between the NAS and ESXI)

su@test:/mnt/guest$ time ...
Score: 0
LorneCash avatar
Traefik on Synology: LetsEncrypt says it has DNS issues but the certificate file looks valid
om flag

My curent Network:

Router         - 192.168.1.1   (static)
Windows PC     - 192.168.1.10  (static)
Synology NAS   - 192.168.1.11  (static)
DockerPihole   - 192.168.1.12  (macvlan-static)
DockerUnbound  - 192.168.1.13  (macvlan-static)
DockerTraefik  - 192.168.1.14  (macvlan-static)

Docker Bridge Network (For Traefik to work)

DockerTraefik  - 192.168.10.2  (bridge-static)
DockerNginx1   - 192.168.10.10  ...
Score: 0
user3804363 avatar
Nodelocaldns Support in Microk8s
gn flag

Do we have support for Nodelocaldns in Micork8s clusters. If not, How it is handling the Cluster DNS performance without caching agent?

Score: 1
Iván Jf avatar
MySql Service Not Starting in cluster with DRBD
US flag

I have a high availability cluster with two nodes configured, after a maintenance carried out by an external company when restarting the system my mysql resource stopped working.

when executing the drbd-overview command I get the following.

Node Principal:
0:home Connected Primary/Secondary UpToDate/UpToDate C r-----
1:storage Connected Secondary/Primary UpToDate/UpToDate C r-----
2:mysql StandAl ...

Score: 0
user3852599 avatar
Forwarding apache logs from k8s Pod to Syslog server
jp flag

I am new to Kubernetes, I know there are multiple ways to log collection. but I am specifically asking about my scenario. we have a Syslog xyz.com port 8090. now we want our pods to send logs to our server xyz.com. what is the best way to achieve this? is there any centralize way of customizing logs from all deployment pods, or should we have to configure rsyslog service in a container and rebuild the c ...

Score: 0
OlivierTerrien avatar
Issue with postfix configuration as relay server
ng flag

I have created a postfix server for my domain : residencebauge.fr.

I have also configured SPF to authorize only my public IP address : "v=spf1 a:vps.residencebauge.fr ip4:51.77.220.62 -all"

I have then configured DKIM and DMARC and when I check in different website, everything seems correct.

When I send an email directly from the server everything seems OK and the mail is never considered as SPAM :

 ...
Score: 0
Dmitry Kuzmin avatar
Sporadic FTP connection timeouts when establishing a Control Connection with a Cloud-hosted FTP server
tr flag

Our team has to host and maintain a publicly-visible FTP server for the needs of our application. It's currently hosted on a Google Compute Engine VM, and the FTP server software in use is Pure-FTPd. Also, we tried FileMage.

When accessing the server through any mainstream FTP client, like FileZilla, by its public address, the server seems to work perfectly fine, being capable of ingesting/exportin ...

Score: -1
creatldd1 creatldd1 avatar
Docker Embedded DNS returns truncated domain name when doing reverse ns lookup
ax flag

I've been trying to setup domain name inside a container and check how the embedded Docker DNS deals with those settings. But I was surprised to see that I was only given a truncated domain name when doing reverse ns lookup.

I set the fqdn to be like ldec<i>.n18.org The command hostname --fqdn inside the container returned me ldec1.n18.org as expected, the ping ping ldec1.n18.org is working as expe ...

Score: 0
Olaman avatar
Slow MySQL 5.7 on Windows Server 2019
sd flag

MySQL 5.7 standard install with standard my.cnf (server) one table 20mb size

Dell R210II Windows Server 2019 Xeon 1230 v2 16gb ram

1 queries executed, 1 success, 0 errors, 0 warnings

Query: CALL do_import

0 row(s) affected

Execution Time : 53.650 sec
Transfer Time  : 0 sec
Total Time     : 53.650 sec

Laptop i7 L620 8gb ram

1 queries executed, 1 success, 0 errors, 0 warnings

Query: call do_import ...
Score: 2
fingerprints avatar
SSH Config based on ssh command with port forwarding
tr flag

I'm trying to convert the following SSH command on a SSH File entry.

My command is as follows:

ssh -i identity-file.pem -L 20000:internal-host.com:8080 [email protected] -N

An this is the current SSH file

Host remote-host-tunnel
  IdentitiesOnly yes
  HostName remote-host.com
  User user
  PubKeyAuthentication yes
  IdentityFile ~/.ssh/identity-file.pem
  ServerAliveInterval 30

Host internal-host- ...
Score: 1
euduca avatar
Redirect active FTP traffic to another server using iptables
ph flag

Network Scheme - IP addresses are fictitious

Firewall SO: Centos 6

I recently enabled two-factor authentication, using Google Authenticator, and with that transfers via SCP for some users were impossible to carry out. So the solution I found was to transfer files via FTP (active), using VSFTP (Ubuntu 22.04 LTS). I am using active FTP due to strict network restrictions at my university (passive FTP i ...

Score: 0
Johnny Ruin avatar
AWS SES - Stat=Sent
in flag

My organization sends 60k of email a week on SES. I track bounces and complaints in CloudWatch and with an SNS topic. Every now and again I need to confirm delivery of a specific email. I used to grep for stat=sent in the mail log. I never thought I'd miss those days but setting up an SNS topic and subscribing to it just to get the log is a real cringe, don't you think? That's just a lot of unnecessary  ...

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.