Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

4
votes
3answers
93 views

Booting a Raspberry Pi from an NFS share

I am trying to boot my Raspberry Pi using an NFS share. I have copied the boot partition of the Raspbian Wheezy image to the SD card and copied the root partition to a networked hard drive. I have ...
0
votes
1answer
39 views

Debian: Can I remount / read-only in single user mode?

I'd like to use fsarchiver in the safest way possible but have no live medium for booting from. I vaguely remember having read something like this though: Is it possible to remount / readonly when in ...
11
votes
4answers
8k views

Mounting USB disks automatically (How it works)

Background: I am trying to mount a usb disk as read only but my ubuntu install is mounting it rw when I plug the disk in. I can unmount the disk manually and remount it manually as read only with ...
6
votes
3answers
526 views

How to stop Fork Bomb out of memory error - RHEL 6

I set up test VM to test the effect of fork bombs. So I edited the limits.conf as follows for root user: root hard nproc 512 Now I drop a fork bomb like so: :(){ :|:& };: After ...
2
votes
3answers
691 views

Linux / JVM - OutOfMemoryError: unable to create new native thread

I have a memory problem with a Linux server (CentOS). It is a VM. Below is the context. It has 70Gb of RAM. There are 2 tomcat running on it. One tomcat is given a heap of 13Gb and the other one a ...
21
votes
2answers
3k views

Where is the fork() on the fork bomb :(){ :|: & };:?

Warning: Running this command in most shells will result in a broken system that will need a forced shutdown to fix I understand the recursive function :(){ :|: & };: and what it does. But I ...
1
vote
2answers
33 views

How to check if disk has linux inside

I am trying to boot a external USB drive which runs Linux to check whether the main computer hard drive is running (so it contains) Linux or not, and mount it into /mnt directory to modify some files. ...
2
votes
2answers
553 views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
0
votes
1answer
13 views

Disable MySQL startup arch

how to Disable or prevent mariaDB or mysql services and deamons to start at system startup? more information i have manjaro (arch base linux). i have KDE. and it have Autostart software to manage ...
6
votes
5answers
2k views

Given a kernel ATA exception, how to determine which physical disk is affected?

I woke up this morning to a notification email with some rather disturbing system log entries. Dec 2 04:27:01 yeono kernel: [459438.816058] ata2.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x6 ...
8
votes
5answers
12k views

Is there a way to set the size of the history list in bash to more than 5000 lines?

No matter how much I set the HISTSIZE environment variable to be larger than 5000, when printing the history list with the history builtin, it prints only the last 5000 commands. I need that because I ...
0
votes
0answers
18 views

Can't find picture-box in QT c++GUI application [on hold]

Till now I was working on visual studio on windows , now decided to move on Linux. I Ubuntu I just start working with QT-5 for GUI application. Here I am not able to find picture-box in C++ GUI ...
0
votes
1answer
347 views

modpost.h:12:23: fatal error: elfconfig.h: No such file or directory

I am running Ubuntu: #lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise Kernel info: 3.8.0-38-generic ...
0
votes
0answers
35 views

Mysterious Reboot Preventing Debian from Loading

I recently picked up a cheap, oldish computer at a yard sale. It contained a 80GB SATA hard drive with Windows XP, but I want to turn it into a LAN FTP server, so I tried to set up dual-booting Debian ...
0
votes
1answer
12 views

Error when I try to init gentoo, Loading init ramdisk

I installed the gento acoording to the hanbook, but when I reboot my system I've a mistake, Just I can see the following Loading init ramdisk... and no more. I believe that my trouble is in the ...
0
votes
1answer
12 views

iozone runs fail with “No such file or directory” errors

I want to start using iozone to benchmark an aufs filesystem on a virtual machine on ubuntu. I tried following the manual to use relevant parameters, but I keep getting a weird error on most runs. I ...
-1
votes
1answer
29 views

