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

0
votes
0answers
2 views

Using Linux kernel config file from version to version

I have currently Linux Kernel 2.6, which works for my hardware. Now I want to compile Linux kernel 3.2 for the same hardware. Can I use the .config of 2.6 directly for v3.2? Is there any ...
0
votes
0answers
7 views

copy mount from one server to another

I'm new in linux. I'm tring to copy mount point from server1 to server2. So I copy the file which found in /etc/fstab, and did mount -a It gives me the following error: mount: special device ...
0
votes
0answers
21 views

How can I set quotas (space limitation) for samba users?

I configured samba server in CentOS 6. It will be working fine. The windows users share the files through samba. I want to set space limitation for samba users.
0
votes
1answer
19 views

Segfault everywhere even when reinstalling the OS

Lately my PC keeps getting segmentation fault, everywhere, on almost every apps (thunderbird, firefox, chromium, google-chrome, wine, byobu) here's the last few output of dmesg: [ 1474.815026] ...
0
votes
0answers
6 views

home-built router - slow throughput

I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. I ...
0
votes
1answer
16 views

Solutions are telling me to update libc6, but it's already updated. How do I fix `GLIBC_2.15' not found?

I've been trying to run a Garry's Mod server through Open Game Panel all day. I've tried to fix almost all errors, but I can't fix this one. Failed to open dedicated_srv.so ...
0
votes
0answers
23 views

Fedora 20: Failed to start LSB: Bring up/down networking

I'm trying to restart my networking service in Fedora 20, and I get the following error: [dev@localhost das]$ sudo service network restart [sudo] password for dev: Restarting network (via ...
0
votes
1answer
35 views

How to evaluate a variable length in shell script?

I want to write a shell script, in which it will call different command according to the variable length. But I didn't figure it out yet. My unwork script is here: for i in n5 n25 if ${#i} == 2; ...
0
votes
2answers
72 views

Why does Linux only see 3832MB of my 4096MB of RAM?

I am setting up a lot of 64-bit RedHat VMs (VMware vSphere) for our development department in my company. Most of them start with 4096MB of RAM, but Linux only seems to recognize 3832MB. Can anyone ...
1
vote
0answers
14 views

gpg: Bad signature

I'm trying to sign a public PGP key but am encountering a 'Bad signature' error: gpg --edit-key someone@somedomain.com ... gpg> sign ... You need a passphrase to unlock the secret key for user: ...
0
votes
1answer
8 views

/usr/bin/X :0 -audit process

Hello I am trying to solve some internet problems that I have. It is a university computer and I do not have root access. I want to understand what is this processor, that root has started, and if you ...
0
votes
0answers
8 views

How to programmatically read until a certain character in a file? [migrated]

My C program writes a .json file. Few of the values in the schema of the .json file is string and has variable length. I am using jansson library. I will have to read a complete .json object ...
1
vote
1answer
31 views

How to check my account on embedded linux without “/etc/passwd”?

On some embedded linux systems, there is no /etc/passwd file and /etc directory is not writable (which means I cannot set user account and password?). Then what is my (default) account name and ...
2
votes
1answer
18 views

Pin Lock Screen

Is there a way to replace password lock screen in Linux (Mint Debian Edition) with a pin lock screen? Like the one found in Windows 8 for example. It's annoying/inconvenient to have to input 16 ...
-1
votes
0answers
8 views

Gnome Crashes after installing Php5.2.17 and Apache2.0.64

I was installing Php5.2.17, Apache2.0.64 and zlib on my machine with RHEL 5.4 OS, after the installation I restarted my computer. Before it loads the Login screen however, a message appears : It's ...
0
votes
0answers
33 views

Fedora not shutting down

Whether I do shutdown -P now or sudo shutdown --halt now Fedora does not shutdown. It will send SIGTERM and SIGKILL as usual, but then just stops at the screen with the fedora logo. My only option is ...
2
votes
1answer
31 views

How can I remotely debug a broken initrd?

Background I have a system that runs Linux. It's a NAS, and does not have any monitor, keyboard, or serial port. It does have a network port. I'm not happy with the software running on it, and am ...
1
vote
1answer
16 views

