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
-2
votes
0answers
7 views

How to make second IP the “outgoing” one? [Debian/Networking/Docker]

we would like to setup a small transactional email server for outgoing emails to confirm transactions. As IPs are the most important identifier of email servers and whitelisted by the spam checkers, I ...
-1
votes
0answers
11 views

why apache in my centos7 container does not work?

Apache does not work after moving centos7 container to the new Kali Linux environment. Apache in centos7 container that worked fine in my old Kali Linux(2018) does not work at my new Kali Linux (2021....
-1
votes
0answers
11 views

Create keytab without letting admin know password if user does not have access to AD?

We have an Active Directory configured with Kerberos. The admin gives each user a password which the user has to reset once they login. We have applications which use keytabs based on the user. Each ...
0
votes
0answers
19 views

The proxy server received an invalid response from an upstream server. The proxy server could not handle the request Error reading from remote server

I am setting up SSL connection between Webserver + Proxy Server and another Server(Linux). (Apache Webserver comes with Tomcat) There is a transparent proxy in use with port forwarding (Iptables) SSL ...
-1
votes
1answer
26 views

Safest way to move a mount point that is a parent of other mount points on Linux to a new physical device

I goofed up and /var/lib/kubelet was not mounted on a server. So it was on the root. I noticed this and I want to fix it. I did the stupid thing and just tried to stop the associated services (kubelet)...
-1
votes
1answer
27 views

Give permissions of LDAP group files to specific user

Here is the situation: I want user usr to have the same permissions of a group grp, anywhere in the system. grp is not a local group, it comes from a LDAP server, of which I have no control over. I ...
-1
votes
0answers
33 views

How does linux know to mount / without /etc/fstab

When /etc/fstab gets deleted/name is changed booting into the machine still works, in addition the root file system (/) is still mounted and on the correct storage device, how does it know to mount / ...
-1
votes
1answer
16 views

How to bind a VNC port with a KVM?

How can I bind a VNC port with a specific virtual machine (KVM) so after a reboot of the host server all ports would remain the same? Right now the numeration of ports is based on the order of ...
1
vote
0answers
32 views

Why is the root user home dir isn't under /home [closed]

I know one of the reasons of /root not being under /home is because /home might be a different partition and we want to be able to log into the user root always. What are some of the other reasons for ...
-1
votes
2answers
48 views

Copy range of files on Linux/Unix

Background I have already thoroughly read through this question: Copy a range of fiels and tried most of the answers. I exported data into a single .json then split the .json file into smaller ...
-2
votes
0answers
27 views

Can't update/install the debian buster image for raspberry pi 4 [closed]

I got my buster image for rpi4 on https://raspi.debian.net but I can't update it at 1st boot : # apt update Err: 1 http://deb.debian.org/debian buster InRelease Temporary failure resolving 'deb.debian....
0
votes
1answer
48 views

Why is sendmail not found?

I've just installed Postfix on Debian and am following this guide on my VPS. When I execute the command: $ echo "test email" | sendmail your-account@gmail.com sendmail: command not found Why ...
0
votes
1answer
12 views

How can I add different soft links to different directories as a single command

For example, I have directories as follow, dir1 dir2 dir3 In each of these I want to add a soft link from a different mount. I normally use this with a simple ln -s /mnt/etc/etc/etc . This however ...
0
votes
0answers
12 views

Slow ARP Update using Windows and Linux Bridge

I have an issue with the ARP update if I switch between to networks. The diagram show my current network consisting of a Windows 10 PC (client) a switchable bridge (in the middle) and two linux PCs ...
-2
votes
0answers
37 views

<RESOLVED> dpkg: error processing package openjdk-8-jdk:amd64 (--configure)

I am using Linux Mint 20.1 Ulyssa and after the latest updates, I have problems with dpkg when installing new packages. Unfortunately, I could not solve it myself and I would like to get someone's ...
0
votes
0answers
30 views

Operability System docker daemon

I have a serious problem with the docker daemon administration on my Docker VM node. And I can't quite understand what exactly is happening. It's a VM with Ubuntu 18.04 LTS from system base, yesterday ...
0
votes
0answers
40 views

windows server samba share ping-able but not accessable

me and my friend have made a closed network on vmware containing: pfsense router with host-only card for LAN and a NAT card for WAN. an Ubuntu 20.04 LTS with samba installed and an existing share ...
0
votes
0answers
8 views

Samba force create mode not working with Write bit

Hello I have a problem with force create mode on Ubuntu samba I am trying to add write permission to group and other but I can´t get it. This is my folder samba config [files] comment = files path = /...
0
votes
0answers
20 views

After a random period of time, Windows is unable to see services running on my Linux subsystem and vice versa

I am running an Ubuntu 18.04 Linux Subsystem. I have Postgresql 12 running on Linux, and I connect to this from my apps I am developing in Windows. When I start up my PC, everything works fine.. DB ...
0
votes
1answer
29 views

Is there a way to direct traffic coming in on the same port to two different VMs? [closed]

So the basic idea is stated in the question above, but let me explain. I was thinking of hosting a Minecraft server inside a VM (using bridge mode so I can direct traffic to it via port forwarding) on ...
0
votes
0answers
33 views

Errors structure in Openldap

I have a question concerning Openldap. I'm using a solution(PingFederate) that gets errors from openldap to do different things depending on the filter. For example i can say : detect the invalid DN ...
-1
votes
1answer
23 views

Does automounting /home on NFS allow users created on server to log into client

I thought I had gotten /home mounting via nfs from my server to clients properly. I do not think I do. If you are on the server and make a user, you cannot then go over to the client and log in as ...
-1
votes
0answers
16 views

Start getty on pty

I'm trying to write a ascii to baudot converter (for a teletype, obviously with dropped characters) using pseudoterminals. The idea is to have a pty master/slave pair, write to the slave, read from ...
3
votes
0answers
45 views

drbd - diskless node won't join cluster unless started first

Good day, I am trying to set up a 3-node DRBD9 cluster 2 nodes actually have a disk the 2 nodes with disk have a direct link via a cross cable and a switch connection with third node third node is ...
0
votes
0answers
57 views

enough free pages but high number of major page faults and page reclaimation

We find that for some servers io disk read is very high. We also notice that there are many major page faults on those servers. But we checked the /proc/zoneinfo, there are enough free pages. Here is ...
-1
votes
0answers
34 views

Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz maxing out at 1.6Ghz

I'm having a problem in one of our servers where it seems the CPU never reaches more then 1600Mhz and I can't fingure out why. I even ran multiple stress tests at once (Mprime + Stress) and the CPU is ...
-4
votes
0answers
53 views

GUI access possible for subscription website with only ssh access to a NAS in this IP range? [closed]

I need access to some data on a website X. This website contains data as downloadable files and also as browsable pages. My university pays for access to this website, I do not. This allows access to ...
-1
votes
0answers
50 views

Why is tcpdump not seeing certain traffic

I'm trying to see traffic from a server interface that is receiving port mirrored traffic with tcpdump. Using tcpdump -i ens224 -s65535 -w /tmp/file.pcap I can see that all port mirrored traffic is ...
0
votes
0answers
23 views

How can you transfer big files between Ubuntu 20.04 and Windows 10

So I can transfer them via SFTP because windows has openSSH server pre-installed, but it's very slow. I want to transfer an 8GB+ machine so I can't do it via a USB neither because FAT32 can't handle. ...
-1
votes
0answers
42 views

2 networks with my Servers not pingable all of a sudden, everything worked fine earlier [closed]

I have 2 different servers, on different networks: 1 in the Netherlands and 1 in France where I live. I am using these servers for a Cardano Node Stake pool. But I can't ping the networks anymore all ...
0
votes
1answer
15 views

Rsync copies all files with executable permission

I ran the following command to back up my home-directory: $ rsync -ahv \ --info=progress2 \ --partial \ --exclude=.cache/ \ --exclude=.miniconda3/ \ --exclude=....
1
vote
2answers
22 views

fail2ban weird ban behaviour bans not IP properly

I'm try to ban all suspect 403 errors via fail2ban. So I created this jail # block 403 errors [apache-403] enabled = true filter = apache-403 port = http,https logpath = /var/log/apache2/...
0
votes
1answer
76 views

Why email response comes from: Postmaster

I've created a sieve script that filters for particular words in Subject, drops the body and sends notification to the recipient and sender. Everything works well but the only thing I can't figure out ...
-1
votes
0answers
21 views

Set interface-name to net0 instead of ens18 during unattended installation

I am struggling with a problem I can not solve at the moment. Using PXE-boot to run an automated installation of Debian 10, the installer is setting the interface's name to ens18, which follows https:/...
0
votes
1answer
53 views

Root partition out of space side-effects

What are the side effects of the root (/) mount running out of space? If I remember correctly, users can no longer login. Are the effects flavor dependent?
-1
votes
2answers
57 views

How can I mirror all traffic to another server?

I have 2 different CentOS servers (A and B) on different networks. How can I mirror/retranslate all traffic from all ports from server A to server B? Server A has many runned applications that ...
-2
votes
1answer
52 views

Delete Bulk Email Accounts from cPanel Using SSH Command [closed]

on Cpanel, it has created many different emails like in the attached screenshot on my whole server. I want to remove all such emails with 1 SSH command. for that purpose, I have tried this command on ...
0
votes
0answers
30 views

How can mount a disk in OpenVZ container?

I have a OpenVZ container. And I mount a disk from a host node to the container: /sbin/vzctl set 111 --devnodes sda:rw --save When the container starts the disk can't mount because systemd doesn't ...
-1
votes
0answers
27 views

How can I set a valid permission to run ansible inside docker on a server?

On localhost, start a docker to run ansible. ansible@ansible:/ansible$ ansible-vault view group_vars/vault It can see the file content. ansible@ansible:/ansible$ ls -la group_vars/vault -rw------- 1 ...
0
votes
0answers
27 views

Can not see the new installed kernel during the boot screen

We have upgraded to RHEL7.6- 7.9 also the new kernel has been installed(kernel-3.10.0-1160.15.2.el7.x86_64) but we are unable to see the new kernel menu entry during the boot menu screen. As I have ...
1
vote
0answers
45 views

Debugging Redis/Jedis performance issues

I have an application that currently has an in-memory cache and, of course, the performance is blazing fast. But due to some reasons (that are out of scope here) I want to start using Redis but the ...
-2
votes
1answer
43 views

How to resend bounced email messages using mutt

Background An email relaying issue was resolved. 32 email messages to sponsors had bounced to root. I copied /var/mail/root to /tmp/root. I deleted irrelevant messages from /tmp/root (using mutt). ...
1
vote
1answer
27 views

Linux cifs share allow different user than mounted/masked uid to do cp -p

I have a specific linux-server that runs several batch jobs at night creating files and copying them to various locations on a NAS, previously mounted with NFS but as of lately with CIFS. The reason ...
-1
votes
1answer
33 views

Allow user to execute sudo commands without inserting password

I have a Debian-based system (most likely an Ubuntu 18.04 LTS) with a user, say user, that executes an application (as a daemon). The system is not exposed to the Internet with a public IP address. ...
0
votes
1answer
23 views

Nginx proxy_store can't write on a user directory tree

CentOS 7 server used for shared hosting. No chroot. 99% WordPress installs. Every user gets a /home/someuser skeleton including ~/web where all web-accessible files reside. All dirs below and ...
0
votes
0answers
10 views

How to force cupsd printer server to use FQDN with Opportunistic TLS prompt?

Currently, when CUPSD asks to upgrade the connection to TLS, I get the prompt: Upgrade Required You must access this page using the URL https://192.168.0.7 How can I force this prompt to use the ...
0
votes
0answers
17 views

Move to a new server - redirect complete traffic (http + https)

I have a runninig server with multiple services on subdomains running on it (all using https), with nginx as reverse proxy. In some days I will move everything 1:1 to another server (new IP, new ...
1
vote
1answer
81 views

nginx under high traffic: network goes down when log writes to disk?

An VPS with 2 vCPUs, with Ubuntu 20.04 and nginx. Nothing changed regarding to loging: neither on nginx, rsyslogd, or journald. I launch ab (apache-benchmark) from a nearby VPS, like this: ab -k -c ...
2
votes
0answers
16 views

Modprobe error at boot

I'm using LMDE4 with LVM on LUKS and recently I've been getting these cryptic error messages at boot: modprobe: module aes-i586 not found in modules.dep Volume group "lvmlmde" not found ...
0
votes
0answers
9 views

virsh domifaddr and net-dhcp-leases show no results

running CentOS 8, virsh 4.5.0, and libvirt. when i run either virsh domifaddr <domain> or virsh net-dhcp-leases default, i get no results whatsoever: Name MAC address Protocol ...

1
2 3 4 5
719