Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

2
votes
3answers
4k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
2
votes
1answer
761 views

Linode Lish Shell Vim and Nano rendering troubles: lines not appearing / cursor positions wrong

I'm using a linode VPS and I just cloned one of my servers to my development server as I've done many times before. As usual SSH is inaccessible until /etc/network/interfaces is correctly updated. I ...
0
votes
2answers
635 views

Creating a Linux account at the same time as creating a MySQL DB account

I asked this question about six months ago and I thought I might get better responses here. I have a website written almost exclusively in javascript (HTML canvas), and a MySQL database managed via ...
0
votes
1answer
105 views

Server performance and disk usage portal?

I'm looking for a good web based portal to install on internal production servers to give information about the health of the server to people who have no login permission for that server at the ...
0
votes
1answer
847 views

Maximum number of groups in Linux

I have several questions about linux groups Is there a limit to the number of groups a user can create? Is there a limit to the total number of groups in a system? Is there a limit to the number of ...
0
votes
2answers
633 views

run chkdsk from linux partition of wubi install

I have installed linux using the wubi installer, and recently my Windows partition became corrupt (hangs during boot). I would like to run chkdsk on it to try and fix it, but I cannot figure out a way ...
1
vote
1answer
604 views

Automate user quotas for edquota to bypass vim [duplicate]

Possible Duplicate: Setting up disk quota on ubuntu for multiple users When assigning user quotas, one has to use edquota. However, this brings up the vim editor. Is there any way to bypass ...
2
votes
1answer
203 views

What exactly is a group quota (filesystem)

There are a million sites on how to set up user/group quotas, but none actually explain what a group quota is. Is it The maximum disk space for the entire group (ie 100GB for 100 users) The disk ...
1
vote
3answers
1k views

I can run a script locally, but cannot do “ssh HOSTNAME /path/to/script.sh”

I have a linux server, and a linux desktop. I have written the following simple script to dump the database of a django web application: #! /bin/bash set -o errexit cd $(dirname $0) . ...
1
vote
3answers
2k views

How can I mount in Linux a filesystem for one process or user only

I want to have different mounts that are seen only by a specific process or user. One use case I am thinking about is when I want to mount a unionfs or aufs that will be available for one user. So I ...
3
votes
2answers
382 views

Linux - Is there a way to fake the highest directory?

/ is the highest directory in Linux. Is there a way to fake that to something else say /opt/rpmbuild/BUILDROOT? Here's my problem space. I am trying to re-package a COTS into RPM format. The COTS ...
3
votes
1answer
2k views

virtualenv gcc error MySQL-python

