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

Half Solved | Grub error: unknown filesystem. (all partitions are unknown)

So, there are thousands of questions related to this all over the internet, but, after days of searching, I still can't find a solution! I have a Turnkey server that was pre-configured with MineOS, ...
0
votes
1answer
16 views

Finding vmstat's swap (si/so) data anywhere in /proc

Is it possible to find (or derive) the amount of data swapped in our out per second from information contained in the /proc filesystem? I'd like to get something like what vmstat provides in its ...
1
vote
1answer
19 views

How to undo and revert an accidental `7z e`

I accidentally typed 7z e archive.7z and all the files ended up in my home directory when I wanted to extract them in a subfolder. How can I clean the mess and remove all those files?
2
votes
2answers
46 views

Unable to mount root filesystem rw with journal

Trying to understand the whole journalling setup and from what I've read and tried, it's eluding me somehow. The root filesystem is ext3. Examining it via tune2fs -l /dev/root shows that ...
0
votes
0answers
6 views

Changing portname mount

I'm using a custom Cubietruck board. Currently, a serial port and a bluetooth port both get mounted to /dev/ttyS1, so i cannot enable both of them. How can I change the mounting drive to one maps to ...
0
votes
0answers
22 views

Bro-IDS CSV conversion

I have Bro-IDS currently operating under Centos 7. I need to convert the output to CSV format. The documentation that I have seen on this is not clear to me. Has anyone done this successfully? I have ...
1
vote
1answer
19 views

Where (the directory) should I put my newly created module in the kernel?

I have created new module code. And want to compile it for my kernel. But I am not sure about I thing. Should I copy it to some designated directory before I start the compilation? Or I can just ...
1
vote
0answers
32 views

Running a systemd service file after the network is up to bypass an OpenVPN default gateway

I would like to add a static route using a systemd service file on system boot. I have a DMZ network on a separate 192.168 class C network reachable via my default gateway. I also use OpenVPN to ...
1
vote
0answers
17 views

ext4 formatted sd card with rootfs.squashfs

I have an embedded system with an sd card that has an ext4 filesystem on it. I have a rootfs.squasfs that is placed in the ext4 filesystem and I am trying to boot to it. I built an initramfs where I ...
0
votes
0answers
14 views

SMS Notifications in Nagios XI

I am using Nagios XI in order to monitor many servers across our infrastructure. I have been getting email notifications successfully, but wish to configure SMS notifications in Nagios XI. The main ...
21
votes
3answers
2k views

What is the difference between these commands for bringing down a Linux server?

Reading "What is the difference between Halt and Shutdown commands?" , I generally have an idea what does the command shutdown does, with or without -h/-r options. The "halt" command performs ...
0
votes
1answer
26 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.
-1
votes
0answers
17 views

Is netcat or socat zero copy

netcat or socat could run like a broker in messaging systems. For example: a one-line forward server socat TCP4-LISTEN:www,fork TCP4:www.domain.org:www Are they zero-copy under the hood?
1
vote
1answer
26 views

How to display a Image on a remote linux machine through ssh

I have two computers, one running windows(WIN7) and the other running linux(SUSe). I'm wondering if there is a way to ssh(Putty) into the linux machine and run a command to have a image display on the ...
0
votes
1answer
24 views

Can I use a login manager to choose different window managers?

I'm working towards an Arch install with a tiling window manager (probably i3) but was wondering whether it's possible to use a login manager and have the Gnome 3 desktop available as a fallback. So ...
0
votes
0answers
26 views

Unable to mount hard disk partition in ubuntu 12.04

I accidentally unmounted my hard disk partition, and then clicked on "edit partition" to further break the partition. Now there's no option to mount and fdisk -l says: Disk /dev/sda: 160.0 GB, ...
1
vote
1answer
35 views

List all regular files containing (in their name, directory or their content) a specific (sub)string

Like in the title, and also I want to print the number of the line in each (text) file where the substring occurs. So far I have: find /sys | grep "filesystem" But it appears to only look at the ...
1
vote
1answer
48 views

ifconfig not showing ip address under eth0

Usually when I connect my raspberry pi to my laptop using an ethernet cable, the ifconfig command in each computer would show the ipaddress of each computer under eth0. I recently got a new raspberry ...
0
votes
1answer
19 views

