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

3
votes
0answers
53 views

How can I add additional resolution for my screen?

I tried to launch a game (GTA San Andreas) on wine. GTA showed Cannot find 800x600x32 video mode and closed immediately. The Computer I currently have is a Lenovo IdeaPad G510, with Intel HD ...
1
vote
2answers
110 views

mount.cifs fails while smbclient succeeds

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ ...
2
votes
2answers
2k views

Endless data loop from dev/ttyUSB while sending AT commands

I have problem sending AT commands to my USB modem. At first I tried php-serial class, but when i was reading data, I got endless loop with strange data. Then I tried to debug problem and opened putty ...
4
votes
2answers
58 views

777'd some files. How do I repair SSH?

So I'm messing around on a test server and accidentally ran the following (which resulting in SSH breaking): # chmod -R 777 /var Because it's a test server, I'd rather not re-install right now, I ...
2
votes
0answers
30 views

Red Hat with rpc.statd is not running and can't start nfslock

I try to mount from Linux machine to some folder on a Windows machine. From the output I see that mount complains about rpc.statd. So I tried to start the nfslock but I got FAILED. Then I look on ...
2
votes
1answer
40 views

Rebuilt kmod package not updating via `YUM` but is via `rpm`

I have built a package with the following version: kmod-dahdi-linux 10:2.9.1.1-75_shmz65.1.11.2.6.32_431.el6.i686 Which should be an upgrade of the one installed on the system: kmod-dahdi-linux ...
2
votes
0answers
37 views

Scripts cannot run simultaneously on startup

I want two scripts (Server_drive, Server_video_boot) running on startup, but there is conflict between them. Specifically, there is always running the script with the lower priority. I tried with many ...
0
votes
1answer
300 views

md5 or sha1 while copying a file

Is there a way in any linux distro to perform a md5sum or sha1 check while the file is being transferred from a local partition to an NFS one? Example: I have a NFS mounted drive and a very big file ...
5
votes
1answer
555 views

limits that are set in an unmodified environment

If /etc/security/limits.conf has not been edited or changed, there are nothing but comments. However 'cat /proc/self/limits' shows there are some limits in effect. Are these compiled into the kernel? ...
1
vote
3answers
24 views

How can I find the biggest “error_log” files listed by location and size?

I host about 200 websites and I have noticed that some got huge error_log files. I would like to see which ones are consuming the most space so I can take a look on them and solve the error so they ...
2
votes
1answer
68 views

After printing the previous line where the file contains a single token now need to traverse through the result to meet the requirement

I have used the below code to print the previous line where the file contains a single token #! /bin/ksh file=input.txt while read line do awk 'NF == 1 { print LAST } { LAST=$0 }' done < "$file" ...
1
vote
2answers
2k views

Movie Player requires additional plugins to decode this file

I'm using RHEL 6 .Newbie to Linux. I'm unable to play the video using Movie Player. It shows an error, Movie Player requires additional plugins to decode this file. The following plugins are required ...
3
votes
1answer
672 views

Arch: Awesome Window Manager won't start

I can't get my awesome running. I installed awesome and all dependecies with pacman and followed the beginning of the following guide to get awesome running: ...
0
votes
1answer
3k views

Arch linux vmware workstation 9 installation problem

After partitioning the drive and installing archlinux after reboot I get this error: piix4_smbus 0000:00:07.3: Host SMBus controller not enabled. sda1: WRITE SAME failed. Manually zeroing. Then ...
5
votes
4answers
2k views

Finding out what is spinning up harddrive

I am the owner of a NAS, running some Linux distribution. It comes with a web administration frontend, where I can manage several services, user rights and also when it should go to sleep. My problem ...
4
votes
2answers
459 views

Linux installation stops working after a few reboots

I'm trying to set up a dualboot Win8/Linux on my HP tablet (touchsmart tm2-1050ez). However, when I'm finished setting it all up, after a few more reboots, I'm not able to boot to Linux anymore, as I ...
1
vote
1answer
4k 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 ...
2
votes
0answers
262 views

How do I run Gnome from a systemd-nspawn container in a second X server?

I'm using systemd-nspawn to "boot" a second Linux OS from a USB hard disk. I'd like to launch that OS's Gnome Desktop in a second X server running on the same machine on a different tty than the ...
5
votes
1answer
936 views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
6
votes
2answers
663 views

Asus X101H - Touchpad not recognized (want to disable while typing)

I have been struggling with this issue for a while and have done an exhaustive search for answers here and elsewhere before posting this question. On my Asus X101H, the touchpad is not recognized as ...
2
votes
1answer
786 views

Zabbix-agent: cannot stat 'filename.log': [13] Permission denied

I have installed Zabbix-server and zabbix-agent and trying to add trigger to check log file. But in /var/log/zabbix/zabbix_agentd.log I got the same error every time: 10832:20131008:125634.180 ...
1
vote
1answer
47 views

Programmatically creating .desktop file to autostart application

Using a Java program, I added a .desktop file in /etc/xdg/autostart to run a script when a user logs in. The script didn't run at user login, and when I checked the start up applications dialog ...
1
vote
0answers
33 views

Is there a limit of GPIOs that can be used in Linux?

When it comes to use GPIOs, is there a limited number that can be used in Linux (except through the limitation of the physical availability/amount of the ports/pins) or is it theoretically possible to ...
2
votes
1answer
42 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
1
vote
0answers
42 views

Error: iptables: No chain/target/match by that name

I am trying to configure proxy server on RHEL Server 6.5 using Squid and iptables. Below is the command I executed and the error message it displayed: vzlptest01 root [root] > iptables -A INPUT -i ...
1
vote
1answer
17 views

Failed to open netctl@.service configuration file

