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

Reverse DNS does not match SMTP Banner for multidomain hosting

We are planing for mail hosting, we are going to host multiple customer mail domain on single public IP. Now how i am going to set PTR record per customer? because i have single IP and it has to be ...
2
votes
2answers
819 views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
2
votes
1answer
2k views

SSH connection timed out. it's not client or server…what now?

I have been using a Linux server via SSH for months, it still works from other locations but for some reason, this week, it isn't working from the office. Putty says "Connection timed out" Is there ...
4
votes
1answer
376 views

lshw lists my drive but it has no /dev file

Ive just got a dedicated server which has 2x 1TB HDD. However when I type df -h I get the following: [root@sd-56537 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 916G ...
0
votes
0answers
16 views

Lenovo thinkpad E531 multi gesture touchpad

I tried a lot of distributions and I'm looking for a distro which supports more than 2 fingers. I don't know in Windows on my Thinkpad, there is 3 or 4 finger swipe for changing windows for example. I ...
1
vote
1answer
9 views

read UUID of partitioned Image-Disk

i know i can read the GUID of a Partition like this: blkid /dev/sdx Problem: i have created a 4GB-Image dd if=/dev/zero of=./myImage.img bs=1M count=4000 which is partitioned to 3 different ...
2
votes
1answer
23 views

How to count the number of interfaces in a bridge

I want to bring a bridge down only when the last port is removed and so I have this somewhat hokey check to do it brctl show looks awkward to parse to get the information out and doesn't feel much ...
-2
votes
0answers
21 views

Need a shell script to check when a process start and when its ends? [on hold]

I have two processes, P1 and P2. I need a shell script where i can know when P1 starts and ends I will get a notification and then same for P2. Please help with answers. Thanks in advance.
1
vote
1answer
1k views

Windows 8.1 not appearing on grub after Linux Mint 16

I had followed a tutorial to install Linux Mint 16 Cinnamon and it works perfectly fine, currently using it to post this question. But when grub loads the only 3 options I am given, are Linux Mint, ...
0
votes
0answers
41 views

Disable certain keystrokes for SSH users

I wrote a script to disable some keyboard keys while a user is logged in from a terminal, but when a user connects to server via ssh with software like putty, commands like showkeys, loadkeys doesn't ...
1
vote
0answers
49 views

Command to get System Serial Number in Linux Machines

How Can I get System Serial Numbers in Linux Machines ? i prefer to get this through a non root account and dont want to use external commands such as dmidecode or lhal
1
vote
3answers
7k views

How to check what is running in a server?

Is there any particular command to find out what servers (like: apache2, mysql-server, backup-server etc) are running inside a dedicated server? If I will reboot my dedicated server will they all ...
1
vote
1answer
15 views

How do I get the old procps-ng top(1) layout back (pre-3.3.10)?

Since updating to procps-ng 3.3.10 my top(1) looks like this: Instead of: Not only are these colours annoying & offensive, I can't get it to sort as the "old" top(1) (O no longer works, and ...
0
votes
0answers
18 views

System CPU Time and User CPU Time Calculation for a Process in Linux

I want to calculate CPU time consumption of a particular process in system mode and user mode using statistics present in /proc/ There are two fields utime and stime in /proc//stat file, whose ...
5
votes
6answers
4k views

Faster way to delete large number of files

I have a directory where lots of cached files are getting generated very quickly. Since these are very small files, it is consuming all my inodes very quickly. Currently I am running the following ...
0
votes
1answer
15 views

Configuring zlib for compiling and installation

I am trying to install zlib-1.2.8 from within "/root/tmp/zlib-1.2.8/" but I think my configuration options are incomplete. The configuration command that I'm using is: ./configure ...
0
votes
0answers
12 views

Trouble writing a C shell command that will customize the “who” utility to display both the “date” and “who” [on hold]

I can write a command to customize one command to 'who' but I can't figure out how to do more than one command. I need to be able to in the c-shell assign a command to who using the 'alias' command. ...
1
vote
1answer
7 views

'hhighlighter' wrapper script saying command not found

I have gotten the wrapper script 'hhighlighter' from https://github.com/paoloantinori/hhighlighter which colors anything you want in stdout. I followed the instructions about installing ack-grep, ...
0
votes
0answers
3 views

How “-fstack-protector” and “FORTIFY” option are different? [migrated]

These days I'm searching for the secure coding guide, and there is an option to prevent the buffer overflow. one, $gcc -fstack-protector -S test.c $cat test.s two, $gcc -O -D_FORTIFY_SOURCE=1 ...
1
vote
1answer
22 views

Dual boot windows and linux

I have Windows 7 installed, and I have just installed Linux Mint 17. The PC automatically boots into Linux now. How can I get a dual boot startup screen with Windows 7 and Linux? Are there any UI ...
-3
votes
0answers
25 views

where could i find a quick explanation to network bridging? [on hold]

I would like to use haproxy as a load balancer for 2 backend servers. To keep the source ip addresses i have to use it with tproxy which means i have to make the haproxy load balancer into a ...
0
votes
2answers
1k views

Failed dependencies trying to install package 'libxml2'

I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system. The ultimate goal is to install xml_grep2, I have been trying various methods ...
5
votes
3answers
3k views

Why doesn't ln -s tell that it fails when creating a symlink to an existing symlinked directory?

When running (on linux different ubuntu variations): >ln -s dir_1 symlink_dir >ln -s dir_2 symlink_dir It fails without telling that it fails. But if you do the same thing on a file instead ...
4
votes
2answers
788 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
0
votes
1answer
20 views

linux boot stick being ignored on windows 7

I am trying to install CentOS server on a machine that also runs Windows 7. Towards this end: 1.) I created a 100GB "Unallocated" partition using the Disk Management tool in windows 7. 2.) I ...
0
votes
1answer
46 views

