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

0
votes
0answers
8 views

uBoot on BananaPi, stuck waiting for waiting for root device /dev/mmcblk0p2

I flashed banian linux 14.09 to an SD card stolen from a raspberrypi. I've plugged a 2.0amp raspberrypi power supply into the correct microusb power port (the one by the SATA connector). Boot stops ...
1
vote
0answers
9 views

Git, Linux kernel and ticketing/bug-reporting [on hold]

We all know that Linus Trovalds created git because of issues with Bitkeeper. What is not known (at least to me) is, how were issues/tickets/bugs tracked till then. I tried but didn't get anything ...
1
vote
1answer
17 views

What directory houses the scripts that get executed with new kernel installations?

This one is pretty much a straightfoward question/answer I just can't locate the information. I'm trying to automate the re-installation of VMWare tools based off when a new kernel is installed. I ...
0
votes
1answer
19 views

How to check PIPESTATUS equivalent during PROMPT_COMMAND execution?

I have a custom $PROMPT_COMMAND in bash that logs the last executed command and its return code. I was using $? for the latter happily until I realized that for piped commands this was insufficient. I ...
0
votes
0answers
11 views

Debian Active Directory to LDAP migration [on hold]

These days I am working on LDAP and Active Directory migration. I want to migrate to LDAP but I cannot get passwords from Active Directory. I want to seemlesly migrate to LDAP, and I want a solution ...
0
votes
1answer
34 views

How to move a file to another directory, as soon as it is created, in linux? [duplicate]

I want to move all the *.xxx file created in a directory to another directory. But, I want that as soon as the files are created, they should move to another directory. Please Help. Thanks in advance. ...
0
votes
4answers
33 views

How to save in a variable the convert from decimal to binary without use an echo

I've been trying to save in a variable the value of the convert of a number from decimal to binary, like this: num1=10 echo "obase=2;$num1" | bc | tee -a register.txt but I don't want to show it ...
0
votes
0answers
28 views

Linux (CentOS) corrupts my BIOS?

Ever since I switched to CentOS from Windows, I've had to replace the motherboard twice on my Thinkpad T430 - the system isn't able to boot or even run diagnostics or go into the BIOS settings. It is ...
3
votes
1answer
22 views

Is is possible to recover from the unexpected removal of the root device?

As it says on the tin, is it possible to recover from the entire removal and reinsertion of the root device (I.E. remounting it after reinsertion)? The reason I'm asking is I'm attempting to teach a ...
0
votes
0answers
11 views

Loading linux environment variables [duplicate]

I have a set of environment variables and i would like to load it automatically on each startup. As of now i am doing the following: In /etc/environment export FLEETCTL_TUNNEL=10.77.189.179 In ...
0
votes
0answers
8 views

RHEL 6.5 erroneously marking Fusion-io RAID1 card as failed

I am getting the following error every hour for a Fusion-io ioscale2 RAID1 (mirror) configuration. However, the logical volume is mounted and accessible. I do not see similar error in the ...
2
votes
1answer
9 views

Why is it that my initrd only has one directory, namely, 'kernel'?

I'm using debian live-build to work on a bootable system. By the end of the process i get the typical files used to boot a live system: a squashfs file, some GRUB modules and config files, and an ...
1
vote
0answers
25 views

How shareable is /var/cache?

I know that some subdirectories of /var/cache are pretty much shareable, for example /var/cache/pacman (in case of ArchLinux), and possibly others (/var/cache/man?), but at least /var/cache/ldconfig ...
0
votes
0answers
7 views

Receive multicast on any source

I'm using Ubuntu 12.04.5 LTS for IPTv multicasting. If i use same Source-IPv4 address then I can receive stream over multicast from the sender. If I've different Source-IPv4 addresses on sender and ...
0
votes
1answer
22 views

linux after restore + GRUB error

I restored Linux machine , and when the Linux machine startup I get the following errors GNU GRUB version 0.97 GRUB> Please advice how we can fix that? In order to startup my linux ...
0
votes
1answer
16 views

How to know different types of events and their ID's in linux [on hold]

How can I know what all types of events generated by Linux. I can get this from the logs, but reading logs and noting ID's is very time consuming. All events might not be triggered. I need this ...
0
votes
0answers
9 views

Why can't I start a VNC session using the randr flag?

