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
1answer
13 views

Backup and restore of raid1 device, after OS upgrade

We have a physical RedHat server with two 60GB local disks, and two RAID 1 devices on them. There are also a few multipathed SAN luns. Disk /dev/sda: 60.0 GB, 60022480896 bytes Device Boot ...
0
votes
0answers
35 views

Cannot go in sleep mode in Linux Mint

I'm using Linux Mint 17.1. Whenever I try to put my laptop in sleep mode, it seems to do it for a second then wake up immediately. I've checked the logs but cannot see why could wake it up right away. ...
-1
votes
0answers
37 views

How to run the script that requires root acccess as a regular user without adding that user to sudoers?

I have an account with root privileges and need to run the install script for a specific user. I don't want/can't analyse the script upfront to figure out the list of all other packages it is going to ...
0
votes
0answers
10 views

Can't locate Cairo.pm in @INC

I am running prinseq for trimming my data but got this error: Can't locate Cairo.pm in @INC (@INC contains: /home/A/software/vcftools_0.1.11/perl How do I install this?
0
votes
0answers
24 views

How to grant sudo permission for a .py script on a apache folder?

I've exemplo.py in an folder /opt/lampp/htdocs/cgi-local/exemplo.py folder. The script creates a socket that needs super user permissions. My question was a little confusing? I need to access ...
1
vote
1answer
43 views

How to change (increase) number of lines in screen?

Connecting from Windows to Linux (CentOS 5.4) using PuTTY. Console set at 140col 60 lines. Not much else changed from default. Connection is via serial cable to the box. On Linux, installed and ...
1
vote
1answer
31 views

Why most apps try to use OSS if /dev/dsp is present?

So why most applications apparently try to use OSS if /dev/dsp is present on a system where more advanced audio servers (ALSA or PulseAudio) are also available? I experience this after installing ...
1
vote
1answer
31 views

How to collect disk read/write activity over a given period of time?

Sometimes, especially upon login, I have a lot of disk activity. I can use iotop to see what's doing that at a given moment, but I would like to have an integral table over a given time, say the first ...
3
votes
0answers
32 views

Can't connect to some WiFis, Linux on Macbook Pro

I just recently installed Fedora 20 on my Macbook, with MATE desktop. Everything is fine at home (WiFi WPA2, connects without any issues whatsoever). Today is my first day back at Uni with the new ...
2
votes
1answer
13 views

does the second kernel need kexec enabled

It's clear that you need the kexec syscalls in the 'first' kernel. But does the kernel that should get loaded (with kexec_load and reboot) need to be compiled with kexec? If yes, what extra code ...
4
votes
2answers
163 views

Print repeating pattern

I have a marathon file from which I want to print the names of the runners, who have made multiple runs. Something like: M, 2:08:58.0, John Lukas, USA, 1997-07-25, Paris, France F, 2:15:04:0, Abebbe ...
1
vote
1answer
23 views

Killing a process with cron as soon as it starts

I want to stop dropbox from running as soon as I log into my account. Now I know I could do this simply by going to Startup Applications and disabling dropbox. But I was wondering if there is a ...
1
vote
0answers
19 views

pacemaker hangs while stopping

I have recently installed pacemaker and corosync for managin a virtual IP. The thing is that when I want to stop a resource (Virtual IP) on all the nodes, the stop command hangs. [root@isis ~]# sudo ...
1
vote
1answer
28 views

SELinux Sandbox Usage

What am I doing wrong in the following, from the man file and internet it looks like this is right. $ echo "hello world" 1> test $ sandbox -i test cat test /usr/bin/cat: test: Permission denied
2
votes
0answers
15 views

BTRFS - Raid incomplete after balancing

I have two 3TB drive that are formated as btrfs and mounted on /media/andy/btrfs as one drive. I run btrfs balance start -dconvert=raid1 -mconvert=raid1 /media/andy/btrfs/ which takes forever. It ...
1
vote
0answers
16 views

How can I guarantee USB wlan0/wlan1 order? [duplicate]

From doing research, I think I understand that the order of wlan0 and wlan1 ( and so on ) is determined by the order that the USB devices are recognized. My question is whether or not this order is ...
0
votes
0answers
29 views

