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
1
vote
0answers
12 views

Does TCP RST packet along with other flags set valid?

When I researched some methods of DDoS protection I faced with some firewall rule which limit packets with RST bit set to 60 per second. Indeed it makes some sense. But it also doesn't check the other ...
1
vote
1answer
18 views

kafka confluent vs Apache kafka

for now we have HDP 2.6.5 version , with Kafka cluster with Kafka version 0.1 all Kafka machines are installed on RHEL version 7.6 all machines with RHEL 7.6 are on DELL physical machines we want to ...
2
votes
0answers
29 views

Debian/Linux weird mdraid state

Why is md1 state UU, md0 is U_ and md2 is _U? nvme1n1 is broken here. Can I safely replace nvme1n1 now? You can see md2 state, nvme0n1p3 seems removed but nvme1n1p3 seems active. How can I safely ...
0
votes
0answers
10 views

Why does setfacl turn on the group execute permission on files even when specifying X?

I'm seeing strange behaviour with setfacl setting the eXecute bit on the group permission for files in some situations, confirmed on CentOS 7. As user root with unmask 0002: mkdir foo touch foo/bar ...
1
vote
1answer
22 views

Replace AuthUserFile with the password itself or reference a relative path to the folder

I have a PHP script that generates 100s of directories and in these directories contain CSV files. I'm able to protect these CSV files using AuthUserFile if it points to an absolute .htpasswd file, ...
0
votes
0answers
19 views

Linux Networking - How to dynamically filter network packets within short time range

I am trying to find a solution to dynamically filter network packets with strict timing constraints and based on a IP list on a Linux Operating System I cannot install additional software of modify ...
2
votes
1answer
20 views

.htaccess and .htpasswd protected files how showing up when viewing directory via browser

I created a password protected files using .htaccess and .htpasswd, but it doesnt show up when I goto the URL. I have this in my htaccess: #Protect multiple files <FilesMatch "^(.*).csv$"&...
0
votes
0answers
21 views

Ansible playbook not running : Import error