I'm using Ubuntu 12.04 (I think it's desktop...) and can successfully run vncserver (which ultimately links to /usr/bin/vnc4server) and connect with my client, and I can also add the -geometry flag ...
1
vote
0answers
20 views

DVD giving inconsistent size informatin

I have a (read-only, commercial, dual-layer) DVD which I’m trying to create a backup copy of on my computer (because DVDs can be damaged). However, when I try to determine the size of the disc, I get ...
1
vote
0answers
19 views

NAT-T set up using 3 linux machines

I am trying to have a simple NAT-T setup using 3 linux machines. Linux1 Linux2(NATdevice) Linux3 (eth0) 192.168.1.51 <--->(eth1)192.168.1.80 & ...
1
vote
0answers
13 views

How/where are linux device capabilities / bitfields set?

I have a device that has this output in /proc/bus/input/devices: I: Bus=0003 Vendor=05b8 Product=3280 Version=0111 N: Name="PixArt USB Optical Mouse" P: Phys=usb-0000:00:1a.0-1.1/input0 S: ...
3
votes
1answer
28 views

How to find the file corresponding to a pipe opened by a process? [duplicate]

I created this script, which listens for characters received on a hardcoded pipe, and tries to eval those characters. I call my script loop_executor.sh This is all it contains: !/bin/bash while : do ...
1
vote
1answer
37 views

Why does mouse and keyboard freeze when Linux swaps

I have noticed that under Linux, when there is heavy swapping, the mouse cursor freezes, and even CapsLock or Ctrl+Alt+F1 don't work. The system uses the deadline I/O scheduler but this should not ...
1
vote
0answers
13 views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
0
votes
0answers
19 views

Citrix Receiver fails to run on custom distro

I have a customized OS, based on lfs. GCC, glibc version of this OS matched with that of Ubuntu-13.04 I installed an application named Citrix Receiver on both OS. On Ubuntu, it runs smoothly as per ...
0
votes
0answers
22 views

linux boot issue

I found an entry in file /etc/ld.so.conf.d/cognos.conf which stopping linux to boot in the VM. Its going to recovery mode after boot. I am not getting grub prompt and os in read only mode. Solution ...
1
vote
2answers
11 views

How can I see processes being run by another instance of root on my Beaglebone

