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

1
vote
0answers
11 views

NTP authentication failing with opcode 108

I'm trying to get NTP authentication working on a cluster of test servers and a couple clients. I've followed the instructions at ntp.org. To be honest, though, I'm not sure they are entirely clear ...
1
vote
1answer
12 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
0
votes
2answers
14 views

How do I print a certain line of python code using the Linux terminal?

If I am writing some python and I only want the terminal to show a certain line, what command do I use? For example my program is: print("line one") print("line two") print("line three") And I only ...
2
votes
1answer
1k views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
0
votes
1answer
17 views

Untar and gzip from multiple sub directories

I have a directory which consists of multiple sub-directories.Each subdirectory has a tar.gz file which on untar gives two files namely R1.fastq and R2.fastq.I want to untar the tar file and compress ...
35
votes
4answers
18k views

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of ...
1
vote
1answer
1k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
2
votes
0answers
4 views

BRMS Giving error when importing repo.xml on other node

BRMS Version 5.3 Jboss 6.0 RHEL 6.4 I have installed BRMS 5.3 On RHEL 6.4 & was able to import the default repository successfully for the first time, but I am unable to import UAT repository ...
1
vote
3answers
36 views

Download directory from sftp

I want to download directory from sftp to a server.I am able to login to sftp using sftp rob2056@storagename and then can get individual files using : get *.txt /remotedir But I want to ...
0
votes
0answers
14 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err ...
0
votes
1answer
10 views

How can I generate two Grub2 entries for each kernel?

Due to bugs in my laptop's BIOS (or some such thing), I use the boot flag nox2apic when I know I need to attach an external monitor. However, when this flag is enabled, pressing some multimedia ...
0
votes
0answers
8 views

Can I use kickstart to assign multiple ip addresses to a device

Can I use the kickstart network statement to assign multiple ip addresses to the same network device? E.g. I have a server that I install using kickstart. The server has one network card, but I want ...
1
vote
0answers
12 views

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 ...
0
votes
0answers
4 views

Looking for a new conf for HA Data Server and Virtual Machines with Glusterfs

I own three HP server for lots of users and email, web and a development machine. I want to make my virtual machines to be available all times, but have some issues. My configuration is as follows: ...
12
votes
3answers
56k views

ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)

I'm not using hosts.allow or hosts.deny, further more SSH works from my windows-machine (same laptop, different hard drive) but not my Linux machine. ssh -vvv root@host -p port gives: OpenSSH_6.6, ...
3
votes
1answer
368 views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using ...
0
votes
1answer
21 views

I don't see .bashrc file in my /home and /etc/skel direcories

I am running linux mint 17.1 rebecca, but I have found it quite different with other distros I am used to, in /home and /etc/skel there's no .bashrc I don't know if i mess up with something or it is ...
1
vote
2answers
304 views

Mounting cifs: “Operation not supported”

Unlike the similar question, I cannot even connect with smbclient. The samba share works fine in windows and automagically works, but in Linux I can't mount it at all and the error message is ...
4
votes
1answer
392 views

Spike in swap utilisation without high swap rate

Every Saturday, for reasons unknown to me, one of my servers experiences a spike in swap utilisation. It's not necessarily a problem as there is plenty of free memory available, but I'd still like to ...
0
votes
0answers
15 views

Will sysfs replace procfs in the furture?

As I know, procfs has been old and chaotic, so sysfs was invented to resolve the problem. Will sysfs replace procfs in the furture? Or, sysfs will just replace part of the functions of procfs, such ...
0
votes
2answers
594 views

md5 or sha1 while copying a file

Is there a way in any linux distro to perform a md5sum or sha1 check while the file is being transferred from a local partition to an NFS one? Example: I have a NFS mounted drive and a very big file ...
1
vote
1answer
1k views

How to access u boot environment from linux?

How can I access and change the u-Boot env variables in linux. Using the u-boot/tools/env directory in u boot directory: u-boot$ make env Which created the executable file fw_printenv. I copied ...
-2
votes
1answer
34 views

How can I run a script as sudo and for it to not ask me for a password?

I want to run the following script: #!/bin/bash if grep -qs 'MinecraftServer' /media/kiancross/MinecraftServer/MinecraftServer; then echo "Disk already mounted, server boot will continue" else ...
0
votes
1answer
569 views

How to select which graphics card to use?

I have a desktop with an integrated graphics card, which i want to use, and a PCI graphics card. I would like to display video through the integrated graphics, and use the PCI card for CUDA based ...
1
vote
1answer
95 views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
3
votes
2answers
3k views

Installing linux on an 32bit UEFI only machine

