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

learn more… | top users | synonyms (3)

2
votes
4answers
323 views

Unauthorized SSH coming from my linux server

My ISP has contacted me stating that unauthorized attacks are coming from my LAMP server. Here is part of the log they have attached: 15:26:16.821245 IP My.Ip.is.here.59987 > ...
0
votes
2answers
200 views

Can't find the 2nd CPU

Linux, Ubuntu 10.04.1 LTS I have a (quite old) server (Dell PowerEdge 1650) with two CPUs. I have used it for over a year without any problems. One week ago the server crashed, I was unable to find ...
5
votes
1answer
1k views

Installing a php extension (xdiff) from pecl on Linux

I was getting this error on my php script: Fatal error: Call to undefined function xdiff_file_diff() I realised that I didn't had the xdiff extension installed. When I tried to install it using the ...
1
vote
3answers
336 views

Run php in background

I connect to a dedicated server with SSH. Next I'm trying to execute in php -d max_execution_time[=0] -f index.php . How can I close (even shut down) my local machine, but my php script on remote ...
0
votes
1answer
1k views

Procmail lock failures and errors while writing

I'm setting up a mail server on an embedded linux system. When sending mail to a local user I get the following error from procmail: procmail: Lock failure on "/home/mail/ktos/.mailspool.lock" ...
2
votes
1answer
685 views

how to rotate console.log in every day…? [duplicate]

Possible Duplicate: Script to delete files older than 30days My hard disk suddenly became full and I searched around until I finally discovered that a "console.log.9" file buried in ...
1
vote
3answers
2k views

Where is the inode number stored?

I know that the filename is stored in directories and not in inode. Kindly tell me where the inode number of a file is stored? Is it stored in the directory file?
4
votes
5answers
2k views

Script to delete files older than 30days

Shell script should not delete any files under* root dir*. My* path will be like /export/home/ftp/ ... I did some research and figured out the way for finding and deleting the files older than 30 ...
1
vote
1answer
428 views

vmware esxi linux guest optimization

I'm currently experiencing a problem whereby load on one guest is adversely affecting load on other guests located on the same host. What I'm curious about is what best practices are there for ...
15
votes
1answer
17k views

Determining which process is causing heavy disk I/O?

I've seen this question: How to identify heavy write to disk? And I've used dstat and atop before...but they don't seem to pinpoint what process is causing disk I/O. For example, from dstat: dstat ...
2
votes
2answers
3k views

Cannot mount a CIFS network share on Ubuntu

I am trying to connect to Windows Server 2008 network share on Ubuntu, but for some reason it is not working. I have the following entries in my fstab: //server/foo /mnt/foo cifs ...
3
votes
2answers
3k views

2,000 system interrupts per second: cause for concern?

OS: CentOS 5.5 64-bit Software: Postgresql Hardware: Sun X4200; dual-core AMD Opteron 1Ghz (x4); 8GB RAM; LSILogic raid controller + 2x146GB 10k drives. Running net-snmp and using Traverse to ...
2
votes
4answers
1k views

high iostat load on linux

atop: DSK | cciss/c0d0 | busy 87% | read 24193e4 | write 4076e4 | KiB/r 26 | KiB/w 77 | MBr/s 7.61 | MBw/s 3.78 | avq 6.07 | avio 2.49 ms | iostat Device: tps ...
1
vote
2answers
177 views

How many server does this kind of website needs [duplicate]

I am planning to run a website that host big files (around 200mb total is 2TB of files), I want to run a website that support multiple user downloading such file, I estimate there will be 100 user ...
0
votes
0answers
97 views

How many server does this kind of website needs

I am planning to run a website that host big files (around 200mb total is 2TB of files), I want to run a website that support multiple user downloading such file, I estimate there will be 100 user ...
13
votes
9answers
28k views

Linux (mv or cp) specific files from a text list of files?

I have a directory of many files, something like 50,000 pdf's and other files on a server. I need to move specific ones to another directory. I can generate a list of the files that need to be moved ...
6
votes
5answers
3k views

How to measure disk throughput?

I want to know how many bytes per second can I write to the disk and read from it. How can I do that on linux machine?
0
votes
1answer
607 views

