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
1 answer
27 views

Connect a Linux directory to Windows

At work I am trying to figure out how I can connect a Linux shared directory (Samba) to Windows Servers. We have files stored on this Linux server that we try to access from a dotNET application on a ...
user avatar
0 votes
2 answers
38 views

How to make Postfix listen on few IP addresses with correct certificates?

I've got problem setting up postfix to listen on few (3 actually) IP addresses, on port 25, using correct SSL certificates. Background: I'm using Debian 11, with Postfix (v 3.5.6 from repo)/Dovecot ...
user avatar
0 votes
0 answers
14 views

Will devices with different auto negotiation settings on switch ports with matching auto negotiation settings communication issues between them?

I ran across this idea today and had conflicting opinions on this from various co-workers. I am trying to understand if the communicating devices' auto negotiation settings need to match each other ...
user avatar
  • 1
0 votes
1 answer
34 views

Issues installing Rootless Docker

I am attempting to install rootless docker on Almalinux 8.6. I am running the appropriate script after disabling rootless docker: dockerd-rootless-setuptool.sh install and I keep getting the ...
user avatar
0 votes
1 answer
32 views

Get usernames and IP addresses via tcpdump (or another capture tool) connecting to a MySQL server

I've MySQL installed on my Ubuntu server. Because I would like to clean up my users they're currently active in MySQL, I would like to check first which users - and from which host - are connecting to ...
user avatar
  • 1
0 votes
1 answer
10 views

How to list all the TCP_alloc on a server?

I run a node_exporter on my server and node_exporter shows that there are over 5K TCP_alloc on the server. After rebooting the server, the count of TCP_alloc is still over 5K. There are only a few ...
user avatar
  • 111
-1 votes
0 answers
27 views

Connecting to a Minecraft server running on the same server as the OpenVPN server I am connected to

I have rented a vserver to host my website, run a openvpn server instance and run a minecraft server. I have set up a Minecraft server running on the server and when I access it from a normal Internet ...
user avatar
0 votes
1 answer
18 views

How to install Data Protector RPM patch in Linux?

Well, HPE Data Protector has a long tradition of doing odd things. For example the way an rpm "patch" is installed is not via -U or -F, but differently, which brings me to my question: In ...
user avatar
  • 266
4 votes
1 answer
187 views

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0)

I'm trying to run orange-pi emulation with self-build linux kernel by this commands: ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make mrproper ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make ...
user avatar
  • 71
0 votes
1 answer
14 views

"Certificate is bad" in exim smarthost setup

