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

shared libraries error trying to run executable

I'm trying to run an executable off the command line in a linux cluster environment. The error message I get states libssh2.so.1: cannot open shared object file: No such file or directory I ...
1
vote
0answers
25 views

GFP mask of 0x200da on a 64-bit system?

Recently, an OOM showed a GFP mask of 0x200da on a 64-bit system. How is that possible? 0xa would suggest we are talking about Movable Highmem, see: ...
0
votes
1answer
72 views

Route Client Traffic Through VPN Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
0answers
22 views

How can I limit or delay the write speed to specify directory?

I want to limit the write speed and limit to specify directory. Make this directory flakey. Make this directory error for can't write data to it. I have user dmsetup to create the device mapper with ...
1
vote
2answers
28 views

How can a process appear to have different name in ps output?

recently I had to clean up a hacked server. The malicious process would appear as "who" or "ifconfig eth0" or something like that in "ps aux" output, even tough the executable was just a jumble of ...
1
vote
1answer
35 views

Linux server Cpu,memory,swap,run que value to display in percentage

how to write a script to get a linux server below details: CPU |Memory |Swap |Run Queue Peak(%) Relative Avg(%)|Peak(%) Relative Avg(%) ...
1
vote
0answers
10 views

Gargoyle repeater bridge channel hopping

I have the Linux-based Gargoyle firmware running on an old TP-Link router, serving as a Repeater bridge to extend the range of a WIFI access point. Do I need to lock the original access point to a ...
1
vote
2answers
34 views

How to monitor use of Huge Pages per process

I'm trying to determine which process is using a large number of Huge Pages, but I can't find a simple Linux command (like top) to view the Huge Page usage. The best I could find was $ cat ...
0
votes
1answer
32 views

having trouble installing Kali Linux on GRUB

Does anyone know the specific steps on installing Kali Linux through the grub bootloader. I have what should be a kali linux bootable usb and I'm trying to install it on a Lenovo 64-bit intel laptop ...
0
votes
2answers
49 views

How to switch between tty and xorg session

My xorg session is on tty1 and if I want to issue a command from tty (because I cannot do it from xorg session for some reasons), I press Ctrl+Alt+F2, for example, and type a command. But I cannot ...
1
vote
0answers
57 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
1
vote
0answers
17 views

Internet not working on GNOME

I am running all my systems on a windows platform. I am having a PC with the above mentioned OS (This PC is introduced specifically for a project). On this PC I had given the IP address in the range ...
1
vote
0answers
42 views

Accessing Macintosh HD from Ubuntu

So after I upgraded my MBP to Yosemite, I have lost dualboot. After a long struggle, I finally reinstalled refind to work properly. Unfortuantelly, when I use Ubuntu, I cannot access Macintosh HD ...
0
votes
0answers
42 views

autoconf and sysvinit/systemd etc

A constant problem I run into with autoconf is init scripts. The whole point of autoconf is of course portability, and the various init systems (sysvinit, systemd, upstart) - not to mention various ...
-1
votes
1answer
25 views

Linux and WinPE

In the last few weeks I was trying to automate software testing process in my company. I found WinPE as the best method for me. At first I was automating some tests based on python which wasn't a ...
1
vote
1answer
21 views

Is there a way to achieve context-dependent path names (CDPN) on NFS?

In my GFS clusters I use the CDPN feature to have separate chrooted /dev/log directories on separate cluster nodes: /home/ftpuser/foo: lrwxrwxrwx 1 root root 18 Sep 26 2010 dev -> ...
1
vote
1answer
51 views

Adding multiple user with shell script on Ubuntu

Can someone help me in providing me the shell script for creating multiple users on Ubuntu. Password needs to be different for each user. Thanks in advance
0
votes
1answer
40 views

how to reboot multiple computer using bash loop from the txt file

can anyone knows how to reboot computer in just one line code of bash (by looping itself). The details will be get from the text file which are the IP Address of each computer. When the script gets ...
2
votes
0answers
40 views