Help I need xserver 1.13.0 for my AMD Catalyst 13.1

So I got myself linux mint 14 and put it on a usb then booted up . When in menu I opened file manager scrolled to /usr/bin . I then copied Xorg and emailed the 1.13.0 xserver to my linux mint 17 xfce ...
0
votes
0answers
15 views

No sound in arch linux with xfce4

I have installed Arch Linux with Xfce4, I installed alsa-firmware, utils and plugins. I haven't installed PulseAudio. I have no sounds in my laptop at all :/ I have unmuted in alsamixer my speakers. ...
0
votes
0answers
12 views

linux vlan bridge feature backport to 2.6 kernels

The VLAN-aware bridge was introduced to the Linux mainline on the 3.x kernels, according to this article on lwn: VLAN filtering/VLAN aware bridge Has this feature been backported to the 2.x kernels ...
0
votes
0answers
11 views

DNS Issues On ISPconfig3

I use ISPconfig3 to host a couple of test sites. I recently had to change my public IP address, so I made changes to ISPconfig per recommendations from the community. However, I have not been able to ...
0
votes
1answer
12 views

Clonezilla fails while cloning/imaging the entire HDD

I am using Clonezilla Live DVD to image my entire HDD consisting of several partitions. An overview of the partitions can be seen in the following excerpt from the log file of Clonezilla: Machine: ...
4
votes
5answers
154 views

How to display welcome message in unix? [duplicate]

What is the command to display the welcome message as "welcome panni" every time i log into unix.
0
votes
0answers
26 views

To disply welcome message every time i log into unix [duplicate]

i have tried the below code to display login message every time i log into unix, etc/motd welcome but it didnt work, pls help me with your suggestions.
0
votes
0answers
31 views

deleting admin directory after deleting an admin user

I am creating Admin accounts using this command, sudo useradd *new-admin-username* -s /bin/bash -g sudo -m It creates the admin's directory in the /home/.. Moreover, since these are admin, I can ...
0
votes
1answer
20 views

run something as another user without admin

i have two users without passwords "plex" & "debian-transmission". I need "debian-transmission" to be able to tell "plex" to execute export ...
-2
votes
1answer
31 views

How to add StartUp application in Arch Linux [closed]

I am using Arch Linux, I want to add a start-up program in Arch Linux. How to add start-up program which will execute after login after every boot ? Note: I am not system administrator, I am just a ...
1
vote
0answers
43 views

Creating my own shell [closed]

I'm trying to create my own shell,but I have some trouble implementing the following: I need to get the previous command when a down arrow is pressed however,whenever it is pressed I get the following ...
4
votes
1answer
39 views

Make a copy of the audio output into a file

How to get the sound that I can hear in my headphones into a file or into a variable in my C/C++ program? I'd like something like the framebuffer for images. My main goal is sending sound to another ...
0
votes
0answers
28 views

Kernel panic - not syncing: No init found