Editing lines in a file using a bash script?

I am creating a bash script that installed VSFTPD / FTP. After the installation some configuration is required in the "/etc/vsftpd/vsftpd.conf" file. This includes making sure the following lines are ...
3
votes
1answer
347 views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using ...
2
votes
1answer
33 views

Setting image for i3-lock: “Could not load image x: out of memory”

I use this command for locking screen: i3lock -i /home/freyja/pics/owl.jpg The screen is locked, but there is no picture (only white background). When called from console the command says: Could ...
1
vote
0answers
16 views

How to return Uptime of successful OpenVPN connection

I'm trying to figure out how to return the UP Time of a successful OpenVPN connection. I've tried different variants of the following code: #!/bin/bash TMP=$(grep 'tun0: link up' /var/log/syslog* | ...
0
votes
2answers
361 views

Kali Linux wifi issue

I've just installed a linux Distro (Kali) and this is the only place I know to come for help with it. I installed Kali on my Compaq laptop, as it's the only laptop I have and won't use my windows ...
0
votes
2answers
35 views

Starting a Linux desktop from CLI [on hold]

I can login to a lab Linux CLI, but have no further info on the install. Is there a generic command for starting a default DE/WM; I seem to recall "startx" would run a default X11 setup, but am ...
3
votes
2answers
691 views

Configuring network settings manually in Qubes OS

I'm trying to setup Qubes OS on my desktop but struggling to get the network/internet working. This is the configuration i want to setup - ip - 192.168.1.2 Subnet - 255.255.255.0 Gateway - ...
1
vote
1answer
41 views

How to use ARM as LTSP server? [on hold]

Arm has a limited support for server packages on Linux but is it possible to use ARM board i.e Raspberry Pi or Banana Pi(it uses Armhf instruction set rather than dated Armv6 used by raspberry pi) as ...
1
vote
1answer
37 views

GRUB: Adding entry for OS on different hard drive

I've got two hard drives in my computer after I replaced one for windows. Since I love linux so much, I put a copy of Xubuntu on the one that I had initially replaced, and I now have two separate ...
1
vote
1answer
611 views

Certain fonts missing from xlsfonts in Centos 6.4

I have a certain software on CentOS 6.4 that gave the following error: X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 45 (X_OpenFont) ...
1
vote
1answer
12 views

Permission denied on aio-max-nr file

I would like to edit the file aio-max-nr: root@node:~# echo 65536 > /proc/sys/fs/aio-max-nr -su: /proc/sys/fs/aio-max-nr: Permission denied Knowing that : root@node:~# ls -lrth ...
3
votes
1answer
417 views

Laptop keyboard occasionally stops working

I have a dirty solution that is to plug a USB keyboard in and execute the following command: setxkbmap -rules evdev -layout us -model evdev Afterward my keyboard will work. This solution only ...
1
vote
1answer
23 views

arch linux recognizes the partitions and hard disks wrongly

My arch Linux system does not recognize neither the partition nor the hard disk in which it is installed. it is installed on /dev/sdb1 but it recognizes that as /dev/sdc1 and the initialization goes ...
1
vote
2answers
28 views

Applying mouse settings on startup

linux learner here. (Running on a Debian-derived distro) My mouse sensitivity was too high so I was able to change it, but can't seem to get it to apply on startup. I made /etc/init.d/mouse When I ...
1
vote
1answer
27 views

How to disable my touch screen

My screen is cracked, and the touchscreen makes the courser spasm every once and a while. Is there any way i can fully disable it? As requested: Module Size Used by ctr ...
0
votes
1answer
2k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
0
votes
1answer
24 views

Issues executing program

Ultimately I'm trying to get a program to run at start up and work correctly. I have been successful in getting it to show up in running processes after a reboot, but it doesn't seem like it is ...
0
votes
1answer
503 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
1answer
497 views

Playing or converting .dv4 files in Linux

I need to find a way to playback a number of .dv4 files on Ubuntu 12.04 and Fedora 20, possibly after having converted them to a more conventional format. So far I have managed to convert the files ...
2
votes
1answer
941 views

SSH agent forwarding, multiple hop

I tested this setup with Linux origin machine - everything is the same - only the first hop can use keys from origin machine. Initial problem I'm trying to set up SSH agent forwarding with multiple ...
2
votes
1answer
794 views

Debian stable dual monitor problem

I installed Debian wheezy with XFCE 4.8 on my new laptop, updated the kernel to 3.13 from backports. When I connect the laptop to my monitor, I can see only a part of the screen on the monitor with a ...
0
votes
0answers
19 views

Desktop Fork designed around usability [on hold]

I am trying to get a project started to fork a Linux distro and design it around usability. This will probably have to be a team project as it would be very difficult to achieve all of the ideas I ...
5
votes
1answer
104 views

How can I get this proprietary low-vision camera working in Linux?

I am a visually impaired Computer Science student, and use a special USB camera to zoom in on the board/projector during lectures. The camera only officially supports Windows, and I've been using it ...
1
vote
1answer
7k views

libc.so.6(GLIBC_2.14)(64bit)

Installed: glibc-static.x86_64 0:2.12-1.107.el6_4.4 glibc-utils.x86_64 0:2.12-1.107.el6_4.4 Dependency Installed: fontconfig.x86_64 0:2.8.0-3.el6 ...
0
votes
0answers
13 views

what Linux distro for OMAP3 (DevKit 8000)

I'm struggling with install Linux on SD Card on DevKit8000. Is there any distro, which require only install *.img on SD Card and plug into board?