How do I run webm video file in firefox using HTML5 on linux?

I am using apache server on linux and want to run a .webm video file. I have .webm video file which i am trying to run in firefox (V 12.0) using HTML5 but the browser is showing as "no video with ...
2
votes
1answer
20 views

Security of capabilities vs setuid (LD_PRELOAD, etc)

I know that if a process is run setuid that it's protected against various things that could subvert the process, like LD_PRELOAD and ptrace (debugging). But I haven't been able to find anything on ...
1
vote
1answer
30 views

Different results OS X/Linux with “find PATH -mount \( -type f -o -type d \) -print0 | LC_ALL=C sort --zero-terminated > OUTPUT.txt”

this command is part of a script I use for comparing files: find test/ -mount \( -type f -o -type d \) -print0 \ | LC_ALL=C sort --zero-terminated > OUTPUT.txt // test/ is the PATH ...
1
vote
1answer
60 views

How do I fix my gnome display manager in recovery mode?

I am using kali Linux 1.0.9 and when I boot it doesn't show the login screen just a command line for login. Before the login it shows Not starting Gnome display manager-it is not set as default. I ...
1
vote
1answer
95 views

Network interface not registring ARP response

I have a server with two NIC and it's running Ubuntu Server 14.04. The first one is the interface "p3p1" and it's connected to the subnet 192.168.1.0/24 with the IP 192.168.1.100. The second one is ...
1
vote
1answer
19 views

When parent, child and grandchild processes share a page how does copy-on-write work?

If the child tries to write, it gets a new copy of the page (which is no longer write protected), does the grandchild point to that new page or the old one (which the parent holds)?
0
votes
1answer
21 views

Changing linux config from 32 bit to 64 bit loses RTC

I have a config from a 32-bit linux 3.12.18, and was trying to compile a 64 bit version with most settings like selected drivers etc. the same as in 32 bit version. For this I used make menuconfig ...
3
votes
4answers
107 views

same encryption with /etc/shadow

I'm doing a gui tool for some malware detection script in linux to let server administrators to analyse the result of this script within the web. as I know the encryption used in /etc/shadow is ...
1
vote
0answers
18 views

XFWM set chrome app launcher placement?

I'm running XFCE4 in arch linux and using google-chrome-stable. I added the Chrome app launcher (google-chrome-stable --show-app-list) to the panel, but when I click on it, it places the launcher ...
0
votes
0answers
12 views

Why does flashing a BBB eMMC take so long from SD card, and how can I monitor the progress?

As you may know, flashing the BeagleBone Black eMMC with a new Linux Image from the SD card takes quite a long time - up to 45 minutes. Is there a reason why, and is there a way to monitor the ...
1
vote
3answers
70 views

/home/amnesia/myfile: command not found — 64-bit executable, 64-bit kernel

Trying to run an executable file on terminal (I am using Tails live OS), but I keep receiving an error message. I have set permissions already. The command I wrote: sudo ./home/amnesia/myfile I ...
2
votes
1answer
36 views

How to detect the presence of a battery?

