Skip to main content

Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

nfs hang issue, but telnet to nfs server is working

recently some of our servers have hanging issue, when I try "df" or "ls /data/mountA", the command is stuck. However when I was trying telnet to ntpserver with port 2049 and it is ...
Yu Franco's user avatar
0 votes
0 answers
64 views

Receiving Kiss of Deaths with chrony

basically I think the issue is that my company NTP server has a Stratum of 5 and it might be laggy at times - but it's maintained by other team so I don't have much info about it. Now I have tested ...
aurelius's user avatar
  • 174
0 votes
0 answers
51 views

Postfix Blocked by SELinux

Struggling getting Postfix to run properly on CentOS9, I have it working sending a mail when I call webpage that has the code for a hardcoded email test. The issue is on a contact form on the website, ...
llanato's user avatar
  • 211
0 votes
0 answers
15 views

Issue: oracle linux UI goes black

I'm using the oracle linux verison Linux localhost.localdomain 5.15.0-207.156.6.el9uek.x86_64 #2 SMP Thu Jun 6 02:32:40 PDT 2024 x86_64 x86_64 x86_64 GNU/Linux I'm facing the issue, whenever I try to ...
Atul Joshi's user avatar
-1 votes
0 answers
65 views

Keep getting Permission denied (publickey) when trying to ssh into an older machine that I setup to be keys only

I have this server and some people want to log into it with only their ssh keys, it is not working for them. I always use passwords so I started to investigate, and set the server to allow keys only. ...
Codejoy's user avatar
  • 157
0 votes
0 answers
25 views

Oracle Linux 9.4 Display Issue

I have Two server running oracle linux 9.4 1st one is working good if i connect display. 2nd one have flicker issue or Display is totally black even though i upgrade the firmware, app update ,drivers ...
abu's user avatar
  • 1
0 votes
0 answers
17 views

Headless distribution update of Xubuntu 22.04

I'm trying to update Xubuntu 22.04 LTS to 24.04 LTS on my headless server without success. What I've tried: I installed update-manager to be able to upgrade to 24.04 (as stated on the Xubuntu website)...
tai's user avatar
  • 121
0 votes
2 answers
81 views

PHP shell_exec fails, terminal/CLI works

I have to get basic information about the operating system in PHP: $p = shell_exec('cat /etc/*-release 2>&1'); This returns: cat: '/etc/*-release': No such file or directory The command runs ...
John's user avatar
  • 138
3 votes
1 answer
188 views

Fedora 40: auditctl doesn't audit creating, editing and deleteing to files as expected

Many thanks the @Romeo Ninov's help! The mistakes I made are should use file /etc/audit/rules.d/audit.rules to add a rule for RedHat 7 & 8 should use service auditd restart to restart auditctl ...
ildvzg68472's user avatar
0 votes
0 answers
35 views

How can I manage to detect multipath devices before assembling md RAID in Debian boot?

I have the following situation: I am using 12 SAS disks, with redundant controllers, in a md-RAID6 in Debian. Usually multipathd handles the multipathing, resulting in a device-mapper configuration ...
th3falc0n's user avatar
  • 121
0 votes
0 answers
18 views

take an image with clonezilla of only the used space

I have a USB stick that contains two partitions, sda1 and sda2. I want to take an image of this stick so that I can clone onto other USBs. The USB size is 128GB. but both partitions are less than 10GB....
jaafar Nasrallah's user avatar
1 vote
0 answers
132 views

SSH session over ipv6 hangs after short time, works fine over ipv4

I have set up a server and a router (two machines) with both ipv4 and ipv6 (ULA). Ubuntu Version: 24.04. When using ipv4 for both ssh and cockpit everything works fine. When using ipv6 following ...
mspehar's user avatar
  • 111
0 votes
2 answers
134 views

Managing passwords of many remote servers

