Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

1
vote
0answers
4 views

Automatically mounting S3 bucket using s3fs on Amazon CentOS

I have tried all the answers provided in similar questions but none is helpful. I installed S3 Fuse so that I can mount S3 bucket. After the installation, I performed the following the steps: I ...
1
vote
1answer
21 views

Validate user inputs into a file in Linux

How can I validate user inputs into a file in a Linux system? For example, can I prevent users from entering '#' or ';' in /etc/passwd?
1
vote
0answers
16 views

Clone Centos 7 installation - MBR to GPT

I want to clone a centos 7 installation (using LVM) from a 500GB drive (using MBR) to a new 6TB HDD. I tried to use clonezilla to clone the the drives with no success. fdisk -l output from ...
1
vote
0answers
6 views

FreeIPA : new/existing accounts expired when ssh'ing into replica

I have two FreeIPA servers running on Centos 7 - one a master the other a replica. I can create a new user account on the master using e.g. the GUI and it appears on both servers, is active and not ...
0
votes
0answers
8 views

VM: bridge connection won't work but NAT is okay

I messed my server configuration up when trying to set a port scan protection on my Debian on VirtualBox. I did it while being connected via Bridge and now I have no internet connection anymore. When ...
0
votes
0answers
6 views

CRM Cluster Manager mount of multipath devices

I need to mount a multipath device on the active of two servers managed by CRM. My problem is; on server 1 i've got /dev/mapper/mpathep1 and on server 2 i've got /dev/mapper/mpathcp1 so i dont ...
0
votes
0answers
7 views

System freezes when syslog fills up with “java: page allocation failure”

Ubuntu 16.04 x64bit kernel 4.4.0 cpu:8 , memory:31G , ZFS is main filesystem and cifs share is mounted # sudo numactl --hardware available: 1 nodes (0) node 0 cpus: 0 1 2 3 4 5 6 7 node 0 size: 32157 ...
0
votes
0answers
9 views

Correct regex expression for the location block inorder to capture CSS and JS when the request URL changes

I have developed nginx config file order to cater some custom error pages. I have created two location blocks to capture the main index.html file and other location to capture the css/js and the ...
0
votes
1answer
14 views

NFS client firewall settings and rpcbind

I have a server (Debian 9.6) which mounts an NFSv3 share for backup purposes. Does it need any specific firewall settings ? I have found that rcpbind is listening on port 111 and 903 and is ...
-1
votes
0answers
5 views

SNMPTT is not listening on port 162

Process is running and the log file shows that snmptt has started but netstat doesn't show port 162. And sending traps doesn't write to log files. Here is the log: Tue Jan 15 08:39:41 2019 SNMPTT v1....
1
vote
0answers
20 views

Need help to establish secure ftp connection from linux to z/OS FTPS server

I need help to establish secure ftp connection from linux client to z/OS host running FTPS server. From FTPS server admin I have got following information: Host IP address, port, CA certificate file ...
0
votes
0answers
27 views

Apache2 doesn't start anymore

I'm running an Debian GNU/Linux 9. I installed apache2 and now it doesn't start anymore. I already tried to reinstall it. When I type following command in shell: sudo service apache2 start Following ...
0
votes
0answers
12 views

virtualmachine lvm reduce size KVM Debian9

I have got 4 6TB HDD's, each is divided into 5 partitions: 1) ESP - 250mb 2) raid - rootfs 14gb raid1 3) swap - 5gb 4) raid - 70gb raid1 LVM's for VM's 5) raid - 16tb raid5 LVM for storage And ...
1
vote
0answers
10 views

Network cards supporting PTP one-step-sync

We currently want to setup a PTP Grandmaster using ptp4linux on a Linux host. The slave devices rely on PTP one-step-sync but we haven't found any purchaseable network card on the marked which has ...
1
vote
0answers
10 views

Show bindfs target

When creating a FUSE mount: bindfs -u joe -g users -r /files /home/joe/files After the mount is done, what command can I use to see the target? Eg, how can I see that /home/joe/files points to /...
1
vote
0answers
17 views

yum priority plugin does not allow to install package

I want to enable priority plugin for yum which is called yum-plugin-priorities. After that I enable and install that plugin I see that plugin is working but behavior is weird. Even I know package is ...
0
votes
0answers
9 views

Auto-detect and notify remount-ro on Raspberry Pi

