Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
37,176
questions
0
votes
0
answers
1
view
Change ifcfg-eth* files
I would like to determine the interface name of the hosts where ansible connects and use it as a variable, but the final goal is to create an ifcfg file config for every network interface on every ...
0
votes
0
answers
12
views
How to shrink qcow2 disk safely?
This is what my guest looked like
i shrinked the C partion in the guest in the windows 10 guest , made sure that the unallocated space is on the right most side.
then, i did this sudo qemu-img ...
0
votes
0
answers
16
views
How to add a user that has full control only to a web accessible folder in Centos
I have created a subdomain in cPanel which is intended for web access, so cPanel added this subdomain to Apache automatically so that I don't have to worry about that.
The created folder is this one:
...
0
votes
1
answer
21
views
How can I direct Apache HTTPd to serve only to specific IP address groups
I am using a Apache HTTPd server on Fedora Linux to serve a web suite for internal use only. However, My machine has only a single public IP address.
I want to configure HTTPd to accept and serve the ...
0
votes
0
answers
4
views
Dynamic NVM node path for service unit file
I recently migrated from using node installed on my Ubuntu server to using NVM to manage my node, but the issue is the application I use on this server uses a .service file that executes with the path ...
0
votes
0
answers
5
views
VirtualGL desktop on headless Ubuntu
I'm trying to get an Ubuntu VM to have a persistent desktop with GPU enabled. The remote access to it would be something like Chrome Remote Desktop, but I don't actually care about trying to improve ...
0
votes
0
answers
7
views
"Invalid system disk" after "There are differences between boot sector and its backup"
I created a live LMDE5 system on a USB pen drive using Rufus and everything was working fine except for a large number of warnings and critical error messages I got from dmesg. There where some ...
0
votes
0
answers
5
views
LDAP SSSD SHA-512 authentication failure
I have a server with helm-openldap and a debian client (it's a VM but I don't think it matters).
I can't login to a user who has a SHA-512 encrypted password. If i store it in clear or MD5, it works ...
0
votes
1
answer
36
views
DNS Server - how to differentiate clients?
I am running my own DNS server on a remote machine using Bind9. This server is currently only used by machines that are connected to the same router. The problem that I am having is that as the DNS ...
0
votes
1
answer
23
views
Deprecation of OrganizationalUnit in Subject of TLS Certificates
Recently we got a mail from our certificate provider that they are removing the OU field from Subject of new/renewed certificates after 1st September.
This is related to decision made by Certificate ...
0
votes
0
answers
25
views
vmdk image without /dev/root
I have vmdk server image without /dev/root, I want to deploy it with DigitalOcean (they support custom images). I created images, started droplet, but unable to connect via ssh. I entered ...
0
votes
1
answer
6
views
Tableau hyper_0 process fails with result code 7
Our Tableau on a linux docker image entered a degraded state. When I ran tsm status -v I got the following:
node1: localhost
Status: DEGRADED
'Tableau Server Gateway 0' is running.
...
0
votes
1
answer
34
views
Running out of TCP ports in linux(Red hat) while doing load test
I'm doing load test for 30000TPS(transaction per second) using gatling, I facing the following error
i.n.c.u.Errors$NativeIoException: newSocketStream(..) failed: 99128 (99.43%)
Too many open ...
0
votes
1
answer
26
views
How to resize Partitions on Proxmox?
Hey im Hosting Proxmox on a Small Hosting Provider and after i added more Space to my "sda" Proxmox refused to start and i wasnt able to go on the WebInterface.
I still was able to go into ...
0
votes
1
answer
34
views
SMTP hub or redirector, is this possible?
Situation:
I need to be able to set one SMTP server set of details into some software that sends out emails. However, the software sends emails from many different sender domains, all hosted on ...
0
votes
1
answer
30
views
Apache does not start
I am trying to start Apache on my Webserver but I keep getting this error: httpd.service: Failed with result 'protocol'.
Any solution would be appreciated.
Edit: Log Entries
Jun 3@ 63:41:59 racknerd-...
0
votes
0
answers
47
views
sshd misconfigured; only access is via website mPanel
A remote server will not accept any kind of ssh connection.
The only access I have now is via the hosting provider's website.
The reason is that sshd keys are misconfigured.
(Due to silly mistakes; it ...
0
votes
0
answers
19
views
How can I identify a virtual box physical disk from linux command line?
I'd like to know how to identify which /dev/sdX disk is the physical vdi disk of virtualbox. I've seen a UUID in Virtual Media Manager vdi disk information, is there any way to check it in Linux? I ...
0
votes
0
answers
7
views
What is the maximum Ulimit -n open files we can configure in Linux?
I'm doing load test using Gatling, For my business requirements i have to process more than 30 lakhs request. I'm using redhat operating system machine (16gb 4 core) for my testing. I have ...
0
votes
0
answers
12
views
How to troubleshoot a hung php process on epoll_wait(fd, EPOLLHUP?
On one of the Linux jenkins agent node, there are some PHP jobs that get stuck for days and I tried to troubleshoot that using strace command and I see the following output
epoll_wait(8, [{EPOLLHUP, {...
0
votes
1
answer
24
views
How to capture USB traffic using Wireshark in linux CLI?
I've found (hopefully) all I need in order to setup Wireshark and usbmon kernel module - including allowing a non-root user to capture USB traffic: https://www.wireshark.org/docs/wsug_html_chunked/...
0
votes
0
answers
13
views
Gentoo hangs when adding main interface to the bridge
I've VPS on WEDOS serverhosting, Gentoo there. 5.4.38 kernel.
I've a network interface eth0, I need to bridge it with another one (from openvpn). Starting with adding only one interface:
brctl addbr ...
0
votes
0
answers
13
views
Are there any security concerns when mounting the entire host into the container (read-only)?
I am maintaining an open source software, which is a basic resources monitor for servers. To make it easier to install, the project can be used via a docker container.
That means that I have to ...
1
vote
1
answer
37
views
How to apply `fq_codel` to balance traffic in multiple VLAN connections?
I have an Ubuntu server connected to multiple VLAN networks over a single physical 1 Gbps network port. The network connections are configured via /etc/network/interfaces like this:
auto lo
iface lo ...
0
votes
2
answers
29
views
Iptables : restrict access to container
I'd like to restrict access to a docker container to only a few ip adresses. There are two interfaces on the server : the public (eth0) and the private (eth1 : 192.168.0.1). I only want the IPs on the ...
1
vote
1
answer
30
views
linenfile Ansible module doesn't insert all lines as expected
I am trying to print a few lines to a file of each target host. However, the lines are missing from the file. This means, my hostlist file has about 10 servers. I get lines only for 8 sometimes or 6 ...
0
votes
0
answers
13
views
How to use my existing windows server 2016 r2 standard active directory to authenticate samba share on ubuntu 22.04LTS Desktop acting as sambaserver?
I have a windows server 2016 r2 standard DC with AD DS setup, I am building a samba server on the latest Ubuntu 22.04LTS Desktop. I need to create samba share on the ubuntu and use the active ...
-1
votes
1
answer
27
views
fetch between brackets on json with grep
i have the following json data
"url": "https://www.etsy.com/listing/812858182/59ft-x-84ft-moroccan-rug-mrirt-rug-beni?utm_source=etsymeter&utm_medium=api&utm_campaign=api",
...
-1
votes
0
answers
17
views
I'm not being able to do the SSH connection in my windows
So, hey! I'm starting and I wanna do an SSH connection in my windows with VM Kali. So I already installed the Putty and when I try to do the connection it always shows an error that I can't do, "...
0
votes
0
answers
43
views
NGROK Browser Warning Bypass
I have an ngrok server running and I wanted to bypass this warning so what do I put in my request to bypass this?
I'm a newbie involved with this kind of stuff.
I do not know if I'm on the wrong stack ...
0
votes
0
answers
14
views
Can I replace a disk in btrfs raid1 without a reboot?
I am trying to understand how btrfs raid1 mode behaves when you take out one disk and put it back (odroid hc4 is an example device)
Here is what I have before the test:
Label: none uuid: f85fb0ab-...
0
votes
0
answers
33
views
Moving LetsEncrypt SSL certs from one NginX server to another NginX server
I'm running a Reverse Proxy Server (RPS) using NginX. It is working fine for forwarding traffic to my sites which are not using SSL. However, I just configured a new NginX web server with ...
1
vote
1
answer
29
views
Could running gcore increase resident memory (RSS) of the target process on Linux?
gcore attaches gdb to a process, runs through most of the virtual memory areas of a process and dumps them to disk. Does this mean that every piece of anonymous virtual memory will need to be paged ...
0
votes
0
answers
13
views
OpenLDAP main: TLS init def ctx failed: -1
I'm trying to copy the database and configuration of an existing OpenLDAP server. I copied the /etc/ldap/ and /var/lib/ldap directories to the new server, issued new certificates from Let's Encrypt ...
0
votes
0
answers
18
views
postfix incorrectly redirects external emails (different domain to my own) to a user on my server @ my host name but sendmail test works
Problem
postfix will succesfully send emails which have the same domain name ending as the server itself
emails that have a different domain name like ending in gmail.com don't get through
In both ...
0
votes
0
answers
18
views
Can connect one remote server to MySql, but cannot connect two servers
I am trying to finish a website creation using three servers with Linux. For simplicity, I will identify the servers as server 1, server 2 and server 3. I am using MariaDB. All three servers are ...
0
votes
0
answers
16
views
Comodo WAF Internal Server Error
I have a Linux server, with the following specifications and in WHM when I want to Comodo WAF open in plugins , I get the following error in the address https://example.com:2087/cgi/addon_cwaf.cgi
...
0
votes
1
answer
23
views
Ubuntu 20.04 desktop pxe boot fails with no live file system on network
I have configured a ubuntu20 desktop pxe boot using nfs but it stops saying unable to find a live filesystem on the network, but ubuntu18 works fine in the same server can anyone help me.let me know ...
-1
votes
1
answer
41
views
filtering result text with linux command
I would like to know how could I filter the result from a large text with Linux command
example text :
dmade Moroccan Rug, Beni Ourain Rug, White & Red Wool","sku":[],"...
0
votes
0
answers
18
views
Independent distributed FS for Linux with ACL
I have two Linux servers in two locations connected by VPN (over WAN - 100/100 Mb/s). On each of these servers is Samba DC (the same domain) and Samba File Server.
Samba FS are configured to store ACL ...
1
vote
1
answer
80
views
Permission denied (publickey), but no solution worked
It's one of these issues that get asked and answered so many times here and elsewhere, you can't believe you have to ask it again.
I'll let my configuration speaks for me:
On remote:
# getenforce
...
1
vote
1
answer
61
views
nftables ignoring should-be matches, nftables log shows nonsense frames, tcpdump shows expected frames
EDIT: Solution found. Will post after synthesization and verification.
Having come across some head-scratching behavior with nftables, I am hoping for some community insights.
When using the below ...
0
votes
0
answers
16
views
adcli update does not save Kerberos ticket with new kvno
tl;dr
New Kerberos ticket of computer account is found by adcli update but not saved in keytab file.
adcli update --domain=example.org -v
The output "Retrieved kvno '4' for computer account" ...
1
vote
0
answers
9
views
Linux: sd* exists in /sys/block but not found under /dev
I am operating an OpenStack cloud which is using Fibre channel to connect to backend storage. The issue I am facing is that sometimes disk, for example sdx, got a folder under /sys/block/sdx, but ...
0
votes
0
answers
33
views
Docker - Failed to connect to bus error on some containers provisioned with docker-compose
I have 3 clusters to deploy on containers provisioned with docker-compose, the clusters have 3, 4 and 14 nodes each. All containers are built from the same image of Rocky Linux 8 and have SystemD with ...
0
votes
2
answers
26
views
How to create shared folder with Linux Samba Cluster that is accessible by Windows? (Two PCs in cluster with one IP)
does anyone know how to create a shared folder in any distribution of Linux that could be accessible by Windows and would be HA (high available)?
Background:
I have Windows Server cluster and it needs ...
0
votes
0
answers
17
views
What are the arguments for systemd-coredump
What should the input arguments be for
/lib/systemd/systemd-coredump
?
My core_pattern is |/lib/systemd/systemd-coredump %P %u %g %s %t %c %e
..but I'm getting
0;1;31msystemd-coredump@9-2647-0....
0
votes
1
answer
27
views
DEBIAN 11: php cant run sudo commands [closed]
in my server Debian11 (nginx,php8.1-fpm) i run a php script and try to run there a sudo command
$output = shell_exec('whoami');
echo $output;
result is: www-data
if i run:
$output = shell_exec('sudo ...
1
vote
0
answers
26
views
how to flow traffic between two different VLAN IP's ,where one IP is input of node to other VLAN ip is output and vice versa [closed]
have one Vlan IP of range 172.30.A.X(input) which is connected to one node and other ip range of 172.30.B.x at other end of node.
i have tried with packet forwarding but still not able to ping output ...
0
votes
0
answers
19
views
Recover inactive raid5 array (disk not included in array?)
I have a 4-disk raid5 setup, and after a power outage one of the disks suddenly thinks it doesn't belong to the array.
Each of the disks are /dev/sdb-e, with the raid at /dev/md0.
mdadm --examine /dev/...