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
18 views

Restarting init without restarting linux

In this question on security SE, the accepted answers states that For example, /sbin/init uses glibc [the vulnerable lib], and restarting that without a reboot is non-trivial. Now, non-trivial ...
0
votes
1answer
8 views

mysql high availablity for LAMP application (ubuntu 14.04)

im trying to achieve HIGH Availability (HA) for a LAMP application(News Portal website) which might be of interest to many unfamiliar users.For files im using Glusterfs (replica) for redundancy ...
0
votes
1answer
3 views

Trying to install rpm package in Fedora 21, but dependency on OpenJDK 7 results in errors

I am running Fedora 21 32bit workstation version. Trying to install iris-4.22.0-1.noarch.rpm: [itse@localhost Downloads]$ sudo yum install iris-4.22.0-1.noarch.rpm [sudo] password for itse: Loaded ...
-1
votes
1answer
23 views

Error while running script with nohup

I got this error while running my script with nohup sh: syntax error near unexpected token `(' My script is as follow: #!/bin/bash report_log="report.log"; grep -A 3 'successful\|ERROR COUNT ...
-5
votes
1answer
32 views

Bash history for specific user? [on hold]

Please provide bash history particular user linux command? (or) How to verify the bash history particular users in linux?
0
votes
1answer
12 views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and ...
-1
votes
0answers
28 views

Linux command error : not working in cmd prompt

I'm a newbie to Linux. I have encountered an error when working with Cygwin and cmd prompt in Windows. I posted the snapshots. I'm trying to use carat ^ to find the info that begin with K. But getting ...
0
votes
0answers
11 views

Linux RPC - security options

I am reading about Linux RPC at this link. I want to ask, in comparison to Linux IPC (like system V IPC), where the recipient of the interaction can configure allowed access using Linux DAC, what ...
0
votes
0answers
4 views

How to use tshark or tcpdump to calculate bytes transmitted

I am using this command with tshark: tshark -r pcapfile "tcp and ip.src==192.168.1.1" -T text -V -x | grep 'Total Length' This essentially parses the pcap for only connections from the source ip and ...
0
votes
0answers
4 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
0
votes
0answers
24 views

Does Linux use Byte Order Mark? [on hold]

I just can't find any information about that, does Linux use Byte Order Mark (BOM)?
0
votes
0answers
15 views

udev/udisks detect blank usb drive

I'm trying to write a web app that allows me to remotely see all usb drives plugged in my box, and allow me to format or eject them from the web page. I've got it all working except for one case: ...
0
votes
0answers
23 views

Is it logical to give root execution to some commands executed by a normal user? [on hold]

Given a C/C++ program that uses some system calls or commands, say for example sockets. In this question the solution gives root access to a normal user to run a specific one executable, which means ...
5
votes
1answer
469 views

Ghost Vulnerability - CVE-2015-0235

Does the Ghost Vulnerability require access (as in being a logged in user) to the effected OS in question? Can someone clarify the 'remote attacker that is able to make an application call'? I only ...
1
vote
1answer
19 views

Kernel config: Is undefined the same as disabled?

Reading the Debian Kernel Handbook I came across the config option CONFIG_DEBUG_INFO. That option isn't in the official debian 3.2 kernel config, so what I'd like to know: If a certain option is not ...
0
votes
0answers
34 views

Switch between tabs command

By mistake I may have deleted the Switch between tabs shortcut, now I want to add it as a custom shortcut but I can't find the command to add. How do I add it back? I'm using kali Linux and I'm ...
0
votes
1answer
21 views

Installing linux Mint 17.1 on Acer s5 “No root file system defined”

I have booted Linux Mint from USB stick. Everything works fine until I'm trying to install it. So I launch Install Linux Mint choose my language ⇒ set up WiFi connection ⇒ Installation ...
0
votes
0answers
7 views

network connection issue with Ubuntu installed on VM player

The Ubuntu was installed on Windows 7 using VmWare Player. However, the internet cannot be accessed from Ubuntu. The Windows host works fine with internet. Examining the "Network and Sharing ...
6
votes
3answers
287 views

Can signal be ignored (lost)?

I have an application which is communicating with workers via signals (particullary SIGUSR1/SIGUSR2/SIGSTOP). Can I trust that whatever happens every signal will be delivered and processed by ...
0
votes
1answer
17 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot ...
0
votes
1answer
13 views

Linux RPC - server side

I am reading about RPC at this page. I understand that this a client/server model, and the server can respond to queries by the client. What I want to ask is that is it possible for a server side ...
0
votes
2answers
55 views

How to convert Log file to CSV using bash

Is it possible to turn this log entry into a properly formatted csv file using sed/awk? I've tried multiple ways to do this using sed/awk. Alas I couldn't do it. Before I do it in perl. is this ...
0
votes
0answers
21 views

How to write rules file to build /package_name/abc/xyz/Project for debian creation [on hold]

How do I create a package for the directory which has some text files and in some directory I have libtool project. I want to create debian for the package which tests libtool project builds ...
1
vote
1answer
22 views

Problem with grep on multiple files and not getting desired output

I am using the below command on a file to extract few lines based on chr# ( different chromosome numbers). This is just a single file am working on. i have 8 such files and for each file I have to do ...
1
vote
0answers
13 views

Initialize USB keyboard attached while suspended

I have a laptop that I sometimes want to use with separate peripherals; external monitor, external keyboard and external mouse. When in this mode, I want to keep the laptop closed and tucked away (as ...
0
votes
0answers
7 views

Removing Kali packages after out-of-the-box install

Recently installed Kali Linux 1.0.9 using the default image. Later on I decided to remove some of the packages, however it seems that it is not possible to remove packages since the kali-linux-full ...
0
votes
2answers
29 views

Logrotate: Log file not being rotated

I am trying to rotate a log file using logrorate. Following is the configuration: /etc/logrotate.conf: /var/log/test.log { size 1M rotate 6 create dateext ...
-4
votes
1answer
43 views

Would my programs run on freeBSD?

I tested freeBSD in a virtual machine on my Linux pc, and I kinda like it. I noticed that the file structure is similar to that of Linux, and many Linux commands will also work on freeBSD. My question ...
1
vote
1answer
28 views

Save and restore terminal tabs with custom tabs title

I have a Terminal window with a dozen named tabs open *(gnome-terminal) I would like to save the current configuration and have it restored with names and directories. Is there a way to do this? I've ...
0
votes
0answers
14 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
-1
votes
0answers
16 views

Trying to write my on version of mesg [migrated]

I am tasked with writing my own version of write and at first thought I could use IXOFF as in the following code to stop all input coming in: #include <stdio.h> #include <sys/stat.h> ...
0
votes
3answers
52 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 ...
4
votes
1answer
33 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
0
votes
2answers
48 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 ...
2
votes
0answers
5 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 ...
0
votes
0answers
20 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
0answers
12 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 ...
0
votes
1answer
18 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 ...
1
vote
0answers
19 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
9 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: ...
0
votes
1answer
25 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 ...
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 ...
-2
votes
1answer
38 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 ...
-1
votes
0answers
23 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
vote
0answers
30 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 ...
1
vote
1answer
23 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 ...
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 ...
2
votes
2answers
44 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 ...
1
vote
1answer
21 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 ...