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

learn more… | top users | synonyms (1)

6
votes
2answers
2k views

ec2 rebooted my instance?

I found out that my CentOS 5 server on EC2 was rebooted, without my command to do so. I did not even log in on the day it was rebooted. When I look at 'last' in linux, it says: jeroen pts/0 ...
1
vote
1answer
677 views

Version-control of configuration files with different home names?

I have recently decided to use a version-control system to share my configuration files between my different linux installs. After reading another thread I found on this subject, I'm planning to do ...
1
vote
1answer
1k views

Packet loss between Broadcom NetXreme NIC's on different hosts

I've got any interesting problem where I am getting packet loss between multiple servers in the same network. This is happening to about 15 hosts but I'll condense it to just three below. Firstly ...
1
vote
4answers
5k views

how to copy & gzip files individually over ssh

I'd like to transfer a directory with uncompressed files over using ssh, gzip'ing them individually along the way. Can anyone recommend a simple oneliner to achieve this? eg. fileA.ext -> ssh/pipe ...
1
vote
1answer
380 views

Unable to connect to cassandra when using the AllowAllAuthenticator

I installed cassandra on a VM running Ubuntu Server 10.10. cassandra login failure with org.apache.cassandra.auth.AllowAllAuthenticator but I always receive the following error message: Login ...
0
votes
1answer
432 views

Powerdns not using packetcache

I'm setting up a new PowerDNS server version 2.9.22 running on Debian Lenny in a Xen instance, and for some reason it is reporting that the packetcache size is 0 when I run a /etc/init.d/pdns dump: ...
2
votes
2answers
568 views

nfs file access statistics

For a Linux NFSv3 server, is there any way to see statistics on actual file access? In other words, I would like to see a timestamped log of every file read or written. Motivation: I have several ...
0
votes
3answers
208 views

How to transfer differences between local and remote directory using a disk

I have several large directories containing hundreds of GB of files that I'd like to keep synchronized between home at work. Rsync is the obvious choice for transferring new files (both machines are ...
0
votes
1answer
1k views

Missing Ram, memory leak?

I'm running OpenSuse 11 on an HP proliant server with 8G of RAM, occasionally the gnome desktop [whatever is current version] After a while it will just run out of RAM, there will be like 6 or 700k ...
2
votes
5answers
2k views

How make multiple directories appear as one to a user on linux?

I have three directories on a linux (Red Hat) system. Say /usr/local/one, /usr/local/two, and /usr/local/three. I would like to have a mechanism which behaves like a directory which combines the ...
0
votes
2answers
243 views

Moving/Adding Additional Swap Location - Redhat 5

OK, here's what's going on. I've got a RedHat 5 server with a swap partition (/dev/sda3) that's 3GB. For some reason swap memory is still being taken up on / (/dev/sda2), and fills up the drive on ...
1
vote
4answers
36 views

simple question about apache serv in linux

i installed the apache, php and mysql. It is initialized and works in the browser - simple file with "it works!". But now, where is the folder www? i can't find it.
6
votes
3answers
3k views

How to completely disable IPv4 stack from Linux?

How can I disable IPv4 stack from Linux ? I want to do that dynamically, ie. sometimes I want it enabled and sometimes I want only IPv6 stack. Is there any portable way to do that ? If you know how to ...
1
vote
1answer
4k views

How to debug troubles with unix domain sockets?

Ubuntu Server 10.04.2 $ uname -a Linux my.local 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux It seems that my domain socket queue is overflowing, but I can't ...
5
votes
3answers
1k views

Server System drive on a USB stick? Good? Bad?

This is a follow up to this question. I am assembling a storage server with 14 SATA drives. I don't want to "waste" a drive for the OS system, so I thought I could isntall and run the OS from a USB ...
1
vote
3answers
200 views

Remove all files not working with “*”

I want to remove all files and folders in folder /home/user I'm using command rm -rf /home/user/* without success, next I tried: cd /home/user;rm -rf * Which gives the following output rm: ...
1
vote
1answer
84 views