How to redirect all request to specific ip address in ubuntu

How to redirect all request to specific ip address in linux I have tried following command but its not working sudo iptables -t nat -A PREROUTING -d 0/0 -p tcp --dport 80 -j DNAT --to-destination ...
0
votes
1answer
28 views

Installation of Linux mint from cd makes it stuck on splash screen.

I am installing Linux mint Rebecca cinnamon onto a Windows XP Professional computer. I burned the ISO file using windows burner (Windows XP Professional) The menu loads correctly. Let it boot ...
1
vote
0answers
26 views

redirect all wifi user to specific page in debian

How can I forward all incoming traffic (http request on port 80 & 443) to a fixed IP address? I am using raspberry Pi B+ model, tp-link WiFi adapter. I have tried, among others, these two ...
1
vote
0answers
33 views

Linux Mint 17.1 shutdown option doesn't work

Sometimes when I use the shutdown option in cinnamon the system closes some of the running programs and then just sits on the desktop until I tell it to shutdown again. The shutdown and poweroff ...
3
votes
3answers
159 views

How do I determine a file's original location?

I used mv to move all files matching a specific pattern into a folder. How can I determine (after moving files) where a specific file came from? Is there any chance of determining the location after ...
0
votes
0answers
54 views

CentOS 7: Can't connect wifi using wpa_supplicant

I recently got a new wireless card, specifically Intel Dual Band Wireless-AC 7260 WiFi Bluetooth Half Mini Card. Previously I had been connecting with ethernet so this machine has never been on the ...
0
votes
1answer
34 views

Is there classification of Linux Server and Desktop? [closed]

In Windows world there is a broad classification: Server and Desktop edition. I do see such variations in Linux world too (Fedora Server, Desktop for example). Is this classification a mere marketing ...
0
votes
0answers
24 views

Linux distros unresponsive/unstable on my ASUS X550LN laptop

So I've had this problem ever since I got my laptop last year, it's an ASUS X550LN (Intel i7 4500, 8Gb RAM, Nvidia GT 840M). I'm originally running Win 8.1 64bit and I wouldn't mind dual booting a ...
0
votes
1answer
18 views

Centos 6.4 and UEFI

I have centos 6.4 64. In /boot/efi/EFI/redhat I have grub.efi file (about 251Kb). However, when I execute efibootmgr I get Fatal: Couldn't open either sysfs or procfs directories for accessing ...
0
votes
0answers
30 views

Permission to execute denied for every file in /tmp: [duplicate]

When I try to execute any program from the /tmp directory, it shows me /tmp/file_name: Permission denied. The same error is shown when I simply enter /tmp. The file system for /tmp is ramfs. I've ...
1
vote
2answers
46 views

xsession error: cannot log in after changing environment variable

I tried setting a new environment variable (I use linux mint 17). After restarting, I couldn't log back in. It says: Your Session only lasted less thant 10 Seconds. If you have not logged out ...
2
votes
1answer
42 views

Close the neccessary Ports [duplicate]

I am using Linux Mint and I am newbie. Someone is trying to access my computer via my MAC Address and open port. I have some questions: I know that there are different type of port like TCP and UDP. ...
1
vote
1answer
139 views

What does 'wine: Bad EXE format for Z:\m\Desktop\PortForward Network Utilities.desktop' mean?

Installed wine on Debian to run a Windows exe - specifically the PortForward Network Utilities bundle: http://portforward.com/help/setup_static_ip_address.htm ). Input: wine '/m/PortForward ...
1
vote
0answers
33 views

error: cant't find command linux when booting system

I need some help with a problem when booting. Recently I've installed CentOS 7 on my pc, previously I had debian 7 and manjaro installed. When I installed manjaro I overwrote the bootloader of debian ...
2
votes
3answers
83 views

How to search the whole manual pages on Linux?

Sometimes I need to look up certain words through all the manual pages. I am aware of apropos, but if I understand its manual right, it restricts search to the descriptions only. Each manual page ...
0
votes
0answers
33 views

haproxy removing mod_expires set by apache

