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

learn more… | top users | synonyms (1)

0
votes
1answer
72 views

Whats the best way to execute high processing tasks on low RAM VPS

I have one VPS on internet and that have only 768MB of RAM. Now i have run crawlers and various Optimzation algorithms /Data Mining Algos on the one mysql database. I think i need better computer for ...
8
votes
3answers
10k views

Register A records for my Linux box on my Windows 2008 DNS/DHCP server

I've a network which is mainly Windows: Windows 2008 server (with DNS/DHCP as well as AD), and various mainly Windows machines (servers, XP, 7). I know trying to add few Linux boxes, and can't make ...
1
vote
1answer
1k views

Nginx, how to set fastcgi_index to several values?

I'm using the nginx webserver on Linux for domain "example.com". I forward everything via fastcgi to fastcgi-mono-server4. Now, everything works fine, I just want to set several index pages, e.g. ...
5
votes
3answers
132 views

Returning A List Of Quoted Files Paths Using Find

I would like to create a tarball that contains files from a directory that have a ctime of less than 30 days. Most tutorials I have found have basically recommended doing something like this: tar cvf ...
2
votes
2answers
387 views

Where does the name in the “COMMAND” field of `ps aux` come from?

I understand it displays the command with arguments, or when unavailable the command in square brackets. But where do the names come from for processes such as passenger worker ruby instances, which ...
2
votes
1answer
3k views

Nginx+uWsgi+Flask cannot setup success

I want use nginx, uWsgi, Flask on centos 5, but always has some error. 3 app are all newest version, the uwgsi_params file copy from uwsgi/nginx. I use virtualenv to config python env. project ...
5
votes
3answers
584 views

Linux - How to tell which files are sourced at login?

When a particular user logs in to a Linux machine, certain files are sourced, like perhaps .bashrc, .bash_profile, etc... Sometimes different shells mean different files are sourced. And of course the ...
1
vote
1answer
1k views

linux multipath routing load balance

I would like to know how to load balance two Business DLS links which have fixed IPs. I believe it would look something like this: ip route add default scope global \ nexthop ...
3
votes
3answers
693 views

How do I kill a runaway cronjob

I have a cronjob that is set to run constantly. It's a php file that streams data from twitter. However twitter goes down every once a while or we lose connection so I have cron checking back every ...
3
votes
1answer
107 views

Named dynamic update simulation

I'd like to manually change some entries in a Bind server via the dynamic update. I couldn't find any specific tool to do that however. Is there any cli application where I can specify the record to ...
0
votes
2answers
41 views

Buffering program output when the program author doesn't do it in the first place

I have a program which I suspect is coded incorrectly. I think it doesn't do buffering but instead write to disk line by line. The way I specify file name is -e . The question is is there something I ...
5
votes
4answers
2k views

What's going on with this strange MTU?

I have a server mike at our office communicating with a remote server through a VPN. There have been various problems which seem to be linked to the MTU size. Mike is a RHEL 3 server and the customer ...
1
vote
1answer
358 views

Create a DB via SSH that will appear in CPanel [closed]

I have a linux VPS. I want to be able to create a database via SSH and still have access to it via CPanel. I tried creating a database using create database myDB and it did create it and I can see it ...
4
votes
2answers
417 views

Configuration Management Software for Linux for “harvesting” config-files

Managing 50 servers manually, and been looking through the different cms for linux (cfengine,puppet,chef etc) It's use will primarily for CM for config-files. Is there a cms out there that gather ...
2
votes
5answers
199 views

Reinstalling Linux: how to avoid downtime?