I routinely login to many remote servers through SSH. I use a public/private SSH key to login without having to enter my password (https://linuxize.com/post/how-to-setup-passwordless-ssh-login/). ...
a06e's user avatar
  • 395
-1 votes
0 answers
39 views

Attempting to set up an exim4 SMTP only server that can send out messages from two domains

I am attempting to set a STMP server that can send out messages from two different domains Adding this line to the the config file (update-exim4.conf.conf) PRIMARY_HOSTNAME = $sender_address_domain ...
Mobious1's user avatar
7 votes
2 answers
886 views

How to temporarily disable a primary IP without losing other IPs on the same interface

Context I am working on Centos 7 and I have a network interface eth0 configured with multiple fixed IP addresses (I am only concerned about the IPv4 addresses here, I do not care what happens to the ...
Flo's user avatar
  • 83
1 vote
0 answers
30 views

DHCP is adding a route to the gateway: is it necessary?

My server is configured via DHCP using the following routes: default via 10.10.10.1 dev ens3 proto dhcp src 10.10.10.2 metric 100 10.10.10.1 dev ens3 proto dhcp scope link src 10.10.10.2 metric 100 ...
Phylliade's user avatar
  • 111
0 votes
1 answer
57 views

Is there a way to filter systemd cgroup user slices by group/gid so we can allocate resources to specific groups of users?

It looks like you can add conditions to the unit section of systemd unit files, so I was thinking... is there a way to add the condition ConditionGroup to a drop-in under user-.slice.d? My end goal is ...
OldManWaterfall's user avatar
0 votes
1 answer
67 views

linux + how to close connection that are not in used

from netstat -anp | grep :8088 | grep EST we can see the following connection ( is example from our hadoop server ) tcp 0 0 192.83.23.112:42360 192.83.66.114:8088 ESTABLISHED ...
King David's user avatar
0 votes
0 answers
29 views

How do I configure apache through virtualhsot to allow .well-known directory to be loaded and not get a 404 error

I have: <VirtualHost *:80> ServerName subdomain.maindomain.com DocumentRoot /var/www/subdomainFolder/public_html <Directory "/var/www/subdomainFolder/public_html/"> ...
user18969's user avatar
  • 113
1 vote
0 answers
32 views

Why would a server not send ACK in response to PSH, ACK?

We have a client/server implementation, where the client continuously, periodically sends data at 800Hz over ethernet. The packets are small so we're significantly under the network bandwidth limit. ...
Morten Nissov's user avatar
0 votes
2 answers
52 views

Why does my Digital Ocean server sometimes hang when running Node.js, NPM or Docker

I am running server-side software on Digital Ocean servers. These include Docker, NPM, Node.js, and others. The server is running Ubuntu 22.04. Sometimes, the server hangs randomly for several minutes....
Mikko Ohtamaa's user avatar
0 votes
1 answer
93 views

Methods for obtaining information on Docker container infrastracture?

I want to make a script that assesses Docker infrastructure and documents processes that are running there. The first method I use is: docker inspect <container_id> | jq '.[].Args' and grep ...
palmasd1's user avatar
0 votes
0 answers
39 views

redirect content from proxypass with nginx to external url

I need to configure a proxy pass to an internal docker IP in nginx and output it to a DNS. So far, everything is correct, the problem comes here: I need the content that that DNS will carry to also be ...
user avatar
0 votes
1 answer
28 views

How do you upgrade linux without harming /home directory?

I have a laptop with windows11 installed on it. Since it was giving me problems with dual boot, I installed linux and grub on an external 256GB USB hard disk. This way, I see the grub menu only when I ...
user1933205's user avatar
0 votes
1 answer
45 views

LVM2 - non-root VG LV not activated on reboot

One of our physical Ubuntu server has, 3 VGs in total - rootvg, 2 non-rootvgs(appvg1 & appvg2). Rootdisk is local HDD and both appvgs uses multipath disk (one disk each). appvg1 has filesystem ...
Naveen R's user avatar
0 votes
1 answer
102 views

configure SSL for webserver on last stage of the network

I made a simple network with a webserver on the 8080 port (http-only). As the diagram, I need to use http only on this webserver and configure SSL on the next stage, which is a Linux pc. Please let me ...
Rusma Velayati's user avatar
1 vote
1 answer
112 views

How to Dynamically Adjust Rate Limits Based on Concurrent Connections in Nginx?

I am currently facing a challenge with dynamically adjusting rate limits in my Nginx configuration based on the number of concurrent connections to my web server. Problem Statement: I have set up a ...
Ilgar's user avatar
  • 11
0 votes
3 answers
122 views

Change source IP address, send over eth0 instead of lo

If a packet is sent using TCP and source address 127.1.1.1 (lo) and destination port 80, I want to be sent over eth0 and source address a.b.c.d instead. How can I get this working? I tried: iptables -...
Andreas Fischer's user avatar
0 votes
1 answer
75 views

Nat PREROUTING chain unable to route packets to loopback interface

I have a service running on 127.0.0.1:3000, I want to forward any packets arriving on eth28 to that service. I created a dummy interface on my machine. $ ip link add eth28 type dummy $ ip addr add 10....
Sprite's user avatar
  • 101
0 votes
2 answers
326 views

Server blocking after enabling ufw

I recently leased a Ubuntu 22.04 VPS server from a data centre in France. My office PC that links to this server is in Ireland. My mobile internet IP seems to be static, i.e. it is the same from day ...
Trunk's user avatar
  • 97
0 votes
1 answer
46 views

Why is screen using lots of memory over time?

From time to time I find that a Digitalocean server gets slower, had low memory... $ free -h total used free shared buff/cache available Mem: 985M ...
NoBugs's user avatar
  • 101
0 votes
2 answers
34 views

Long delay when Linux accesses Windows mounted shares after sleep

Our file server was upgraded from some older Windows to Windows Server, and immediately problems began to occur. The first one was that shares mounted on Linux became unavailable after wake from sleep....
SuperAl's user avatar
  • 123
0 votes
0 answers
83 views

kubernetes etcd failed to publish local member to cluster through raft

Environment Background: kubernetes configured 3 master and 3 worker node Kubernetes is configured component by component following https://github.com/kelseyhightower/kubernetes-the-hard-way. ...
gcngov's user avatar
  • 101
1 vote
1 answer
65 views

Can I use Kerberos to connect from Linux to other domain?

I'm trying to connect from a Linux machine to SQL Server with a domain user. I've found some solutions for doing it from Windows on another domain. For example this one When the Linux is in the domain ...
SHR's user avatar
  • 345
0 votes
1 answer
59 views

Linux & nginx - multiple servers on same network

I'm currently using one server to run nginx with multiple sites, but as for now I'm going to start another project will be run at a separate machine on the same network. The sites I'm running now is ...
half's user avatar
  • 1
1 vote
1 answer
80 views

Which key was used to open my user account

This is question is an upgrade attempt of Find out which ssh key was used to access an account -- Some scripts for proper installation Where I use rsyslog to generate separated log file, readable by ...
F. Hauri  - Give Up GitHub's user avatar
0 votes
0 answers
28 views

Re-use a SSH Key Generated on an Ubuntu Machine on a Windows Machine

I once generated a SSH key on Ubuntu and have been using that key in different apps and services such as Visual Studio Code and DigitalOcean. Right now, I don't have access to that Ubuntu machine and ...
Mohsen's user avatar
  • 1
-4 votes
1 answer
44 views

how to make a full and whole backup (or image backup) of a HP servers with linux os and Raid [closed]

I have two Hp proliant DL380 G7 and G6 servers. Both servers have linux oracle 7.9 OS and One of the servers is raid 1 and another server is raid 5 . I want to make a full backup (or full image backup)...
ray petriut's user avatar
0 votes
0 answers
36 views

How to exclude Docker processes from Process Snapshot output?

I want to list all processes running at the server except all processes running in Docker containers. So, for example I have Redis and Nginx at the server and MySQL and Apache running in Docker ...
palmasd1's user avatar
1 vote
1 answer
60 views

Configure samba share to be accessible by userA but all files/folders created should be owned by userB

I have a share data with valid users = userA. [data] path = /path/to/share guest ok = no browseable = yes valid users = "userA" read only = no /path/to/share is owned by ...
IMTheNachoMan's user avatar
0 votes
1 answer
99 views

How can I debug a slow (software) RAID 10 array?

I have a software RAID 10 array setup using mdadm. There are 8 separate disks. Both read and write speeds are extremely slow, especially writes. Any large (multi-GB) file added to the filesystem is ...
jnasworld223's user avatar
-2 votes
1 answer
56 views

Mail servers setup - HA

I would seek your expert guidance for this topic and your help would be really appreciated. I want to setup mail service in my org in such a way that they are highly available and even if one of the ...
sunny_hkhk's user avatar
0 votes
0 answers
24 views

java + how to tune ParallelGCThread for G1GC

tuning the Java Virtual Machine is very challenging and from our last investigation we saw improvement when increasing the value of ParallelGCThread but in fact we want to know the formula that gives ...
King David's user avatar
1 vote
0 answers
26 views

Hive metastore + Hiveserver2 + what is the prefered Garbage Collectors – Serial vs. Parallel vs. CMS vs. G1

From time to time we see messages as jvm pause defected from HiveMetastore & Hiveserver2 logs in spite we increased the heap size to the right size ( according to number of connection to HIVE ...
King David's user avatar
0 votes
0 answers
36 views

What is the proper way to remove a brokers from a kraft cluster?

before couple month's we installed in production environment 34 Kafka Kraft machines with version - apache 3.5 , all machines are working well in the cluster , when topics are created with replica 3 ...
King David's user avatar
0 votes
0 answers
21 views

HDFS + how to speed up reading writing from/to hdfs replica

we have HDFS cluster based on Hortonworks HDP 2.6.5 version cluster include 328 data node + node-manager machines and 2 name-node machines ( when name-nodes are high availability) we runs spark ...
King David's user avatar
0 votes
0 answers
21 views

Can I set up IPsec tunnels between three branches?

I want to set up IPsec tunnels to connect three branches. In total, you should get three connections: HQ-BR BR-DC DC-HQ I wanted to do this on the Linux operating system using strongswan tools, but ...
Михаил Семчук's user avatar
0 votes
1 answer
100 views

OpenVPN client 2.4.4 cannot connect to OpenVPN server 2.5.1 [closed]

I have OpenVPN 2.5.1 on Debian 11 VPS, and OpenVPN 2.4.4 on my Linux PC client. I cannot connect to VPN server from my Linux PC by using this client.ovpn file. TLS Error: TLS key negotiation failed to ...
Arnimundo's user avatar
0 votes
1 answer
168 views

proxmox stuck at "Loading initial ramdisk" after changing /etc/modprobe.d/vfio.conf

Hello fellow server admins, I have a proxmox hypervisor for my VMs and the file system is raidz1. Today I was wondering if I could install an nvidia card and run 3D Applications so I found a promising ...
eraikun's user avatar
0 votes
0 answers
34 views

Mailu limit number of emails send in a month/Day

Is it possible to limit the users to send total email in a month/day by using mailu. Example 1. [email protected]: can send only 100 emails a day & 3000 emails in a month. 2. [email protected]: ...
Gialap Duong's user avatar