I'm trying to automate desktop setup, and as part of that I'd like to install a battery monitor package only if the machine currently has a battery attached (UPSes and other external batteries are not ...
0
votes
1answer
33 views

How to unload X server / switch to command line and back on the fly

I often need UI to configure my server, even to run Eclipse and work there, but in "production" i want to have only mandatory things running - just command-line and no UI. If I'm running UI on Linux ...
0
votes
0answers
26 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
1answer
29 views

while(1) on /etc/rc.local

I wrote while true; do ping 10.9.0.1; sleep 1; done on /etc/rc.local on an embedded board. I have been waiting longer than 20 minutes that it does not get the log in prompt. Either it got stuck on the ...
0
votes
0answers
20 views

How To Increase Linux / (root) size? [duplicate]

I am new to linux. i am using rhel 6. ext4 is my file system my / root file is full. is there any way to increase it? if its possible please teach me how to do it? please explain me in detail, because ...
0
votes
0answers
20 views

Unable to mount F2FS partitions

I installed the f2fs-tools package in my Fedora system. I created a f2fs partition using mkfs.f2fs on my sdcard, but now I'm unable to use it. The system is unable to mount automatically nor manually ...
0
votes
0answers
8 views

How to add new systemcall in Linux 3.2.x? [migrated]

I'm new to Linux, and I want to compile my kernel for Debian-amd64 with a new system call. The only tutorial I could find online was for a i386 or x86 system. I followed their instructions but at the ...
14
votes
3answers
1k views

How to know where a program is stuck in linux?

I am running the following command on my ubuntu server root@slot13:~# lxc-stop --name pavan --logfile=test1.txt --logpriority=trace It seems to hang indefinitely. Whenever this happened on AIX, I ...
0
votes
1answer
48 views

Are Linux Executables Compatible through All (x86_64) Linux Systems? [closed]

The Windows desktop proprietary softwares I see are usually distributed as statically compiled binary only files, possibly with some dlls, and the needed data files bundled in a package unpacked in a ...
0
votes
0answers
18 views

Spoof DNS on Access Point

Hello I'm gonna try to explain the situation as best as possible, so that maybe, someone can understand well the "problem" and help me. I have on a Debian 7 and I am using 2 interfaces: -eth0: ...
1
vote
0answers
55 views

Unable to mount a UFS filesystem from Sparc Solaris to x86_64 Linux

I have a requirement to copy a very large amount of data from a Solaris 9 (Sparc) system to a SLES11 (x84_64) system. The Solaris system is quite old, and transferring the data over the network will ...
1
vote
0answers
8 views

File transfer help with Ubuntu and ESXi

I have two esxi machines that I want to directly transfer files between. Is there a way I can facilitate that transfer from a third machine that I have Ubuntu 14.04 running on?
3
votes
2answers
65 views

What is a Linux container and a Linux hypervisor?

I looked at the stackexchange site but couldn't find anything. I looked at the wikipedia entry on Linux container https://en.wikipedia.org/wiki/LXC and as well as hypervisor ...
0
votes
0answers
30 views

Dual monitor display: Drag icon to second monitor appears on first monitor

I am running RHEL6 with dual monitor display with separate desktops. I have appended my xorg.conf file which I created using nvidia-settings. All seems to be working well until I try arrange desktop ...
2
votes
0answers
27 views

IO throughput lower when only a single process using the disk?

I am running a busy cacti server on centos and sometimes the rrdtool process is painfully slow when writing to disk, in HTOP the IO Column would display something between 100-300. I a polling cycle ...
0
votes
1answer
17 views

Smart Card local authentication

Is it possible to use smartCard for local authentication ? So that, rather userID/password combination, an user can authenticate himself by inserting card and by providing it's PIN number. RDesktop, ...
0
votes
2answers
72 views

Constantly check if file is modified bash

I have a file called file1 I want in a script, whenever there is a change in it, do something, a beep sound actually. How do I do that ¿? Thank you in advance
0
votes
1answer
20 views

How to verify which line in /etc/mtab is not in use

How to verify which line in /etc/mtab ia not in use I will explain Some times on my linux servers some command are hung As df –k So I Suspected on /etc/mtab file , and maybe some line is stuck the ...
1
vote
2answers
37 views

Find out at what time my machine got restarted and why?

I have my ubuntu machine which is running Ubuntu 10.10 and that machine is running my app server. I am suspecting that my machine got restarted today at some time but I don't know how to find out at ...
1
vote
1answer
49 views

How to restart my server automatically using crontab if they went down?

I have a jar file which I am running like this in my Ubuntu 10.10 and then it starts my exhibitor server in the background - nohup java \ -jar ...
1
vote
1answer
19 views

cross-platform audio streaming

I am helping a friend to set up his banana pi (raspberry pi clone) for use as a home server/NAS. At the moment we are trying to set it up to receive and play the audio of any other computer on the ...