4
votes
4answers
427 views

Is making /var/log directory read only on debian linux safe?

I am installing a really small server which got a 512mb CF cars as HD. Not only I haven't plenty of space, but I would like to minimize the writes to disk. I would like to completely clear the ...
1
vote
0answers
13 views

Floating panel over fullscreen windows in tile WM

I want to create kiosk using GNU/Linux. I need to show GUI one application full screen. I've found that ratpoison suits my needs. But I also want to allow user to see and change keyboard layout and ...
0
votes
0answers
18 views

RHEL Linux 6 teamviewer 9 upgrade error

I had teamviewer 7 installed on my server RHEL 6, but I wanted to upgrade it. I downloaded the latest rpm teamviewer 9 en from here and upgraded it, now my server X window system won't start up. ...
1
vote
1answer
20 views

Convert FLAC files to OGG

Are there any linux tools for transcoding and syncing music directories? I encode my music to flac, which I keep on an external hard drive. Some time ago I transcoded this collection to ogg, in a ...
1
vote
0answers
13 views

Linux Mint default physical screen before login

I currently have to do annoying things to log into Linux Mint 16 Petra. I have two screens: new, left, VGA old, right, DVI The mouse is trapped on the left screen and the login dialogue for mdm is ...
1
vote
0answers
6 views

keyboard shortcut over vnc not working

I'm not sure if my issue is with linux or vnc or both. I'm running on a system with centos which I'm VNCing into. I want to be able to toggle between windows inside the linux box, but I want alt-tab ...
0
votes
0answers
7 views

Can I use lldb to remotely debug the Linux kernel?

With GDB, I can remotely debug the Linux kernel. lldb, which promises to completely replace GDB, should be able to remotely debug the Linux kernel too. However, I cannot find any tutorial about this ...
2
votes
1answer
31 views

Why does to order of the parameters affect the files found by `find`?

I found this weird behavior in find. Depending on the order of the parameters to find it finds different files. For example, I have a directory tree with the following content. . ├── configure.ac ...
1
vote
1answer
17 views

configure exim for system email forwarding (outside) , on a server with dynamic ip, behind a DNS router

Trying to configure exim to deleaver email to the outside world. I/We need to send email outside just for centralize certain admin notifications. Working on an already configured debian webserver, ...
4
votes
1answer
62 views

What does this dd command do exactly?

I have the an embedded device with this SD card: [root@(none) ~]# busybox fdisk -l Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes 4 heads, 16 sectors/track, 121008 cylinders Units = cylinders of 64 * ...
24
votes
5answers
2k views

cd .. on root folder

Why cd .., typed at root folder, does not warn or fails with an error? I would expect: /$ cd .. -bash: cd: ..: No such file or directory Instead, I'm left at /. Of course, this is since .. does ...
2
votes
1answer
122 views

Regex doesn't work with grep

I have a string like this TEST="/dev/sda1 on /media/sda1 type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,quiet)" (Result from mount | grep sda1) ...
0
votes
0answers
15 views

How to run gnukhata software in ubuntu 12.04

I have tried to install GNUKhata in ubuntu 12.04, but it's not successfull. Requirements : i) Download gnukhata1.2 software from gnukhata.org, ii)python2.7 (default in 12.04), then ...
1
vote
1answer
30 views

Terminal, Prompt changed to “-Bash-4.2” and colors lost

