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

learn more… | top users | synonyms (3)

0
votes
1answer
898 views

iptables to throttle/slow down P2P

Is it possible to slow down/throttle P2P traffic using iptables. I am running IPtables on a Linux box which is a gateway to the intranet. Blocking P2P altogether seems to be rather difficult. So I ...
0
votes
2answers
675 views

what should be limit to use for IPTABLE rate limiting for a webserver

I see on my webserver some logs as follows 203.252.157.98 - :25:02 "GET //phpmyadmin/ HTTP/1.1" 404 393 "-" "Made by ZmEu @ WhiteHat Team - www.whitehat.ro" 203.252.157.98 - :25:03 "GET ...
1
vote
2answers
994 views

How to redirect logs from Cisco firewall to a specific file?

We need to redirect the logs from our Cisco firewall(SA520-K9) to syslogd server(it's a CentOS server). The settings are done on the firewall. But the messages from firewall are going to ...
0
votes
2answers
940 views

copy all *.mkv in subdirectories to parent directory

Roughly, I have a folder setup like this on a linux server: /show/season01/show01/shows01e01.mkv /show/season02/show01/shows02e01.mkv /show/season03/show01/shows03e01.mkv I want to eliminate the ...
3
votes
2answers
2k views

Fresh Red Hat Enterprise Linux fails to install httpd using yum

I'm trying to install a LAMP stack in a fresh red hat server but yum is misbehaving. Being linux illiterate I'm at a loss. $yum install httpd Loaded plugins: security Setting up Install Process No ...
3
votes
1answer
3k views

File does not exist: /htdocs

I just fired a new amazon ec2 instance and i followed these directions and i get this when i visit the site File does not exist: /htdocs also how do i get the elastic ip for this server because ...
1
vote
3answers
941 views

Find a process by name and kill it

So, I want to send a kill to a process, I know it's name ps -ef | grep '_rails master' root 2388 1 0 19:46 ? 00:00:04 unicorn_rails master -c /web/hero/config/unicorn.rb -E ...
0
votes
2answers
926 views

CentOS Vs Windows Server 2008

Apologies if the question appears ambiguous, I have little experience in this area and was after some informed opinions. I am deploying a test scenario of a server/client network and need to make ...
2
votes
2answers
199 views

Where can I find a really good guide for BIND9?

Hey there, I have installed a BIND9 server on my Linux server. But I was struggling to get it working as I searched for various websites to explain the different settings for BIND. Does anyone know ...
1
vote
2answers
2k views

Failed to start apache Can't open /etc/apache2/envvars

i have had this problem a couple of times now and i am not sure what is causing it Failed to start apache : .: 45: Can't open /etc/apache2/envvars when i look at a dir listing, i get these ...
1
vote
3answers
231 views

Simplest way to expose UNIX mailboxes via IMAP or POP3 on RHEL 5.6

We've got a web server running RedHat Enterprise Linux 5.6, and it has all the usual local UNIX mailboxes. As is typical, the root mailbox gets all the cron output, logwatch results, etc. I'd like an ...
0
votes
4answers
3k views

Why are my log in times taking so long in Linux?

In recent weeks, login times on my Ubuntu server have started timing out; both through SSH and the local command line console. Examination of the /var/log/auth.log files yields nothing interesting. ...
1
vote
1answer
1k views

mdadm --create: RUN_ARRAY failed: Invalid argument

I'm trying to set up a RAID1 array, like this: djc@miles dev $ sudo mdadm -v --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1 mdadm: Defaulting to version 1.2 metadata mdadm: ...
1
vote
1answer
247 views

chown/chgrp not effective (fedora, apache2)

I'm getting a 403 forbidden error when my webserver tries to load a file I created as 'root'. If I chown and chgrp it to the right user name, it doesn't help. It also does't help if I chmod 777 the ...
0
votes
2answers
681 views

Phantom process killing

I have a java application running on a CentOS 5.4 server. Randomly, and seemingly without cause, these processes will die, not through the application exiting, or due to my killing it, but due to ...
1
vote
2answers
1k views

Getting Pango-WARNING: Invalid UTF-8 string passed to pango_layout_set_text()

About three days ago, I noticed the exim mailqueue started filling up on one of my servers, and upon inspecting some of the emails using # exim -Mvb $ID, I noticed they were being sent to some system ...
0
votes
1answer
174 views

Is it possible to use an EMC SAN in iscsi without starting any Powerwhatever dæmon?

I can't seem to get my iscsi targets working without starting the PowerPath module, even though I don't actually use it. Is it at all possible? Edit: Precision, I'm not currently even using ...
3
votes
5answers
718 views

Linux + get the all information about the hardware from machine by tool or script

My Linux version Linux version 2.6.18-164.2.1.el5PAE Maybe some one have script (ksh,perl or bash etc) that can get all info from Linux system and display it. For example cards in the linux ...
0
votes
3answers
200 views

forkbomb protection

Is possible to protect from forkbomb? I do not want that user different from root can to kill my machine with a forkbomb
1
vote
1answer
702 views

Logparser for Linux (syslog) logs?

I'm looking for something like logparser on Windows. Requirements: simple tool, not engine like octopusy or sth, able to select on text in message part, start search in log from checkpoint on ...
0
votes
1answer
661 views

Copy files from a user account to another with PHP on VPS (Cpanel,WHM)

I need to create a script installer on a VPS with Cpanel api and WHM access (btw: hostgator), which will do the following: When user registers on my site - with my custom installer script), the script ...
2
votes
1answer
3k views