I am installing a Raspbian Linux image onto an sd card inserted into my BeagleBone Black. I will use this later in my Raspberry Pi. To do this, I am using the dd command from my MacBook Pro (via ...
0
votes
0answers
18 views

iwlwifi: timeout delays firmware to be loaded

I'm using OpenSuSE 13.2 beta (which runs by the way very nicely). When starting up, my wireless adapter (Intel Centrino Ultimate-N 6300 AGN/Thinkpad T420) delays about one minute... But then it works ...
1
vote
3answers
41 views

How to List files which contain white space in filename? [duplicate]

I am trying to read files one by one by using the for loop like below, by passing argument to the functions. Argument 3 makes lot of problem due to space in file names. Example: ...
-1
votes
2answers
20 views

How to install ISO file? [on hold]

I've MATLAB R2014a UNIX ISO file , but i'm using windows 8.1 , how can i install this version of MATLAB into windows instead of UNIX ?
5
votes
2answers
139 views

annoying message “X11 connection rejected because of wrong authentication” while there is no problem at all

I'm having an annoying problem. When I'm logged in to a specific host via SSH, the message X11 connection rejected because of wrong authentication. occurs three times seemingly random about once ...
1
vote
0answers
30 views

CrunchBang vs LXLE or other lightweight distro [on hold]

I am looking for a lightweight distro for my laptop. My laptop is not old, it is quite powerful (core i7 ) but I need more battery life because with Mint/Ubuntu it drains fast. So I need advice what ...
0
votes
2answers
53 views

Command Line only UNIX/Linux OS [on hold]

I want a command line only UNIX/Linux OS. I want the download of the OS to be below 80MB. I want minimum software.
3
votes
1answer
40 views

Thread process in linux

I'm wondering about the "punishment" that occurs when a new thread is created. From my understanding of clone(2), NPTL (New POSIX Thread Library), CFS (Completely Fair Scheduler), when a new thread ...
0
votes
0answers
22 views

unsquashfs fails

Debian 7.0, I extracted the firmware.bin image using binwalk. The extracted content is squashfs-root folder containing subdirectories and one file.squashfs file. I tried unsquashfs the file.squashfs ...
0
votes
0answers
6 views

Get start and end of process segments C/C++ [migrated]

I need to get the start and end addresses of the following process segments: code, data, stack, environment. I understand how it is located in memory, but don't know how to get it using API calls or ...
1
vote
3answers
63 views

How to align a table of display nicely

I am trying to create a script that act as a ps command with it's own properties that I want to display. Say this is how processes would look like in ps command: sas 24431 1 0 Oct10 ? ...
0
votes
0answers
33 views

GDB up arrow doesn't work

I searched a lot about similar problems but found nothing. When running gdb I couldn't use up arrow for walking through previous commands. Up and down arrows are just ignored. I have started to ...
0
votes
0answers
16 views

boot fails with “cryptsetup: lvm fs found but no lvm configured” [dual boot(2xlinux LVM, dm-crypt+luks)]

I have a dual-boot(xubuntu/#!) setup LVM with dm-crypt+luks as follows /dev/sda1 = /boot (xubuntu) /dev/sda2 = /boot (#!) /dev/sda3 = encrypted LVM /dev/mapper/volgroup-xroot = / (xubuntu) ...
0
votes
0answers
17 views

I'm trying to create a public TLD using BIND

I'm using these two guides: jackal777.wordpress.com/2013/11/19/custom-tld-for-local-network/ timg.ws/2008/07/31/how-to-run-your-own-top-level-domain/ When I run dig sokolovskaya.ssu, it looks ...
0
votes
0answers
42 views

cronjob executes every minute but should execute every hour [on hold]

I have a script which should be executed every hour, which creates a new log file. But it executes every minute. I am really despairing. My entry in crontab -e looks like this: #Create new logfile 0 ...
1
vote
2answers
42 views

Increasing performance of clear text file reads

In our bioinformatics application we have large files (up to 900MB, typically 100MB). These files contain a clear text representation of a genome, and are essentially a 1 line file with a sequence of ...
4
votes
1answer
30 views

Softlink in rc0.d is working on poweron rather than shutdown

I want to run a script on poweroff in Ubuntu. so I made a script, placed it in init.d & made a softlink in rc0.d with name S36xyz. my script is working perfectly when I run it in terminal. so ...
0
votes
0answers
25 views

Routing incoming source IP traffic to a loopback IP issue

I'm wanting to accomplish the following: I have a BIND DNS server setup where it is listening on ANY address and also listening in a BIND config ACL on 127.0.1.1. If there is another way where you ...
0
votes
0answers
12 views

auto installing dropbox daemon(dropboxd) with profile signed in automatically script issue

I am trying to install dropbox automatically in my server auto-install script so when I spawn a new VPS instance I'm able to have dropbox installed and have the credentials already inputed via the ...
0
votes
1answer
30 views

IPtables don't block IP

I'm running Postfix SMTP server. Some hosts trying to connect with wrong passwords. warning: s15393678.onlinehome-server.com[74.208.17.126]: SASL LOGIN authentication failed: I'm adding iptables ...
0
votes
0answers
11 views

Dovecot/Postfix and mail vmail directory

I've setup a Postfix/Dovecot mail server. I'm using Postfixadmin to set up a SQL users database. My question is If I ever migrate to another server and I don't have the /var/vmail directory ...
1
vote
1answer
40 views

Run Debian XFCE without a monitor

I want to run a program via ssh on a debian xfce pc, the program generates a file, my problem is that this program needs a screen to open, it will NOT work in terminal mode. I want xfce to boot ...
0
votes
0answers
26 views

Ext3 file system became read-only and server reboots spontaneoulsy

We noticed ext3 file system in our CentOS 4.9 server became read-only. We got the following error in dmesg: EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will ...
1
vote
1answer
63 views

How to launch multiple instances of a program in parallel using parallel?

I would like to execute a command: curl example.com multiple times in parallel using GNU parallel. I tried: parallel -j 3 curl example.com but it doesn't work.
0
votes
1answer
26 views

How to find file/device given the resource ID on Linux?

On a gentoo Linux system I am printing the value of a file descriptor from within a PHP script yielding the following output: Resource id #1234 How to find the corresponding file/device given this ...