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
2answers
14 views

How to find a yum repository

Hi I'm trying to find a repository on the web for oddjob-mkhomedir. I'm then going to try and add it to linux so I can install the library with these instructions ...
0
votes
0answers
14 views

How to install oddjob-mkhomedir repository on AMI box using command line

I'm trying to install oddjob-mkhomedir and it comes back with no package available nothing to do. I used sudo yum install oddjob-mkhomedir so I'm assuming the repository is not available. My ...
2
votes
1answer
12 views

QoS with TC qdiscs: is it possible to have ALL outbound connections have x speed limit per unique IP?

I'm trying to setup QoS in my VPS so that I can have any new outbound connection to a unique IP gets limited x speed. For instance: have 5 public IP's requesting data from my VPS. When the VPS ...
3
votes
1answer
15 views

How to connect to several AP's using a single physical wlan interface?

For research purposes and concerning hardware limitations in an environment where my machine does not have more than one wifi adapter, I need to connect in several AP's at the same time to perform ...
0
votes
0answers
14 views

dyanamically creating directories with pam_mkhomedir and mysql for vsftpd

I'm a Linux noob, so hopefully someone will be able to help me to get this up and running. I've installed vsftpd using the following instructions ...
1
vote
0answers
16 views

Why is there AF_NETLINK? Is AF_UNIX not enough?

As far as I understand, AF_NETLINK socket protocol is for communicating between the kernel and userspace and AF_UNIX is for communicationg between two userspace processes. Why does Linux need a ...
1
vote
0answers
7 views

java version not found in redhat

My OS is redhat linux. It's having the default java 1.4.2, but I need java 1.7.45, for that I am trying as follows: /usr/sbin/alternatives --install /usr/bin/java java /u01/java7/bin/java 5 ...
0
votes
0answers
23 views

ssh into fedora inside virtual box over internet

I am running fedora server in a virtual box inside a windows 7 host. I can ssh into fedora from this windows 7 host. How ever, I stay out of my place most of the times with a laptop at my disposal, ...
0
votes
0answers
11 views

How can I make the most of my non-server hardware with server software installed? [on hold]

I have a standard computer device running UBUNTU 14.04 server. I'm using it for testing but I'll need to expose my work soon enough. I have other machines laying around here - some strong, some not as ...
0
votes
1answer
11 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
14 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 ...
0
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
34 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?
1
vote
1answer
19 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
1answer
36 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
17 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
9 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 ...
1
vote
0answers
6 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
27 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 ...
6
votes
1answer
1k 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
35 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
23 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
289 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
14 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
30 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
44 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
30 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
53 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
35 views

“Found duplicate PV”

SERVER:~ # pvs Found duplicate PV Wb0b2UTCKtpUtSki0k2NnIB24qNj4CEP: using /dev/mapper/36005076304ffc2500000000000004903 not /dev/mapper/36005076304ffc2990000000000004903 PV ...
0
votes
2answers
52 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
22 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
19 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
20 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
10 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
26 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 ...