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

2
votes
1answer
29 views

“incrond dead but subsys locked” what does it mean?

While running "service incrond status" it shows "incrond dead but subsys locked". Can you please tell me what does it means. Normally its status should be running. Let me know what may cause it to ...
1
vote
1answer
65 views

nginx - userdir with user permissions

What I want to do is have the usual server running user files like this: http://users.example.com/~user1/stuff.php which would be stored somewhere in /home/user1/www or something like that, but ...
2
votes
1answer
19 views

Touchpad absolute coordinates

Since a while ago, synclient no longer supports the -m (monitor) option (that could be used to obtain absolute coordinates from a touchpad). I'm looking for a good, portable way to obtain absolute ...
2
votes
2answers
60 views

Use curl to send binary file through POST with content-type multipart/form-data;

A post request is made to: http://www.example.com/example/ and the post data is as follows: ------WebKitFormBoundaryB8NNdk2kNdndnnn Content-Disposition: form-data; name="picture[uploaded_data]"; ...
0
votes
1answer
36 views

using CURL to transmit binary data over POST parameter

How can i use CURL to send binary data through a specific post parameter? E.g in: curl 'http://www.example.com' -H 'hi:hi' --data ...
0
votes
1answer
33 views

A small script about wget

I want to download an image file called mch_aktuell_gross_20141229_79514688.gif (basically a forecast gif) from www.meteoradar.ch Here is my script: #!/bin/bash wget \ --recursive \ ...
0
votes
0answers
40 views

Allowing access to samba share without setting permissions to 777

I have a linux box (Centos 6.5) joined to my windows domain that has storage attached for backups. I have a samba share so domain servers can access the storage and I only allow MYDOMAIN/Administrator ...
1
vote
0answers
18 views

Extract configuration from linux and emulate in fresh copy of same linux

I have a short project on emulating linux distros. The project involves extracting system-wide configuration i.e packages, services, configuration files of services, users informations from a linux ...
0
votes
0answers
11 views

uploading new files to vhost. Need to change the file view settings

My website has a feature that uploads files and displays them. So there is a folder in the public directory that stores those files. But the main problem is that after each upload, I have to manually ...
2
votes
1answer
44 views

How to use a bootable USB stick and Linux to recover data from a broken hard drive

I would like to run a Linux installation on my Mac from a pen drive in order to create an emergency backup of my most important files. I do not know whether my hard drive is physically broken or just ...
6
votes
2answers
352 views

Move file but only if it's closed