How to install PHP from source with latest cURL package on Linux?

I simply have to use the latest cURL version (7.21.3) with PHP on my webserver. (Has to do with specific bug fixes) It is not available by default on most current Linux variant repositories. (Natty ...
1
vote
3answers
336 views

How to log the actual output in apache?

I am doing LAMP development for a mobile platform. However, the client browser does not allow me to view the source code of visited pages. I consider the source code to be of huge importance for ...
11
votes
3answers
7k views

What does %st mean in top?

Here is an example from my top: Cpu(s): 6.0%us, 3.0%sy, 0.0%ni, 78.7%id, 0.0%wa, 0.0%hi, 0.3%si, 12.0%st I am trying to figure out the significance of the %st field. I read that it means ...
-1
votes
1answer
742 views

Confused by email messages from cron and logwatch

Actually I found these reports in server's mail queue. It repeats everyday i find 3 mails... 2 from Cron Daemon [cpbackup] Backups are not scheduled to run today (This can be adjusted in WHM => ...
1
vote
2answers
2k views

Permanently change DNS settings in Ubuntu Server

So I changed the nameserver in the /etc/resolv.conf to the DNS server I want to use, but whenever the server gets restarted for whatever reason, it reverts back to the default DNS server. How can I ...
0
votes
2answers
303 views

Slow write to LVM with snapshot

I use Ubuntu 10.04 Server. Write very slow, when I use LVM snaphot. This is normal?
1
vote
1answer
446 views

Windows 7 stopped connecting to samba share

I have a problem with Windows 7 Home connecting to samba on linux server. It's worked fine for a year and without any changes in configuration or updates it suddenly stopped working. The strangest ...
1
vote
4answers
637 views

CentOS 5, Debian 5, or Ubuntu 10? 32bit or 64 bit?

I'm setting up a PHP based website and some cron jobs for getting some external data, how do I pick what kind of server OS for my VPS?
5
votes
2answers
3k views

Should I be using LVM snapshots along with rsnapshot?

I manage a CentOS 4.8 server for a small workgroup. Last year I converted the filesystem to LVM over software RAID (RAID 1, two mirrored drives). I now have the following filesystems on LVM/RAID: ...
0
votes
4answers
2k views

mirroring linux server to external usb harddrive

My google-fu must be sucking. i havent been able to find a good solution for the following: numerous Linux server on commodity hardware Trying to do a recovery mirror copy to external harddrives ...
2
votes
2answers
2k views

How to find which HD controller module a running Linux system is using?

I have a problem with an HP ProLiant Microserver that won't boot with a Slackware 12 system using Linux 2.6.21.5 If I boot a recent version of System Rescue CD, the disk is recognized. So my ...
3
votes
1answer
2k views

Only allow a user to CHMOD and CHOWN in their home directory or a specified directory

I have a Windows user on my network who has Samba access to our linux development server. Occasionally permissions or ownership will become confused for reasons unknown and he will no longer be able ...
2
votes
3answers
232 views

Private Emails Between Computers In Network?

I have about a dozen computers connected in a network. All have Ubuntu 10.04 installed. Every computer is running unique processes, and sometimes I have the need to send a message from one computer ...
0
votes
1answer
721 views

RequestTracker on Ubuntu 10.10 server. Apache won't start

Having issues getting RT to run on Ubuntu. I followed the steps here but am running into a problem where apache doens't start after pasting in the following lines in the sites-available/default file. ...
0
votes
2answers
634 views

Xen P2V for large physical hosts with much free space

I need to P2V a rhel5 machine to xen under rhel5. I know I can use dd if=/dev/sda then using virt-install --import on the host, but the downside of this is the original machine has 80% free space on ...
2
votes
1answer
2k views

how do you pronounce centos? [closed]

What is the correct way to pronounce centos? I say centos as in sent-oh-ess. I hear other people say sent-ohss.
0
votes
1answer
369 views

Proper Linux environment for php5.3?

I use CentOS 5.5 64bits, and I'd strongly prefer running php5.3 there (please focus on this), but if you have a safe recipe to run it on another distribution, I'll take it into consideration. My ...
0
votes
4answers
2k views

Is it possible to create an SFTP drop box?

I have a Windows server with folders accessible via SFTP (server is running OpenSSH). scp is blocked. I would like to copy files from a Linux server to the Windows server. SFTP seems like a good ...
3
votes
3answers
2k views

Is there a way to determine if a SAMBA share has open files?

This is related to an effort to shutdown a seldom used server if there are no SSH connections or open files. How can I determine in a shell script (cron job on a Linux box) if any of the current ...
1
vote
1answer
240 views

How to remotely control Linux services like Jetty, MySQL etc from the comfort of my XP desktop?

I'm wondering if there is some sort of nice control panel app that I could run on XP that would show the current status of services that I'm running on my remote Linux server. You could, with a single ...
8
votes
1answer
2k views

Can I use dmraid instead of md (mdadm) to make software RAID-1 and RAID-1+0 volumes?

On a related question about SSDs and TRIM (see: Possible to get SSD TRIM (discard) working on ext4 + LVM + software RAID in Linux? ), it turns out that dmraid may now (or shortly) support TRIM on ...
3
votes
2answers
734 views

7z all files in directory, remove originals

I have some directories (linux machine) full of highly compressible *.foo files. Right now I just have a script that does gzip *.foo and it gzips each file into its own .gz file, and removes the ...
5
votes
2answers
2k views

Is it possible to convert striped logical volume to linear logical volume?

I've a logical volume that is striped across three physical volumes. I had to move this logical volume to another physical volume. This worked nicely with pvmove command. However, I discovered later ...
2
votes
1answer
3k views

Warning flagged by the 'rkhunter'

when I scanned my Ubuntu 10.04 with rkhunter a root kit hunter toolkit, it gave following warning: Is there something that I have to worry about. [23:06:19] /usr/sbin/adduser ...
4
votes
3answers
2k views

Dead gateway detection on linux

I have to setup dead gateway detection on a linux box with three network interfaces. The only guides I have found so far on the topic imply patching the kernel, which we are not very keen to do. Is ...
0
votes
1answer
117 views

Put a website online through a Linux Suse 10.0 Server

I want to put a website online. I worked it on a localhost basis, through my, and only mine, computer and wish to move it to a Linux 10.0 Server. Can anybody give me the directions to successfuly put ...
1
vote
2answers
188 views

interactively watch other users action on server

im having some server issues and called for support. i would like to be able to view the support persons action on the terminal in real time from a different location. possible?
1
vote
4answers
932 views

Jail Linux user to directory for FTP login

I'm planning on using vsftpd to act as a secure ftp server, but I am having difficulty controlling the linux users that will be used as ftp logins. The users are required to be "jailed" into a ...
3
votes
3answers
827 views

How to recover this Linux partition?

I have this netbook, where the partition table looks like this ~$ fdisk netbook.dd Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite) Command (m for help): p Disk ...