Usually my terminal prompt was username place$ now it only shows bash-4.2$ and all the color settings have been lost (on the terminal profile I have the same color scheme, but it just don't show ...
0
votes
0answers
8 views

Spam mail to mail id displayed in website. [duplicate]

I have exim mail server with cpanel. I receive lot of spam mail from my website contact page where my mail id's displayed. How to stop this further..
-1
votes
0answers
14 views

why can't I get libnftnl-1.0.1 to ./configure [on hold]

why can't I get libnftnl-1.0.1 to ./configure? Am I missing something I don't know about? I have all the libraries that are required.
3
votes
2answers
20 views

How to tell if a SCSI device is removable?

In DMESG I see: [sdb] Attached SCSI removable disk How does Linux decide what is removable and not removable? Is there a way I can look up if a device is "removable" or not other than the log, for ...
2
votes
1answer
27 views

convert to epoch and back

I've used the following two perl command lines successfully: perl -e 'use Time::Local; print timelocal(7,51,10,22,3,2014), "\n";' which returns 1398163867, and perl -e 'print ...
1
vote
0answers
12 views

customizing size of emacs windows in twm, depending on the vnc session

I connect to the same Unix system (that runs tab windows manager, twm) via vnc. I connect from a laptop with a small screen and from a workstations with a large screen. I have started two different ...
0
votes
1answer
18 views

iconv cannot convert given characters

I just wanted to convert a txt file to UTF-8, since cat displays it correctly, but vi or gedit doesn't: $ cat test.txt ># >‹ | || ° ├── └── _ __ $ iconv -f WINDOWS-1253 -t UTF-8 test.txt ...
0
votes
2answers
23 views

MySQL 5.1.73 - community edition : Where is MySQL configuration file?

I have installed MySQL 5.1.73-community edition in my Oracle LINUX 5 server. I am able to start / stop and execute MySQL commands. But, I am unable to locate the MySQL installation directory as well ...
1
vote
1answer
21 views

autossh won't run in background

I try to set autossh to run at boot adding it to /etc/rc.local but I am unable to even get it to run in the background. This is the crucial part of my config file: Host remotehost.com LocalForward ...
1
vote
1answer
33 views

Dual booting with Windows 7 and Fedora 20

I am creating a dual boot system for Windows 7 & Fedora 20. While installing to hard drive I get this error Installation destination Error checking storage configuration. I have shrunk my hard ...
2
votes
1answer
24 views

mdadm: Is PROGRAM always run by the user root?

I have an mdadm-RAID and want to get notified about events, for example a failing HDD. I can use MAILADDR and PROGRAM in the mdadm config file to achieve this. I decided to use the latter. So I wrote ...
1
vote
1answer
26 views

WARNING: at kernel/irq/handle.c - after changing rootfs, but why?

today I changed from an image with initramfs to an image with separate kernel and rootfs. Theses images are used for an Embedded System (ARM9 SAM9G25), that is runnging with an Linux 2.6.39. During ...
1
vote
1answer
28 views

Mkfs error undefined symbol: ext2fs_numeric_progress_ops

I'm running a Oracle Linux 6.4 under Hyper-V. I have to add a disk. So I add it in Hyper-V, Linux sees it when I run fdisk -l and I can see it. So I did a fdisk /dev/sdb then I created an extended ...
1
vote
0answers
22 views

Create partition on CentOS server?

I have a headless CentOS server that I'd like to create a new partition on so I have a separate boot and data partition. I have an existing server with the setup that I want to achieve and running ...
5
votes
1answer
39 views

Is `ln` atomic and reliable on NFS? Could NFS replace GFS in this use case?

I have a cluster with a bunch of servers with a shared disk containing a GFS global file system that all nodes access simultaneously. Each node in the cluster run the same program (a shell script is ...
0
votes
0answers
20 views

X11 module ABI version does not match server's version

When using startx on my 32 bit linux system running debian Jessie, I get the following error: (EE) module ABI major version (12) doesn't match server's version (15) (EE) no screens found tail ...
1
vote
0answers
23 views

Multipath to a logical volume in a staging VM

How do I configure multipath in testing VM (purpose is purely academical)? I made new logical volume, modified multipath.conf to be as follows: defaults { udev_dir /dev ...
2
votes
2answers
39 views

Ubuntu kernel source code package

Can somebody explain me the difference between the following files: drwxr-xr-x 28 root root 4096 Apr 22 12:04 linux-lts-raring-3.8.0 -rw-r--r-- 1 root root 15209788 Mar 14 03:38 ...
2
votes
1answer
36 views

Difference between tar and star

I've been learning about the syntax and usage of tar and came across star. I've read this paragraph from the star manpage: Star includes the first free implementation of POSIX.1-2001 extended tar ...
0
votes
1answer
27 views

modpost.h:12:23: fatal error: elfconfig.h: No such file or directory

I am running Ubuntu: #lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise Kernel info: 3.8.0-38-generic ...
-1
votes
2answers
37 views

Arithmetic operations on a particular column of a CSV file in Bash

I am having a file whose contents are as follows: A,10,20,30,40,50 B,20,40,10,30,60 C,30,50,20,40,10 D,40,50,20,10,30 I wish to perform some arithmetic operation (say Division by 10) on a ...
1
vote
2answers
37 views

FATAL: Module hello.ko not found

I'm using CentOS-6.5 and default kernel is 2.6.32-431.11.2.el6.x86_64. I downloaded 2.6.32 and built that kernel (under /lib/modules/2.6.32). I wrote a module for simple hello world program. This ...
1
vote
1answer
21 views

libcurl.so.4 undefined reference error

Even after installation of curl and all concerned libcurl packages such as curl libcurl3 libcurl3-gnutls libcurl4-doc libcurl4-nss-dev libcurl-ocaml libcurl3-dbg libcurl3-nss libcurl4-gnutls-dev ...
-1
votes
0answers
15 views

Linux nagative Multipath configuration? [on hold]

I m using two HP server Prolient DL 380de gen8 server installed RHEL 6.5 and have EMC2 VNX5300 Storage.Each server i have 4 nic port and first two ports i configured it as bonding. and in storage have ...
1
vote
2answers
57 views

Can't create a bootable (live) usb flash for arch linux

I created a bootable usb from which I was going to install Arch. I did this the following way: sudo dd if=/path_to_arch_.iso of=/dev/sdX But when I tried to boot from this usb flash, I failed. ...
0
votes
1answer
22 views

tar delete progress question

I was trying to use tar command , --delete option and met some problems. There are two things I don't understand: when using --verbose option with combination of --delete option, nothing shows as ...
1
vote
5answers
202 views

Replacing backslashes with commas in Bash

I tried writing a script in which I am reading through a file line-by-line. I am supposed to replace a backslash (\) with a comma (,). The input file is as follows: 1,2,3,WORKSTATION1\A,5 ...
0
votes
1answer
21 views

How to detect the incoming httpd Connection Counts of each VHOSTS?

With RHEL and Apache (httpd), is there a way to: Detect which v.host (domain) is gaining how many incoming connections? Because in this few days, i got a lot of incoming connections on the Server ...
-2
votes
1answer
19 views

mkfst command not found [on hold]

My server has just been reinstalled by my host If I do, mkfst.ext4 /dev/sdb1 I get following error : command not found It's usually there when the system is installed. What should I do so ...
1
vote
2answers
22 views

How to multiply two columns in awk?

I want to multiply column 1 with column 2 (till end of file) in input file and should output 1 column and multiplied 3 column in separate file. input.txt 1 677679866 2 121867616 3 49413198 4 ...
0
votes
1answer
15 views

Hard Disk Space Shows in One Place, Shows Less in “Computer” Folder?

I have 320 Hard Disk but in the picture in Computer Properties, it says capacity is 45GB. Which is obviously not true.Anyone know why? I don't want to have less storage than I do in real life, I want ...
3
votes
1answer
25 views

Fencing VM nodes

I'm using VMware Workstation as my hypervisor. I want to create a cluster with two nodes and a sharing storage with FreeNAS. My questions are around fencing. Is it possible to do it in this case? ...
-1
votes
2answers
28 views

9998 folder limit in linux server

How can I increase the limit of files or folder in linux? Right now when I use any ftp software it shows that there are only 9998 folder in that directory. But I ran a simple php script that would ...
0
votes
1answer
18 views

makehuman gives “ImportError: No module named numpy”

I installed 1.0.0 on slackware 14.1 makehuman 64bit slackbuilds through the site, but the makehuman does not open, the program appears in the KDE menu but does not open. I do not know why it happens, ...
4
votes
2answers
16 views

Is NFS sharing via a multi-home computer possible?

I have an nfs export on computer A that I need to mount on a computer B in a different network. I have a multihome computer C, that can provide the connectivity between A & B. All computers are ...
1
vote
1answer
21 views

apt and aptitude died after dist-upgrade

I followed the Debian Instructions for upgrading from Squeeze to Wheezy in Debian. I audited my packages, updated my /etc/apt/sources.list file to get Wheezy sources, I ran apt-get update and apt-get ...
0
votes
0answers
15 views

How to format xml attributes, not just elements

How do you format an XML document to make it easy to read element attributes? I have a xml based webservice that returns one or two elements, but with hundreds of attributes. As I'm doing ...

15 30 50 per page