Linux FTP folder permissions issue

I am having a continuing issue with Linux regarding the setup of FTP permissions. I am using vsftp and fedora 13, I have two users userA and userB I have set the folder permissions to ftp:ftp and 644. ...
2
votes
4answers
428 views

KVM or Virtualbox for development?

I have to port some Linux applications to Windows. For that purpose I want to install Windows in a virtual environment. Which one would you recommend, KVM or Virtualbox? Configuration is not a ...
0
votes
1answer
138 views

Munin graph shows 3 Upgradable security packages (red alert) but apt does not install them

I'm using this munin plugin : http://exchange.munin-monitoring.org/plugins/apt_ubuntu/details The server is an ubuntu 10.04 up to date. So.. This is my munin server, which on its own munin graph ...
1
vote
1answer
333 views

exim4 issue with MX records

I have a Debian machine running Exim4. However, when checking the Exim log, I noticed this issue when mailing my own domain: 2010-12-14 09:20:01 1PSQ77-0005mG-9w ** root@domain.com: all relevant MX ...
0
votes
1answer
383 views

how to add linux computer to windows network

i need to add a linux to a network, and assign it a hostname in active directory. any clues on how to do that? i know how to set things up on the windows box, but not how to give it a recognizable ...
2
votes
1answer
98 views

Can domains on the same server have dedicated SSL certificates and common files?

I currently run a number of domains on the same VPS with a managed provider. Each domain would require their own dedicated SSL certificate for ecommerce security, and also require access to a bunch of ...
1
vote
3answers
262 views

Stopping PHP ability to read/write other PHP files

I host a very small hosting site that hosts a type of chat software. I give each user a /home/ jailed ftp but they have their own www folder they can upload things to. One of my users uploaded this ...
58
votes
5answers
7k views

Tips for Securing a LAMP Server

This is a Canonical Question about Securing a LAMP stack What are the absolute guidelines for securing a LAMP server?
1
vote
2answers
801 views

Microsoft Hyper-V Server with Linux Guest (Ubuntu 10.04)

I am running Microsoft Hyper-V Server 2008 R2 and have 2 Linux guests running. I have noticed that if I increase the number of processors that are available to the Linux guest networking doesn't seem ...
1
vote
1answer
117 views

question on yum

Ill give an example on the problem that I am having. I have a package, lets name is pack ver. 1 currently on the yum server, then I put an updated one "pack ver. 2", after reindexing the yum server, ...
1
vote
2answers
575 views

How do I delete a directory that has many subdirectories?

I have a directory with many subdirectories. I tried doing rm -rf mydirectory but it was still running after 1 hour. I have tried getting the number of subdirectories with ls -l . | egrep -c ...
0
votes
1answer
372 views

watchdog daemon file change interval?

I'm trying to setup the watchdog daemon to run on my Fedora 12 system. I know exactly what I want it to do ... but I'm unsure as to exactly configure it. Mainly due to inexact documentation. What I ...
1
vote
1answer
372 views

linux command line to access another linux machine