$* vs $@ positional variable in linux

What is difference between $* and $@ positional variable in linux. I read somewhere using $* is is security risk. Is it true.
2
votes
1answer
279 views

How to create maildir with unix script?

I want to create maildirs with unix script, so question is how to create directory like in this example: example.com/j/o/h/john-2011.04.07.09.35.49/ if i have only three arguments - mailserver ...
1
vote
2answers
382 views

Can you suggest a guide for setting up linux VPS for web application

I'm wondering if you might be able to recommend an online guide, or alternately a book, that can help walk me through the steps of setting up a Linux VPS from scratch without a cPanel. In particular ...
1
vote
1answer
712 views

Samba and Windows Computer Account Passwords

Is there a way to make a samba client participating in an Active Directory environment change its computer account password in the domain on a regular basis? (More information about computer account ...
2
votes
2answers
1k views

iptables forward port from ext network to the int

I have 2 ip addresses on iface eth0: eth0 Link encap:Ethernet HWaddr 00:19:99:a4:14:08 inet addr:85.25.152.115 Bcast:85.25.152.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
1answer
2k views

iptables v1.4.10: can't initialize iptables table `NAT': Table does not exist

xxx:~# iptables -t NAT -A PREROUTING -d xxx.xxx.xxx.xxx -j DNAT --to-destination 10.0.1.2 WARNING: All config files need .conf: /etc/modprobe.d/bad_list, it will be ignored in a future release. ...
1
vote
3answers
873 views

.htaccess and linux permissions

I have some inherited php code that I'm attempting to secure. However, removing execute permissions from the file upload directory throws a permissions error. Here's a quick rundown: apache points ...
1
vote
1answer
423 views

raid1 DegradedArray event

I am new to raid, and set up a software RAID1 with two sata disk a month ago. I didn't check the status, but tested by unplugging one of the drives and verifying the system worked normally. Today, I ...
0
votes
1answer
48 views

Use existing server as DNS/Forwarder to another

I have a VPS which is host several sites on and my clients domain's point their A record to my servers IP address. I now want to move the sites on to a different server in a different part of the ...
0
votes
1answer
82 views

UK Service provider w/ dynamic IP Allocation

Can anyone recommend an ISP in the UK that allows for dynamic shifting of IP's across servers? Basically, I've been working on a test project (as possibly easy to tell from my previous posts) with ...
0
votes
1answer
1k views

Which certification after CCNA?

I'm an undergraduate student studying Computer Networks. As the title says I passed my CCNA exam last summer and I am trying to decide if taking another exam before graduation (probably during the ...
0
votes
3answers
331 views

Server with only private IP has no Internet access

I have two servers (VPS at Linode) of which one (db) has only one static private IP, so I need to access it via the other one (web). Now that works fine, but I discovered that I cannot access anything ...
1
vote
4answers
1k views

How can I type php instead of /usr/local/php5/bin/php?

Now I have to type /usr/local/php5/bin/php to run php, is there a way so that I just type php and it's run?
0
votes
2answers
2k views

Linux is not sending arp request

We have a local network that is connected to internet through linux gateway. There are about 50 workstations in LAN. We recently started observing a problem that gateway sporadically stops responding ...
1
vote
1answer
3k views

Linux Gateway: One network card how to masquerade from one subnet to another

Good morning one and all. In our network we have a single Linux machine that has aliased IP addresses. Each of these IP addresses sit on a network controlled by a remote router to an ISP. We want ...
1
vote
2answers
246 views

linux centos root crontab will not run

I added the following using "crontab -e": * 6 * * * rsync -arthv /content/ 192.168.1.1:/content > /tmp/db_rsync.log 2>&1 when I do crontab -l I see the line. am I missing something? ...
0
votes
2answers
349 views

SSH one way but reverse hangs

I have a peculiar situation where i can ssh into server1 from server2 but cannot ssh into server2 from server1. /etc/hosts is fine as it has all the correct IP's but ssh with the ip-s also hangs. ...
0
votes
1answer
40 views

dynamic domain name setup

i want to create a dynamic subdomain i have done this CNAME *.domainname.com 14440 in <IP> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.domains\.com$ [NC] ...
1
vote
1answer
770 views

Problem moving zimbra to a new disk

I've a Zimbra Release 6.0.8_GA_2661.DEBIAN5 DEBIAN5 FOSS edition installed on a Debian 5.0. My main disk was running low on space, so I've mounted an additional disk, shutted down zimbra, rsync-ed ...
1
vote
1answer
5k views

Linux nfs4 permission problem with owner and group

I have shared directory from NFS server, after mounting the particular directory in NFS client, the directory's user and group shows drwxr-xr-x 20 nfsnobody nfsnobody 4096 Apr 5 04:30 webapps I ...
0
votes
2answers
6k views

How to cron run every 1 hour on ubuntu 9+? [duplicate]

How to start a script using cron every hour?
0
votes
1answer
269 views

Prevent dot-release upgrade of RHEL while still patching flaws

I am running RHEL 5.4, and cannot update to 5.5 or 5.6 because of a restriction by the vendor of a software package I need to run on the server. However, it seems that most of the tools that manage ...
1
vote
4answers
248 views

Internet speed in Linux via command

I am running several sites and I was trying wget and I noticed slow speed. So I suspect that my sites are taking considerable amount of traffic. Question is, how I can really detect the total ...
0
votes
4answers
3k views

Hung Java JVM failing to respond to kill -3

I have a Java VM that is hanging "randomly". I quote the randomly bit, because there is obviously a reason that the VM is hanging, but the hang does not occur periodically. We have the same software ...
0
votes
1answer
3k views

Autostart SSH after reboot

I've installed a debian (6.0) on a server. It currently has SSH installed so I can connect from a remote host. The problem is that when I restart it, it shows the screen to log a user in, and can't ...
2
votes
4answers
2k views

Determine the wireless network name from command-line in Linux

I use my personal laptop at both home and work and in both cases I mount nfs shares. I would like to automate the mounting of these shares as they are done every time I turn the laptop on. I can't ...
0
votes
5answers
192 views

PHP problem / Server unstable

I'm using the PHP script Openx to run ad campaigns. We started getting more traffic and the server sometimes becomes unstable. When I check top command I see how httpd and PHP is running and then for ...
7
votes
4answers
3k views

Prevent the console from clearing the screen?

When booting into Linux, there are sometimes one or two lines that get quickly cleared. I think that some of them don't even appear in dmesg. If nothing else, I want to suppress the clear before the ...
4
votes
7answers
2k views

Detecting restart since last run in a shell script on Linux?

What's the best way to tell from a shell script if the host has restarted since the last time the script was run? I can think of storing the uptime in a file on each run, and checking if it has ...
0
votes
2answers
271 views

Best free network monitoring solution for Linux [duplicate]

Possible Duplicate: What tool do you use to monitor your servers? Hi, I'm a bit of a nooby with Linux, and I managed to set up my Ubuntu machine with Webmin and Virtualmin. Now, I'd like ...
0
votes
1answer
2k views

How do I test HTTP Pipelinning?

I am trying to test if site/server/whatever has ability to pipeline HTTP request. So far, I think it is possible to send several request through one curl session, like: curl ...
2
votes
2answers
4k views

shutting down tomcat process smoothly in Linux

This has been bugging me for a while. In my JSF development cycle, I do a lot of tomcat reload and sometimes to the point of restarting tomcat. I notice that at times, shutting down tomcat using ...
0
votes
1answer
312 views

Use of kcore file in centos

I have this kcore file in /proc/ folder. Can I remove it? # ls -l /proc/kcore -r-------- 1 root root 5368713216 Apr 5 09:01 /proc/kcore What is it used for? (using CentOS)
6
votes
1answer
3k views

Is remounting same file system with different options disruptive for current operations?

I want to remount a file system with optimized options (noatime,nobarrier,etc.) on SLES11. I was going to do it by updating /etc/fstab first and then do something like mount -o remount /srv/share. The ...