I am trying to install MySQL-python through PuTTY with virtualenv. Specs. *CentOS-6.0 *Python2.6 So I have read many sites and the biggest thing I see is python-dev, and python-devel(btw I don't ...
2
votes
1answer
77 views

nice cpu usage showing, but process wasn't explicitly run with nice

About 25% of my CPU usage is attributed to "nice" which is all coming from one process. The process in question was not started with nice(1) nor was it adjusted with renice(1) -- at least not ...
0
votes
3answers
3k views

iptables forward one outside port to a different port on localhost

I have a setup where I have a CentOS server that is acting as an internet gateway. This machine performs the NAT between our main switch and our internet connection. I'm also hosting a virtual ...
0
votes
2answers
171 views

Network issue migrating an VMWare guest to an OpenVZ container

I've migrated a server from vmware to openvz, both are running on the same physical host (I plan to eliminate vmware). If I give the new openvz container a new IP anybody on the LAN and outside ...
0
votes
1answer
355 views

How to revert a shrink of an LVM volume

I had a Linux LVM volume that was about 400 GB. I shrank it to 217 GB following the steps below. umount /local e2fsck -f /dev/mapper/vg00-lvol2 resize2fs /dev/mapper/vg00-lvol2 217G lvresize -L 217G ...
6
votes
5answers
13k views

High system cpu load (%sys), system locks

For the last two weeks we are having intermittent severe spikes in system cpu usage (shown as %sys), which last for maybe half a minute, locking most processes, including ssh. I've been trying to ...
0
votes
2answers
967 views

mount --bind and moving 2 files between mounts

My application architecture requires me to mount 2 folders at the same partition and move 2 files between them. I have the following mounts: /drive2/folder1 on /var/www/myapp/folder1 type none ...
0
votes
1answer
1k views

Linux-Based, Open-Source, Speed-Test Module

I am setting up diagnostic servers on local networks (Redhat 5.5). One requirement is a speed test where users in the network can test the speed of their internet connection (e.g., ...
5
votes
1answer
2k views

Does anyone know where a good resource for NFS4 ACLs can be found?

I am attempting to utilize NFS4 ACL's in an environment already utilizing POSIX ACL's. I've found a handful of sites on the internet that explain some technical details about NFS4 ACL's and how ...
5
votes
1answer
277 views

Which NIC have the IP address?

If I have two NICs where I know the MAC addresses. Without logging into the server, how do I figure out which have the IP address 10.10.10.10? Can arp somehow be used for this?
0
votes
1answer
164 views

linux + the best way to install ISO file ( parallel installation ) [closed]

I have PC with XP windows with two LAN connections One LAN connected to network 10.xxx.xxx.xxx (my private network) And the second LAN (admin network) is connected to the Cisco switch On the other ...
-1
votes
2answers
204 views

Compress only some files type

I start on shell and i don't know how to compress a folder including just the .jpg and .jpeg files. Anyone can help me? Thank you
2
votes
1answer
273 views

Firewall locks me out of ssh

Just trying to make a simple script that will configure iptables to block all incoming and outgoing traffic except for ssh on default port 22 and udp on port 8888. This is what i have: #!/bin/sh # # ...
3
votes
2answers
517 views

General Protection Fault error on Centos 6 while executing a python script

I have a python(fabric) script running on a centos 6 box that parses configuration files and daemonizes MRTG process and dumps rrd files a folder in a shared file system. All goes well but midway to ...
4
votes
6answers
7k views

How to find “growing” files inside a linux system

I have a server that is constantly losing disk space so I reckon there must be some logs that I'm not aware of. What is a good way to locate files that are constantly increasing in size?
2
votes
3answers
1k views

Fastest/best way to run headless Windows VM under Linux

I have some remote Linux servers on which I wish to run a Windows-only application. I don't want to stop running Linux on any of the servers because they do other Linux-only things, so I am thinking ...
0
votes
2answers
831 views

Ubuntu Server gateway networking issues on VMware Workstation

I have two Ubuntu 10 Server VMs on VMware Workstation, using bridged networking. I want to route internet traffic to ServerB through ServerA. At the moment, ServerA can access the internet, but not ...
2
votes
3answers
524 views

How do I log console output from a XEN VM?

I have a xen hvm vps with a console thats accessible using VNC. I'm wondering if there's any way of logging anything/everything that is sent to console? I'm trying to log the console cause my vps ...
0
votes
1answer
101 views

Reinstall smb / samba [closed]

Is there a way to reinstall smb & samba as if it was a clean install? I am having so much problems with accessing Windows Share directories on my Ubuntu 11.10 (with Gnome 3 Shell) that I want to ...
2
votes
2answers
1k views

iptables+iptables_netflow: iptables blocking netflow export?

I am running an iptables firewall on OpenSuSE 11.3 --recently I became interested in traffic monitoring and accounting, and to this end installed iptables_netflow module on the firewall and WANGuard ...
1
vote
2answers
80 views

Can find show directories with contained directories' time stamps?

I have a script to clean out old files and directories in a log area like: find . -mtime +${NUM_DAYS} -type d -exec rm -rf '{}' \; However if I run this 2 levels up from the files that have changed ...
0
votes
2answers
147 views

Create custom host file

I want to create a host file on a custom location (ex. /opt/app/hosts) with the same formatting as the /etc/hosts file. The reason for this is that I want to manually query a DNS server for a ...
0
votes
1answer
109 views

what are the alternatives (OSS,commercial) for virtual machine life-cycle management? [closed]

likes of VMware lab manager: desired feature list: Self-Service: rapid-delpoy-VMs configuration management: clone, snapshot VM good to have: hypervisor agnostic storage lease user access - ...
3
votes
1answer
2k views

Rsync to NETGEAR ReadyNAS fails on one particular file

I currently have a server that nightly backs up its data to a NETGEAR ReadyNAS device using Rsync. This has been working fine for the past few months. However recently, I started to get the following ...
2
votes
3answers
3k views

How to kill these PHP process safely?

I have installed php5 in ubuntu and WordPress. It can run after installed. But after few days I've found there are lots of process and occupied a lot of memories. I try to use ps -aux | grep www-data ...
-1
votes
1answer
223 views

Cascading smarthost in postfix failed

For some reason, we have three MTA namely MTA-A (IP:10.1.8.1), MTA-B (IP:10.1.9.1), MTA-C (IP:10.1.10.1):- MTA-A is a MX exchange which is responsible for local delivery only MTA-B is a MTA ...
2
votes
2answers
2k views

rsync fails with error: Cannot stat destination… cannot allocate memory (12)

I am trying to rsync some directories on my linux server to a Windows 7 share mounted locally on the Linux server at /mnt/backups. My rsync command looks like this: rsync -avz --progress --partial ...
0
votes
1answer
3k views

curl --ftp-ssl to grab all files in remote directory

Is it possible to get all files in a directory using curl? Here's my string so far: curl --ftp-ssl -k ftp://user:pass@IP This will LIST the files in the user FTP directory, how do I adjust this ...
2
votes
1answer
153 views

Correct use of RSA Key Pairs

I have recently began making use of RSA Key pairs to login to various servers I manage and wanted to get some insight on best practice as I recently ran into some issues. Is it best practice to keep ...
0
votes
3answers
315 views

Disable, not unisntall, perl on Red Hat Enterprise 5.X?

So we found that some trojan has been the cause of our two web servers crashing once a week as we found that perl was executing dozens of malicious "gif" files spiking the memory and eventually ...
0
votes
2answers
2k views

Change destination addresses with iptables

I work with Debian (Linux) and try to change the destination of incoming packets from port 80. Here's the setup: I have my firewall that has two addresses and a web server that has two addresses. ...
2
votes
3answers
1k views

encrypt tape files with openssl and tar

I am trying to add encryption to my current tape backup scripts by piping the output through openssl, at the moment I have : tar -czpvf /dev/nst0 /home /otherdir so adding openssl gives this : tar ...
2
votes
3answers
4k views

Linux SUSE - How to install PHP 5.3.x on SUSE?

I'm trying to install php 5.3.x on Suse/linux platform, but whenever I install and check it with phpinfo(); it shows php 5.2. Any idea how to deal with it? please provide the detailed instructions. ...
1
vote
2answers
2k views

Disabling DNS change in openvpn client

I connect to a VPN with openvpn which sets my DNS to the Google DNS servers (8.8.8.8 and 8.8.4.4). For some reason this does not work on a linux client, only on windows (the effect is that I can't ...
0
votes
2answers
203 views

Two domain names one Sendmail account

I have pointed domain1.com and domain2.com to the same server on the same IP. Now email directed to me@domain2.com gets rejected: X.X.X.X does not like recipient. Remote host said: 550 5.7.1 ...
5
votes
3answers
1k views

What to use for software-based shared file storage?

The situation: setting up a load balancer Currently we have all of our servers (running CentOS Linux) in pairs in our data center: each server has a mirroring server. We don't employ any load ...
3
votes
4answers
5k views

Find the location of libmysqlclient.so.X file in Linux environments

I'm putting together a script that has a requirement of knowing libmysqlclient.so.[15|16|18] .so file. It's usually located in /usr/lib/ , /usr/lib64/ or a mysql/ subdirectory of the aforementioned ...
0
votes
2answers
191 views

Can I get mailman's newlist script to run without needing sudo?

I'm writing a PHP application and I want to be able to add new lists to mailman running on my ubuntu server. For one reason or another, mailman's newlist script requires root privileges. Is there any ...
2
votes
1answer
319 views

Simple Internal DNS Set-up

I have a few domains pointing to my router which then forwards them onto a server within my firewall. The server is running apache2 and everything works well - my website pops up. I have set up a few ...