2022 Developer Survey is open! Take survey.

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
2 views

¿what is kubernetes based on when assigning a pod to a node?

I would like to know what criteria kubernetes has when assigning pods to a node if no daemonset, node selector or anything similar is configured.
user avatar
0 votes
0 answers
4 views

postfix removing body of bounced messages

I've noticed for messages that fail to deliver with postfix, the body of the message is removed. Here's an example (real emails replaced with temps): --5F54EFCA0A.1653443634/MYDOMAIN.COM Content-...
user avatar
  • 101
0 votes
0 answers
5 views

Using Wireguard on a VPS to route all traffic from a client and a server (both Linux) behind NAT

I have two Linux machines, a client (C) in one country and a server (S) in another one. I want to route all traffic from C to S, and therefore a VPN would be the best solution for me, but both C and S ...
user avatar
0 votes
0 answers
4 views

How to view current PHY master-slave settings in Linux (Centos Stream)

I am trying to view the current master-slave settings on my network cards (HPs with Intel controllers). I see ethtool has the master-slave option to set the mode, but I didn't see how to view the ...
user avatar
  • 151
0 votes
0 answers
5 views

Error java.sql.SQLNonTransientConnectionException between Glassfish 3 and MariaDB

I have a java web application deployed in glassfish. This application interacts with Mariadb server. Suddenly, the app stops working. I'm checking the app.log and glassfish server log and I have the ...
user avatar
-2 votes
0 answers
11 views

RADIUS-server which asks for the same password for every request

I need to create a RADIUS server which always asks for the same passsword, no matther which username gets checked. is there somethign I could do? please don't start to argue if this makes sense or not....
user avatar
0 votes
1 answer
7 views

UFW route not responding

Hi i tried to make a server where every software running on it is in a vm. i tried using ufw to route the requests and it worked ... locally. when i tried to connect to one of my vm using a vpn i saw ...
user avatar
0 votes
0 answers
35 views

Nginx 502 Issue with the API & php-fpm

I've configured the new dev machine but can't get nginx working with the API as it is supposed to. The current error is that 'curl localhost/api' returns a 502. Host: Nginx PHP 8.1.x, php-fpm ...
user avatar
-1 votes
0 answers
10 views

How to defer an Outgoing Mail in exim for a particular user?

I want a exim or whatever setting we can do to make a outgoing message in a queue. So the user will be able to send message but the message will not be deliver and be in a queue.
user avatar
0 votes
0 answers
13 views

Dell PowerEdge R410: Format SAS NetApp drives to 512B sector size for use in RAID

Thanks for helping out. Some time ago I got two 400GB NetApp drives for use in my Poweredge server. I attempted for a while to get them to work but they would not join a RAID disk group. I found this ...
user avatar
0 votes
0 answers
13 views

New install of Debian 11.3.0 freezes after cryptsetup: set up successfully

I installed Debian 11.3.0, upon first boot, it appears to crash right after entering the LUKS password. No oops or kernel panic or other errors or warnings. The freeze occurs immediately after this: ...
user avatar
1 vote
1 answer
22 views

bash script – MySQL commands and variables

I have a bash script who automate a Nextcloud server installation. To run MySQL commands I use the mysql -e command user@hostname:~$ mysql -e "CREATE DATABASE ‘NextcloudDataBaseName’" I ...
user avatar
  • 67
13 votes
2 answers
1k views

Unable to mount an XFS filesystem from Linux RAID6 array ("Log inconsistent")

First time poster - my apologies if I don't get the etiquette correct. I have a ~200TB RAID6 array with 30 disks and I'm unable to mount it - I just get the message: mount /dev/md125 /export/models ...
user avatar
  • 131
0 votes
2 answers
23 views

How should the EFI System partition be made redundant without using hardware RAID?