I have installed Network Manager, I don't have netctl installed. Whenever I boot my Linux computer I get the following error message: systemd[1]: Failed to open configuration file ...
1
vote
1answer
303 views

Why do I have to stop/restart cups in redhat linux in order to use a custom filter?

A colleague wrote a filter utility for me in ruby that allows me to print barcodes from a textfile. (The filter replaces @{blah} with the proper PCL and a barcode checksum character so that "blah" ...
11
votes
1answer
1k views

Fix Fn-keys for keyboard illumination

I've tried following the Ubuntu hotkeys/media keys troubleshooting guide and /usr/share/doc/udev/README.keymap.txt.gz to make the Fn keys work. After copying the map file and modifying ...
5
votes
3answers
161 views

Multiple tar processes writing to the same archive file at once

I am running many tasks on a Linux cluster. Each task creates many output files. When all tasks are finished, I run something like tar cf foo.tar output_files/to create a tar archive. This is a very ...
1
vote
1answer
986 views

How to get system configuration information without dmidecode

In order to collect some system configuration information, I have been using dmidecode and the related tool lshw to find the information. This works great on most machines, but I have recently got ...
0
votes
1answer
79 views

Recommended Linux Distro for 'MMO' Server [closed]

Given its UNIX ancestry (the de facto standard for mainframes, back in the days when I first learned programming), using Linux as the OS for an experimental MMO is something of a no-brainer. That ...
5
votes
1answer
48 views

Is there a way to match an inet and inet6 IP set in a single rule?

Is it possible to have one IPv4 and one IPv6 IP set (ipset(8)) within the same rule? I have several rules that depend on one set of IPv4 addresses and another set of IPv6 addresses respectively, but ...
2
votes
2answers
517 views

Key mappings in Linux

What do people mean when they point out that the "keys are not properly mapped" in a Linux installation when working on the command line? Isn't the default installation OK? What extra/specific ...
3
votes
2answers
131 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
3
votes
1answer
358 views

Loadkeys gives permission denied for normal user

I am trying to perform loadkeys operation. For normal user, I am getting permission denied error. the error is as follows. <tim@testps>~% loadkeys mykeys Loading /usr/tim/mykeys Keymap 0: ...
1
vote
1answer
304 views

How to permanently disable the Insert key on Linux?

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I ...
1
vote
0answers
131 views

How to remap keycodes via setkeycodes?

I'm trying to change keycodes of some keys, but I don't get one thing. If I use /lib/udev/keymap, I get the following output: # /lib/udev/keymap -i input/event1 scan code: 0xC022D key code: zoomin ...
1
vote
1answer
56 views

Testprintenv:error while loading shared libraries:libodbc.so.1: cannot open shared object file

I am trying to invoke a C-Program which returns the value for a given keyword from a configuration file While trying to invoke program it's displaying below error: **Testprintenv: error while ...
3
votes
0answers
36 views

What are the differences between rdesktop and xfreerdp?

rdesktop and xfreerdp are both linux clients for RDP. However from their respective websites it is not clear what advantages/drawbacks of using one over other are there. I found one post, which ...
3
votes
1answer
583 views

How to distinguish input from different keyboards?

I want to write an application in Python that you can use with your default keyboard and a specially designed one for the application. I will design it simply by using a small numerical keyboard with ...
2
votes
1answer
142 views

How to detect global key presses

I have an Asus laptop that has a special key that can be configured to launch any software (at least on Windows). The general question is: how can I detect any key press (globally)? Then, how ...
15
votes
2answers
6k views

Why is swappiness set to 60 by default?

I just read some stuff about swappiness on Linux. I don't understand why the default is set to 60. According to me this parameter should be set to 10 in order to reduce swap. Swap is on my hard ...
2
votes
5answers
4k views

How to install Linux on a Lenovo ThinkPad T400

I want to completely format my computer and replace my current OS with Linux. How should I go about doing this? Particularly, how do I handle finding all the device drivers I'll need? I'm using a ...
1
vote
2answers
107 views

Possible to get RAID1, by simply adding HDD? [duplicate]

I have server and there is one 1TB drive in it and I guess it's not running any raid, I'm thinking if it's possible to add another 1TB HDD and setup RAID1 somehow?(software raid1) Server is running ...
10
votes
4answers
3k views

Duplicating a Linux installation (Yum-based)

Given an installation based on Yum (specifically in my case, a Scientific Linux 5.1 x86_64 installation), how would I duplicate the installed programs and utilities to a new machine based on Fedora ...
4
votes
3answers
147 views

Linux file system that ages off older files when partition is full

I am wondering if there is a file system equivalent to a round-robin database, which for a fixed size, ages off the oldest files. It is pretty easy to implement with a simple cron job, which I have, ...
0
votes
0answers
18 views

lost packets using traceroute

using mytraceroute I see 50% of ICMP echo request lost: 192.168.1.212 is internal server while 192.168.5.1 is my router: Host Loss% Snt Last Avg ...
1
vote
1answer
2k views

Is “sync” before drop_caches necessary?

I have read a lot of docs saying, it is good idea to do a sync before doing echo [1,2,3] > /proc/sys/vm/drop_caches. I am not able to understand why it is needed, since drop_cache is a ...
3
votes
2answers
2k views

“echo 3 > /proc/sys/vm/drop_caches” - Permission denied as root

I am currently having some issues with the cache. It is a little too much right now so I wanted to clear it. I googled and found this little command: sync && echo 3 > ...
0
votes
2answers
105 views

arp (where're my network devices?)

On linux there's arp command: arp -n Address HWtype HWaddress Flags Mask Iface 192.168.1.100 ether 00:55:d1:c5:f8:1b C eth0 ...