Most Popular

1500 questions
67
votes
3 answers

What does [::] mean as an ip address? Bracket colon colon bracket

When I run netstat there are some entries such as TCP [::]:8010 computername LISTENING What does that mean? It is impossible to search for...
carpat
  • 1,035
  • 2
  • 8
  • 14
67
votes
2 answers

Why does Heroku warn against "naked" domain names?

I ran across this page in the Heroku docs... Naked domains, also called bare or apex domains, are configured in DNS via A-records and have serious availability implications when used in highly available environments such as massive on-premise…
Agvorth
  • 2,459
  • 4
  • 29
  • 29
67
votes
2 answers

iptables: difference between NEW, ESTABLISHED and RELATED packets

Part of a firewall on a server : iptables -A INPUT -p tcp --dport 22 -m state NEW --state -m recent --set iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 100 --hitcount 10 -j DROP When I search online I always…
Kris
  • 1,367
  • 3
  • 15
  • 17
67
votes
19 answers

The perfect server room?

What do I have to consider when I'm planning a new server room for a small company (30 PCs, 5 servers, a couple of switches, routers, UPS...)? What are the most important aspects in order to protect the hardware? What things do not belong in a…
splattne
  • 28,508
  • 20
  • 98
  • 148
67
votes
4 answers

Windows equivalent of iptables?

Dumb question: Is there an equivalent of iptables on Windows? Could I install one via cygwin? The real question: how can I accomplish on Windows what I can accomplish via iptables? Just looking for basic firewall functionality (e.g. blocking certain…
Aaron F.
  • 895
  • 2
  • 8
  • 9
67
votes
7 answers

Apache 2 startup warning: NameVirtualHost *:80 has no VirtualHosts

When my Ubuntu Apache server (Apache 2) starts up I get a warning message that reads: [warn] NameVirtualHost *:80 has no VirtualHosts However, the web server is working fine. What might I have wrong in my site's configuration to make it give me…
Kit Roed
  • 773
  • 1
  • 6
  • 7
67
votes
3 answers

Supervisor HTTP Server Port Issue

I have supervisor setup to manage a few processes. It works perfectly fine when I boot my server, however when I stop it and try to start it again it fails and give's me this error msg: * Starting Supervisor daemon manager... Error: Another…
Catalina
66
votes
6 answers

Server wiped after "yum remove python"

A disaster just occurred to me after I ran the command yum remove python and now I can't boot the server up anymore. How it happened: I tried updating some apps via yum on my CentOS 5 VPS and the command was failing due to some weird python 2.4…
tadoman
  • 773
  • 1
  • 5
  • 8
66
votes
9 answers

What's the best way to move c:\users to d:\users under vista/W7

I just installed Windows 7 RC1 and want to move c:\users to d:\users. What's the best way to do this? Due to the fact that Windows 7 creates a reserved partition that is mounted as C: in the recovery console, I had to use the following…
Scott
  • 1,072
  • 1
  • 11
  • 11
66
votes
6 answers

Straight forward way to run ssh-agent and ssh-add on login via SSH?

I'm trying to have the following commands be auto-executed when I login to my server via ssh: ssh-agent /bin/bash ssh-add ~/.ssh/id_rsa My ssh key has a passphrase and I'm fine with entering it once per login. I tried putting this in my .bashrc…
Click Upvote
  • 855
  • 2
  • 8
  • 12
66
votes
10 answers

Question marks showing in ls of directory. IO errors too

Has anyone seen this before? I've got a raid 5 mounted on my server and for whatever reason it started showing this: jason@box2:/mnt/raid1/cra$ ls -alh ls: cannot access e6eacc985fea729b2d5bc74078632738: Input/output error ls: cannot access…
jaymoo
66
votes
7 answers

Display output with Ansible

I have a Ansible play for PGBouncer that displays some output from a stats module built into PGBouncer. My issue is that when Ansible prints the output to the terminal it mangles the newlines. Instead of seeing ---------- | OUTPUT | ---------- I…
mjallday
  • 924
  • 2
  • 8
  • 14
66
votes
3 answers

How to read memory usage in htop?

Here is my htop output: For example, I'm confused by this ruby script: How much physical memory is it using? 3+1+8+51+51? 51? 51+51?
Lai Yu-Hsuan
  • 823
  • 1
  • 6
  • 6
66
votes
3 answers

Temporarily disable ssh public key authentication from client

Is there a way to temporarily disable public key authentication when ssh'ing, and use password authentication instead? I currently want to access remote server, but I'm using another laptop, not mine. Browsing that link, I found that the command ssh…
Nsukami _
  • 771
  • 1
  • 5
  • 8
66
votes
7 answers

DNS failing to propagate worldwide

I haven't changed anything related to the DNS entry for serverfault.com, but some users were reporting today that the serverfault.com DNS fails to resolve for them. I ran a justping query and I can sort of confirm this -- serverfault.com dns appears…
Jeff Atwood
  • 13,104
  • 20
  • 75
  • 92