I have a Intel BayTrial Z3735D tablet which comes with a 32bit UEFI BIOS. After some search I've found that most linux distro don't come with a 32bit efi file. How can I insert one (or build a new ...
-1
votes
0answers
15 views

How to write GPIO interrupt handler in Linux device driver? [on hold]

I am writing GPIO Device Driver for linux 3.14 on Beagleboard XM (RevB). I have done with simple ON/OFF LED blinking. But stuck at interrupt handler implementation. BB XM has GPIO_7 pin connected to ...
1
vote
0answers
5 views

Static linking impossible on the host system 'i686-build_pc-linux-gnu' [migrated]

I am install cross compiler on beagleboard-xm . I got error - Static linking impossible on the host system 'i686-build_pc-linux-gnu' what is solution for that ?
-1
votes
2answers
66 views

Use a directory to simulate a USB storage device? Or any other way to simulate a USB storage device?

When it comes to CD's you have virtual CD software in which you load an .iso and it works like a CD-Rom. But when it comes to USB is there something similar? Is it possible to use a directory to ...
1
vote
0answers
26 views

Debugging info in linux kernel - how does it work?

I have found that I can compile linux kernel with some flags adding debugging support like CONFIG_DEBUG_INFO. These options while useful in debugging are also required by some utilities like ...
60
votes
18answers
45k views

How can I get my external IP address in bash?

I need to find my external IP address from a bash script. At the moment I use this function: myip () { lwp-request -o text checkip.dyndns.org | awk '{ print $NF }' } But it depends on ...
0
votes
1answer
36 views

How do I boot into kali? [on hold]

I have recently installed kali along side windows 8.1 and I have turned off secure boot and fast boot. The issue is after I restart I am not given the option to boot into kali. When I bring up the ...
1
vote
1answer
35 views

How to upload to a unix server?

Im a part of a project group, and one of our tasks is to upload some content to a server. I am completely new to this and have some questions. There are content on different servers(distributed on ...
1
vote
0answers
21 views

ZFS on Linux volume low freespace. Usedbydataset is larger than volsize

I have a storage with ZFS and Debian wheezy. I am always using the latest ZFS from their github. I created 3 different raidz-3 pools. One for every controller. On every controller I have 24x 4T SATA ...
0
votes
2answers
464 views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
2
votes
2answers
43 views

linux setuid does not work

I am learning linux suid,so I have written a small c program with the following content to test it #include<stdio.h> int main(){ system("echo 100 >> test.txt"); return 0; } -rwsr-xr-x 1 ...
0
votes
1answer
16 views

iscsi won't start at boot

I am trying to configure iscsi initiator. Everything works accept it won't start at boot. It times out. Once system is up, I am able to manually mount the drive and /etc/init.d/iscsi status says its ...
0
votes
1answer
39 views

Linux File System for an External HDD

I'm looking for a file system for an external HDD which will be basically used for backups. It will only be used with Linux machines, so I don't mind having a Linux-specific file system. I may ...
0
votes
0answers
16 views

Gnome, nautilus copy files to USB stops at 100% or near

I had similar issues before but i don't remember how i solved it. When i try to copy something to USB stick, with FAT, it stops near the end, sometimes at 100%. And of course, when i transfer the ...
0
votes
0answers
9 views

Problems in running rstudio

I downloaded R-3.1.2 in a zip format then decompressed it in a folder named R-3.1.2 from where I installed it by running ./configure and then make and make install. Now R version 3.1.2 is running ...
4
votes
0answers
227 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
-1
votes
0answers
22 views

Can't unlock Ubuntu account (KDE) with correct password [on hold]

I am unable to unlock my Ubuntu session with the correct password. I found this solution but it was for Gnome. I need a solution for KDE.
0
votes
0answers
9 views

0 Active connection while Downloading Blockchain?

I am not able to connect to download blockchain in logoscoin. It shows O active connection, I am also attach debug logs below: 2015-01-24 06:18:15 Logos version v0.8.6.4-ga5aedeb-beta (2015-01-22 ...
0
votes
1answer
3k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
0
votes
0answers
54 views

How can I get the last command 's output?

for example, I have a simple java file, it can print what I just input $ java test > enter your name: XXXXX > hello XXXXX XXXXX is user's input I want to get the whole output enter your name: ...
4
votes
2answers
98 views

sed “e” and “g” flags not working together

Given this: echo AAA | sed -r 's/A/echo B/ge' I get this: Becho Becho B I would have thought I would get "BBB". This is with GNU sed version 4.2.1. What is going on, and how can I use the ...
1
vote
1answer
63 views

Why is Linux “Unix-like” if its kernel is monolithic?

As I understand it, part of the Unix identity is that it has a microkernel delegating work to highly modular file processes. So why is Linux still considered "Unix-Like" if it strays from this ...
0
votes
1answer
581 views

Playing or converting .dv4 files in Linux

I need to find a way to playback a number of .dv4 files on Ubuntu 12.04 and Fedora 20, possibly after having converted them to a more conventional format. So far I have managed to convert the files ...
3
votes
1answer
39 views

Strange ip command output

When I call ip addr show I get output with all interfaces and their IP addresses (look at eth7): 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
1
vote
0answers
5 views

Variations in Ubuntu 12.04 /usr/bin/time statistics

I have a command line tool which I run on Ubuntu 12.04.5 LTS. I need to calculate the cpu time for this program. I have been checking /usr/bin/time function. command: /usr/bin/time -v -a -o ...