My website runs on a dedicated Debian LAMP server . I would like to update the system (let's say I have a pretty old Debian version and I want to reinstall everything from scratch) What strategy can ...
4
votes
1answer
394 views

Executing multiple commands with setlock

In a bash script I would like to execute multiple commands while keeping a file locked with setlock. Setlock however only supports the following usage: setlock [-NnXx] [lock file] [command] Is ...
1
vote
1answer
142 views

Linux automatic install or Live CD

I am under creation of a Linux installation CD for an embedded system I am developping. I have a general question regarding this topic. I have made some automatic installs a while back using ...
0
votes
1answer
196 views

Change default priority for all shells

In a server I want all user processes to have 25 as default priority. My solution was to include the following config in /etc/profile if [ $USER != "root" ]; then renice 5 -p $PID $$ fi There ...
0
votes
2answers
328 views

How to install Tomcat to a nonstandard directory in Linux

Hey all -- apologies if this is a n00b question, I am a super n00b at Linux administration. So, I'm on Amazon EC2, using Amazon Linux, which I believe is Redhat-derived. I have an EBS volume mounted ...
3
votes
2answers
870 views

Linux (Ubuntu) environment variables, shells and security

I'm attempting to understand some concepts surrounding security and environment variables for a web application running under Apache on Ubuntu 10.04 Server. I have a few applications that I would ...
1
vote
2answers
488 views

Server monitoring tool for Nginx+Apache+wsgi+django

I'm running website on Ubuntu server with following chains: Web server - Nginx+Apache(worker)+mod_wsgi+django Background workers - celery, rabbitmq DBs - mysql, mongo I'm looking for a best ( and ...
2
votes
1answer
10k views

PPTP VPN Problem

I am using Debian OS with pptpd. My clients (both Windows and Mac) cannot complete the connection. The following shows in syslog: Jun 2 12:52:37 vpn pptpd[891]: MGR: Maximum of 6 connections ...
1
vote
2answers
72 views

Live updating running linux OS instance by unpacking disk image

I have couple of servers running off of an usb stick each. Servers are basically hypervizors. What I was thinking of doing is distributing binary updates in form of downloading system image and ...
0
votes
3answers
228 views

Finding an optimal balance of I/O, CPU, and RAM for MySQL

For a long time I’ve wanted to know how MySQL scales as you add more memory to the server.We looked for a balance between utilizing the hardware as much as possible, limiting the system complexity, ...
6
votes
3answers
5k views

Troubleshooting linux server reboots?

I have a Linux server I've just set up, debian squeeze, 2.6.32-5-amd64, and over the past week it's rebooted three times, twice in one day. There was no power outage that I am aware of (and it's ...
21
votes
7answers
21k views

Alternatives to Heartbeat, Pacemaker and CoroSync?

Are there any major alternatives for automatic failover on Linux besides the typical Heartbeat/Pacemaker/CoroSync combinations? In particular, I'm setting up failover on EC2 instances, which only ...
-1
votes
2answers
124 views

Adding More IPs to a Netcard on Linux

How do I add more IP addresses to a network card on Linux? Do I use the route command? It's Ubuntu Server 10.04 LTS.
0
votes
1answer
1k views

Unable to make outbound SNMP connections when IPTables is enabled

I have a bunch of windows servers configured with the windows SNMP agent. Each server has four IP addresses and SNMP listens on all of them. There is something very odd with my monitoring server ...
1
vote
2answers
227 views

Light SES2 drive failure light from Linux?

With a SES2 capable backplane and SAS card, is it possible to light the drive failure light on a specific bay from Linux? If so, how?
11
votes
2answers
27k views

What is rootfs?

I'm a longtime Fedora user and I've just installed FC15. The new partition layout is confusing to me, as I'm used to the "plain vanilla" partitions that previous versions used. [root@localhost ~]# df ...
1
vote
1answer
696 views

redirecting “tail --follow=name | grep” to a file

Here is my scenario: I have a log file that is being wrote too by an application. The log file is named "alarms.log". I want to tail the file for a certain string and redirect that to a file called ...
3
votes
1answer
189 views

Two asterisks in filename **/*

What does a file name like some_directory/**/* mean? It's a part of git's .gitignore file.
2
votes
1answer
273 views

multiple javaws instances using different proxy

I tend to work with javaws applications. I also have to set different proxies for them (for each javaws application). Up until today, I was using one application at a time, and manually changing ...
2
votes
1answer
163 views

Determine the current Rocks version

How do I find what Rocks version I'm running? I've tried: Looking on the Ganglia page uname -a Google so far, no luck
3
votes
2answers
458 views

Linux Server user copy

Is there a way to copy user list (with data and passwords) from one server to another. We have two servers and one of those is new. I need to create same users (that exist in /home/) and set same ...
1
vote
2answers
3k views

RAID bus controller: Intel Corporation 82801JIR (ICH10R) SATA RAID Controller

RAID bus controller: Intel Corporation 82801JIR (ICH10R) SATA RAID Controller Subsystem: Super Micro Computer Inc Unknown device 0007 Is any one know which Linux utility I can install on my ...
1
vote
2answers
282 views

Is there a limit for a logical line in /etc/aliases with linux

I want to set up a maillist consisting of several e-mail-addresses using an alias in /etc/aliases. Is there a known limitation here with regards to number of lines/chars/entries per alias? From what ...
1
vote
4answers
773 views

Free alternative to NI Real-Time Hypervisor?

Is there an free alternative to National Instruments' NI Real-Time Hypervisor? National Instruments provides both a Windows and Linux versions.
2
votes
3answers
1k views

Calculate highest time difference between log message in /var/log/messages

I need to calculate time difference between two log messages of /var/log/messages. As we know log messages prefixed by date & time , i want time difference between two log entries.
0
votes
2answers
405 views

find command to find php files but exclude a certain directory

How do I run a find command to find php files but I exclude a folder i.e. /usr/local/bin?
0
votes
1answer
150 views

have problem with iptables in the part of ssh

I have blocked all connection with iptables and allowed only the loopback: iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT iptables -P INPUT DROP iptables -P OUTPUT DROP iptables ...
1
vote
1answer
572 views

Linux network connections logging

I have linux (OpenSuse) testing server and I would like to have detail log about http and ftp connections (and maybie other TCP connections). Informations I'm interested in are IP address, transfer ...
27
votes
7answers
26k views

Amazon Linux vs. Ubuntu for Amazon EC2 [closed]

I'm setting up my first website on Amazon EC2, and I'm trying to decide which distro to use. I've used Redhat and CentOS in the past, but I have no bias towards any system, I just want to use whatever ...
3
votes
3answers
165 views

How to prevent unintentional Disk Usage from increasing?

df -ht shows that disk usage is increasing rapidly (250 MB per day or more): Filesystem Size Used Available Capacity Mounted on / 20G 14G 5.9G 71% ...
1
vote
1answer
6k views

Rescue disk is unable to see the lvm physical volumes

We have a system that is setup to have a redundant filesystem including the boot partitions. We are at a point now that the system does not boot properly on either boot partitions. When booting, it ...
5
votes
3answers
5k views

How to use Amazon EC2 command line interface?

I am trying to use the command line interface to get a description of an EC2 instance that I just setup. I connected to the server via ssh and ran the command ec2-describe-images ami-12345abc. ...
2
votes
2answers
5k views

How can I install PostgreSQL 9 on RHEL 6?

I am new to RHEL 6 but have a project where I need a postgres 9 database and I only have RHEL 6 available to me. How can I safely do this? Should I install from source or is there a package around ...
0
votes
1answer
1k views

What can go wrong with dmsetup suspend / resume?

I have a backup procedure for ec2 instances with lvm spanned volumes that does the following: 1) ssh to the box as root using an ssh forced command to dmsetup suspend the spanned volume. 2) take an ...
2
votes
1answer
5k views

Where is the gem command in RHEL6?

I just built RHEL 6 and I need to be able to install ruby gems, etc. I have the ruby 1.8.7 packages installed but there is no gem command anywhere? What gives?
4
votes
1answer
1k views

Using rsync to only delete extraneous files

What's the best way of comparing two directory structures and deleting extraneous files and directories in the target location? I have a small web photo gallery app that I'm developing. Users add ...