I am trying to build the linux kernel image for the Beaglebone black right from scratch! i am following the tutorials referred by Free-electrons(http://free-electrons.com/training/kernel/) I am ...
1
vote
0answers
10 views

Frugal installation on WIN 7 no admin rights

Laptop from my work has WIN 7 Enterprise, but I have no admin rights on it and under no circumstances I would change partitions. However it does boot from USB. As I want to use Linux on a regular ...
0
votes
1answer
17 views

HP SmartArray RAID5 recovery on linux

This is a long time in the making, and I've finally got it working so I thought I'd share this with as many people as I can in case they're in a similar situation. Long story short - HP SmartArray ...
0
votes
1answer
23 views

SSH login attempts

The log on my server is full of entries like these: input_userauth_request: invalid user dennis [preauth] Received disconnect from xxx.xxx.xxx.xxx: 11: Bye Bye [preauth] Invalid user park from ...
3
votes
1answer
20 views

Create a write-cache loop device for a much larger block device

So, long story short. * I had a 5.5TB RAID5 array with a HP controller. * HP uses a really, really painful RAID5 algorithm (ref: Delayed Parity) * I wrote a new block driver that translates requests ...
0
votes
0answers
29 views

swapon: /swapfile: read swap header failed: Invalid argument

#sudo dd if=/dev/zero of=/swapspacefile bs=1M count=2048k 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000417928 s, 0.0 kB/s #chmod 600 /swapspacefile mkswap: error: swap area ...
-1
votes
0answers
18 views

What can cause a file reset operation to crash?

We have a dll (Delphi/Kylix) that crashes the program that has loaded it just after we do a reset on a file. This fails after thousands of operations that do the exact same thing (this was run in a ...
0
votes
0answers
28 views

Hot-changing font-size, number of rows / columns on a text terminal

This question comes from this other. I have no X-Windows installed in my system. I just simply would like to change rows/columns in a text console (terminal) without rebooting. The desired behavior ...
0
votes
0answers
6 views

3.10.17 Kernel i2c buses missing on embeded system

On my ARM embeded system I have 4 i2c buses and only one shows up in /dev and in /sys/device/... folders. Other 3 i2c buses are not loaded. There is also no warning message inside dmesg, but there is ...
0
votes
0answers
7 views

I want to utilize PCA9685 chip to drive servos on beaglebone black, I see there is a linux driver, but how to utilize in C/C++. Any examples? [migrated]

So I have a Beaglebone black, and a servo/led controller http://www.adafruit.com/product/815. I'd like to control it from a C/C++ program running on the included Debian Linux. I see there is a ...
1
vote
0answers
16 views

numlockLed is enabled but numpads are not working

I have put the following code to enable Numlock at boot time. #!/bin/bash for t in /dev/tty[0-9]*; do setleds -D +num <$t; done in start up script. it is working fine on OS level. but after ...
1
vote
0answers
18 views

Tuning NFS: Identifying source of getattr requests

we run some Linux NFS clients against a NetApp NFS storage system. Currently we have over 50% getattr requests running against the NetApp using up precious CPU cycles. Using the netapp-top.pl script ...
1
vote
0answers
12 views

How Can I be Assured That my Issue Can be Helped Here?? [migrated]

As a relatively new StackExchange User and Contributer, I see a lot of the same questions in some form or fashion day after day. I don't mind helping each visitor, but before I do, I always have a ...
0
votes
3answers
39 views

Remote Desktop like screen/tmux (from windows)

Is there a way to remote desktop into a Linux desktop from Windows and have it just like Windows? So if i remote desktop to a Linux desktop from a Windows machine I want to the see that Linux desktop ...
1
vote
0answers
74 views

Xorg consuming 1.1GB, is it a leak?

I am facing a problem wherein Xorg starts to consume more and more memory and finally eats up the whole swap space. As shown below, Xorg's virtual memory is about 1.1GB. My system runs only one GTK ...
1
vote
1answer
16 views

Always Forward Traffic Out The Interface It Originated On

(This is the original question but my eventual solution was too different from how I originally asked the question so I'm posting as a new question.) Background: I have a VM with three different ...
0
votes
1answer
37 views

Syntactic differences in cp -r and how to overcome them

Let's say we are in a blank directory. Then, the following commands: mkdir dir1 cp -r dir1 dir2 Yield two (blank) directories, dir1 and dir2, where dir2 has been created as a copy of dir1. ...
0
votes
1answer
21 views

BUG: scheduling while atomic

I have just installed Linux (OpenSUSE), and when start the OS, I get an error BUG: scheduling while atomic: systemd_udevd plymounthd... what does it mean?
0
votes
2answers
57 views

Download n Upload files via telnet session

I have an attendance Device with Linux OS installed. I am able to connect that device via telnet session. There are some files in the device which I need to download and upload with new files. How can ...
1
vote
1answer
22 views

Iptable forward interfaces for gateway machine

I have two Ethernet interface being configured to use as system gateway ex: eth1: 10.10.1.0 eth2: 10.10.2.0 I want to forward all the packets which are coming to the 10.10.2.0 gateway contacting ...
1
vote
2answers
34 views

access of linux and windows to same share location

I have some scenario in which I have to use windows (because of the applications), but some of the operations it is much easier to perform on Linux. Therefore, I'd like to install some machine which ...
0
votes
1answer
20 views

/etc/sudoers file help in giving access to all command in UNIX

/etc/sudoers file help in giving access to all command in UNIX. I read it has rules specified like #root ALL=(ALL|ALL):ALL that specifies root accesses. My question is when we execute a command ...