I want to move large file created by external process as soon as it's closed. Is this test command correct? if lsof "/file/name" then # file is open, don't touch it! else if [ 1 -eq ...
1
vote
1answer
40 views

what is FTP Loopback in unix? [closed]

I am writing a shell script where I need to automate FTP loopback. I am not aware of what FTP loopback is and how I can automate to send many files? Here is what I have been given in a document: ftp ...
1
vote
2answers
53 views

Where can I find the kernel configuration on each Linux distribution?

I'm pretty sure that all Red Hat and Debian based distributions follow the convention of shipping the kernel configuration in /boot/config-*, but what of other distributions? Or, if this convention ...
1
vote
1answer
73 views

Unmet dependency after linux mint distribution update

I have recently updated to Linux mint rebecca. I am getting unmet dependencies for apt-get when I am trying to apt-get install a package named monodevelop-nunit monodoc-nunit-manual then this ...
1
vote
1answer
30 views

login using serial port in Linux

I have a slackware machine and I'd like to have a serial console on it. I have a RJ45 console on my hardware. I can now only get output on the console and cannot give any input back to the device. ...
1
vote
1answer
62 views

Brightness keys not working on 3.14+ kernel

I have a dual-boot installation: OpenSuSE 13.2 & Linux Mint 17.1 on Asus k55vd, both 64-bit. I am running a 3.14 kernel on Linux Mint and 3.16 on OpenSuSE. I had encountered that kernels above ...
0
votes
2answers
68 views

Empathy - Linux Mint 17.1 Cinnamon

I've been a linux mint user for 2 days now and I've been trying to use Empathy. I've installed the software from software manager without any problem. but when I try to add an account, it is showing ...
1
vote
2answers
40 views

Checking URLs for HTTP code 200

I have a text file containing a list of URLs like this: http://somesite.com/some-article/ https://anothersite.fr/somepage.php?page=something What I'd like to do is check which URLs return HTTP code ...
0
votes
1answer
42 views

Wifi Connects in Kali not in Mint

I have a Dell Latitude D830 with a built in wifi adapter. I currently have a dual boot of Kali and Linux Mint. In Kali, I'm able to see and connect to wifi. In Mint I'm able to see and attempt to ...
0
votes
1answer
82 views

Where to find the Crontab logs in CentOS

First of all I'm using CentOS [root@a etc]# cat system-release CentOS release 6.5 (Final) [root@a cron.daily]# ps -ef | grep cron root 982 1 0 Jun14 ? 00:01:15 crond root ...
2
votes
0answers
22 views

What is the difference between HAL and udev?

As far as I understand, if I have 3 different network cards, then HAL will cal each of them eth0, eth1 and eth irrespective of their brands, manufacturerers etc. But it seems to me that udev precisely ...
7
votes
4answers
484 views

Trouble with understanding the concept of mounting

Having read both What is meant by mounting a device in Linux? and understanding "mount" as a concept in the OS, I have a problem where it is stated that All accessible storage must have ...
3
votes
1answer
57 views

Difference between /dev and /sys

Exactly what is the difference between devfs and sysfs? Both seem to maintain a list of hardwares attached to the system. Then why the need for 2 separate fs even arose? As far as I can get /sys ...
1
vote
1answer
30 views

[ERROR]Cannot access secondary GPU…Failed to initialize the NVIDIA kernel module [closed]

I've installed Bumblebee with Ryan McQuen's crazybee.sh script, described here, and I'm actually able to startx successfully now (because Bumblebee uses the on-board Intel graphics by default), but ...
1
vote
1answer
82 views

Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting

Whenever I try updating grub, I get this error: # grub-install /dev/sda Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. and # grub-mkconfig -o ...
0
votes
0answers
17 views

Fedora: Failed to connect to download1.rpmfusion.org port 80: Connection refused

I am getting this kind of error whenever I am trying to download something, such as vmware player or adobe reader or any other package, with the only difference being the name of the site. I checked ...
-1
votes
0answers
30 views

Access Windows's data on a dual-boot computer

I installed Ubuntu by making a partition in my PC. I want to access my data that is present in the Windows OS (Windows 8) in my laptop through Ubuntu. How can this be done? My windows OS is showing ...
0
votes
0answers
9 views

linux centos graph and data usage problem in client management

I have change my linux centos few days back and I am running small ISP in my area, after I changed the os, in my AAA software every thing working properly but client side when I download file from ftp ...
4
votes
1answer
36 views

How does ps get the executable of processes of other users?

When running as non-root, if I try to use readlink(2) on a /proc/<pid>/exe for a process not owned by me I get a permission error. So how then does ps with the -f option, which isn't setuid ...
2
votes
0answers
30 views

Strange cron behaviour

I have a script that reads a list of IPs from a file, compares with the existing ones in a chain, and adds recently added IPs in the file into that chain. Running the script manually (e.g., ./script) ...
1
vote
0answers
18 views

Serial program not responding on boot

I am trying to run a program written in C that uses ttyX for serial communication. The program is running on Cubieboard2 with Debian OS. When I run the program manually, it successfully runs and ...
2
votes
0answers
21 views

What is equivalent mmap in C++ for linux? [migrated]

What is equivalent mmap into C++? I have code like below LCDdata = mmap(NULL, iFrameBufferSize, PROT_READ | PROT_WRITE, MAP_FILE | MAP_SHARED, fb_fd, 0); Where LCDdata is unsigned char type ...
1
vote
0answers
52 views

linux mint hangs - how to find a reason?

My Linux Mint system (17 Cinnamon, lenovo g565) hangs up frequently during work (say, 2-4 times a day). It usually looks like a white or black screen (or off if the lid was closed). CPU seems to be a ...
0
votes
1answer
28 views

How to add an alias to a kernel module?

I'd like to add an alias to a kernel module, e.g. make nvidia-343 available as nvidia on Ubuntu 14.10 with Linux 3.18.1, so that it can be loaded under the alias name and so that the alias appear in ...
1
vote
1answer
60 views

How to permanently enable scl CentOS 6.4?

I installed a newer version of devtoolset (1.1) and was wondering how I would go about permanently setting these to be default. Right now, when I ssh into my server running CentOS, I have to run this ...
0
votes
0answers
46 views

How to setup touch screen for X11

I am running SuSE-based embedded system with a touchscreen. The embedded application is a graphics application which uses OpenGL over X Window for graphics. We have a user-space touchscreen driver ...
1
vote
3answers
58 views

List all devices connected, FreeBSD

What's the FreeBSD variant of Linux's lsblk and blkid? I want something that provides the same sort of information as lsblk does in the example below: NAME MAJ:MIN RM SIZE RO TYPE ...
3
votes
0answers
78 views

Multiple wget calls in a single session?

I have the following code to retrieve a page from a website that needs authentication (it uses Sungard Higher Education authentication): wget --delete-after --save-cookies cookies.txt ...
0
votes
0answers
26 views

Recover files from “crashed” partition

I'm using a Dell laptop that has 1TB hard drive, in which i created 4 partitions, one for MAC, one for LINUX, one for WINDOWS and a HD NTFS partition that can be accessed from the three. But, for some ...
0
votes
0answers
36 views

What is PCH poison interrupt?

It seems to be related to particular family of display drivers, and I only see these on the old systems with 2.6.x kernels, so it doesn't even seem to be an issue anymore. I'm just curious, why are ...
0
votes
1answer
56 views

Running HMA Pro VPN on Kali Linux

I've installed HMA VPN on my Kali Linux distro but I'm having problems connecting to a VPN IP address. I run the command ./hma-vpn.sh -l "Amsterdam" for example, and then I try to connect to a ...
0
votes
1answer
36 views

Xen error “No usable disk have been found”

I have install following Xen4 version on CentOS6.x but when i create VM and install OS it am getting following error before disk partition wizard No usable disk have been found I used following CMD: ...
0
votes
1answer
7 views

ld cannot find print_insn_big_mips(and few others) despite binutils-multiarch-dev installed

I am trying to compile a program(on Ubuntu 14.04 64 bit) that requires binutils with multiarch support(recommended version 2.20). I have installed binutils-multiarch 2.24 and the dev package from the ...
0
votes
0answers
24 views

Why this zenity command is not working?

zenity --warning --text="Error Occurred" --display=:0.0 I executed the above command it throwing error, Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key (zenity:10481): ...
1
vote
1answer
52 views

switch between onboard graphics and NVIDIA graphics on fly

I have Intel on board graphics card and Nvidia graphics card in my system. Two different monitors are connected to both the ports. During boot time by default all the bot information displays through ...
-1
votes
1answer
47 views

Cannot Intentionally break/stop DNS via /etc/resolv.conf - Always resolving no matter NS config

I am still learning linux, and so far having great trouble in the networking and DNS areas - I think due to misunderstandings. My understanding is if we provide nameservers in /etc/resolv.conf these ...
1
vote
0answers
14 views

Where do I start to understand the display controller management?

I'd like to understand how Linux detects which display devices are available (video output) and how it decides what to display on each one. For example: if I have an embedded device with a serial ...
0
votes
0answers
43 views

Correctly determining the REAL linux memory usage

I have a curiosity about memory management in Linux: It is possible to determine the use of real memory? (That memory that is being used actually, without being allocated only). How can I do it? ...
1
vote
1answer
29 views

Where does Puppet's environment come from?

Self-training on puppet and wrote the following manifest: class bratch::test { file { '/var/cache/tempFile': owner => 'root', group => 'root', mode => '0644', source ...
5
votes
2answers
449 views

Difference between /run and /var/run

Is there any difference between /run directory and var/run directory. It seems the latter is a link to the former. If the contents are one and the same what is the need for two directories?