Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
38,365
questions
0
votes
0
answers
16
views
Custom Linux AMI: How does AWS know where to install account SSH .PEM files when an AMI is provisioned?
We are building a custom AMI from a template EC2 EBS instance snapshot (Oracle Linux 8). This page shows there are many different user names depending on the AMI you choose:
https://docs.aws.amazon....
0
votes
0
answers
14
views
How can I restrict login to Azure LINUX VM using AAD integration
I have an Azure Linux Virtual Machine with "Login with Azure AD" option enabled.
But I am still able to log into with admin account using password.
Or I can just create another user by using ...
-1
votes
0
answers
9
views
ipv6 fails to restore def gateway after down, pi3B+ stretch, eero mesh network
Curious problem. Pi 3B+ running ping scripts to monitor Internet [normally using ipv4, std stretch version]. I also run a script to perform ping6 to a website, AND check that the ipv6 default route is ...
-1
votes
0
answers
39
views
Debian Disk Size Discrepancy: Mismatch Between df -h and fdisk Output
I have a nvme on Orange pi server that shows only 30GB Size, but I have 250GB
df -h
Filesystem Size Used Avail Use% Mounted on
udev 8.3G 8.2k 8.3G 1% /dev
tmpfs 1.7G 1....
0
votes
0
answers
43
views
enable linger for user fails with bad message
I currently have the problem of not being able to activate linger for my user. The test activation for the user root, was possible. I am unfortunately overwhelmed with the error message and can not ...
-2
votes
0
answers
12
views
What is the best way to add a new node to Kafka v3.3+
What is the best way to add a new node to Kafka v3.3+ keeping the following aspects in mind:
How to auto reassign partition to rebalance the cluster
Avoid any broker skewness
Please help with the ...
-2
votes
0
answers
13
views
Editable Live OS to install other Linux distros on HDD [closed]
I have a below use-case:
Boot into the Live OS.
The program will start automatically, which will allow user to select which OSes to install on the HDD.
The program will then reboot system and then it ...
0
votes
0
answers
33
views
Host A in VLAN is not responding to ping from host B, but host A can ping host B
Overview: I have a issue where one host A in VLAN is not responding to ping from host B, but host A can ping host B .
A= Windows and B=Linux, VLAN=10.
A IP address = 192.168.10.100,
B IP address = 192....
0
votes
0
answers
13
views
How to configure Apache 2.4 to use ProxyPass to rewrite the websocket's port?
My Nodejs WS ( pure Websocket, I am not using socket.io ) works on port 5000 and I wish to proxy pass to the domain itself.
I have tried to add the following lines but I still failed to get myself ...
0
votes
0
answers
13
views
Using RHEL/AL2, curl works when I use the --cacert param, but fails without
when I try to connect to a server I get an error curl: (60) SSL certificate problem: unable to get local issuer certificate
However when I provide the cert itself from /etc/ssl/certs via --cacert the ...
0
votes
0
answers
21
views
Add the name of the file analyzed to the e-mail (logcheck)
I use logcheck to receive apache logs. My question is how to configure logcheck to add the name of the file that is analysed in the email. Example: at the moment I have this:
This email is sent by ...
0
votes
1
answer
42
views
Why cannot Nginx access files in the `wp-includes` directory?
I have a WordPress website that I installed on an Ubuntu server. I setup Nginx to listen for requests and to push them to php-fpm. I am using the pool feature so that the WordPress site can have all ...
0
votes
0
answers
74
views
changing apache2 version from 2.4.52 to 2.4.49 [closed]
I've downloaded an apache2 version which is 2.4.49 as a zip file in the Downloads directory, and want to replace the version I have 2.4.52 with this 2.4.49. Can you guide me through the steps of ...
0
votes
2
answers
27
views
ubuntu vm returning internal ip to docker image
I have a docker image running on multipass on a physical host. The docker container is trying to connect to a service running on the physical host. However, dns resolution tells docker that the ip ...
0
votes
0
answers
12
views
How to make master node and worker nodes before installing kubernetes on Ubuntu?
I am trying to install kubernetes on my Ubuntu 22.04 os. I found blogs and videos in Youtube but failed and deleted all. I had hard time when making master node and worker nodes because there was no ...
-1
votes
0
answers
40
views
Unlock 3rd party transceivers on Arista [duplicate]
Is there a way to unlock third-party transceivers on an Arista DCS-7050QX-32S-F running version 4.24.0F?
0
votes
0
answers
26
views
CEPH STORAGE ERROR PLEASE
I am using ceph storage and the disks suddenly disconnected and when I tried to reconnect it on ESXi, it says time out. When I want to reboot iscsi.service on the server where it is installed, it does ...
0
votes
1
answer
27
views
How to route all traffic going to specific address to localhost using nft?
I need intercept traffic going to external IP and reroute it to localhost. Its quite simple using iptables, but I could not understand how to make it work through nft. I create table and chain inside ...
0
votes
0
answers
26
views
How a failover in Active/Passive SAN multipath should be properly handled on Linux multipath system?
I try to create a multipath configuration with SAN HPE EVA 6350 (2xHSV340 controllers with iSCSI mezzanines and FC/iSCSI multiplexers) and Linux debian 12 systems over iSCSI.
Vdisks created on EVA ...
0
votes
0
answers
38
views
Kernel Panic on Ubuntu Boot
I recently encountered a perplexing issue with my Ubuntu system during boot-up. After powering on, instead of the usual login screen, I was met with a series of error messages culminating in a kernel ...
-2
votes
0
answers
32
views
Virtual Box and ExpressVPN [closed]
I have been trying to solve this issue for 3 weeks now, is there a way I can use ExpressVPN network only to access a Virtual Machine?
And if that connection failed for some reason it will not switch ...
0
votes
0
answers
34
views
Trying to boot to Windows 11 from Linux GRUB EFI [closed]
I bought a Quantum Byte finless PC some years ago and spent a ton of time blowing away windows from its internal MMC card and getting Ubuntu to boot UEFI. In the process, I put a new 500MB EFI ...
0
votes
0
answers
7
views
Cannot see google storage buckets when connecting to VM through SFTP
Let's call sftp user Bob. On the VM itself, I can see and access the bucket no problem. Permissions are bob:bob. But when connecting via sftp directory buckets don't even show.
fstab config:
Bucket /...
0
votes
1
answer
176
views
SLURM able to send CPU, but not GPU jobs
I've built out a slurm "cluster" (just a job server and single compute server at the moment) and am trying to run jobs on it. I can run CPU jobs just fine, it sends them to the machine and ...
-2
votes
0
answers
36
views
issues about https_proxy on linux
I'm running a service named 'DDS' on the server. This service accesses a certain API through an HTTPS proxy, and at the same time, DDS also communicates with my local database
ENV:
HW architecture:...
0
votes
1
answer
31
views
Apache Server 2.4.57 / Increasing the maximum number of conections/requests accepted & Check the number of concurrent process
We are using the following configuration and as far as I know this configuration can execute 8000 requests/processes concurrent.
Apache Server Version: 2.4.57, Server MPM: event
<IfModule ...
0
votes
0
answers
35
views
Smart array P212 error code 727
We recently purchased HP DL380P GEN8 server and D3700 enclosure with 20TB of disks.
I wanted to connect both servers with Smart Array P212 but I encountered and error once I tried to configure the ...
0
votes
1
answer
34
views
Ping: "Destination Host Unreachable" even though ARP request succeeds
I have a wired interface with a static IP configured. Pinging the gateway results in "Destination Host Unreachable".
PING 10.3.3.246 (10.3.3.246) 56(84) bytes of data.
From 10.3.3.8 icmp_seq=...
0
votes
1
answer
29
views
Configure OpenVPN with existing certificate
I want to configure OpenVPN with available certificates, without using easy-rsa.
I use openssl to generate private.key and csr.csr. Then I use opensource CA EJBCA to authenticate csr and create a ...
0
votes
0
answers
15
views
Minikube hosted in oracle linux. A web application hosted within minikube not able to access the same from out side browser
[root@master-node-1-sk ~]# kubectl describe services bank-cash-pro-gui-docker-image
Name: bank-cash-pro-gui-docker-image
Namespace: default
Labels: ...
1
vote
1
answer
64
views
Remote Linux server GitHub permission denied publickey issues
I am experiencing publickey permission issues when trying to pull a private repo from GitHub to a remote Linux server.
Update
Ran ssh -v -o IdentitiesOnly=yes -i ~/.ssh/id_rsa [email protected] command ...
1
vote
1
answer
126
views
Iptables block incoming connections to network interface from subnet
I have a Linux machine that uses Hostapd to serve a WiFi hotspot. I also have a Raspberry Pi that connects to this WiFi hotspot as a DHCP Client. The Linux machine has a Cellular interface and shares ...
0
votes
0
answers
29
views
How to change routes dynamically based on route availability on Linux?
I have an odd and somewhat specific routing question. I want to change routes/next-hop based on next-hop availability.
My setup is quite odd, and probably a far cry from any best practice.
It looks ...
0
votes
0
answers
34
views
How do I merge 2 partitions on AWS after expanding the volume and filesystem on linux
I have the original volume showing at 8GB on the default instance when i created it on AWS. Then I went through the process of expanding the existing volume to 500GB and then expanding the filesystem (...
-2
votes
1
answer
134
views
How to change domains network route to custom IP when curl?
On Linux I do curl to api.binance.com website and it gives me very long ms latency 0.177s, although the server is located just near binance servers.
# curl -o /dev/null -s -w 'Total: %{time_total}s\n' ...
0
votes
1
answer
74
views
Postfix catch-all for all domains/users and send mail to external mailserver
I am configuring a mailserver that has to save all email for any domain and any user and store it in the mailfolder of one specific user. For this I have used the following configuration:
...
0
votes
0
answers
31
views
BTRFS after multiple power outages bad checksum
After multiple power outages, btrfs have bad checksums, is it possible to recover it?
Outages were on Dell R740xd with PERC H730P Adapter looks like the cache was unwritten.
now trying to recover in ...
-1
votes
0
answers
15
views
Docker containers with Macvlan intermittent network failures
A PC is used as a home server with a number of containers running on it using Docker.
Due to the need for firewall and transparent proxy configuration on the gateway, I need some containers to run ...
0
votes
0
answers
55
views
Change the user name debian-sys-maint in Debian mariadb
The account "debian-sys-maint" in Debian mysql/mariadb is important to maintain the DB system function normally. It needs full administrative privileges, as some people has discussed in What ...
0
votes
1
answer
40
views
Logrotate permission denied
I have a custom logrotate configuration like:
/var/log/myapp-*log {
daily
rotate 7
missingok
notifempty
su www-data www-data
}
And when I run:
sudo logrotate /etc/logrotate.d/...
0
votes
0
answers
28
views
Can not ExecStart service python script as root on Linux
OS: Ubuntu 20.04.6 LTS
I created a service that executes python script checker.py. The problem is this service does not execute python script with root privileges, although sirjay user has root ...
1
vote
1
answer
141
views
How do I create an Elastic Beanstalk example?
I have tried to create and deploy on Elastic Beanstalk. It never works. I have spent over 14 hours trying to get EB to work over the course of 1 month. I have followed online tutorials in addition to ...
0
votes
0
answers
21
views
How do I rename multiple Linux files using a bash script [migrated]
I have
123myfile123.jpg
123456myfile567.jpg
I would like to remove everything up to the first alpha char
myfile123.jpg
myfile567.jpg
I have this which remove all 0-9
mv '123myfile123.jpg' $(echo '...
0
votes
2
answers
201
views
Is it possible to hide a binary file from the system
A VPS on Centos 7 came with a very old version of openssl. I built and installed a newer version of openssl. (details below) This newer openssl was only installed in order to upgrade to a much newer ...
1
vote
1
answer
60
views
How to enable executing php files in Fedora Apache?
I installed httpd and php v8.2.11 on my Linux Fedora.
But Apache can't execute .php files. (Responses "Access denied.")
I tried to use chmod shell command to enable executing and add AddType ...
1
vote
0
answers
45
views
Linux Server is slow on running some commands
I have a Linux server and ubuntu 20.04 is installed on it. Kernel version is 5.4.0-163-generic. 24 cores and 32GB RAM.
I have database running on this server which is working without any issue. ...
0
votes
0
answers
34
views
Adding a whole /64 block to a network interface - again!
Okay, so, there were A LOT of different answers for this thing. Someone had the same problem as me.
Here's what i tried already from all these existing answers:
disabling DAD and enabling nonlocal ...
0
votes
0
answers
50
views
docker compose fail; SSH to host doesn't work any more
I have a Proxmox-VM on this VM runs Rocky Linux and docker with all basic plugins.
Rocky Linux 8.6 (Green Obsidian)
Docker 20.10.21
Docker compose v2.12.2
If I try to run the command docker compose ...
0
votes
0
answers
14
views
Why does route rule not work when I set mark after the net packet go through the 'forward chain' of iptables?
I want to that all the packets through 'farword chain' redirect to local loopback, so that I can proxy this traffic. I set the route rules of iproute2 (all the packet with mark 1 is routed to local ...
0
votes
1
answer
64
views
Point-to-point network between three servers [closed]
I have a three servers, each of which has two network ports. I want to connect these servers using point-to-point connections without using a switch.
Here is a diagram of what the physical connections ...