What is BCP for making the EFI System partition redundant without using hardware RAID? If I create 3x EFI System partitions on different devices and then backup any changes made to the primary (...
user avatar
0 votes
0 answers
10 views

one of node in my k8s cluster,cannot resolve domain name

one node cannot resolve domain name I have a k8s cluster.It has one master and three nodes. K8smaster, k8snode1, k8snode2, k8snode3 I run this yaml for test. apiVersion: v1 kind: Pod metadata: ...
user avatar
-2 votes
1 answer
15 views

How to configure a domain name with a virtual host in Webmin?

I'm setting up my raspberry pi for shared hosting. My aim is to host more websites by purchasing domain names through providers such as ovh.com or register.com I am using webmin to create the web ...
user avatar
0 votes
0 answers
8 views

My cloud config template file does not seem to be working when I use it to boot up a droplet in Digital Ocean?

I'm using Terraform to spin up a DO droplet, using an Ubuntu and Docker image. Checkout below: resource "digitalocean_droplet" "web" { image = "docker-20-04" name ...
user avatar
  • 101
1 vote
1 answer
13 views

Disable Ubuntu 22.04's scaning processes / candidates after package upgrades

Ubuntu 22.04 scans running processes (for use of old libraries) after doing apt. It will say 'Scanning processes' and 'Scanning candidates': We have servers that (unfortunately) need to run tens of ...
user avatar
  • 7,781
1 vote
1 answer
19 views

How to change default firewalld behaviour to drop all established connections on reload

I have a web-server and sshd services running and listening for connections on their ports. What I want to achieve is when I change my zone from public to something that prohibits ports 22 or 443, my ...
user avatar
1 vote
0 answers
10 views

Co-locate VM on a single/set of core(s)

I'm trying to understand certain impacts of virtualisation on performance by running benchmarks on VMs. I'm considering ESXi and Hyper-V as the hypervisors. I wanted to know if I can pin a VM to a ...
user avatar
1 vote
2 answers
36 views

How does a lazy unmount actually work?

During recent testing, I couldn't unmount an NFS mount after removing the NFS server or blocking the IP address of the server on PREROUTING raw, with iptables. --force didn't work. Running mount to ...
user avatar
  • 183
-1 votes
0 answers
13 views

How to use IP pool [closed]

I am just beginner, I just want to setup my mini data center and for testing i get a FTTH connection and /30 ip pool, ISP reply is something like that, "IP Pool 103.15.xx.xx/30 has been assigned ...
user avatar
0 votes
0 answers
36 views

I can't get my WIreguard tunnel to complete a handshake

I'm trying to setup a point-to-site wireguard tunnel between two different points on two seperate networks, but have setup similar tunnels setup in similar situations so I don't believe it has ...
user avatar
0 votes
0 answers
11 views

NRPE: Command 'check_ssh' not defined [duplicate]

We have a new Nagios Core server monitoring Linux hosts running NRPE plugins. Most of them are working as expected, but the SSH Monitor is failing with "NRPE: Command 'check_ssh' not defined&...
user avatar
0 votes
1 answer
15 views

How to block internet access for OpenVPN clients and restrict traffic to VPN network? (Installed with openvpn-install)

I setup an OpenVPN server using openvpn-install. I would like clients to be able to connect to the VPN server, but any traffic aimed towards the internet instead of the VPNs local network should be ...
user avatar
0 votes
0 answers
14 views

How to configure nginx proxy on tomcat?

There is a raised nginx in docker that looks at the Internet with a public address. There is a site that is running on tomcat in docker on another machine with a private address. I need to configure ...
user avatar
0 votes
0 answers
17 views

Logs are not shifting to new directory after log rotation

I am facing issue. We have setup log forwarder for sentinel and logs are frequently coming on /var/log/messages. Actual problem is i have created one script for log rotation and placed it under /etc/...
user avatar
0 votes
0 answers
11 views

Handler for application/x-httpd-ea-php73 returned invalid result code 70007

I have a dedicated server with hostgator and they had outages a few days ago and since then iv been seeing this error show up in my logs Handler for application/x-httpd-ea-php73 returned invalid ...
user avatar
  • 101
-1 votes
1 answer
26 views

a script that terminates all processes owned by the current user, [closed]

I don't know how to write a scrypt that terminates all processes owned by the current user whose machine time (TIME) is greater than 1 minute
user avatar
  • 1
0 votes
2 answers
37 views

how to extract a certain field from standard output with cut?

I have this output and want to extract the IMAGE ID from it $ podman image ls | grep youtube-dl localhost/youtube-dl latest 2d4e37c4d609 3 hours ago 205 MB All I know piping ...
user avatar
  • 217
0 votes
0 answers
15 views

How to configure Squid Proxy server to allow access by subnet [closed]

We have this scenario : one Centos server running Squid. network 10.0.0.0/8, witch should have access to youtube and facebook, but not netflix. network 20.0.0.0/8, which should have access to ...
user avatar
0 votes
1 answer
19 views

Extending File-system after EBS volume increase on M5 type EC2 with Ubuntu 16.04

Production AWS Instance: We have an m5 ec2 nitro instance that is in need of query optimization. However, we are in a time crunch and have decided to temporarily throw memory and storage at this until ...
user avatar
0 votes
0 answers
17 views

PHP-FPM: Pool high CPU usage [closed]

I'm running a Linux server (CentOS) and have noticed the server being slow over the past few days. It seems to be experiencing high CPU usage. Here's a screenshot https://i.stack.imgur.com/Zbp6G.png ...
user avatar
0 votes
0 answers
50 views

Dynamically register hostnames on DNS server (via DHCP)

I want to set up a small network, where a central DHCP server leases IPv4 addresses to the clients. The clients already have their hostnames set and should advertise those to the central DNS server, ...
user avatar
1 vote
1 answer
34 views

Wireguard Client Addition without restart

I am building a Wireguard VPN network, in which I want to add and remove peers on the server without restarting the service or losing connections with existing peers. Tried searching for the results, ...
user avatar
1 vote
0 answers
17 views

Connection with Linux client to VPN azure giving up

I'm trying to connect from a Linux to a VPN in Azure. I can connect in windows clients and am trying to setup the client in Linux I followed the instructions in this tutorial but i cannot stablish a ...
user avatar
0 votes
0 answers
31 views

Apache - Active Directory LDAP authorization

I'm running Apache 2.4 on Fedora 34. I've configured user authorization based on Active Directory usernames and passwords with "ldap_module" and "authnz_ldap_module" and this entry ...
user avatar
  • 21
0 votes
0 answers
16 views

GNU Linux Debian 11 (should work for Ubuntu too) - compiling latest kernel (Linux/x86 5.17.7) - results in Volume group "name-vg" not found

Dear internet & users & robots & AIs & other entities with access to digital, one fine day... decided to compile the latest currently available kernel under Debian 11. last time did ...
user avatar
0 votes
0 answers
16 views

storage backup solution after file finished copy

I have 2 types of storage: 1) permanent [p1,p2,...] 2) backup [b1,b2,...]. While system works, It generates huge files (size > 50GB) and they are copied to permanent storage. I need a backup ...
user avatar
  • 1
