Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

3
votes
2answers
5k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
1
vote
2answers
759 views

How to install jdk in Linux Mint

I am unable to install jdk on Linux Mint. I tried the following: # apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib Reading package lists... Done Building dependency tree Reading ...
1
vote
0answers
10 views

What is the Linux scsi mid-layer

In the Linux storage stack there are 3 levels: upper, mid and lower. Therefore, I know what it is in that sense. What I'm hoping someone will know is, what files in the Linux source tree actually ...
3
votes
3answers
116 views

Symbolic link creation failing: change ownership issue

I am facing some issue with creating soft links. Following is the original file. $ ls -l /etc/init.d/jboss -rwxr-xr-x 1 askar admin 4972 Mar 11 2014 /etc/init.d/jboss Link creation is failing with ...
-5
votes
0answers
25 views

Pattern replacement in sed [on hold]

Input is taken from a file 'input.txt' having following content in it: binary(any two digit number) varbinary(any two digit number) Output should be in a file called 'output.txt' having following ...
0
votes
1answer
94 views

To run modprobe for Wi-Fi at login

I would like to enable my wifi card automatically at the startup every time. However, the command below requires sudo. I see Hardware Disabled at the wireless connection which blocks the internet ...
4
votes
2answers
9k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...
5
votes
2answers
1k views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
1
vote
0answers
71 views

i915 - Intel BayTrail - graphics artifacts