accessing substrings from lines in a text file and storing them

I have a text file like this chr1:16840617-16840780 RNU1-1 (2 columns are tab separated) chr3:142139047-142139211 RNU1-100P ............ ............ I want to loop over the lines ...
1
vote
1answer
21 views

How to decrease the time the processes would wait (blocked) for disk reads (only to discover an error)?

Waiting too long when encountering an unreadable sector on a disk is really very annoying. (Especially if you are trying to read as much data as can be read from a disk with bad sectors, and do it ...
0
votes
0answers
35 views

Set permissions not to change permissions [duplicate]

Consider an example File1.txt, t3dev and ttuser own this file actually but When I use my id(user1) and edit this file, the file user and group are changed to my id(user1). I want to set the ...
1
vote
0answers
35 views

How to properly start and stop shell script in linux, busybox?

I am trying to write a small shell script that would send some commands to my tv set from my set top box that has busybox on it. The problem is that it generates huge amount of zombie processes, and ...
2
votes
0answers
19 views

Linux kernel module to read out GPS device via USB [migrated]

I'm writing a Linux kernel module to read out a GPS device (a u-blox NEO-7) via USB by using the book Linux Device Drivers. I already can probe and read out data from the device successfully. But, ...
0
votes
2answers
42 views

how to remove all double quotes from csv except specific field

I want to remove all double quotes from my csv but not the fourth field (because the four fields represent PATH of file) Please advice how to implement this by sed or awk or perl one liner , etc ...
0
votes
1answer
38 views

Unable to delete a file

An update has corrupted my system, I attempt a receipt and update of php5 error that you can not write /usr/lib/php5/libexec. When I try to read this file, which I find is this: ...
0
votes
0answers
8 views

PlayOnLinux(POL) Excel 2007 can not open more than one spreadsheet

I have Installed CentOS 6.5 - i386 and PlayOnLinux 4.1. On that MS Office 2007 is installed. Word 2007 is able to open more than one document simultaneously and also possible to perform Cut, Copy and ...
0
votes
1answer
25 views

Solid State drive vs. traditional hard disk in a virtual server environment

I am currently considering upgrading my virtual-hosting plan because of very bad write performance (mostly writing to a MySQL database, but I notice it also when compiling a program or copying files - ...
2
votes
1answer
13 views

awk + gsub + how to work with all kind of characters

The following awk command target is remove spaces and unnecessary quotes from CSV file and only from single words between separators awk 'gsub(/("[ ]+|[ ...
0
votes
1answer
41 views

How to know free disk size witout df command? [on hold]

Is it possible to check free disk size in Linux without using command lines such as df? Since my host machine is embedded Linux, there are no direct command lines that show free disk size.
0
votes
0answers
3 views

Pantheon lost keyboard configurations

I install Pantheon yesterday and now every time startx my keyboard configurations back to us, but the correctly is br+abnt2. So I need to run in terminal (after startx) the command: setxkbmap ...
0
votes
2answers
29 views

Locked out of SSH on LAMP server but have SFTP access

I made a mistake in /etc/sshd_config so have locked myself out of my remotely hosted server running Centos 6. It's running Apache and I have FTP access to /var/www and I know the root password. To ...
2
votes
1answer
21 views

mysql fail to start bash_completion errors

So after upgrading my debian system, mysql does not start anymore with command "service mysql start". I get: Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' ...
0
votes
2answers
61 views

Difference between Unix OS Types [on hold]

What is the difference between Linux, AIX, Solaris, MAC. Aren't these all some kind of Unix flavors ? Why do we need so many types. Why can't there be just one type ?
0
votes
0answers
7 views

Communication between two kernel drivers [migrated]

I have custom embedded hardware i'm working on which runs linux. I've implemented a spi kernel driver to handle spi access to a eeprom which is exposed to userspace. Now i have another kernel driver ...
1
vote
1answer
27 views

Real vs Actual memory in Xymon/Hobbit

What is the difference between real and actual memory usage in xymon ?
0
votes
0answers
38 views

how can I backup and restore of partitions and logical volumes?

This is my disk scheme sda1 /boot ext4 sda2 /somefiles ext4 sda3: lvm volgroup1/lvolume1 / ...
0
votes
0answers
17 views

Inotify notifies only single change

I set the inotify_add_watch to watch /dev/disks. The entries in this directory are: by-id and by-uuid. When I plug-in a pen-drive, this directory gets added with two more directories: by-path and ...
3
votes
2answers
49 views

Is Android compatible with the Linux Standard Base?

Moved from Stack Overflow, where I realize it was off-topic since it was asking for sources - far as I can tell, the rules forbid that there but not here. I know that the kernel in Android is now ...
5
votes
2answers
82 views

Linux kernel manual build: resulting binary is 10 times larger than precompiled binaries

I'm using Linux Mint 13 MATE 32bit, I'm trying to build the kernel (primarily for experience and for fun). For now, I like to build it with the same configuration as precompiled kernel, so firstly ...
0
votes
0answers
10 views

raspberry pi pulseaudio server connection failure

I purchased a raspberry pi model b , after installing image, the first thing I do is I installed vlc and copy a mp4 video in raspberry pi. Now from command prompt I tried to run my video using vlc. ...
0
votes
0answers
5 views

In Linux count number of key presses except those in the browser

I want to count the number of key-presses in Linux, except those in the browser. There was a solution proposed here but not sure how to ignore browser key-presses.
0
votes
2answers
39 views

What are the positions in `free` called?

I am trying to compare the output of free with the output of sar -r: # sar -r 12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit 12:10:01 AM 629756 65293976 ...
3
votes
0answers
39 views

Typing punctuation adds an accent to the preceding letter after my laptop is docked for a few minutes

I am running Manjaro XFCE. Everything worked like a charm for months now, but 2 weeks ago the keyboard configuration from my external keyboard seems damaged. Writing on my laptop itself works ...
0
votes
1answer
25 views

VPS SSH and my OWN IP

Is it possible to to stay in total anonymous mode for the VPS provider? I have got a VPSVZ machine with UBUNTU server. Is it possible to do anonymous tunneling: VPS1 -> VPS2 -> VPS3 (all UBUNTU) ...
3
votes
1answer
92 views

mounting a SD card without a partition

I try to mount a SDHC card under GNU/Linux. Unlike what happens usually, /var/log/syslog doesn't mention sdb1, just: Jul 26 16:07:53 xvii kernel: [ 159.404842] scsi 6:0:0:0: Direct-Access Singim ...
0
votes
0answers
43 views

Unable to connect to source.repository.backtrack-linux.org

I have a BackTrack5 r3 installed on VMware. As you see below I have internet access in it : root@bt:~# ping www.google.com PING www.google.com (173.194.70.105) 56(84) bytes of data. 64 bytes from ...
1
vote
0answers
28 views

A problem with ubuntu [closed]

I have a Dell Inspiron 1420 with Windows Vista. I wanted to install Ubuntu on it, so I burned the ISO file to a 16GB flash memory and I booted the laptop from it. I tried to install Ubuntu on the hard ...
2
votes
0answers
16 views

How to create GUIs (such as menuconfig) with lxdialog

I try to generate a menuconfig by my own with the help of lxdialog (source: lxdialog). Unfortunately this is not so well documented as I wished for. Example: So what I did: I included these files ...
1
vote
0answers
26 views

How to find out why my cron didn't run? [duplicate]

This is the content of root's crontab: 0 23 * * 0-4 /usr/sbin/rtcwake -time `date --date="+16 hours" +"%s"` -m mem This is set to fire off that command every Sun-Thu at ...
3
votes
0answers
39 views

RAID-1 mirror has become a single hard disk

I have an HP N40L microserver, with 2 identical drives, I used the system to hardware-RAID them as a mirror. I then installed mint on the system about a year ago. This has been running perfectly, ...
0
votes
0answers
5 views

Why surt1000xli APC UPS recognised by NUT apcsmart driver as “old”?

So I have this UPS connected to machine with a RS232/USB cable. ups.conf contains [apc1] driver = apcsmart port = /dev/ttyUSB0 desc = "APC USB" And I get the following output: $ sudo ...