-1 votes
0 answers
9 views

How to enumerate/scan for private dns subdomains through a VPN connection

I need to enumerate/scan a target IP address through a VPN on a private network. The target has an apache web server on port 80. No DNS server is available for the target since it is on the Hackthebox ...
user avatar
-1 votes
0 answers
21 views

BIND9 installed on CentOs security points

Hope you all doing Well. Actually we are running a DNS servers on CentOs using BIND9, they are recursive/authoritative. My question is any way to filter/Stop/Limit DNS query based types like (TXT, ...
user avatar
2 votes
1 answer
37 views

New LVM VDO logical volume inactive at startup, even with "--activate y" parameter

I'm trying to make LVM VDO work on my Debian 11.3 (test VM installed from scratch). I've shared my installation procedure here if someone wants to reproduce the problem. Now I'm stuck with a "...
user avatar
0 votes
0 answers
14 views

install mysql in debian 9

I need to install MySQL 7.5 on Debian 9 stretch, I tried to download it using PPA but when I try to update and complete download I get error apt-key expire. Err:2 http://repo.mysql.com/apt/debian ...
user avatar
0 votes
0 answers
17 views

Command logging for chroot ssh users

I have a ubuntu server that allows users access via ssh. When they log in they are contained to their chroot directory. I'm looking for a way to log commands used by the users. I've tried using snoopy ...
user avatar
0 votes
0 answers
16 views

Wireguard Client Cannot Connect to Server Subnet

I have a working setup of wireguard (Ubuntu 20.04 server, one Ubuntu 20.04 client and one Windows 10 client). I can connect to devices behind the VPN server. VPN Server (EndPoint): 1.2.3.2/32 Public ...
user avatar
0 votes
1 answer
24 views

Accessing Raw Data on DVR Formatted Hard Disk

I need to access the data stored on hard drive that was used in Lorex DVR system. The drive gets formatted by the DVR when installed. I am trying to mount that drive in Linux but to no avail. fdisk ...
user avatar
  • 115
-1 votes
0 answers
9 views

Can I customize install options for apk add?

I use Alpine linux to build my bitcoin Dockerfile and run it via Docker compose. Dockerfile: FROM alpine:latest RUN apk update \ && apk add bitcoin \ && apk add bitcoin-cli \ ...
user avatar
0 votes
0 answers
9 views

Random unexpected connection errors while fetching data

I am having a really weird problem with my VPS (Centos 7) for the last 2 days. I have an application where I fetch data from dozens of 3rd party websites. For the past 2 years everything was working ...
user avatar
  • 1
0 votes
1 answer
27 views

Certbot - Failed authorization procedure

I want to generate a Let's Encrypt certificate for my server, so that I can renew it automatically. I ran the command certbot --nginx -d testpbx.info.eu and got the following error. certbot --nginx -d ...
user avatar
0 votes
0 answers
26 views

Use iptables and nftables together

Is it possible to use nftables and iptables together? How can I give iptables rules higer priority than nftables. As I am using nftables for nat and iptables to drop traffic by matching hex & ...
user avatar
  • 1

1
2 3 4 5
742