Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
38,418
questions
0
votes
0
answers
16
views
Limit maximum concurrent ssh connections per user does not work when shell is /sbin/nologin
I have a Centos 7 server and when I limit the maximum connections per user using the config file /etc/security/limits.conf it works just fine. See below an example of my configuration in that file:
@...
0
votes
0
answers
6
views
openstack fails in pci clam and cached bad data
I have openstack instance with one controller node and 2 compute nodes, our production works fine until 3 days ago, but now if we want to create instance with RTX-3090-flavor instance creating fails ...
0
votes
0
answers
8
views
I am running nodejs App in my main domain in the plesk does any one know how to allow the subdomain to host the nodejs app as well?
does any one know how to allow the subdomain to host the nodejs app as well ? currently I have main domain that is hosting nodejs application on the plesk , but I want to create subdomain under that ...
-2
votes
0
answers
9
views
mysql DB server automatically logging out
As we have checked mysql/error.log found below error.
4247 [Warning] Aborted connection 4247 to db: 'unconnected' user: 'unauthenticated' host: 'PKBL-DPCS-S135.insetgroup.com' (This connection closed ...
0
votes
0
answers
13
views
systemd: list both active and not-found units
I want to get a list of active and not-found systemd (user) units.
$ systemctl --user list-units --state=not-found
UNIT LOAD ACTIVE SUB DESCRIPTION
● server....
0
votes
0
answers
20
views
"none of the providers can be installed" when I ran "sudo yum -y install nvidia-driver-latest-dkms"
I want to install NVIDIA Driver. I ran sudo yum -y install nvidia-driver-latest-dkms, but I got the following problem:
Error: Problem: package
nvidia-driver-latest-dkms-3:545.23.08-1.el7.x86_64 ...
0
votes
0
answers
12
views
DNF-Automatic trigger set to run at unconfigured time
I am configuring dnf-automatic to automatically install security updates on some low priority test boxes. Eventually I want to the updates to run every Sunday morning around 4-5AM, but for testing ...
0
votes
1
answer
19
views
Adjust Logging Level for the OOM Killer
Is there a way to configure Linux so that the OOM killer will report/post only which process is killed, but not dump the entire machine state with it?
The reason I ask that is, that on our production ...
0
votes
1
answer
34
views
mount.nfs: access denied by server while mounting results in NFSv4 Access Denied error
This is weird and I have run out of places to look. Any advice would be most welcome.
There are three hosts involved on the same VLAN as follows:
trillian (192.168.1.3/24) - VM running Alma Linux 9....
0
votes
0
answers
32
views
Linux server management debian 10 and centos dhcp service host-name based Client Classing
I want to allocate a client's IP address based on the host-name provided by the client, but the results are often unpredictable.
I have tried to imitate the Client Classing in dhcpd.conf(5) by ...
0
votes
1
answer
20
views
Stunnel keeps hanging and then needs to be restarted
I am running Stunnel on Ubuntu 22.04.
Every now and then it will start hanging(but the service shows as active if I check the status) and I then if I restart the service it will start working again.
...
-1
votes
0
answers
14
views
VPS hosting: React + Java (SpringBoot) + MySql application does not load data from the database
I have an application developed in React, Java (with SpringBoot) and Mysql. On my local machine it is working perfectly. When upgrading to VPS hosting with Linux Ubuntu does not load the database data....
0
votes
0
answers
30
views
How Do You Block & Unblock Internet Sites in Apache?
How do you block all internet sites and only let some sites through in Apache Proxy?
I want to block all sites except some (e.g. updatemicrosoft.com, .windowsupdate.com , google.it etc.)
I have ...
1
vote
0
answers
17
views
How to sucessfully import an .ova vm exported from ovirt/kvm (Red Hat OS)?
So, I was given an .ova file. This is exported from a server using a combination of KVM/QEMU and ovirt technologie - the server runs RedHat and I want to import this .ova file into vmware or ...
1
vote
1
answer
106
views
What to set $DISPLAY environment variable to when su to another user
I'm not that au fait with Linux, let alone things like X and display/window managers.
I am trying to run the GUI installer for Oracle Enterprise Manager, but it is complaining about the value for the ...
1
vote
0
answers
42
views
Using an Ubuntu Server VM as a router for a private subnet on an ESXi host [closed]
I have some Linux VMs on an ESXi 7 host, which all have addresses 172.16.0.x in the 172.16.0.0/24 subnet. They are all connected to a portgroup called internal_network on my vSwitch and they can all ...
0
votes
1
answer
28
views
Cannot access to x2go client with same credentials more than once
I am trying to access via x2go client to the server (Linux system) through my laptop (windows). It seems that I could once, but for the following times it seems that there are authentication problems.
...
0
votes
0
answers
40
views
ZFS still writes to HDDs vdev while dataset is configure to store special for Docker
I'm facing a strange behaviour when using Docker together with ZFS.
I have one pool with 2x10TB HDDs as mirror vdev and 2x250GB NVMEs as mirror for special vdev (to store metadata and datasets with ...
0
votes
1
answer
54
views
Use let's encrypt certificates with the prometheus node exporter
I'm trying to configure a prometheus node exporter with HTTPS using the website certificates generated by let's encrypt.
There is certificates with permissions default let's encrypt permission
But I ...
0
votes
1
answer
29
views
how to get the used space (size in bytes) of a directory in a ceph file system
I have a ceph cluster quincy 17.2.7
I wonder if ceph has some tools to quickly get the the used space (size in bytes) of a directory in a ceph file system. I know one can get that using du -hs /fs/dir-...
0
votes
1
answer
69
views
Docker-Compose Error on CentOS 7: Shared Library Mapping Issue
I've encountered an issue with Docker on CentOS 7. Although I have successfully installed both Docker and Docker-Compose, when I run docker-compose --version, I receive the following error:
docker-...
0
votes
0
answers
22
views
CPU1_CATERR on HP Proliant Server [closed]
I getting these type of errors on an older ProLiant DL160 G6:
Event Type Date Time Source Description Direction
Generic 11/24/2023 20:57:47 CPU1_CATERR State Asserted Assertion
...
0
votes
1
answer
43
views
During continuous process of fio test, SSD sequential read bandwidth will slows down
I am using fio to test NVMe SSD max sequential read bandwidth, following is my fio command arguments.
fio -direct=1 -filename=/dev/nvme0n1 -name=nvme0n1-read_bw -rw=rw -ioengine=io_uring -rwmixwrite=0 ...
0
votes
1
answer
38
views
Amazon linux 2 - two kernels enabled
I recently upgraded kernel on one of the servers and I have two kernels enabled after reboot:
# amazon-linux-extras |grep kernel
_ kernel-5.4 available [ =stable ]
55 kernel-5.10=...
1
vote
0
answers
255
views
unable to update or remove libnghttp2.x86_64 packages in OEL 8
When I tried to update our OEL 8 servers, I got the following error. I can't remove or update this package libnghttp. I have tried yum clean packages, too. whenever I run any update and upgrade in ...
0
votes
1
answer
102
views
How to disable SSL/TLS Diffie-Hellman keys less that 2048 bits
I want to disable Diffie-Hellman key exchange with keys shorter than 2048 bits because I have a Weak SSL/TLS Key Exchange vulnerability alert.
As a solution, the tool itself tells me the following:
...
-4
votes
1
answer
32
views
How can I securely watch videos on my VPS downloaded from untrusted websites? [closed]
I have a linux VPS containing videos downloaded from untrusted websites, which may contain viruses. I want to watch these videos safely. I tried RDP, but it's lagging.
Is there a secure way?
0
votes
0
answers
35
views
not able to send mail with attachment from linux ubuntu : 20.04 by using email mailutils (sendmail keyword)
code :
subject="Service resilience service status"
body="Service is down"
from="[email protected]"
to="user@domain.com"
attachment="/home/ubuntu/...
0
votes
0
answers
17
views
New libnss service : getent is empty
I want to login users base on a local SQLite db. I used this repo github.com/agamez/libnss-sqlite3, placed libnss_sqlite.so in lib folder and edited /etc/nsswitch.conf as follows, but getent passwd is ...
0
votes
0
answers
26
views
Kill a malware process running in the background [duplicate]
I have a WordPress site sitting on a Docker container and which was infected by a malware. I noticed that when I try to remove the malware, it gets back again after a few seconds. When I run a process ...
0
votes
0
answers
22
views
IPv6 route based VPN client with Strongswan, packets arrive but not received by application
I'm trying to set up a linux client PC with a route based VPN tunnel using strongswan and an XFRM interface, with IPv6 (end to end).
strongswan 5.8.2, linux kernel 5.15.0
[An aside - I've tried an ...
0
votes
0
answers
57
views
How to create an FTP user (or use ROOT) to access to ALL websites, current and future via FTP?
I have a new Hostinger VPS and I'm migrating all my websites over from Bluehost. Setting up an FTP user (I am running ProFTPD on Ubuntu) through CloudPanel is quick and easy, but it seems to be only ...
0
votes
0
answers
25
views
RAID1 array auto removed a totally physically damaged member disk. Should the disk replacement procedure be any different than standard `mdadm --add`?
RAID Setup
One RAID 1 array with 2 members:
sda1
sdb1
Due to hardware failure, sda is not visible in /dev/ anymore and the array also does include it anymore (RAID 1 status: S)
Playbook to replace ...
1
vote
0
answers
14
views
Setting drive spindown time on megacli
I'm having trouble setting the spindown time on MegaRaid using MegaCLI. Apparently, I'm doing something wrong - in essence, I'd like to set default spindown time for all disks.
I'm trying this:
...
0
votes
2
answers
135
views
Is opening SMTP port with default Sendmail config safe?
My self-hosted web app (Ubuntu VPS) needs the ability to send noreply@ notifications to users when something goes wrong. I don't really need the ability to receive emails but I would like to comply ...
0
votes
0
answers
32
views
cpuset does not work correctly for systemd service
I am running kubelet service with systemd and trying to pin all kubelet processes to a single CPU core.
Edited /sys/fs/cgroup/kube.slice/cpuset.cpus and put 7. the taskset command shows the cofig is ...
0
votes
1
answer
66
views
How to replace failed disk on Linux Raid (mdadm)
I get an input/output error when I list drives with: fdisk -l
Failed to read extended partition table (offset=3886721022): Input/output error
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 ...
0
votes
0
answers
20
views
Correct Model Specific Register (MSR) to check turbo boost for different Intel CPU models?
I manage the following servers (but not limited to) for my work:
Coffee Lake: E-2146G, E-2276G, E-2286G, E-2146G, E-2276G
Kaby Lake: E3-1230 v6, E3-1230 v6
Haswell: E3-1231 v3
I referenced the Intel ...
0
votes
0
answers
43
views
setting up a NFS server on a kubernetes cluster
as part of tests I'm doing, I'm attempting to set up a NFS server on my cluster that all of the other pods could use to mount the data folder through.
similar to this set up:
Image
I've tried ...
0
votes
0
answers
27
views
Configure a server to act as an internet gateway [duplicate]
I have two virtual servers hosted in Hetzner Cloud. The first server (let's call it Access Server) has a Public IP assigned and has internet access. The second server does not has a public IP assigned ...
0
votes
2
answers
80
views
Using Active Directory only for authenticating logins
Unlike: Linux + Active directory authentication + only letting certain groups login
Which is a full AD solution for Linux, limited to groups.
What I want is:
A simple way a random internal Linux box ...
2
votes
0
answers
33
views
Fix kickstart drift between CentOS 8 Stream behavior and CentOS 9 Stream behavior
I'm facing a weird situation on one of my server on the provisioning process.
Here is the machine HW Model:
HPE Proliant DL365 Gen 10 Plus with 6x 1.9TB SATA 6GBps SSD disks.
What's going on:
When I'm ...
0
votes
0
answers
145
views
Qualys: Weak SSL/TLS Key Exchange
In a Qualys vulnerability report on a RHEL 8.6 server where a CA endevor bridge for git is installed, it detects the following vulnerability:
QID 38863 - Weak SSL/TLS Key Exchange
Offering as a ...
0
votes
0
answers
45
views
File is immediately deleted after using cat
I'm currently facing an extremely strange issue I'm not sure where to begin to diagnose. I have a directory of log files written using winston (and its daily rotate transport). When I go in that ...
0
votes
1
answer
43
views
How can I keep track of nginx restarts and reloads?
I have an nginx reverse-proxy on a ubuntu server in AWS. How can I see when it's configurations were reloaded, either via CLI or otherwise, and when it was restarted altogether?
If it doesn't record ...
0
votes
1
answer
41
views
Can I generate and log output alerts for SMTP traffic using Suricata 7.0.2?
I have Suricata 7.0.2 IDS installed on a Linux Ubuntu 20.04 virtual machine. In my virtual environment, I have two virtual networks. In the first network, I have a mail user agent (Attacker) that ...
0
votes
0
answers
26
views
strace restart apache server does not log accept/accept4 syscalls
We are using the following command to gather syscalls for apache server start (run as root):
strace -e trace=open,close,read,write,connect,accept -f -o /home/sacumen/syscalls_start_apache.txt ...
0
votes
0
answers
49
views
Linux network OS boot from grub bootloader ISO
I have an idea to boot the system with network files for automated installation of OS
I have created an ISO with gub-mkrescure with just a grub inside it, so when it boots the grub menu will appear ...
1
vote
1
answer
65
views
Recover ZFS mirror from pool with unavailable device
I tried to expand my two-way mirror to a three-way mirror. The new drive had some filesystem issues (ext4) so I tried to force zpool add -f the drive for ZFS to handle for me. This led to a weird ...
0
votes
0
answers
30
views
How do I convert freedict file (.dict.dz) to XML?
I tried to follow the instructions from the "Installation" section of:
https://github.com/freedict/fd-dictionaries
It says "For building make should be enough, at least if you have both ...