how is it possible to access one linux machine thru another. Following is the need 1) check if a linux machine say ab-080 exists or not. 2) if exists, then clean a directory. /tmp ( this can be done ...
1
vote
1answer
353 views

Linux dummy here. How can I get this script to backup Linux to Windows on a schedule?

I found this link: http://bash.cyberciti.biz/backup/backup-directories-from-linux-to-windows-server/ And that looks like what I need...but I'm a complete noob to Linux and don't want to screw ...
3
votes
2answers
2k views

Is it possible to use proxy-arp back to the same interface?

I have a WiFi Access Point connected to a Linux Router. The Router is itself connected to the Internet. For multiple reasons (mostly to control security and quality of service), I want to force all ...
1
vote
2answers
185 views

Server monitoring software [duplicate]

Possible Duplicate: What tool do you use to monitor your servers? Can you tell which monitoring software runs on your linux boxes? I know about Zabbix in my opinion looks quite well, but ...
3
votes
1answer
144 views

send interrupt to window in screen

How can I send a interrupt to a window within screen. I have screen running with several windows. Each of the windows have processes running within them. I wish to be able to send and interrupt to ...
1
vote
1answer
115 views

Linux gateway issue

I have a virtual machine running on a public ip (eth0) and an internal IP (eth1/192.168.22.50). From my place (192.168.110.x), I VPN to that network. The problem is that I am unable to access any ...
2
votes
4answers
1k views

How to periodically collect hardware performance counters in linux?

I'm trying to monitor various hardware performance counters of a running system, however it seems that current PMC tool e.g. oprofile or perf tool can only record counters after the program finished, ...
1
vote
3answers
2k views

what's wrong with my ufw configuration on Ubuntu server?

I've setup the ufw firewall for my Ubuntu server on linode as follows: Note that this is in the Lish terminal, unfortunately as soon as I turn on the ufw, I cannot: view my test website via port ...
1
vote
1answer
50 views

Mail mirroring / monitoring in Linux

As one of my client asked to monitor corporate emails (from and to), I needed a solution. I find a Windows based solution (Hmailserver) which allows mirroring of emails to a specified address. But as ...
2
votes
1answer
722 views

How do i do IP address translation with iptables?

I need to create a route in iptables which allows to use my second IP address as source(not default one) when i connect to an external FTP server. How do i create that route for iptables? i am not ...
6
votes
2answers
4k views

Running phpmyadmin and suphp

I have a Debian Lenny web server. It is running apache2 with libapache2-mod-suphp. Unfortunately, suphp makes impossible to use phpmyadmin, as phpmyadmin is installed in /usr/share/phpmyadmin and ...
7
votes
3answers
29k views

How to find RAID configuration/level and RPM speed having only remote access to the server?

Having only remote access (no physical access), to a server (that is SSH), how do I (or may be is it possible): find out whether it is RAID configured or not? If it is RAID configured, whether it ...
0
votes
3answers
2k views

Error 118 (net::ERR_CONNECTION_TIMED_OUT): The operation timed out

This morning when I'm about to browsing using google chrome in Ubuntu Linux 10.04.1, I got this error message: Error 118 (net::ERR_CONNECTION_TIMED_OUT): The operation timed out. The network have ...
0
votes
3answers
622 views

Yum - testing if something is installed and then using that from a Bash script

Is there a good way to use Yum to test if something is installed (true of false) and then use that answer in a Bash script?
0
votes
3answers
1k views

Per-IP bandwidth monitoring and trafic shaping solution for 100Mb network

I have about 30 servers connecting into a Cisco 3500 series switch, with 100M upstream bandwidth. Periodically, one or more of my servers will do a large file transfer which will completely saturate ...
2
votes
1answer
1k views

What is the most efficient way to handle /tmp and disk quotas on Linux

I'm running a VPS with a webserver (Apache+PHP), a database (MySQL) and smtp server (Exim). OS: Debian Lenny. RAM: 512MB. Using (quota](http://packages.debian.org/lenny/quota). At the moment, I've ...
2
votes
2answers
398 views

Using linux server as router for network

I would like to setup my Debian Lenny server as a router for my home network using iptables, but so far have been unsuccessful. Below is a diagram of the desired network architecture INTERNET - ...
5
votes
3answers
4k views

chmod all files (including hidden files) in a directory in Linux (not recursively)

Yesterday I did something stupid which I today realised. I ran: /root# chmod o-rwx * .* This supposed to remove read, write and execute permissions for the world on all files in the current ...
1
vote
1answer
830 views

How to secure a a Linux user account so only SSH tunneling is possible? [duplicate]

Possible Duplicate: ssh tunneling only access I'm thinking about using TightVNC's java client to allow customers to access a virtual server. TightVNC supports tunneling the connection using ...
4
votes
2answers
505 views

Doing NAT with multiple uplinks on Linux

Currently, I have 3 NICs on a server, 1 connects to a adsl modem(eth0), another connects to a optical fiber(ppp0) and the other to a LAN(eth2). I've set up all the interfaces, routes and rules as ...
0
votes
1answer
125 views

Allow 'mail' to read postfix-virtual created accounts?

With my setup all my mail goes into /home/vmail/(site.com)/(username)/new/ Of course this is great, but the "mail" command only reads it if its in /home/vmail/new, how do I read mail with the 'mail' ...