I've haproxy server which is routing requests to different web service instance based on rules. The web service instances have apache running at port 80. Now, I'm trying to set some expiry header by ...
0
votes
0answers
11 views

Installed Windows 8.1 not Booting from Internal HDD

I have Windows 8.1 and Linux installed on my internal HDD. Windows is installed first, it worked fine and later I installed Linux through live USB stick. After restarting nothing happened...my ...
1
vote
1answer
17 views

Query OS for hardware characteristics of wireless adapters

I have a raspberry pi with 2 wireless adapters connected to it - one has an antenna. http://www.modmypi.com/raspberry-pi/accessories/wifi-dongles/wifi-dongle-ultra-long-range-high-gain-w-5dbi-antenna ...
0
votes
0answers
28 views

Error: version `GLIBC_2.14' not found

How do I run a program that was compiled against glibc 2.14 on an old system? I'm unable to update anything. Can I download newest glibc and somehow have the program use it instead of the installed ...
0
votes
0answers
12 views

Starting Kdump: FAILED

I am unable to start kdump on my machine. It is prompting Starting Kdump: FAILED. I have edited the /etc/grub.conf file and provide 1024M to crashkernel. I have also provided the path to where the ...
2
votes
1answer
18 views

Can one physical disk provide space for several volume groups?

Can one physical disk provide space for several volume groups? Or one disk can have only one volume group in the Linux LVM? Can we use one disk in several VG's?
2
votes
1answer
162 views

CPU speed and cat /proc/cpuinfo

I use centos 6.4 64. I have old proc - CPU AMD Phenom II X4 810 (HDX810W) 2.6 GHz. However, when I execute the command cat /proc/cpuinfo I get the following: processor : 0 vendor_id : ...
1
vote
0answers
30 views

Absolute path in rsync dry-run statistics

I have executed following command in order to get the list of files that would be transferred to remote server if rsync is executed: rsync -avzm --stats --safe-links --ignore-existing --dry-run ...
0
votes
0answers
84 views

iperf3 on GNU/Linux -s -w xxxK not working

I've compiled iperf3 on an AWS GNU/Linux box and it works with just the -s, but not with -w xxxK to increase the TCP window. I've only worked with iperf2 before. Am I missing something?
1
vote
1answer
53 views

Restricting / disabling linux disk buffering in a virtual machine

Is there an intelligent way how to restrict buffering/caching in a Linux system and to make it writing on disk more or less continuously? I am asking because I am running several Linux virtual ...
0
votes
0answers
6 views

Is that safe to use kfifo (not a _spinlock flavour) in fiq/nmi handlers? [migrated]

Basically need to pass variable-size records to and from FIQ handler (ARM platform). During any get/put operation on kfifo (on the user-space/kernel side only) I am going to disable all IRQs and ...
-1
votes
0answers
16 views

You don't have permission to access /dokuwiki on this server

There is a dokuwiki installed in a server that works fine before. One day the IP of this server is changed. When I access dokuwiki with new IP, the browser states "You don't have permission to access ...
1
vote
0answers
16 views

What does ipq_ctl do?

I'm in the process of writing some rust bindings to libipq, and I came across an undocumented function in libipq.h: int ipq_ctl(const struct ipq_handle *h, int request, ...);. However, this doesn't ...
2
votes
0answers
45 views

How do I configure SSHd to require 2 (or more) passwords to log in

I'm asking because I want to setup a server that cannot be administered by any single admin, not without the permission (and oversight) of one other authorized admin (there can be many). Since there ...
1
vote
1answer
24 views

linux nat different rules

eth0 (192.168.1.0/24) --> wan eth2 (192.168.10.0/24) --> lan0 I use these rules to enable NAT on my linux gateway: iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -A FORWARD -i ...
1
vote
0answers
45 views

How do I view multiple users groups using sssd?

SETUP OS = RHEL 6.4 Workstation System is part of an LDAP domain and was originally configured to authenticate using nscd. All recommended SSSD packages have been installed. ...
4
votes
2answers
35 views

Can I mount a case-insensitive tmpfs/ramfs?

I would like to utilize the performance of tmpfs/ramfs for some file operations, but the programs/processes that use these files assume a case-insensitive file system. I cannot find any documentation ...