I'm writting a kind-of a file system UI for Raspberry Pi and I need to monitor changes in mounted partitions so I can reflect them in the UI. By accident I got a flash drive for testing that has a ...
0
votes
1answer
20 views

date: invalid date trying to set linux date in specific format

i try to set linux date & time in specific format but it keep giving me error Example : date "+%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01" or date +"%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:...
0
votes
0answers
24 views

debian 9.5 strongswan IPSEC Routing

I'm a Linux-Noob but i'm trying to Setup a VPN-Connection between a Linux-machine and a Zyxel USG 210. The VPN-Connection Comes up (happy) but the traffic seems not to be routet correctly. the Linux-...
0
votes
0answers
9 views

Adding custom decoder to “sshd” group in OSSEC

I'm using OSSEC and try to write a decoder for a log entry: Jan 13 19:21:54 example.com sshd[19725]: error: Failed to allocate internet-domain X11 display socket. The decoder: <decoder name="...
0
votes
0answers
12 views

Cannot mount GFS2 filesystem on Raspberry Pi with DRBD [on hold]

I've been trying to setup a pair of Raspberry Pis with DRBD+GFS2, in a dual-primary configuration. I've successfully got working: all packages installed DRBD userland packages built from source and ...
0
votes
1answer
24 views

Netstat not displaying the process id [on hold]

I'm currently analyzing why my server making thousands of connections to own port 80. So I hit the below command: sudo netstat -tnp 2>/dev/null | awk '{print $5" "$7}' | grep 194.48.152.123 | awk '...
1
vote
1answer
33 views

Will EC2 instance AMI's save all files when launching future instances with the AMI?

Soon my website and API will be migrated to Amazon's EC2. Correct my if I'm wrong, but my understanding of an Instance AMI works like: If I launch an EC2 Instance using a for example Amazon Linux AMI ...
0
votes
0answers
14 views

How do I confirm spacewalk is receiving latest updates from RedHat Inc.?

I can see RedHat channel and errata, but not sure how I could determine whether spacewalk is receiving latest updates.
0
votes
1answer
11 views

Ceph Erasure Profile with k+m> 6 disks -> PGs to be stuck on creating+incomplete state forever

So my pools has 5 nodes with 12 osds each of 8tb. Currently I am trying to create an erasure coded pool of k=8 m=2, however after adding this profile and create an ecpool with this profile the pools ...
-2
votes
0answers
18 views

Routing based source IP range [on hold]

I have a routing problem. I know exactly what I want to do. I know it is possible from looking through older posts of similar problems. But I haven't been able to find the correct solution yet. I ...
0
votes
0answers
9 views

Nginx not logging (restart needed)

We're running Nginx on a couple Ubuntu servers (16.04) and all in all everything is working fine. However after some time (few days) Nginx stops logging requests to the logs (/var/log/nginx/[host]....
0
votes
0answers
18 views

How to do Static routing EC2 linux-based VM and CSR 1000v

I'm having the following. In VPC 1, there are CSR 1000v and EC2 linux-based VM. I would like to do static route in order that VM1 and CSR could connect to each other. I'm allowing all ICMP traffic ...
0
votes
0answers
20 views

Why total-vm is is different than show in table?

I am running into oom_killer activity and cannot undesrand dmesg output [Fri Jan 11 02:11:48 2019] lowmem_reserve[]: 0 2811 64249 64249 [Fri Jan 11 02:11:48 2019] Node 0 DMA32 free:248704kB min:...
5
votes
1answer
458 views

Samba (CIFS) mount error(9): Bad file descriptor

I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has ...
0
votes
1answer
42 views

Can only access the gateway at the end of my ssh ethernet tunnel why?

I have a remote private network connected to the internet via a Linux gateway. The gateway has the following arrangement: eth0 - external IP br0 - with eth1, and tap0 devices added to the bridge. ...
0
votes
0answers
10 views

Node app wont show in browser [on hold]

I have a simple express app that works perfectly on local host. But when i deployed it, it prints: "server started on 3000" but wont show in my browser using ip:3000. I use centos 7.
0
votes
0answers
21 views

Openvswitch stops working randomly

I have configured OVS with Linux KVM on Ubuntu 18.04 OS. I have done the configuration with different VLAN's in our OVS configuration. Suddenly the OVS switch stops working even though the KVM host is ...
0
votes
0answers
12 views

NIC count different between CentOS 6 and CentOS 7

