Most Popular
1500 questions
45
votes
5 answers
Rsync command issues, owner and group permissions doesn´t change
I´m trying to set owner and group via rsync and it doesn't seem to be working.
This is the command:
sudo rsync -rlptDvz --owner=cmsseren --group=cmsseren /home/serena/public_html/ -e ssh root@ip:/home/cmsseren/public_html2/
The files sync correctly…

Arnoldo Bazaldua
- 549
- 1
- 4
- 5
45
votes
4 answers
Create new vsftpd user and lock to (specify) home / login directory
I need to periodically give temporary and limited access to various directories on a CentOS linux server that has vsftp installed.
I've created a user using useradd [user_name] and given them a password using passwd [password].
I've created a…

zigojacko
- 1,453
- 2
- 12
- 25
45
votes
8 answers
How to enable SSH X11 forwarding through additional server?
I have hosts A,B and C. From host A I can access through ssh only B. From B I can access C.
I want to be able to run X11 programs on C and forward display to A.
I tried this:
A$ ssh -X B
B$ ssh -X C
C$ xclock
Error: Can't open display:
But it…

lexsys
- 2,913
- 6
- 31
- 34
45
votes
11 answers
Does an unplugged hard drive used for data archival deteriorate?
If I were to archive data on a hard drive, unplug it, and set it on a (not dusty, temperature-controlled) shelf somewhere, would that drive deteriorate much?
How does the data retention of an unplugged hard drive compare to tapes?

Jim Hunziker
- 1,852
- 4
- 17
- 18
45
votes
4 answers
What is the ibdata1 file in my /var/lib/mysql directory?
Logging in to my Webmin control panel, I noticed that virtually all of my disk space is full. I searched for the ten largest files/ directories on my system and found that a file called ibdata1 is taking up around 94GB of space. It resides in my…

James
- 623
- 2
- 6
- 13
45
votes
1 answer
HP ProLiant DL360 G7 hangs at "Power and Thermal Calibration" screen
I have a new HP ProLiant DL360 G7 system that is exhibiting a difficult-to-reproduce issue. The server randomly hangs at the "Power and Thermal Calibration in Progress..." screen during the POST process. This typically follows a warm-boot/reboot…

ewwhite
- 197,159
- 92
- 443
- 809
45
votes
3 answers
Why is Linux reporting "free" memory strangely?
This is a canonical question about how Unix operating systems report memory usage.
Similar Questions:
Server refuses to use swap partition
Memory Usage in LINUX
I have production server that is running Debian 6.0.6 Squeeze
#uname -a
Linux…
user135199
45
votes
5 answers
Is there a linux terminal command that lets you see the amount of data coming in to your tcp connections in real time?
It would be something similar to top, where you see your cpu processes in real time. I'm not looking for a GUI like Wireshark to do it.

user342580
- 561
- 4
- 5
45
votes
9 answers
su not working on mac os x?
I get this:
Macintosh:8.4 TAmoyal$ su
Password:
su: Sorry
Macintosh:8.4 TAmoyal$
I typed in the password I use for sudo. Why won't this work?
Thanks!

Tony
- 4,213
- 11
- 35
- 29
45
votes
5 answers
How do I make uWSGI restart when a Python script is modified?
Can't remember where, but I read uWSGI can reload itself like Django development server when a project script is modified. I can't find that in the docs, nor in the internets. How can I do this?
I use Ubuntu 12.04 on my working machines and Debian…

culebrón
- 565
- 1
- 4
- 7
45
votes
1 answer
mount: unknown filesystem type 'linux_raid_member'
I have Suse Linux 12.1 and
i am trying to mount a single RAID 1 disk, to explore the files in it. However when mounting it:
# mount /dev/sdc1 /mnt/test
mount: unknown filesystem type 'linux_raid_member'
I started reading around and many…

user1092608
- 749
- 2
- 7
- 12
45
votes
17 answers
What good system administrator podcasts are out there?
The similar question on Stack Overflow,
What good technology podcasts are out there?, has lots of answers focused on software development.
What podcasts do you listen to for learning about the following?
Information technology trends
Network…

Zoredache
- 130,897
- 41
- 276
- 420
45
votes
8 answers
ls hangs for a certain directory
There is a particular directory (/var/www), that when I run ls (with or without some options), the command hangs and never completes. There is only about 10-15 files and directories in /var/www. Mostly just text files. Here is some investigative…

Jake Wilson
- 8,814
- 29
- 97
- 125
45
votes
6 answers
How do you set a locale non-interactively on Debian/Ubuntu?
Usually, I run aptitude -y install locales then dpkg-reconfigure locales to set up locale.
Now I want to put it into a shell script, how can I reliably do the following, automatically / non-interactively?
Choose en_US.UTF-8 and set it as system…

kenn
- 665
- 1
- 6
- 10
45
votes
2 answers
Effects of configuring vm.overcommit_memory
My VPS web server running on CentOS 5.4 (Linux kernel 2.6.16.33-xenU) irregularly (like once a month give or take a few weeks) becomes unresponsive due to oom-killer kicking in. Monitoring of the server shows that it doesn't normally run out of…

dunxd
- 9,632
- 22
- 81
- 118