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

1
vote
1answer
3k views

mod-mono-server 4 is not working, while 2 does

I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...
2
votes
3answers
270 views

Analyzing tricky one liners & having handy list of useful ones

Have seen one liners like below & took a little time to analyse exact use & working of it – something like set the value to later one if it is not set. export ...
1
vote
2answers
2k views

Linux Mint Debian quits on boot

I just upgraded Linux Mint Debian Edition with the up7 package. The update manager failed initially (can't remember where...) so I ran sudo apt update, sudo apt dist-upgrade, sudo apt upgrade and ...
0
votes
1answer
455 views

Have to run partprobe at every boot

I created an LVM logical volume. I partitioned it manually. I ran partprobe. I found the new device in /dev/mapper, then I mounted it where I needed it. Everything works. ...except on reboot, ...
33
votes
11answers
29k views

How can I reliably get the operating system's name?

Say I am logged into a remote system, how can I know what it's running? On most modern Linuxes (Linuces?), you have the lsb_release command: $ lsb_release -ic Distributor ID: LinuxMint Codename: ...
4
votes
1answer
147 views

TCP wrapper “except” option

I configured the /etc/hosts.allow at the machine 192.168.122.50 with the following option. sshd : ALL EXCEPT 192.168.122.1 and tried ssh root@192.168.122.50 from the machine 192.168.122.1 and I was ...
3
votes
2answers
212 views

Linux process “scheduling”

I've seen it written many times that the Linux scheduler schedules processes. I'm teaching a course on multithreaded programming, and would like to get my terminology straight. I have one thing I ...
13
votes
3answers
2k views

kernel: Namespaces support

I am wondering what exactly the “Namespaces support” feature in the Linux kernel means. I am using kernel 3.11.1 (the newest stable kernel at this time). If I decide to disable it, will I notice any ...
2
votes
2answers
185 views

Why is LVM metadata backed up to /etc/lvm and not /boot?

Recent question I saw got me thinking on this particular point: If bootloader restrictions usually cause /boot to be outside LVM, why isn't this the target of LVM metadata backups? Putting it ...
0
votes
1answer
52 views

WakeOnLan error

I've been working on a wakeonlan script, which worked fine, until now. Then program wakeonlan, which is not made by me, isn't functioning properly. When I use perl -w /usr/bin/wakeonlan I get this ...
0
votes
1answer
468 views

Floating point performance in Linux

I've tested Geekbench for my computer for both Windows and Linux. It seems that Linux loses markedly in floating point performance. Is there anything I can do about it? Install an optimization ...
0
votes
0answers
343 views

gdb-multiarch command not found

I have installed QEMU in RHEL for running the assembly programs in ARM. I have successfully installed QEMU and ARM. However, for debugging we are thinking to use GDB. I want to install the ...
1
vote
0answers
449 views

How can I get X to autodetect monitor specifications again?

I'm running fc19 in 64 bit. After going through the horrible process of trying to install kmod-nvidia, akmod-nvidia, and the proprietary nvidia driver, in an attempt to get CUDA working, I have rolled ...
0
votes
1answer
1k views

QEMU package not available for RHEL 64 bit

I am installing QEMU in RHEL. In 32 bit OS (i686 architecture), if I run the command, yum install qemu, the installation of QEMU takes place. However, in 64 bit architecture (x86_64), if I run the ...
2
votes
1answer
315 views

QEMU for ARM programs with GDB [closed]

I want to emulate an ARM processor for running the assembly programs using QEMU in RHEL. I have installed QEMU but I still have problems in running the assembly program. I got the assembly program, ...
1
vote
0answers
74 views

Are there any GUI test suites for Linux?

I'm looking to automate some software testing that's currently done manually by a person. Are there any regression test suites for testing GUIs that run on Linux? I'm looking for a way to record and ...
1
vote
2answers
54 views

Begin root process at boot?

I'd like to start a background process as root when my Linux install boots. Can I just add it to a directory or a configuration file?
1
vote
2answers
3k views

KEY_CONFIG pointing to the wrong version of openssl.cnf

I am trying to setup OpenVPN but I am getting this error: #./build-ca grep: /etc/openvpn/easy-rsa/2.0/openssl.cnf: No such file or directory pkitool: KEY_CONFIG (set by the ./vars script) is pointing ...
3
votes
1answer
129 views

RedHat RPM file collision

Let's assume I have two RPM packages named 1.rpm and 2.rpm. Both of them want to put a file test into /usr/bin, but both of them use a different version of test. Of course I would like to have both ...
1
vote
4answers
25k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
1
vote
1answer
808 views

Linux Mint CPU cores balancing and high temprature

I'm using Linux Mint. My laptop has a Corei5 CPU. When I check the system monitor, it shows that the CPU 1 usage is between 90 to 100% and CPU 2,3,4 are less than 5%. why it doesn't balance processes ...
1
vote
3answers
2k views

Can anyone explain the output of mount?

I'm getting the following output when the mount command is executed. [root@]# mount /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type ...
1
vote
1answer
215 views

Strategies for building distributed computing system with hybrid Mac and Linux systems

I want to build a distributed computing system to run Matlab, C and other programming languages for scientific computing. Now I've several old Mac machines with Lion Mac OS installed acted as web ...
4
votes
1answer
3k views

chrome freezes Ubuntu 13.04

Since about 2 to 3 weeks ago, my Ubuntu 13.04 desktop frequently freezes after I am using Chrome for a while. The mouse is movable, but nothing respond to mouse or keyboard. I have to push the power ...
1
vote
2answers
5k views

Viewer Connection to hypervisor host got refused

I used the inbuilt VNC-Viewer in the virt-manager to see the VM desktops. But now when I click the Play button in the VM Window to see the desktop of the VM named server1.example.com, I get an error ...
0
votes
1answer
1k views

configure: error: cannot guess build type; you must specify one [closed]

I am trying to compile an application called "iPerf" in my windows environment using cygwin. Now this is my first time with cygwin but I hope my problems with cygwin would be considered valid with ...
0
votes
1answer
1k views

OS errors : kernel: EDAC k8 MC0: extended error code: ECC chipkill x4 [duplicate]

We noticed the server crashes with below errors. Not sure it is related to any defected piece of the hardware or totally not related to Server detail:Red Hat Enterprise Linux ES release 4 (Nahant ...
0
votes
0answers
331 views

How to compile video4linux for ARM?

I would like to use a webcam using a Linux over ARM board. Through reading, I have discovered video4linux so I would like to compile it for ARM. My unique notes are: git clone ...
4
votes
2answers
5k views

iptables port forwarding

I have a CentOS server with Java/J2EE(Tomcat) installed on TCP port 8080. I have two interfaces, eth0 and lo. I need to forward all incoming connection on TCP port 80 to 8080. I tried doing the ...
1
vote
2answers
156 views

How can I reformat tabular data using AWK?

I have a file contain following output. ora.abc.db 1 ONLINE ONLINE serverA Open 2 ONLINE ONLINE serverB Open ora.xyz.db 1 ...
2
votes
1answer
1k views

Features that Linux kernel has and Windows does not? [closed]

What are the significant technical features the Linux kernel has that the Windows does not? Something that I might find on a kernel feature list, which is conceptually an advantage, or significantly ...
3
votes
2answers
463 views

Unix files system related puzzle [closed]

There was a question in one of quiz conducted one year back. I was attempting to solve this question and got stuck. All the other were programming related but this one was a Unix file permissions ...
1
vote
0answers
182 views

s3fs complains about SSH key or SSL cert - how to fix?

I downloaded and installed s3fs 1.73 on my Debian Wheezy system. The specific steps I took were, all as root: apt-get -u install build-essential libfuse-dev fuse-utils libcurl4-openssl-dev ...
4
votes
2answers
659 views

List all the ways a block device is in use

I want to be sure that a removable hard drive (USB, but this shouldn't matter) is safe to remove. Let's say this drive is sdb. Obviously I need to make sure that there is no mounted filesystem on ...
1
vote
0answers
236 views

OpenVPN not showing easy-rsa

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm I did yum install openvpn in the guide then did the following: mkdir -p ...
6
votes
0answers
221 views

cabal dies on NixOS in KVM

I set up a NixOS system on KVM and installed the haskelPlatform package. Everything works fine, ghci works fine, but cabal dies without any helpful error message: [michas@nix:~]$ type -a cabal cabal ...
6
votes
1answer
11k views

Arch Linux GRUB install: “EFI variables are not supported on this system”

I am attempting to install Arch linux to a new (and very crappy) HP Pavillion 15 Notebook. This is a UEFI-based machine. After several swings at it, I have managed to get pretty far. Legacy mode is ...
2
votes
1answer
13k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
1
vote
1answer
89 views

Can anyone help me diagnose this crash output?

I've been using Linux Mint MATE edition for a while and suffering the odd freeze. Today, it switched to a terminal-style output and gave me some actual info before it died. I took a photo, see below ...
0
votes
3answers
1k views

Need to create a ksh script for transferring files between application server and db server

I have a requirement where I need to automate the transfer of a particular file from one location in the application server to the database server. I can do it manually by using these steps but I ...
5
votes
2answers
1k views

Cannot execute binary in NixOS - No such file or directory

I tried to install the current oracle jre on a VM running NixOS. Now the following happens: [michas@cc:~]$ tar xvzf jre-7u40-linux-x64.tar.gz |grep bin/java jre1.7.0_40/bin/javaws ...
2
votes
1answer
2k views

HP ProLiant DL320e G8 v2 - Install CentOS or Ubuntu Server

I just bought a HP ProlLiant DL320e G8 v2 and I am trying to install CentOS or Ubuntu Server on it from a USB. The problem is that I do not have any option for this in Intelligent Provisioning (the ...
2
votes
0answers
241 views

Network block after restart

I'm running wheezy and I don't want to install network-manager. I have a problem with network interfaces. When I restart the interfaces I cannot use any connection anymore. I cannot reach internet ...
0
votes
1answer
299 views

VirtualBox Guest Additions causes problems with X server in Fedora 18. How to solve without reinstalling?

I've installed VirtualBox (and it's Guest Additions), and after updating the kernel to the latest and also updating VB accordingly, I can not boot normally . (X server doesn't start, but I can login ...
6
votes
3answers
7k views

ps: full command is too long

Good day! I use 'ps' to see command that starts process. The issue is that command is too long and 'ps' does not show it entirely. Example: I use command 'ps -p 2755 | less' and have following ...
11
votes
3answers
4k views

What's the difference between pkill and killall?

I know that pkill has more filtering rules than killall. My question is, what is the difference between: pkill [signal] name and killall [signal] name I've read that killall is more effective ...
0
votes
2answers
437 views

setfacl access issues

I have a list of users (user1,user2,user3,superuser). user1, user2 and user3 belong to a usergroup called normalusers . Now, I need to issue the access control list command for the user superuser to ...
6
votes
3answers
14k views

Allow a user to read some other users' home directories

I am new to system administration and I have a permission related query. I have a group called administration. Inside the administration group, I have the users user1, user2, user3, superuser. All the ...
0
votes
2answers
695 views

Linux kernel with absolutely no virtual memory [duplicate]

I am interested in obtaining (or building myself) a version of the Linux kernel that has absolutely no virtual memory and none of its attendant overhead. No swap file, no nothing. What are my ...
2
votes
3answers
2k views

Cannot add script to init.d

I have installed gerrit on a remote ubuntu server. Now I would like it to automatically start when the server reboots. I am trying to follow this: ...