I've recently installed CentOS 7 over CentOS 6 Under CentOS 6 I had 6 (eth0 through eth5) physical NICs all working correctly After the CentOS 7 installation I now have only 5 physical NICs (enp3s0; ...
0
votes
1answer
19 views

Resize xfs root partition

Fedora 25 Hey guys, I've just cloned my 120gb SSD to a 240gb SSD, and would like to extend my root partition. It seems this isn't as easy as I was hoping and could use some assistance! fdisk -l ...
-1
votes
0answers
5 views

Windows does not show FAT32 partition [migrated]

I created my own Rasbian image, with the following partitions: $ sudo fdisk -l 2018-11-13-raspbian-stretch-lite.img Disk 2018-11-13-raspbian-stretch-lite.img: 2,5 GiB, 2705326080 bytes, 5283840 ...
-1
votes
0answers
22 views

Reverse shell on a closed port possible?

Recently my website was hacked. Luckily the hacker did not have any bad intentions and even left contact information. I contacted him to ask how he did it and he told me he create a reverse shell. I ...
0
votes
0answers
9 views

rsync fails on network drive after file edits

I have a directory on a Linux server that gets rsync'd to a location on a network share drive (NFS?), which is accessible by Windows desktop users; rsync -vrthP /server/dir /network/dir A user ...
-2
votes
0answers
25 views

Running laravel on a local server [on hold]

I proposed a research for building a local server and running a web app on it specifically built from laravel + MySql datbase + some of the views are vue js, So this website have authentication and ...
0
votes
0answers
15 views

Wrong low/high/crit temperature levels reported by lm-sensors

Results reported by lm_sensors until now were OK, now all of a sudden I'm getting 0°C for low/high/crit temperature levels: % sensors jc42-i2c-0-1a Adapter: SMBus I801 adapter at 0580 temp1: +...
0
votes
0answers
15 views

Mount AS/400 smb2 shared folder from Linux

I've always been using SMBv1 for mounting shared folders exposed by the AS/400. Recently, the AS/400 V7R3 has enabled SMBv2 but I haven't been able to effectively use a shared folder: I can browse ...
2
votes
1answer
33 views
+50

Debugging and fine-tuning the linux process scheduler

When debugging sporadic web application slowdowns, I've found that all the processes have quite high maximum scheduling delay. # perf sched record -- sleep 10 && perf sched latency --sort max ...
0
votes
0answers
11 views

Some changes in /etc/valiases/<domain> files does not apply (setting up mail forwarders in exim)

I've manually tried adding and removing some entries in /etc/valiases/<domain> files in the system as root to configure mail forwarding but unfortunately, some forwarding which I manually ...
0
votes
0answers
45 views

Network unreachable without system logs

One of our Linux (CentOS 7.5) servers got unreachable sometimes. The only solution what i have is systemctl restart network. And I found the fact that I could not ping any outside hosts and vice ...
0
votes
1answer
12 views

How can you unmount or unjoin a unionfs path?

I was able to set up a unionfs path but realized I wanted to change it. I can't seem to overwrite, unmount, or move the unionfs target directory. Is there a command that a non-root user (who set up ...
0
votes
0answers
20 views

Preventing LVM from accessing “low-level” devices of DRBD

Context: Active/passive DRBD setup. KVM VMs on LVM volumes. LVM using /dev/drbd0 for physical volume and volume group. During tests of the setup I have: Shut down Secondary node. Rebooted Primary ...
0
votes
0answers
25 views

Invalid file for download generated with PHP and www-data user

I have an amazon ec2 linux instance (ubuntu 18.04). There I installed my web site which is reacheable here. In the website I have a Download button which triggers a PHP that generates some files in /...
1
vote
1answer
27 views

BIND DNS rate-limit: qps-scale understanding

I have a few questions concerning qps-scale and how it is used when rate-limit option is used in BIND. Referencing: http://www.zytrax.com/books/dns/ch7/hkpng.html#rate-limit and https://ftp.isc.org/...
0
votes
0answers
13 views

Docker-machine with openSUSE remote host

I use docker-machine with Ubuntu remote hosts (with the generic driver) without any problem, but it is a different story when I try to use an openSUSE 15 host. In this case I get the following error ...
0
votes
0answers
13 views

LAG interface with netplan, only one interface being used

I have 3 boxes each with 2 NICs that all have LAG enabled (802.3ad supported by a Unifi Switch 24). Two of the boxes (a HP Microserver and a WD MyCloud PR4100 NAS) work perfectly with the 2 ...