How to diagnose the problem when Apache at random times shows “Not Found” on the web?

Suppose I reload my web site 100 times by holding down Ctrl+R on my keyboard. I notice once in a while Apache throws out a Not Found error message. If I refresh again, everything works normal ...
0
votes
2answers
23 views

how to stream a video (mp4 file) [on hold]

I planned on streaming just a specific video, is this possible? I'm using Arch Linux, and would try to stream this video to connectcast
4
votes
2answers
26 views

Could you explain this “chroot” /tmp directory creation?

In the following linked article they explain how to create a "chroot" /tmp directory. I'm a bit confused by what they did. Could someone explain what the following commands are doing? Noexec and /tmp ...
4
votes
0answers
36 views

How can I get this proprietary low-vision camera working in Linux?

I am a visually impaired Computer Science student, and use a special USB camera to zoom in on the board/projector during lectures. The camera only officially supports Windows, and I've been using it ...
1
vote
1answer
480 views

Instaling Linux on a machine with Asrock Z87 Extreme 6

I am not able to install Linux in my newly built machine. I think it can be related with my MB (Asrock Z87 Extreme6). I already have Windows 8.1 installed without UEFI. When I boot (linux) from the ...
0
votes
1answer
9 views

FS wont mount at bootup and when using certian commands [on hold]

I am using this line below in my fstab file to mount sda2 but I am having some problems mounting it. At boot up it fails to mount. If I run mount -a it fails to mount. Says I need to be root, which is ...
-2
votes
0answers
47 views

Lost a directory and all files in it (ext4 filesystem in USB internal HDD after resume), can i find them back? and why this happened? [closed]

I lost a directory and all files in it today. Computer: ASUS TX300 notebook. 1 SSD on screen side, 1 HDD on keyboard/dock side. the screen is detachable from the keyboard/dock, the HDD is an USB ...
4
votes
3answers
913 views

How to get mplayer to play from stdin?

Why doesn't this work? cat /dev/video1 | mplayer - If I could get that to work, then I could play & record video at the same time using 'tee' to feed mplayer and mencoder. I want to play live ...
0
votes
0answers
23 views

Calling executable file through the network [on hold]

I am running on Linux and want to call and execute one binary file upon a HTTP request or through the network.
1
vote
1answer
269 views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
3
votes
1answer
569 views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
5
votes
8answers
3k views

Find out if the OS is running in a virtual environment

Is there any way to find out if the OS I'm running (actually installing) is running in a VMWare machine. I need to disable ntp settings if the automated install is done on a virtual machine but keep ...
0
votes
0answers
24 views

GeForce GTX 660 as passthough device with KVM : error no iommu_group for device qemu-system-x86_64

I'm tryng to use my GeForce GTX 660 as passthough device with KVM. I'm reading this guide : http://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/ I'm ...
1
vote
0answers
5 views

xvfb-run aborting on cluster

I'm trying to run a python script with xvfb-run on a cluster using SLURM; when I use an interactive session (srun) it works fine, but when submitting to a queue (sbatch) it aborts/fails without much ...
0
votes
0answers
23 views

Cannot install Kali linux [on hold]

I am trying to install kali linux and I cannot do it. It is giving me this error saying "An installation step failed, You can run the failing item again from the menu or skip it and choose something ...
-1
votes
2answers
31 views

How to monitor TCP connection failures in Linux and UNIX [on hold]

Describe how to monitor the number of TCP connection failures in Linux and UNIX
-1
votes
1answer
25 views

Best vim setup for my workflow [on hold]