I just noticed I have some kind of graphics artifacts which effect visual discomfort like so called "blurry"; And, moreover, I am not sure I have correct DPI settings right now (give me advise ...
1
vote
2answers
26 views

Directory in /proc that isn't process dir but start with number?

Quick question. Is it possible to create directory in /proc that starts with number but isn't process directory (where name is PID)? I write software that searches for process directories and I wonder ...
3
votes
1answer
606 views

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in ...
1
vote
0answers
15 views

What do the parts of an acpi event mean?

I have a ThinkPad laptop with dual batteries, and I want to write an indicator app for GNOME which performs an action when the external battery is plugged/unplugged. To read these events I connect to ...
0
votes
2answers
12 views

Possible fix?: ICEauthority Error With a Systemically limited File Permission Issue

First off, I would like to apologize ahead of time for such a completely absurd accident to happen to my computer. Essentially I wanted to change my Cinnamon-mint theme on linux. But I noticed that ...
3
votes
1answer
586 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
1
vote
2answers
25 views

How to get the name of USB driver in use in linux

I'm running Ubuntu 14.04 on my laptop. I'm having USB related issues in my laptop. It works sometimes and sometimes doesn't. I thought of fixing the issue myself. So, I wanted to know if there is a ...
3
votes
2answers
769 views

Is pvcreate destructive? Attempting to recover an lvm2 volume group

I don't want to lose any data, so I'm asking if the solution Novell offers is safe to try. If not, are there safe alternatives? Step-by-tedious-step: I have two volume groups: main and Rand; Rand ...
1
vote
0answers
10 views

How and when is keyboard data encoded from keyboard to application? [duplicate]

I hope this is not the wrong place to ask this, if it is, please point me in the right direction. As the title says, how and when is keyboard data encoded? I just wanna know in basic terms the ...
1
vote
1answer
14 views

pcap file 20 times smaller than ifconfig TX/RX difference for same period

I run tcpdump on a usb modem in network card mode. [ 18.260000] cdc_ncm 1-1.1:1.1 wwan0: register 'cdc_ncm' at usb-ehci-platform-1.1, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64 I run it ...
0
votes
0answers
17 views

How to come out of a deadlock in linux [migrated]

On a multi threading system, if two threads want to work on a shared memory after locking a mutex. Thread A: pthread_mutex_lock(&mutex) ....... //Memory corruption or Assert and thread ...
0
votes
0answers
9 views

linux kali wifidriver make errors [on hold]

when i make i get this root@kali:~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913# make make -C tools make[1]: Entering directory `/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools' gcc -g bin2h.c -o bin2h ...
1
vote
0answers
17 views

Mount 'hibernated' windows partition, ciphered with bitlocker

My windows 8.1, ciphered with bitlocker, was damaged during system update process somehow. Now it boots only to recovery mode and I can't use password for bitlocker drive unlocking. I lost my recovery ...
1
vote
2answers
121 views

Writing openSUSE image to SD card

I am releatively new to linux and I have assembled a raspberry PI 2 model B and I'm relavively unexperience with linux. I have tinkered in the past with SUSE and want to start doing it again. I have ...
0
votes
0answers
24 views

Multi input files for awk [on hold]

I have 3 files, as below: File1: 5372,5372,0,0,,1,0,1,1,0,1,0,0,0,0,0,0,1107,1107,,1.620000,1,2015-08-12 2110,2110,0,0,,0,0,1,0,0,0,0,1,1,1,1,1,1601,1601,,9.500000,1,2015-05-29 ...
0
votes
1answer
24 views

Why are the up and down arrows keys not always working on multiple platforms?

Very recently, maybe within the last two weeks this issue has started cropping up: once maybe every two days or so, the up and down arrow keys simply stop working for a while - I can move the cursor ...
0
votes
1answer
32 views

Option to configure Linux kernel to run userspace script when core dump occurs?

Is there any option in the kernel compilation or userspace setting to do the above? I'm looking to add a crash reported to my new embedded Linux system.
1
vote
1answer
34 views

Allow specific linux user to bind to port 443

I am in charge of setting up a JBoss web application that runs over SSL, thus should be accessible over port 443. Of course, it can be started up by user with root privileges, but that is something ...
2
votes
1answer
28 views

How to tell systemd to stop service when it no longer required/wanted

I have 10 TF2 game dedicated servers, they started manually one by one with individual service files tf2-server-1.service ... tf2-server-10.service And they want service hlstatsx ...
3
votes
2answers
2k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
0
votes
0answers
103 views

deepin 2014 Starting LightDM Display Manager fail

Upon rebooting my machine The deepin splash screen began to pulsate. I looked at the boot log and found: "* Starting LightDM Display Manager [fail]" Upon looking at the lightdm log I found the error: ...
2
votes
1answer
2k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
3
votes
1answer
25 views

Cache atime writes

Is there a way to set atime writes to be cached for a very long time? I need atime (that is to say, relatime won't cut it), but I don't want it to effect performance so much. Data loss in of atimes ...
1
vote
0answers
16 views

tuned on fedora 22 - setting different alpm policies for specific devices

I'm trying to configure alpm to max_perfomance on my system disk, medium_power on my data disks and min_power for backup disks. I tried various variations in tuned.conf but the result is that the last ...
74
votes
12answers
277k views

How do I find out what hard disks are in the system?

I need to know what hard disks are available, including ones that aren't mounted and possibly aren't formatted. I can't find them in dmesg or /var/log/messages (too much to scroll through). I'm hoping ...
-8
votes
1answer
52 views

What is the best Linux distro? [on hold]

I your opinion(s), what is the best Linux distro? Thank you. RCline7
1
vote
1answer
17 views

Does loginuid have any impact on process limits?

On CentOS/RHEL 6, when I start my daemon as root user, I see /proc/<pid>/loginuid of the process as 0 and when I start it through sudo, I see loginuid of the sudo user. Even if I do sudo su - ...
2
votes
1answer
23 views

Why doesn't copying large files prevent Linux from going into power saving mode?

This problem happened to me when copying backups from an SSD to an external SSD. As suggested in the answer there, I had to change my power settings to set "suspend when inactive" to "never" in Debian ...
3
votes
1answer
569 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
2
votes
0answers
37 views

Magnetic stripe reader on Debian

I have recently aquired a USB magnetic stripe card reader. When used on Windows, I swipe a card, it acts as a keyboard and types out whatever is on the magstripe. However when used on Linux (Ubuntu ...
1
vote
0answers
22 views

Screen is shaking/wobbling in Debian 8.1

Just installed Debian 8.1 on my Lenovo Y70 laptop, besides other driver problems, one of the problems i cant get rid of is this shaking/wobbling screen. Tried to install intel drivers and xorg but ...
0
votes
3answers
77 views

How to rename all files with special characters and spaces in a directory?

How can i rename all the files in a specific directory where the files contains blanks spaces and special characters ($ and @) in their names? I tried the rename command as follows to replace all the ...
-4
votes
2answers
99 views

How can I forbid the Linux kernel from accessing a certain RAM disk? [closed]

Can anyone tell me if the Linux kernel has access to RAM Disks and if so, how can we forbid it? I want to have a RAM Disk that I'm the only one who has access and can change the information, and I ...
-1
votes
1answer
73 views

RAM Disk related questions [duplicate]

there is a developed kernel subsystem that needs a chunk of memory allocated to itself that only it could manipulate this chunk. this memory should be physically contiguous and also it need the access ...
0
votes
1answer
24 views

Suddenly all connections are rejected [on hold]

My system is Debian 8. Just now I was using ssh to connect to my laptop and programming. I swear i didn't even use sudo command, but all in a sudden, all connections are rejected. It seems that ...
1
vote
0answers
11 views

Gnome fails to start in Debian Wheezy

I've installed Debian Wheezy. After a while (working properly without any problem), I see some problems while working in gnome. Some functions don't work properly, for example desktop icons are not ...
1
vote
0answers
7 views

Default lxc networking suddenly stops to work

I've recently installed lxc on ubuntu 14.04. Networking used to work (lxcbr0 being a NAT interface, DHCP configured using dnsmasq) but after a container restart, the networking does not work any more. ...
0
votes
0answers
5 views

getting TP-LINK AC1200 to work with kali

i'm quite new to Kali and linux for that matter. I was hoping to get my AC1200 TP-link wireless card to work with Kali linux VM but for some reason it does not have the compatible drivers to make the ...
2
votes
1answer
906 views

Memory management - how memblock_reserve works

I am new to Linux kernel and I am studying the Linux memory management framework. I have few doubts on this. I am working on Marvel PXA986 boards and in board file I can see few memory reservation ...
2
votes
1answer
3k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
-1
votes
2answers
101 views

Free or cheap shell (i.e., platform) to run a Linux C program with root privileges (raw socket)

I'm working on a Linux C program that needs root privileges (raw socket). I would like to run it on a host located in the US (I am in EU) to compare results. Is there any free (or cheap) shell ...
1
vote
1answer
693 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...