These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
22 views

cant find sdb under /proc/partitions [on hold]

[root@localhost /]# cat /proc/partitions major minor #blocks name 8 0 16777216 sda 8 1 512000 sda1 8 2 16264192 sda2 11 0 1048575 sr0 253 0 ...
0
votes
1answer
21 views

Docker image creation using RPM

I used the docker file bellow to create a docker image So, my problem is, when I was building it, the below error appeared. please help me solving it.
-1
votes
0answers
39 views

Need scrpit to run progam with variable files [on hold]

Need a script to automate this Move file mv /somedir/(whatever).apk /data/local/tmp/somedir Change Permissions if not change them /data/local/tmp/somedir = rwxrwxr-x /data/local/tmp/somedir/(...
1
vote
1answer
23 views

ttyACM0 and sdb created from one physical USB device

I have a USB device based around the Nordic Semiconductors nRF51 SoC. Once I plug it into my Ubuntu machine it triggers the creation of both /dev/ttyACM1 and /dev/sdb. So far, I've perceived the /dev/...
2
votes
1answer
40 views

How can I differentiate disk I/O occured explicitly by a user and OS prefetching?

I am monitoring disk I/O usages of an application program (running on CentOS 7) It uses lots of sequential disk I/Os where I expect that OS prefetching is something! dstat shows how many disk I/Os ...
2
votes
1answer
554 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set root='(hd0,...
0
votes
2answers
264 views

Centos 7 - where is jfx library for openjdk8?

I have centos 7.1. And I installed openjdk8 and openjdk-devel8. However, when I tried to compile in netbeans my jfx application I get package javafx.* does not exist. After some investigation I see ...
8
votes
2answers
2k views

An oom killer thats baffling me

I am not able to understand why would kernel issue this oom killer when I see enough memory is available: Also why are there so many kernel cache pages allocated? I say enough memory is available ...
0
votes
1answer
436 views

NAS set-up issue with NFS protocol in linux Mint

I have a Synology NAS that I'm trying to map in my Linux machine as if its like a regular HDD drive. I have looked all over the internet without being able to figure out how this thing works. I have ...
0
votes
3answers
2k views

How to find out Bluez version from command line?

I am using some custom Linux distribution without any UI. I would like to find out the Bluez version through the command-line. How can this be done?
1
vote
1answer
61 views

For some reason “sudo ssh -w any -o Tunnel=ethernet root@remote” creates tun devices instead of tap devices

To connect multiple tunnel endpoints to a common bridge interface, I have to create a Layer 2 tunnel over ssh. The server is Ubuntu 10.04, the client is Ubuntu 14.04. I have enabled PermitTunnel yes ...
1
vote
1answer
35 views

Purpose of Physical Extents

Today in class we are learning about logical volume management and I'm trying to find out what the actual purpose of physical extents are. I know what they are defined as and I understand how to do ...
2
votes
1answer
10k views

minicom showing offline

I am trying to use minicom in Ubuntu. To do this I first connect my USB to DB9 converter, then I type this command on terminal dmesg | grep tty to check if my USB to DB9 converter is connected ...
0
votes
0answers
11 views

Linux XKB keyboard remapping with function keys

I need to create a keyboard layout in Linux where I can map a key to a function key. However, I didn't see where there is a symbol to do this. So basically I need something like: key {[2,at, f2, f2]}...
5
votes
1answer
2k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
1
vote
1answer
45 views

Executables in /usr/bin not showing for permissioned users [on hold]

I installed xvfb-run using yum under root, and I can see the executable in /usr/bin with the permissions -rwxr-xr-x. When I login under a different usr which falls into the 'other' permissions, the ...
1
vote
1answer
25 views

Nginx reverse proxy redirection

I am using nginx as a reverse proxy and when I login in my web interface I am redirected to the proxied URL. I would like to avoid it and always keep the "server_name" as the URL. Is it possible? ...
3
votes
2answers
57 views

Can you tell if a file has been renamed?

Many tools out there for syncing files aren't quite right for syncing you're home directory. Because of this, and to learn Ruby, I've been working on my own sync tool. An issue I've encountered, ...
2
votes
2answers
45 views

Dialog Script break sequence

I am trying to create a console based menu for sshing to devices within our network, but I don't want the user to be able to break out of the menu. Would dialog work in this case? If not do I have any ...
3
votes
1answer
28 views

Partition table consuming 32K of data?

I create a file of 100MB size, and using losetup assign it to /dev/loop0. Consequently I use fdisk to create an empty DOS partition table, and a new partition that spans the entire disk. One thing ...
1
vote
1answer
34 views

/ Owned by postfix:root after installing iRedMail

I followed this tutorial to install iRedMail on my CentOS 7 x64 System: https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64 Why the *"$@*3 is / now owned by ...
2
votes
1answer
98 views

<SOLVED> VPN clients not reaching Internet

Recently, during VPN server configuration the one thing that I've faced is - I don't have internet access connecting through my VPN server. Actually I use the VPS(Debian 8 ), where I've installed a ...
1
vote
1answer
52 views

Getting Ubuntu to Recognize USB Wifi

So, I'm really new to Linux systems and have just downloaded Ubuntu on my other desktop. The problem I'm having is getting it to recognize the USB wifi, TP-Link AC600 Archer T2UH. I went to the ...
0
votes
0answers
524 views

“Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block” and “LZMA data is corrupt”

I recently bought a new computer and I am experiencing problems while trying to install Linux. Things I have tried: A variety of distributions: Ubuntu; Elementary OS; Crunchbang++; Manjaro; and ...
2
votes
1answer
1k views

Intel Skylake + DisplayPort 1.2 MST/Daisy chain on Linux

I am planning to buy hardware for using DisplayPort 1.2's MST feature to daisy chain two monitors in combination with the Intel Core i5 6600 Skylake processor on Ubuntu. Is this supported yet with the ...
1
vote
0answers
36 views

Is the perfmon2 tool obsolete due to the same functionality being included in the current Linux kernel?

I was having some issues with the PAPI tool and multiplex and this answer by the PAPI creator led me to check out perfmon2: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/2008-April/000900.html ...
0
votes
0answers
15 views

server load and performance testing

Dears, there are some cluster of servers that are responsible for a telecommunication company databases. the OS's was Linux Redhat installed on bare metal till now, but all the clusters are migrating ...
1
vote
1answer
17 views

Apache httpd logging

I have a couple of questions about Apache httpd logging on Scientfic Linux 7 Apache logging seems to be using some kind of hard-link from the configured logs directory /etc/httpd/logs to /var/log/...
1
vote
0answers
445 views

Any good usb-serial (RS485) adapter to use with GNU/Linux?

I'm having problem with usb-serial (RS485) adapters. Firstly, I tried ch341 without success. The problem in this case is the linux driver, made by reverse engeneering (sadly without any help from the ...
0
votes
0answers
28 views

What is the purpose of the symbolic `git` link inside the `/data/git` folder of the gogs docker installation?

Initially I asked this as a more generic question here: Is there a purpose to a symbolic link that points back to the directory containing it? Since it relates to gogs specifically I'm asking for a ...
66
votes
12answers
84k views

Efficiently delete large directory containing thousands of files

We have an issue with a folder becoming unwieldy with hundreds of thousands of tiny files. There are so many files that performing rm -rf returns an error and instead what we need to do is something ...
3
votes
1answer
926 views

Routing through iptables

I have this vpn client that touches the routing table and then keeps watching it to exit if it gets touched. It is the kind of setup needed for an endpoint, such as a laptop. I want to use a small ...
2
votes
1answer
312 views

modsecurity rule for blocking wordpress / joomla admin login - others

I have an old rule for ModSecurity 1.x to block admin brute force attacks, and only allow them in the internal network. When I migrated to 2.x, it stopped working. Also the networking ipmatch rules ...
2
votes
1answer
23 views

Is it possible to reuse the slave end of a PTY after closing it?

After the slave end is used (open(), read(), write(), close()), the master's read() finishes and returns with an EIO error. But I was expecting to be able to open()/close() multiple times the slave ...
1
vote
0answers
23 views

Automatically switch display on lenovo docking and linux

I have a lenovo thinkpad with nvidia optimus and a mini docking station series 3. I want that while docked, it should automatically switch to an external monitor if possible and if I undock it, it ...
0
votes
2answers
208 views

Opencats installation error

I am trying to install opencats. While installing I am getting following error. What is the problem?
1
vote
1answer
43 views

How to power down display on terminal?

I would like to power down/up my display from the terminal. Right now I have: setterm --blank force #wake setterm --blank poke Which gives a blank screen; but active screen (screen still receives ...
1
vote
1answer
35 views

Connect network namespace to internet

My scenario is this: I want to be able to execute a program in a separate namespace with a network interface of its own. But I also want it to be able to access internet though my physical network ...
2
votes
2answers
2k views

Why do files created via Samba get different ACL (mask) permissions depending on the client OS?

I tested this on a clean install of Debian Jessie, but I also have this problem on other machines (ex: Ubuntu 12.04). In addition to the base install, I installed sudo, samba, and cifs-utils. Shared ...
0
votes
2answers
830 views

two NICs in the same subnet— need to set up routing

I have a tricky case: +---+ +----+ |D1 +->eth0---------<-eth0-+D2 | | | | | | +->eth1---------<-eth1-+ | +---+ +--...
0
votes
0answers
9 views

Evince missing font in application menu

In Evince, the application menu seems to be missing a font. How can I fix this? I'm using Linux Mint 17.3
6
votes
2answers
864 views

'OS X-like' momentum scrolling in linux?

Is there a way to make the scrolling on a linux machine (running X11) more like OS X's natural scrolling? With 'natural scrolling' I mean the fact that you can flick trough the pages, there is ...
0
votes
2answers
2k views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
1
vote
0answers
109 views

new kernel compile - error on bootup - Could not find overlay

I was compiling the kernel using slackware-current, the latest version of the kernel, 4.3.3, also tried 4.4-rc5, and ran into this error on bootup Could not find overlay #6 ### dt-test ### of ...
14
votes
9answers
8k views

How can I get an alert when my battery is about to die in Linux Mint?

This happens to me more than I'd like to admit, but sometimes I don't notice the power getting low since it only shows up in my status bar, then the computer just quits. I'd like a big alert that ...
3
votes
1answer
5k views

snmpwalk community results to timeout

My snmpwalk suddenly stopped working, which was working earlier, after restarting the snmp also didn't work out, snmpwalk -v1 -c gives me timeout and it's working for other machines as well. I tried ...
2
votes
1answer
96 views

Does pkill kill itself (and its parent processes) last?

I'm writing a bash script that kills a bunch of processes selected by certain criteria and then quits. The only problem is that those criteria apply to the script and its parent processes (bash, sshd) ...
2
votes
1answer
870 views

How to audit access to any file or folder within a given path for specific user

I've been reading some information about configuration of auditd and I just can't figure this out, what I know how to do Log specific system calls by a user Log access to a specific file by all ...
-3
votes
3answers
58 views

My NIC speed is 1g per second why scp speed is 120MB per second

My Network Interface card r/w rate is 1000MB/S, but when I scp one file it shows the copy speed is 120MB/S. such as: scp test.gz localhost:/data/test.gz
2
votes
0answers
32 views

How Widely Used is Polkit? [closed]

I'm writing a program that requires root access. I'm hoping to use polkit for privilege escalation instead of just erroring out when the program is not run from root or via sudo. Is polkit used on ...