I am using vim as my primary editor for programming (doing ssh on a remote server). I have tried some plugins for being more productive in programming but I always had issues (example: snipmate ...
1
vote
0answers
93 views

HD TV and Macbook Air with Linux see each other but screen is black

With Apple Macbook Air 1,1 (Early 2008) and Ubuntu 12.04 with kernel Linux 3.2.0-68-generic-pae, when I connect it to an HD TV via the micro-DVI to DVI (Apple adapter) --> DVI to HDMI (I tried two ...
2
votes
2answers
39 views

netstat — why are IPv4 daemons listening to ports listed only in -A inet6?

I have a computer with: Linux superhost 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux It runs Apache on port 80 on all interfaces, and it does not show up in netstat -planA inet, ...
14
votes
3answers
4k views

Why does the 'bin' user need a login shell?

During an audit of /var/log/auth.log on one of my public webservers, I found this: Jan 10 03:38:11 Bucksnort sshd[3571]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 ...
0
votes
0answers
15 views

Gettting Unexpected Error during the testing of GCC-4.8.2 package in LFS 7.5

I am building my first LFS 7.5 using Linux Mint-13 (32-bit).While testing the 6.17. GCC-4.8.2 .I am getting the following error : root:/sources/gcc-build# ../gcc-4.8.2/contrib/test_summary cat ...
1
vote
1answer
382 views

Can't find vgaswitcheroo directory in CentOS6

I've installed CentOS6 on my laptop, which has a built in VGA and a discrete (AMD) VGA. I used to switch AMD video off in other distro's (e.g. Fedora, Arch) using: $ echo OFF > ...
9
votes
3answers
3k views

Batch delete exif info

How can I recursively remove the EXIF info from several thousand JPG files?
0
votes
1answer
21 views

how to bootup/reboot in verbose mode?

I have Ubuntu 14.04TLS. How can I permanently change grub to switch to verbose mode on bootup/reboot so I can see the rolling text? I would like to make this change stick. Thanks!
2
votes
0answers
37 views

Wireless is not working on Lenovo ThinkPad X201 with CentOs 6.5

I am having trouble with wireless connection on my Thinkpad X201 laptop. I installed CentOs 6.5 Minimal. The Wired (cable) internet works perfect. But wireless is not detected. I looked at following ...
0
votes
1answer
2k views

Cannot dual-boot Linux Mint and Windows 7

I have Windows 7 already installed from a long time ago and I have no Windows/update CD. I want to install Linux Mint. I created a partition, formatted it as Ext4 (in Linux), and labeled it E. I ...
1
vote
1answer
378 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
6
votes
2answers
91 views

Are environment variables visible to unprivileged users on Linux?

I'm trying to determine if, in Linux, environment variables for a process are observable by other (non-root) users. The immediate use case is putting secrets into environment variables. This is ...
0
votes
0answers
12 views

Problem configuring Access Control on Apache

I have a little Debian Server which runs Apache 2.2.22. I have configured, with WebMin, a Apache Webserver that listens on the port 83. Now, in the root directory of this Webserver I configured the ...
2
votes
1answer
23 views

How interpret kworker threads names?

On a Linux kernel 3.11.0-13-generic running on top of a dual socket Xeon X5650 hexa core board running htop show different kworker threads. Sorted by names (I tweaked the result I am showing here a ...
-1
votes
0answers
21 views

what assembly code formate do i need to use? [on hold]

why there's assembly code that is divided to section like: section .text and others are not but they have org 100H instead and how do i know what format to use ??
1
vote
1answer
23 views

Why I get status: Unknown job on the service?

I followed this tutorial to add a program to init.d as a service (I guess), when I want to see its status with: sudo status /etc/init.d/noip2 I get : status: Unknown job: /etc/init.d/noip2 What ...
1
vote
2answers
27 views

how to scp to host connected on a wifi?

I have my MAC on a wifi and am connected via ssh to a linux host. I want to copy some files from the linux host over to my MAC. I know, I can simply run scp on the mac to fetch each file via mac> ...
43
votes
4answers
36k views

Limit memory usage for a single Linux process

I'm running pdftoppm to convert a user-provided PDF into a 300DPI image. This works great, except if the user provides an PDF with a very large page size. pdftoppm will allocate enough memory to ...