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

2
votes
2answers
30 views

Where kernel configuration file is stored?

I currently run Angstrom Linux 2.6.32. I intend to upgrade linux kernel from 2.6.32 to 3.0.7. For this reason, I had to configure kernel 3.0.7 running make menuconfig. Now, I want to compare the new ...
1
vote
1answer
35 views

Fix for: /usr/lib/libnssutil3.so: undefined reference to `PL_ClearArenaPool'

Error occurs during attempt to make via: cc -m32 -s -o ford_check_password ford_check_pws.o wsl4_cookie_auth.o fds_auth.o -L. -L/ford/thishost/proj/dmadmin/ford/lib -lcrypto -lldap50 -lssldap50 ...
0
votes
0answers
13 views

Gentoo XEN host + EFI + MDADM + IMSM RAID5

I have a workstation with a working Gentoo setup. It uses IMSM FakeRAID (level 5) with 4 disks. Booting done without bootloader using Linux kernel EFI STUB. System works fine. Now I need to setup XEN ...
-1
votes
1answer
41 views

Removing files and symlinks like /etc/*release. Could it cause issues?

I just got a VM running on CentOS 6.5 and ls -l /etc/*release returns a number of files like /etc/centos-release, /etc/lsb-release, and /etc/redhat-release. The last one, /etc/redhat-release, is a ...
4
votes
2answers
80 views

How to kill a process started as daemon?

I start a process using foo &. It outputs something like: [1] 16915 This is the process id, I guess. How can I store this number into a variable named MY_PROCESS_ID (for example)? Then I ...
3
votes
2answers
75 views

Denying “/opt/” access for SFTP Users other than particular dir

This is my first (newbie) post here in unix stackexchange. I want to use my WebServer (Debian) as SFTPServer giving access to particular employees. The dir structure is as follows under root: ...
1
vote
1answer
41 views

init: /etc/init.conf: Unable to load configuration: No such file or directory

Running Linux 6 on VMWare, I noticed this in the system message log: init: /etc/init.conf: Unable to load configuration: No such file or directory What's the cause of this error? How do I ...
1
vote
0answers
40 views

Mount EXT3 with 16KB blocks

I have a failing Sparc based Netgear ReadyNAS that uses LVM on Raid with EXT3 partitions with a 16KB block size. I would like to pull the drives out of the NAS and mount them read only in a Linux box. ...
0
votes
1answer
78 views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
-1
votes
1answer
30 views

Is there a reason that Apple's USB vendor ID on Linux is a close anagram of Broadcom's? [closed]

I was poking around in lsusb and I noticed that Apple's USB vendor ID, 05ac, is a very close anagram of Broadcom's, 0a5c. Is there a historical/political/other reason for this, or is it just a ...
1
vote
1answer
26 views

mailx and HP-UX to RedHat migration

We are migrating some servers from HP-UX to Linux RedHat, and we have to migrate about 100 shell scripts that are referencing /usr/bin/mailx (instead of /bin/mailx on Linux). We'd like to change all ...
0
votes
0answers
8 views

SimpleScreenRecorder, Two Inputs

I need to be able to allow SimpleScreenRecorder to record two sections of my screen/external sources without much post-production editing. Is that possible?
0
votes
2answers
58 views

What are ways to encrypt a password inside an environment variable

I have this file I use to set my username and password before exporting the value. #!/bin/bash echo -n "User:"; read user echo -n "Password:"; read -s password export ...
3
votes
1answer
33 views

How to get address of connected USB modem?

I just connected my N81 telephone as USB modem to Linux Mint 14. All works fine, just wondering how to find a full path to this device, something like /dev/tty*.
2
votes
3answers
99 views

Custom Linux Distro that runs just one program, nothing else

I am wondering how I could go about creating my own "custom" Linux distro that will run just one program, pretty much exactly the same way as XBMCbuntu. I'm not asking for a step by step guide, just ...
1
vote
0answers
22 views

6.0.7 Debian timeout if more connections at once

We are a some devs working on a Debian server. We are all connecting from one IP. So basically the server handles a lot of requests from the same IP. Now what happens from time to time, is that we ...
2
votes
1answer
30 views

Pull a file from a Docker container?

I can see that it's possible to insert a file into a Docker container via insert: docker insert IMAGE URL PATH Is there a way to fetch the contents of a file in a Docker container and save them ...
3
votes
1answer
59 views

Init script leaves thousands of defunct processes

My problem is that I have an init script that is generating thousands of defunct bash processes. My goal is to have a program called "fr24feed" in its own screen session on boot. After looking at ...
2
votes
1answer
45 views

How do I create an IPv6 overlay network?

I would like to create host-only IPv6 networks on two hosts and then route between them. On each host, there will be a dummy interface, at ipv6_prefix::9. I would like to be able to ping that ...
5
votes
1answer
80 views

Attempting to Abbreviate kSAR's PDF output

I'm currently writing a cronjob around kSar's command line (non-GUI) options in order generate PDF's. I'm just going to email a PDF of the previous day's activity to a different webmaster (basically ...
5
votes
3answers
187 views

Why do I need a tty to run sudo if I can sudo without a password?

I have configured sudo to run without a password, but when I try to ssh 'sudo Foo", I still get sudo: sorry, you must have a tty to run sudo. Why does this happen and how can I work around it?
1
vote
1answer
107 views

Linux Mint 16 display resolution and monitor

I am using Linux Mint 16 and I have two questions. I am very disappointed I have needed to resort to a website to answer this, usually on Windows this would be very intuitive. The first problem is ...
0
votes
0answers
22 views

How to listen to hardware button click events in Ubuntu?

My laptop has a slot loading DVD drive and the eject button does not work under Ubuntu. So I thought it might be possible to create a script to get the button to work. So how do I listen to that ...
1
vote
2answers
24 views

How to mount an remote filesystem with specifying a port number

I am trying to mount a director from another server on my server. For that, I have tested sudo mount -t nfs 11.11.11.111:/some_directory /mnt/test/ But the connections gets a timeout because on ...
1
vote
0answers
279 views

Installing Elementary Isis beta

How can I install Elementary OS Isis Beta? I tried to made a bootable stick using the latest iso builds but for some reason I cannot login. Having elementary OS installed on my machine, how can I ...
4
votes
1answer
168 views

How we can avoid rebooting the system after partition change with fdisk?

When modifying the partition table, fdisk usually returns the following error message: WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still ...
1
vote
1answer
29 views

Why does RTC device have 254,0 instead of 10,135 as Major,Minor numbers?

Why isn't /dev/rtc the well known "c 10 135" device that it's on x86, but a magic undocumented "c 254 0" device? Devices.txt lists this major number as LOCAL/EXPERIMENTAL USE. I'm working on a ...
0
votes
0answers
12 views

I2c with 16 bit addresses

So, i'm trying to interface with a device that has 16-bit addresses, and the master I'm using also supports this mode. However since this isn't standard I2C (should be 8-bit addresses) I haven't been ...
1
vote
0answers
29 views

Arch linux installation problem

I used to work on Arch Linux at my desktop. One year ago I started to use laptop Samsung np530u3b. This laptop has one bootable HDD Hitachi (500gb) and 16gb ssd (so system from this SSD can't be ...
0
votes
1answer
13 views

setcap fo rhel5

A quick question , I am not able to find much info to run setcap on rhel5 . I searched few packages in my system # yum install libcap Loaded plugins: product-id, security, ...
2
votes
1answer
58 views

Check `fsck` automatically

I need to run fsck so that it automatically fixes problems (i.e., fsck -y). And because I am using "systemd" instead of "init" in the linux system, I cannot modify the /etc/default/rcS. So what ...
0
votes
0answers
20 views

How to remap keycodes via setkeycodes?

I'm trying to change keycodes of some keys, but I don't get one thing. If I use /lib/udev/keymap, I get the following output: # /lib/udev/keymap -i input/event1 scan code: 0xC022D key code: zoomin ...
1
vote
0answers
65 views

Kill Command in linux using bash script [migrated]

I have a bash script abcd.sh,in which I want to kill this command(/usr/local/bin/wrun 'uptime;ps -elf|grep httpd|wc -l;free -m;mpstat') after 5 sec but in this script it kill sleep command after 5 ...
0
votes
0answers
34 views

sshd without pam slower

I am running OpenSSH_6.5 with UsePAM yes in my board. I have observed that with UsePAM no in /etc/ssh/sshd_config, sshd runs slower than previous case. How is this possible? My understanding is ...
0
votes
1answer
76 views

Are there any academic sources on why people should use Linux? [closed]

So, I have to write a persuasive speech for college. I've decided on persuading people to switch to Linux. The problem is, I should have five academic sources for my arguments. Are there academic ...
0
votes
1answer
62 views

Linux Centos 6: Restart Network Service after lost ping

My OS is Linux Centos 6. Restart Network Service after lost ping Basically, I need a watcher or a script that will detect no ping to/from another ip address and run service network restart after ...
3
votes
1answer
31 views

Updating kernel versions when booting from rEFInd

I'm booting from EFI using the awesome rEFInd bootloader. I've so far had to configure boot myself by manually copying over my EFI-compatible linux boot image to my EFI partition and writing a ...
2
votes
1answer
23 views

Forcing compton to free directory

I often have trouble unnounting filesystems because compton is keeping a subdirectory open. Here is one line from lsof I have right now: compton 30043 valmi cwd DIR ...
-1
votes
2answers
75 views

Add users from dat file

I have a dat file with names. These are the names of users I must add, without groups or passwords. Ofcourse i have to remove all spaces. I have to add them with a bash script. Can anyone help me ...
0
votes
2answers
68 views

System too slow [closed]

My linux system is responding very slowly.I should wait to get the result of my command. How can i investigate to know the problem of his behavior?
0
votes
0answers
57 views

How can I get a two-display Radeon HD 3470 graphics setup working with Scientific Linux 6.5?

I have Scientific Linux 6.5 (2.6.32-431.11.2.el6.x86_64) installed on a Dell OptiPlex 760 with a Radeon HD 3470 graphics card and two displays hooked up to it. I'm having difficulties setting ...
1
vote
3answers
37 views

Possible problems in moving linux disks from one hardware to another

I currently have a server collocated in a datacenter. The hardware is a HP dual quad core xeon with 16 Gb DDR2 and 2 1Gb disks in raid1. I want to order another similar server to have as a ...
0
votes
1answer
16 views

iKVM: return to graphic mode

In iKVM (Supermicro) I have switched to text console mode using <Ctrl>+<Alt>+<F1>. How I can switch again to graphic mode? (the same keyshortcut pressing again doesn't do anything). ...
1
vote
2answers
67 views

Debian Wheezy vs Logitech Quickcam E2500

I've a bought a QBox-1000, I've installed Wheezy, and some services (SSH, Samba, Transmission, etc). Now I would like to step on a next level. I want to know what is what and how to do some advanced ...
0
votes
2answers
30 views

UDP sending two strings in a datagram

I'm wondering if its possible to send two strings within one datagram in a UDP packet. Assume I had string 1 with text: unix and string 2 with text: linux. I don't want to merge the strings but keep ...
1
vote
0answers
39 views

Add udev rule alias for input device

I am trying to add a udev alias rule for my xboxdrv (x-box controller) and I can't seem to figure it out. dmesg | grep "input" I see: [ 6.239955] input: Microsoft X-Box 360 pad as ...
0
votes
3answers
69 views

Switch user on terminal

I'm switching user using command: sudo su - userName On my terminal I always have: user@user directory $ (some command) But when I switch user I have only : $ (some commands) It is hard to ...
2
votes
2answers
97 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
0
votes
0answers
52 views

How to fix startx on Arch Linux on Raspberry pi?

I have a problem when trying to use the command startx. It comes back with /usr/bin/x error while loading shared libraries: libgcrypt.so.20: cannot open shared and then says that it is giving ...
1
vote
0answers
41 views

Linux dependencies between packages

I have following error: You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-kernel-generic : Depends: linux-image-3.11.0-12-generic but ...