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
1answer
15 views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
0
votes
1answer
11 views

Running into an error whenever i use the make command

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
0
votes
0answers
5 views

how to resolve yum replace php-common --replace-with=php55w-common error?

how to resolve yum replace php-common --replace-with=php55w-common error? on CentOS 6.5 root@server [~]# yum replace php-common --replace-with=php55w-common Loaded plugins: fastestmirror, replace, ...
1
vote
1answer
204 views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
35
votes
4answers
27k views

Limit memory usage for a single Linux process

I'm running pdftoppm to convert a user-provided PDF into a 300DPI image. This works great, except if the user provides an PDF with a very large page size. pdftoppm will allocate enough memory to ...
35
votes
5answers
1k views

Does `sl` ever show the current directory?

For those out of the loop, sl is a humourous command line tool that is meant to trip people up if they mistype ls. When invoked it prints a Steam Locomotive. For example: ( ...
12
votes
3answers
334 views

Move files and change ownership at the sametime

On Linux (Debian, Ubuntu Mint...), Is there any option command or something that I can use to transfer files to another user without having to do : sudo mv /home/poney/folderfulloffiles ...
3
votes
1answer
26 views

Where does ext4 store directory sizes?

Where does ext4 store directory sizes? Are they stored in the directory inode? For example, when I run du -h, it returns directories' size instantly, so I don't believe it calculates it at that time. ...
9
votes
2answers
124 views
+100

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
0
votes
1answer
175 views

LFS 7.4 chapter 6.7: make: gcc: Command not found

I am (again) trying LFS. The version is 7.4 I am stuck at chapter 6.7, where I must run: make mrproper and I get this error: make: gcc: Command not found. But the gcc is there. I also cannot run ...
4
votes
1answer
34 views

Does pipe's link target exist somewhere in the filesystem?

I'm talking about this: $ readlink <(echo test) pipe:[80076194] Is pipe:[80076194] a path to the target or just indication that the file descriptor is connected to the pipe and doesn't exist in ...
1
vote
1answer
260 views

Build Linux and run it (uImage) on the Beagle board - xM

I'm working on some project where I'm using the Beagle board - xM Rev C. Power supply is 5V/2A adapter. My task is porting Linux Angstrom on the board but I have some problems. I have choosen Linux ...
8
votes
2answers
3k views

Is there an alternative to CUPS?

When printing with Linux is there an alternative to using CUPS? After using it for a couple of weeks printing suddenly stopped working. The 'processing' light would come on and that would be the end. ...
2
votes
2answers
66 views
4
votes
1answer
397 views

ffmpeg - Merge two audio sources with x11grab, possible?

Currently I'm running with the following setup. ffmpeg \ -i http://pub1.di.fm:80/di_vocaltrance \ -f x11grab -s 1920x1080 -r 25 -i :0.0 \ -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 \ ...
0
votes
1answer
80 views

Update yum fails

I'm using centOS 6.4. I'm getting this error when I use "yum update" in the terminal window. Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os ...
4
votes
1answer
342 views

Gentoo Live CD from Hard Drive: No Mountable Filesystems on root after modules loaded

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the Live CD (I have no functional CD Drive, so it is from a spare Hard Drive), but after the kernel is ...
3
votes
2answers
56 views

Tool to force use FILE instead of RAM

I'm wondering why there is no such tool like ram2swap, similar to cpulimit in parts. E.g. There is program daemon.bin. Let's create temporary swap file ( 1 Gb ): % dd if=/dev/zero of=tmp.swap ...
0
votes
0answers
17 views

cupsenable,reject commands asking for password for root? [on hold]

I am a root user still cupsenable or reject commands ask for password.Restarting cups solves the issue for a sec but after few seconds i get the error again. This issue is happening just now and i ...
4
votes
0answers
39 views

CHROOT : Unable to view mounted directories

I posted a question on stack overflow, but I was told that my question was more relevant to this section so I thought I'd repost it here. Here is a quick description of what I have done: I have a ...
7
votes
4answers
286 views

How to subtract rows (lines) with AWK

I'm trying to figure out how I can use AWK to subtract lines. For example, imagine the input file is: 30 20 The output would be: 10 Now, as a test I am trying to calculate the "Used" memory ...
0
votes
4answers
76 views

Unwanted console text

For some reason, every time I plug in a USB device, a whole bunch of messages get dumped onto the terminal. (Saying something about device IDs, buffering modes, etc.) How to I prevent this from ...
0
votes
1answer
187 views

Anyone know about pmrun utility

I could not get any documentation about pmrun. I work in nix environment with multple machines and have to do multiple sudo and someone suggested me to look at pmrun utility
0
votes
1answer
37 views

Virtual Host Web Files Not Being Served

I am attempting to serve web files via virtual host, but cannot get Apache to recognized the directory's files. All that will show is the default Apache Welcome page. HTTPD.CONF ServerTokens OS ...
0
votes
1answer
189 views

How do I set up of IBM Cognos Business Intelligence with an Apache web server?

I'm trying to put together an Apache configuration for quickly getting IBM Cognos Business Intelligence Server up and running. But I got no idea of how to do it, could someone help me?
3
votes
2answers
160 views

Redhat Linux: How to know my system configuration?

I am using Red Hat Enterprise Linux Server release 5.9 (Tikanga). For installation of any application, it is very important to know the system configuration, is it 32 bit or 64 bit system, Installed ...
1
vote
1answer
409 views

Redhat Linux + HTTPD: Apache config in sites-enabled not being detected?

I'm trying to set up my new redhat server and I have apache config in my /etc/httpd/sites-enabled folder, but when I run /usr/sbin/httpd -S as root to check the syntax, it just returns: ...
2
votes
5answers
187 views

How to know which Linux and which version I am using

When I run cat /proc/version command in terminal, I got below output: Linux version 2.6.18-348.1.1.0.1.el5 (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP ...
2
votes
1answer
703 views

Sphinx Search shutting down after `FATAL: accept() failed: Too many open files`

I'm running Sphinx Search Server V2.06 ( the latest stable release ) on an Amazon EC2 with Linux CentOS. In general it is running fine, but the searchd.log is showing this error over and over with ...
3
votes
3answers
268 views

How to put the following information in a CSV file?

I have a text file with the following type of content: OPERATION_CONTEXT VMD1HTE1A71_ns:.oc.GJ_OAD2 alarm_object 1130 On director: VMD1HTE1A71_ns:.temip.VMD1HTE1A71_director AT Fri 18 Oct 2013 ...
1
vote
1answer
21 views

Easiest way to mount Google Cloud Storage in CentOS

we use centos for some hosting projects, but nut very expertise with systems. We pretend to use a main CentOS box to mount an "unlimited" Google Cloud Drive and then share it via NFS to the rest of ...
1
vote
1answer
41 views

How to find the true disk usage on my Linux box?

I have a linux box on my school's server. When I was trying to install Protocol Buffers, disk usage is reported as exceeded. So I checked my disk usage by two command on my home directory: du -h ...
3
votes
1answer
262 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
22 views

setquota fails silently

I'm trying to set a file system quota for a bunch of users on my system with a command like: setquota -b /mntpnt < /file/with/quotas This seems to work for almost all users. However, when I do ...
3
votes
1answer
897 views

How can I update the OS on an Iphone on a Linux machine

As I understand it, the iPhone will pop up some options on a Windows computer to update the system when you plug it into the computer. Honestly, I don't own an iPhone, but my friend wants to use my ...
3
votes
1answer
41 views

how to check health of hard drives?

How do I check the health of my hard drives? I know that you can do it with system rescue, but is there a way to do it from root without booting onto system rescue?
1
vote
0answers
52 views

SNAT / Masquerade with shorewall

I've got a little question about Masquerading and SNAT in combination with shorwall and KVM. The Operating System is Scientific Linux 6.4. Setup is like this at my root server: Virtual Machine IP ...
3
votes
3answers
757 views

slow media - disk cache tuning?

Is there any way to make the system more consistent when using LUKS? (or slow storage in general) as it is everything is snappy until the write buffer is full, then everything grinds to a halt as the ...
3
votes
1answer
21 views

How to update linux “locate” cache

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
2
votes
1answer
402 views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
-2
votes
0answers
9 views

How can I use hostapd and scan the wireless interface at the same time? [on hold]

When I run hostapd in a wireless interface I cannot use the same interface for scanning networks.
0
votes
1answer
32 views

What is a master mode? [on hold]

I want to know what's the difference between "master mode" and "managed mode" and the advantages of each one !
2
votes
1answer
345 views

Gnome + Linux: GUI apps don't inherit PATH from parent console apps

In Gnome, don't GUI applications inherit the PATH of the shell process that launches them? Apparently, GUI applications see only the PATH specified in ~/.profile. No issues with console applications, ...
1
vote
1answer
22 views

HOWTO check if a user account is blocked against /etc/shadow

After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days. Right now, the ...
7
votes
4answers
237 views

How to list all the files used during Linux boot

I would like to get the list of files that are used during the process of Linux boot. We are developing the protected enterprise system based on the RHEL 6.4. The integrity of specified files will be ...
1
vote
2answers
50 views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
1
vote
0answers
349 views

alsa and 5.1 surround through three front stereo jacks on the Dell Studio XPS 13

I know this is not a tech support forum, but I am not etting an answer from alsa people and have tried much, if not everything. I can upload the alsa-info output if needed, but here is the info ...
1
vote
1answer
36 views

Uninstall Linux on an embedded board

I am using an embedded board, a FOX G20 V with an ATMEL AT91SAM9G20 processor. I would like to know first of all, which specific linux version I am using on this board, but also, how to remove it. ...
25
votes
3answers
2k views

Does grep use a cache to speed up the searches?

I have noticed that subsequent runs of grep on the same query (and also a different query, but on the same file) are much faster than the first run (the effect is easily noticeable when searching ...
5
votes
2answers
568 views

OpenLDAP Password Policy overlay error while loading

I'm trying to load the password policy overlay but i'm having the following error ldapadd -Wx -D "cn=Manager,cn=config" -f overlay.ldif Enter LDAP Password: adding new entry ...