I am configuring a local exim instance to use an existing server (also exim) as a smart host relay. This is as verbose as the logs seem to be: 2022-06-11 23:59:35.745 [767692] SMTP connection from [...
user avatar
  • 11
0 votes
0 answers
18 views

Calculating the difference of size between fdisk and df

Say I have a 1TB SSD and I want to create a 400GB partition with ext4. So I use fdisk and mkfs to achieve that: #### fdisk #### sudo fdisk /dev/sdb # New primary partition, with partition 1 starts ...
user avatar
  • 1
0 votes
1 answer
23 views

How difficult is to migrate from Windows to Linux without any experience with Linux? [closed]

I have an immense background with Microsoft Windows Server (from Windows NT to the latest server editions), but now I am forced to move some services off Windows Server platform to reduce hosting ...
user avatar
0 votes
0 answers
24 views

Debian Server crashes on Shorewall restart. OOM messages in kern.log

I have been adding rules and restarting shorewall for a couple years now on this box (3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.39-1+deb8u1~bpo70+1). Shorewall version 4.5.5.3 iptables v1.4.14 Mem: ...
user avatar
  • 1
0 votes
1 answer
37 views

Kubernetes Nodes are not reachable and cannot reach local network after installing cilium

Little bit of an Introduction, Im pretty new to kubernetes so i'm a bit rough on it. Lets me sketch my problem. TLDR: After installing cilium on kubernetes I cannot acces from and to any other machine ...
user avatar
0 votes
1 answer
16 views

What is missing from sssd.conf so that linux UID isn't being copied into AD user's uid attribute?

SSSD 1.16.5, centos 7 For domain joined Linux systems, I have to manually set their uidNumber or uid AD attribute to their Linux UID so that users can write on world-writable NFS shares. uid/uidNumber ...
user avatar
0 votes
0 answers
15 views

rsync between linux and windows

I am running a Windows machine (A) which is reachable from the internet and has a lot of data which I want to transfer to a linux machine (B). I can not make machine B reachable via ssh since the ...
user avatar
  • 101
-2 votes
0 answers
9 views

Running into a tape label mismatch error on Tar tape

When requesting a file from a Tar tape on our library I get a stage failed - tape label mismatch- run inventory running inventory doesn't fix anything. Any suggestions would be appreciated!
user avatar
0 votes
1 answer
35 views

folder size not corresponding to files inside

I have a problem! My server (Centos OS WHM) is out of space. Browse directories and naturally the biggest directory is /home/userfolder/. Using the du -sch * command, I can check the size 99GB. [home]#...
user avatar
-1 votes
2 answers
42 views

OVH IPMI applet on Linux

Trying to get IPMI from OVH to work on Ubuntu. Getting this error Error: Could not find or load main class ns102103-ip-147-135-36-us-1.jnlp Caused by: java.lang.ClassNotFoundException: ns102103-ip-147-...
user avatar
0 votes
1 answer
13 views

postgres log file rotates after about one meg

I'm running postgres 10.2 on ubuntu 18.04. I'm getting mulitple log files throughout the sameday, it seems like they are rotating after a certain file size: -rw------- 1 postgres postgres 10485987 ...
user avatar
  • 271
0 votes
1 answer
16 views

Checkmk behind NAT can't reach agent in dmz

I have checkmk running in our lan. I want to monitor a linux vm in the dmz. So i installed the agent on the linux vm, enabled ipv4 for it, but checkmk can not find any services since the agent was not ...
user avatar
0 votes
2 answers
48 views

Optimal use of multiple interfaces to download a large file (a riff on load balancing)

Lets assume a simple setup: A linux box with 2 interfaces, each with a 5 mbps download cap, so a theoretical total download bandwidth of 10 mbps. A remote server unlimited in bandwidth holds a file ...
user avatar
  • 11
0 votes
1 answer
14 views

Windows users can create files in world-writable Qumulo NFS share but Linux users cant

I have a Windows domain and a domain joined Windows client and a domain joined SSSD Linux client The Qumulo storage array is serving a share I'm looking at here and contains mostly world writable ...
user avatar
0 votes
0 answers
61 views

Asterisk shows No matching endpoint found

I have planned to implement Asterisk SIP server for testing eMTA calls. I don't have eMTAs so I decided to start with Linux Soft client and then, when I will have an eMTA and physical access to the ...
user avatar
-1 votes
0 answers
11 views

Error 404 Ubuntu and Xampp [closed]

I'm creating my project in a virtual machine (Ubuntu 20.04.4) using bind9 to resolve the domain name and Xampp. So when I try to visualize it from another computer I have the 404 error: Forbidden ...
user avatar
0 votes
1 answer
23 views

Simple way to secure a wired link with 802.1x in "peer to peer" mode without server

I have an Ethernet link between two Linux hosts with a static IP config using systemd-networkd on the both sides without router, DHCP server, etc. Is there a simple way to add a basic 802.1x security ...
user avatar
3 votes
0 answers
111 views

How can a process "lose" it's connection to stdout?

I'm running the following script in my linux devcontainer (ubuntu 20:04), running on a popos host: nohup ./scripts/build/_build-server --compile --watch > /home/dark/app/rundir/logs/build-server....
user avatar
0 votes
1 answer
22 views

Convert Ext4 partition to an exsisting Btrfs volume

I recently installed Fedora on my laptop and I have my old /home ext4 partition (/dev/sdb2). I would like to convert then merge this partition with the btrfs filesystem. Here is my current setup : $: ...
user avatar
0 votes
1 answer
49 views

Why can't create new folder/file eventhough it's still have free memory

I want to create new file/folder in folder Data, but although it's still have memory free (free 9G/total 26G) can't do it. Folder Data was mounted from /dev/mmcblk1p3. root@imx6qsabresd:/Data/logCom# ...
user avatar
0 votes
0 answers
27 views

Linux packets coming through mirror-port config not seen by `netcat`

I've setup switch setup for mirror port: mirror-port 4 interface 1 monitor exit This just means anything coming on port 1 mirror to port 4. I've a Linux machine connected to switch's port 4. ...
user avatar
0 votes
0 answers
22 views

Confusing Memory output from top/ps aux (over 600% memory allocated)

I'm trying to get to the bottom of an issue where the oom-killer is killing certain jobs off on a server. The server has 48GB of physical ram, with 20GB of swap, and I'm trying to find out what ...
user avatar
0 votes
0 answers
12 views

Windows 10 RAID - Readable from Linux? [migrated]

I've got a Win 10 machine whose hard drive (actually an M.2) is listed as RAID in the UEFI. When booting from a Ubuntu 22.04 USB, the hard drive is not detected. Is there any way linux can read this?...
user avatar
  • 216
0 votes
0 answers
11 views

Resource utilisation split in virtualisation platforms

I'm having a Hyper-V hypervisor and am running a CentOS 7 VM on top of it. The VM houses certain microbenchmarks (sysbench, stream, iozone and netperf) and I'm trying to study the effects (utilisation)...
user avatar
0 votes
1 answer
37 views

Is there any way to do something like DNAT but keeps the original IP?

I have following servers Linux Host server A, 10.0.0.2 qemu-kvm guest vmA1, 192.168.0.2 qemu-kvm guest vmA2, 192.168.0.3 Linux Host server B, 10.0.1.2 qemu-kvm guest vmB1, 192.168.1.2 qemu-kvm ...
user avatar
  • 123
0 votes
0 answers
3 views

disk quota (using quota tools) of type "project" with an hard limit for root

I have a program that must run as root. I want to limit its disk usage by using quotas. I set up a project quota on the directory that said program uses for storage. It looks like that disk quota ...
user avatar
0 votes
0 answers
24 views

How to format back private key file?

We are passing the complete text of private key pem file to our script. THere in that job, it is saving the pem file from the text passed. But, somehow the formatting is missing there and because of ...
user avatar
  • 349
0 votes
1 answer
21 views

Disable SSH BusyBox

I'm connecting to a BusyBox and I'm trying to disable the ssh dropbear service. Can someone help me for closing the port access or stop the service. The SO is Linux with kernel 2.6.32.33 Thankyou
user avatar
  • 1
0 votes
1 answer
75 views

How to configure rsyslog to send multiple logs to a remote server and save them as individual files?

I have some log files inside a directory called log ls -l /var/log/ org1_app.log org2_app.log org1_perf.log org2_perf.log ... Now I set up an rsyslog client on the host server. Here is the ...
user avatar
0 votes
1 answer
11 views

stress-ng limit cpu usage for vm stressor

I'm trying to test a server under specific workloads. I'm using stress-ng to simulate a x% cpu load: stress-ng -c 1 -l x I also trying to use stress-ng to simulate a memory load of x megabytes: stress-...
user avatar
0 votes
1 answer
33 views

IPv6 routing on Linux

We have a problem with a simple IPv6 routing setup. People have asked the question before but none of the suggested answers seem to fit our case. We have a network spanning hundreds of IPv4 VPN ...
user avatar
  • 3
0 votes
0 answers
11 views

Obtain path of opened filees in directory, but without symlink processing

I need to list each files opened by path containing specified prefix. I create own FUSE FS and need to gather directory, when last file opened by symlink in my FUSE FS is closed. But lsof /mount_point/...
user avatar
  • 101
0 votes
0 answers
26 views

How to connect aws instance with aws cli?

I don't have ssh key but I have access to aws portal and console where the ec2 machine is there. I tried using the steps in this link to connect ec2 instance. Method 1: using only instance-id and mssh ...
user avatar
0 votes
1 answer
31 views

Set the timeout for SSH connection establishment

How to set the timeout for linux ssh connection establishment? When a certain external connection comes in, eg: ssh admin@192.168.0.100, and it is in the stage of entering the password. After a minute,...
user avatar
1 vote
2 answers
58 views

How to find a malicious TCP program using netstat [closed]

I am trying to do a homework for a lab but have a quick question. How do I find a malicious TCP service that is still running and the adversary has achieved persistence by creating a systemd service? ...
user avatar
0 votes
1 answer
60 views

How to recover XFS file system which xfs_repair not work because of busy?

I got problem in disk of my database which is xfs file system. I tried to repair [root@scan /]# xfs_repair /dev/md127 xfs_repair: cannot open /dev/md127: Device or resource busy [root@scan /]# ls /...
user avatar
  • 101
0 votes
0 answers
15 views

Accessing Ubuntu via X2Go (or similar remote desktop) with OpenSSH based certificates?

Is it possible to connect to Ubuntu using OpenSSH-based certificates with X2Go or some equivalent Remote Desktop system? That is, where you have IdentityFile and CertificateFile in the ssh config. I ...
user avatar
0 votes
0 answers
45 views

Debian 11 no longer automatically receiving static DHCP IP address, dhclient must be started manually

I am hosting a Debian 11 (no desktop environment) virtual machine on Windows Server 2012 with Hyper-V. This is on a company network with its own DHCP system and the MAC address of the VM is registered ...
user avatar
1 vote
1 answer
20 views

Mount multiple NFS subdirs with differents options

The following setup: ip_address:/maindir/subdir001 /mnt/test001 nfs soft,nfsvers=3,timeo=50,retrans=2 0 2 ip_address:/maindir/subdir002 /mnt/test002 nfs soft 0 2 ip_address:/maindir/subdir003 /mnt/...
user avatar
  • 195
0 votes
0 answers
45 views

Invalid argument received when running chown in a Linux namespace

After running something like this: unshare -rUm mkdir opt mount --bind opt /opt touch /opt/test chown 1000:1000 /opt/test I'm receiving this: chown: changing ownership of '/opt/test': Invalid ...
user avatar
  • 1
-1 votes
0 answers
14 views

Site-to-Site VPN for overlapping cloud networks

I've got two cloud networks with following private addressing: 10.10.0.0/16 10.0.0.0/8 Need to establish IPsec site-to-site tunnel I thought about NETMAP but is it possible to translate whole /8 ...
user avatar