Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
27 views

How to set mail subject using variable and ensure attachment is not included in email body

I have the following shell script fragment. var_name='ZZPCI' for emailadd in `cat /tmp/email_list.tmp` do subject_text="Subject with Var Name "$var_name subj_text_novar="Subject without Var ...
3
votes
1answer
47 views

How do I lock a growing directory in memory?

I want a directory to be fast to read from, like on tmpfs for some time. The closest thing is this: vmtouch -L -m 2G /path/to/mydir But this does not detect new or deleted files.
0
votes
1answer
40 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
3
votes
2answers
85 views

SSH Connection Timed Out

Hi I have looked all over the internet but could not find a solution. I am not saying that I didn't find anything, I am saying that I tried so many things and nothing worked. So hopefully someone can ...
0
votes
1answer
1k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
2
votes
1answer
36 views

Time is not synchronized in Linux VM

I am using one Linux VM through VNC viewer from my Windows machine. What I am seeing is that time between two is not synchronized, it seems that VM is somewhat 5 minutes delayed from Windows(windows ...
2
votes
1answer
95 views

Telnet IAC commands

I want to turn off character echoing in Telnet via linux command line by sending "IAC DON'T ECHO" command. I have been searching everywhere, and I couldn't find how to to do. Basically, I don't know ...
0
votes
1answer
64 views

Routing tables with two network interfaces

When I try to access the internet with my raspberry pi via ethernet, it works, but when I do ifdown eth0 and try to ping any server outside my home network, it tells me connect: Network is ...
1
vote
1answer
2k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
0
votes
0answers
32 views

VM Periodic Task Thread, VM Thread and WebSphere MQ Trace Monitor consume 100+% cpu in linux [closed]

My standalone java application uses nio selector for socket connection, ibm mq classes (version 7.0.1.3) to listen queue and topic and ORACLE_JDBC_DRIVER for db.Three different thread running for ...
3
votes
0answers
28 views

Setting mouse acceleration using xset and xinput

I am having trouble sorting out how the different commands for setting mouse acceleration relate to each other. I will post the different settings that I have set by gathering information from ...
3
votes
1answer
64 views

What does “kernel:NMI watchdog: BUG: soft lockup” followed by other errors mean?

I have my terminal always opened (Fedora 22), because all my work I do from there. Sometimes I search some info in browser or just have fun. After 20-30 minutes of browsing (browser starts not from ...
8
votes
5answers
19k views

DNS queries not using nscd for caching

I'm trying to use nscd (Nameservices Cache Daemon) to cache DNS locally so I can stop using Bind to do it. I've gotten it started and ntpd seems to attempt to use it. But everything else for hosts ...
2
votes
2answers
81 views

How to call in a kernel level function in user space [closed]

I've developed some helper functions in the kernel. They're called by other functions in the kernel. Currently, they make my custom kernel panic :( For now (i.e. debugging), I made them as a passive ...
0
votes
1answer
77 views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
0
votes
0answers
28 views

Linux VM as a firewall

I have 3 vms a->b->c. I want to setup b as a firewall. Traffic is routed from a to c through b and I put a file on c. How do I show that b works as a firewall (first show that you are able to transfer ...
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 ...
6
votes
3answers
7k views

What is sendmail referring to here?

When I install sendmail from the debian repos, I get the following output: Disabling HOST statistics file(/var/lib/sendmail/host_status). Creating /etc/mail/sendmail.cf... Creating ...
2
votes
1answer
56 views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) ...
0
votes
1answer
38 views

Writing an install script for CentOS

Every time I deploy a VPS server, I install VNC server. But every time I have to do this: yum groupinstall Desktop yum install tigervnc-server yum install vnc yum install firefox (etc.) Can I ...
0
votes
2answers
91 views

Dynamic change of Linux root password everyday

I want to change my root password everyday based on the date. The password will be like a combination of a string and the date. The below code is working fine. echo -e "pass"$(date ...
27
votes
6answers
65k views

How to list all files in the size order

I would like to list all files in the order of big to small in size and the files could be present anywhere in a certain folder.
0
votes
0answers
16 views

Incorrect keyboard mappings on RHEL v6.4

Spent a while trying to create keyboard shortcuts in terminal for command history access (up/down arrow keys). Realized after some frustration that this wasn't the issue - some keyboard keys are just ...
10
votes
2answers
3k views

Test whether Linux binary is compiled as position independent code

I recently learned that (at least on Fedora and Red Hat Enterprise Linux), executable programs that are compiled as Position Independent Executables (PIE) receive stronger address space randomization ...
2
votes
1answer
2k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
0
votes
0answers
22 views

How to redirect roundcube log to stdout

Installed roundcube from source on top of debian. I wanna redirect roundcbe logs to stdout. How to achieve this?
0
votes
1answer
40 views

How to create Swap from already created mount points

I have prepared a CentOS 6.5 with all mount points at formatting time, including swap. Now, when I am trying to run command swapon, it shows 0 0 0. And when I am trying to create it again using ...
2
votes
1answer
714 views

azap from LinuxTV dvb-apps strange signal behavior with Hauppauge WinTV-HVR 950Q

What I want to do I have a Hauppauge WinTV-HVR 950Q USB-TV-Stick. I want to use this stick to successively tune to and read in a certain live TV stream. What I do I trigger a scan and save the scan ...
0
votes
1answer
18 views

How do I read from memory.pressure_level in a cgroup?

I want to see the memory pressure of the cgroup. But simple cat memory.presure_level fails. How do I know the current memory pressure of a cgroup?
5
votes
2answers
3k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
0
votes
2answers
30 views

GRUB, device not found, root delay problem

My Kali suddenly froze, when I reset my computer, I started getting GRUB's device not found error. After disconnecting and reconnecting my HDDs many times, I finally got it to a state where GRUB's ...
1
vote
0answers
18 views

mount LVM RAID 5 with missing disk

I have a software RAID 5 (LVM, XFS) with three 2 TB drives. Is it possible to mount the RAID with one missing drive (instead of having to rebuild it)? How would this be done? [Edit] My /etc/fstab ...
0
votes
1answer
28 views

If dual boot Linux with windows 8 will I still be able to upgrade to windows 10

So I am planning to dual boot Linux will Windows 8 and am wondering if I will still be able to get the Windows 10 upgrade. According to this article it sounds like I might not be able to: Microsoft's ...
1
vote
0answers
15 views

GDM flashing and can't login

I recently switched to ubuntu gnome from windows and am very inexperienced. I was using ubuntu fine for awhile and then this morning I had trouble signing in because my login prompt continuously ...
1
vote
1answer
60 views

What is the purpose of ext2 dynamic node size?

I've looked in some documentation of ext2 and according to them (see sources) at rev 1.0 it is possible to set the size of the inodes but it doesn't clarify what is the purpose of the extra bytes ...
0
votes
0answers
30 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
0
votes
1answer
668 views

openSuse, not running the cron job

I have created a cron job in the /etc/cron.d/dispatchingEmail_I the permissions of dispatchingEmail_I are the following: -rw-r--r-- 1 root root 84 Sep 11 19:52 dispatchingEmail_I content of ...
0
votes
1answer
756 views

changing default centos 7 workspaces

On CentOS7, using the gnome environment, I do not seem to be able to add, remove, or change the workspaces. I prefer to have 2 workspaces, or no workspaces, and understand the usefulness of the ...
0
votes
1answer
45 views

Forward traffic from first to second server

I have 2 Servers, 1 normal Server without ddos protection and 1 ddos protected v-Server, i try to forward traffic through the v server to the main server. So if someone access to my v-server like tcp ...
2
votes
2answers
217 views

What is the best backup/restore tools for SUSE Linux system [closed]

All, Is there any tools like Norton Ghost for Linux to help backup and restore SUSE when necessary? Thanks.
0
votes
3answers
676 views

NFS server on qemu guest

I need to know how I can mount block devices, placed on a qemu guest system, from host. So in this case we have NFS server placed on guest system and NFS client on the host's side. There are a lot ...
1
vote
2answers
986 views

tkdiff error on Linux Redhat 5.5

I installed tkdiff as root, and it runs fine under that user, but when I switch to a local user I get the error: Application initialization failed: Can't find a usable init.tcl in the following ...
1
vote
1answer
993 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 ...
3
votes
0answers
58 views

How can I make my user services wait till the network is online?

I have written a couple of systemd user service files which I want users to enable and which need a working network connection. I thought that would be as easy as: Wants=network-online.target ...
0
votes
0answers
17 views

Formating VGA info to conky

I'm trying get conky working on my system, and I'm stuck on how to format an specific shell variable to display my VGA. From shell I get my VGA using: lspci | grep VGA The output: 01:00.0 VGA ...
3
votes
1answer
2k views

snmpwalk community results to timeout

My snmpwalk suddenly stopped working, which was working earlier, after restarting the snmp also didn't work out, snmpwalk -v1 -c gives me timeout and it's working for other machines as well. I tried ...
2
votes
1answer
56 views

Is there any advantage to using the -j2 argument when building Linux systems in VirtualBox?

I'm using BuildRoot to build root filesystem images, from within VirtualBox. The builds are very slow. Is there any advantage to running "make -j2" in the virtual machine? The /proc/cpuinfo from ...
1
vote
0answers
35 views

Automatic solution to reduce Linux kernel package size at compile time

Are there automatic solutions to disable unused Linux kernel parts (in particular unused modules) before compilation to fasten compilation? A daemon, that logs used kernel functions (or modules) at ...
1
vote
1answer
29 views

NMI received for unknown reason 20 — Do you have a strange power saving mode enabled?

I am using Debian GNU/Linux 7.8 (wheezy). While running my MATLAB program today, I got this message in terminal. Message from syslogd@sas21 at Jul 18 16:40:49 ... kernel:[1747708.091929] Uhhuh. NMI ...
1
vote
0answers
46 views

How to get an RPi2 running Kali to tether to an iPhone 5S?

I’ve got Offensive Security’s version of Kali Linux running on a Raspberry Pi 2 and I’m trying to tether it to an un-jailbroken AT&T iPhone 5S. From my research it looks like I need to install ...