Most Popular

1500 questions
43
votes
2 answers

Understanding a Postfix log file entry

We have a Postfix hub and I'm trying to better understand the information in the mail.log file. I use tools like qshape, pflogsumm.pl and amavis-logwatch to summarize the log files, but I have still have questions about some of the elements of the…
KodeTitan
  • 871
  • 2
  • 9
  • 15
43
votes
3 answers

How do I clear the "s" permission on a directory in Linux?

I have a directory that is showing up with the permission mask drwsrwsr-x. When I try to reset the permissions to 755 the S still remains. What is the "s" and why cant I change the permissions back to 775 (drwxrwxr-x)?
Matt Elhotiby
  • 879
  • 3
  • 10
  • 22
43
votes
6 answers

How do I access a local web server on my laptop from another computer?

I have an app running on my computer at 127.0.0.1:3000 I would like to access that app from an iPhone connected to the same network. I have done this before but blanking out on how I did it. Any ideas?
Tony
  • 1,241
  • 4
  • 17
  • 21
43
votes
3 answers

Export and import a PostgreSQL database with a different name?

Is there a way to export a PostgreSQL database and later import it with another name? I'm using PostgreSQL with Rails and I often export the data from production, where the database is called blah_production and import it on development or staging…
Pablo
  • 7,249
  • 25
  • 68
  • 83
43
votes
3 answers

What's best practice for communication between Amazon EC2 instances?

I've been setting up Amazon EC2 instances for an upcoming project. They are all micro instances, running Ubuntu Server 64bit. Here's what I've setup so far: Web Server -- Apache Database Server -- MySQL Development Server -- Apache & MySQL File…
ks78
  • 839
  • 2
  • 10
  • 20
43
votes
2 answers

Difference between and Apache directives

I have Zend Server installed and noticed something like the following was added to my httpd.conf file: Order Allow,Deny Allow from 127.0.0.1 Alias /ZendServer "C:\Program…
rfgamaral
  • 940
  • 2
  • 11
  • 18
43
votes
7 answers

How can you know what is w3wp.exe doing? (or how to diagnose a performance problem)

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it. The short description is: We have a very small site (http://hearablog.com) with very little traffic, in a crappy dedicated server, CPU is…
Daniel Magliola
  • 1,402
  • 9
  • 20
  • 33
43
votes
6 answers

Postfix: Recipient address rejected: User unknown in local recipient table

When I try to send an email on my postfix server to an address on the same domain (for example, if the server hostname is mail.example.com and I try to send an email to test@example.com), I get the following error in the log and the email is not…
Tai Squared
  • 589
  • 1
  • 8
  • 10
43
votes
10 answers

keyboard shortcut to quit 'telnet'

on Windows XP/server 2003 When telnet some remote host on a specified port, after connection established, sometimes press ctrl+] doesn't quit. Is there any command can quit instead of just close the command line window? Thanks. EDIT: But sometimes…
Stan
  • 1,367
  • 6
  • 24
  • 40
43
votes
11 answers

How to monitor and log the memory/cpu usage of processes over time?

I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache). I'm already using cacti and I can set up nagios (though would rather not) or munin but as far…
Artem Russakovskii
  • 973
  • 3
  • 11
  • 25
43
votes
6 answers

Listing available smb shares on a network through the command line in linux

I was wondering if there is a way of listing all the smb servers on a local network (like looking at a network neighborhood in windows) via the command line in fedora.
jcb344
  • 643
  • 2
  • 7
  • 8
43
votes
17 answers

What network file sharing protocol has the best performance and reliability?

We have a setup with a few web servers being load-balanced. We want to have some sort of network shared storage that all of the web servers can access. It will be used as a place to store files uploaded by users. Everything is running Linux. Should…
Apreche
  • 1,405
  • 4
  • 17
  • 20
43
votes
5 answers

Nginx vs Apache as reverse proxy, which one to choose

this kind of question maybe has been asked here but I couldn't find any that really match my question. Heard that nginx performance is quite impressive, but Apache has more docs, community(read:expert) to get help Now what I want to know, how both…
mhd
  • 593
  • 1
  • 5
  • 8
43
votes
6 answers

How do I permanently disable Linux's console screen saver, system-wide?

I've got an Ubuntu server that boots up in text mode. It rarely has a screen or keyboard attached to it, but when I do attach a screen, I usually have to attach a keyboard too, because the darn console mode screen saver will be on and I'll need to…
raldi
  • 987
  • 4
  • 11
  • 13
43
votes
6 answers

Rsync daemon: is it really useful?

Are there any practical benefits in using rsyncd compared to rsync over ssh? Does it really increase speed, stability, anything?
kolypto
  • 10,738
  • 12
  • 51
  • 66