enter image description here ansible-playbook -v -i Monitoring/hosts Monitoring/main.yml [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting Using /etc/...
0
votes
0answers
9 views

Locating “Timeout on hotplug command”

I have a set of machines identical in hardware, and almost identical in softare setup. But one of them is filling up /var/log/messages with: Jun 16 09:41:37 h0stname kernel: pciehp 10000:00:00.0:...
0
votes
1answer
53 views

Suspicious users with numbers are devouring entire CPU

On my test server which I have docker-run gitlab-ce, redis server and some other important services, I noticed I have an uninvited guest, kdevtmpfsi. I tried everything proposed by the community but I ...
1
vote
0answers
28 views

Ubuntu SFTP hide unauthorized subfolders

I currently run Ubuntu 20.04 Desktop server. And I am using the SFTP function by installing OpenSSH on the server. For testing purposes, I temporarily created a directory called /home/mydirectory/...
0
votes
1answer
53 views

How do I get a normal disk going (PERC H710 Mini) with perccli?

https://i.stack.imgur.com/kSQan.jpg https://i.stack.imgur.com/9utPQ.jpg I have a Dell PowerEdge R720 which boots up and has 1.7 TB of drive space but I can't seem to get any of it and use it. When I ...
0
votes
1answer
63 views

LINUX - Last login for root user

on a redhat server I logged with my domain username, and then switched as root. As I switched as root I received the message for the last login for root (Last login: ....). I am asking if the "...
0
votes
0answers
20 views

How to repair linux after failed to start file system [closed]

I have problem with my linux. I always had small problem with my HHD but my PC always could works correctly but yesterday its stuck and I decided to reboot it. After rebooting I get this error. [...
1
vote
1answer
36 views

Renew Let's Encrypt without root access

I'm in a peculiar and unfortunate situation where our network administrator suddenly passed away and no one was prepared for taking over the server management. We have an internal Linux VM that runs ...
0
votes
0answers
15 views

why auditd not monitor/report adhoc log file?

I tried to watch my adhoc alert.log file with auditd, but I don't know why it not works. I found no related entries in auditd.log file. # auditctl -w /tmp/alert1.log -p wa -k alert # # auditctl -l -...
0
votes
0answers
9 views

Anaconda, how to perform installation in a multiple-server and multi-arch environment, same network-mounted home (Linux Redhat)?

I like to mount the same home folders on different servers, a set of them have x86_64 arch, and a set of them have Power9 architecture. (both running Linux Redhat) I like to understand what may be the ...
0
votes
0answers
15 views

How to assign a driver to a specific interface?

working on : ubuntu 20.4 (hosted by esxi) I would like to assign a driver to a specific interface : ifconfig show two interface name ens160: ens192: 160 is classic ETH and 192 is an HBA connector 25 ...
0
votes
1answer
25 views

lighttpd security without htaccess

I have a webserver with limited resources and therefore I decided to use lighttpd as my webserver software. However, I notices now that it does not recognizes apache .htaccess files. Most of the ...
-2
votes
1answer
61 views

How can my users discover my upstream server IP though they only connect through load balancers?

I am managing a game server prone to DDoS. I have kept the upstream IP secret and only published the addresses of 100 load balancers forwarding traffic via iptables: echo 'net.ipv4.ip_forward=1' >&...
0
votes
1answer
28 views

Nginx: rewrite file from directory to root

I have nginx server running over linux environment, and it is handling the domains www.example1.com and www.example2.com. each domain has its own sitemap, so I need the correct sitemap loaded for each ...
2
votes
1answer
26 views

Docker bridge network shadows IP of SSH client, how to recover gracefully?

We're running a RHEL 7 VM with Docker to host a couple of internal services. Last time I ran docker-compose up to spin up a new Docker container, I lost my SSH connection to the server and could also ...
1
vote
0answers
51 views

Tuning Linux router and server for better performance / solving single TCP connection slow speed

I have a simplest/common network architecture. Web server sits behind router on local network. This router does iptables DNAT so port forwarding is achieved to web server. Therefore, I'm able to ...
0
votes
1answer
61 views

Linux - Set-up a client-server network from scratch [closed]

I have been looking for this, but haven't been able to find anything "complete" out there, probably because it's such a standard setup that people think it's included in the human genome by ...
-1
votes
0answers
22 views

Is there any way to forward http requests from a server to another?

I am a data analyst and I know very little about network ;) I have a grafana interface running on my private linux server (with IP 192.158.238.134, while the interface is exposed on port 3000) and I ...
-1
votes
1answer
37 views

How to run Docker on an Azure Virtual Windows 10 machine [closed]

I am provided a Azure Virtual Machine with GPU support (Standard NV6_Promo (6 vcpus, 56 GiB memory)). I want to run AutoML on this machine, which only runs on Linux. Their installation documentation ...
0
votes
0answers
19 views

How to limit multiple authentication of single user on 3proxy

I have installed 3Proxy on my ubuntu server and it works fine, I am looking for a solution to limit multiple authentications for a single user. This is since I'm planning to limit the users from ...
0
votes
1answer
62 views

Apache2 - Only home url is found

I have created a laravel 8 application and installed apache2. My configuration files look like the following: 000-default.conf <VirtualHost *:80> # The ServerName directive sets the request ...
0
votes
1answer
43 views

ls command that shows AM/PM

I'm using a CentOS 7 OS, configured based on AM/PM. Is there a linux command line (like ls --full-time) that shows full time information including AM/PM? Below example does not show AM/PM: # ls --full-...
0
votes
1answer
42 views

Cron: MAILTO for all cronjob notifications to an external address uses the wrong `to` header

My goal is to send everything that gets output from the cron daemon (no matter which crontab) to an external email address with the correct TO email header. I set MAILTO in /etc/default/cron to MAILTO=...
0
votes
0answers
12 views

On an Azure hosted RHEL instance, how could the Tomcat service get started as root when the .service file specifies a user?

We have 3 RHEL servers running in 3 different Azure regions. All 3 have been running Tomcat, as a service, as the expected non-root user that is specified in the .service file, for months. On the 25/...
-5
votes
0answers
16 views

13. Describe the testing procedure to prove you have successfully created a user account on both the LDAP server and a LDAP client. Linux commands [closed]

Describe the testing procedure to prove you have successfully created a user account on both the LDAP server and a LDAP client. Use Linux commands to describe the procedure.
1
vote
0answers
427 views
+500

VPN traffic routing issue between two VPN connections - AWS and Generic IKEv2 / libreswan

Have several sites, one of them acts as intermediary router between two: AWS VPC (10.10.0.0/24) Libreswan VPN Server (10.20.0.0/24) Mikrotik VPN Router (10.30.0.0/24) host1 resides at AWS VPC, host2 ...
0
votes
1answer
102 views

Setting up a address that is different than my gateway [closed]

Please, reopen this question. I really need to understand how to do this - And i saw that a lot of other users have this same problem but no one answered them... I tried to exemplify with clarity ...
1
vote
0answers
13 views

Recover LV from Cachepool

I have a RHEL VM which has 4 x 500GB disks attached to it from the host machine - which it serves from a 3-node RAID5 storage disk. I didn't build in redundancy on the LV layer, because the disks were ...
0
votes
0answers
11 views

How do I know if Kerberos authorization is successful?

How do I know if Kerberos authorization is successful? I am trying to implement the following logic: if the authorization of kerberos is successful, then set the environment variable "krbs" =...
0
votes
0answers
23 views

Do ephemeral port numbers run in sequence for the whole system, per process or per listening port?

We have an application and we use the ephemeral port number to identify the connection. We listen on two different ports, one for normal connections and one for SSL connections. I want to avoid the ...
-1
votes
0answers
34 views

Register Linux server in the DNS level [closed]

I created the new vm instance in GCP the OS of the instance is RHEL Linux . I want to register this newly created linux server into our Organization DNS server . The newly created instance IP is 172....
0
votes
0answers
26 views

Configure network namespace of rootless containers

Let's say I created a new custom network namespace with admin rights: $ ip netns add container $ ip link add wg0 type wireguard $ ip link set wg0 netns container $ ip -n container addr add 192.168.4....
0
votes
0answers
28 views

Controller hp h240 Smart hba refuses to work with Linux?

Trying to make the above mentioned controller work in the Linux environment (Tried more than 10 popular distributions, the picture is unchanged). lshw shows the following: *-sas UNCLAIMED ...
0
votes
0answers
10 views

What is the use case of QEMU chardev pty

I'm new to QEMU and playing around with its chardevs. I faced the option called -chardev pty,id=id. So I tried to create a VM with -chardev pty,id=pty0 and got the message. char device redirected to /...
0
votes
0answers
23 views

MDADM Raid 5 stuck on “Check Status 98% Complete”

I have an ubuntu server running that works like a NVR and stores recordings from a IP Camera over the network. It worked fine for a little over a month, then today when I went to check on it, it hadn'...
0
votes
1answer
23 views

Bridge/Bond interface not showing in ip a show

I have created some notwork script under /etc/sysconfig/network-scripts in order to set up my networking when my system comes up (RHEL8.3). In this set up i have my physical interfaces and I also have ...
0
votes
1answer
26 views

How can I extend or resize lvm from disk space

We use ceph to manage the storage and recently increased /dev/sdb's disk size. I'm not sure how to utilize the newly available space in my ceph's lvm. sdb ...
-1
votes
2answers
49 views

Disk failure - unable to load operating system [closed]

The server belong to our client having issue with disk failure. This lead to operating system failed to load. As per our reference. This server already end of life and it has rhel 6.10. enter image ...
1
vote
0answers
28 views

Ubuntu does not boot without -cpu host, but boots fine with it

qemu-6.0.0 I'm running some experiments with QEMU/KVM and faced some strange behavior. My Ubuntu 20.04 system installed on a VM does not boot if it is used as follows: $ sudo qemu-system-x86_64 -...
0
votes
0answers
38 views

Alternatives to MobaXTermin system monitoring?

I've been using MobaXTerm as my ssh client on windows, it has a feature called Remote Monitoring that shows stats such as the hsotname, cpu usage, ram usage, up/down speeds, etc, below an ssh ...
0
votes
0answers
13 views

Server pfsense and hypervisor

I am not very experienced with server management and I currently manage a vps with whm/cpanel. I am thinking in a few month when the subscription ends to colocate my own server in the datacenter. So ...
-1
votes
1answer
20 views

Linux Delete Files Older Than and the Same Time Smaller Than

I use this command to delete MP3 files older than 90 days. find MP3/ -type f -name "*.mp3" -mtime +90 -delete I want to make it delete those older than 3 days but with file size less than ...
0
votes
0answers
25 views

How to find out which kernel module opened a socket?

When I try to find the process for an opened socket using e.g. ss I get the following output: ❯ sudo ss -tulpen Failed to open cgroup2 by ID Failed to open cgroup2 by ID Netid State Recv-Q Send-Q ...

1
2 3 4 5
721