Most Popular
1500 questions
44
votes
4 answers
Rogue DHCP Server Can't be found
Over the last 3-4 weeks I have been trying to find a rogue DHCP server on my network but have been stumped! It is offering IP Addresses that do not work with my network, so any device that needs a Dynamic Address is getting one from the Rogue DHCP…

Dave Stuart
- 770
- 7
- 12
44
votes
3 answers
Is there a way to check that a dictionary key is not defined in ansible task?
So in my code I have a task:
- name: cool task
shell: 'touch iamnotcool.txt'
when: me.cool is not defined
and my vars looks like:
---
me:
stumped: yes
So when I run the task it comes back with the following error:
{"failed": true, "msg":…

Luis F Hernandez
- 683
- 1
- 7
- 9
44
votes
4 answers
Tcpdump on multiple interfaces
I need to capture traffic on a CentOS 5 server which acts as a web proxy with 2 wan interfaces and 1 LAN. In order to troubleshoot a weird proxy problem, I would like to have a capture of a full conversation. Since external connections are balanced…

Nahidul islam
- 441
- 1
- 4
- 3
44
votes
5 answers
How to shrink /home and add more space on CentOS7
CentOS 7 file system is XFS, And resize2fs doesn't work. I need to shrink /home to 400G and add 100G space to /. What should I do?
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 50G 50G 341M 100%…

GoingMyWay
- 565
- 2
- 6
- 10
44
votes
2 answers
Which RFCs should be cited as internet standards?
It's extremely common for RFCs to be cited in support of opinions (including Serverfault Q&A's), but the average IT employee has a very poor understanding in regards to which RFCs define standards and which ones are purely informative. This should…

Andrew B
- 32,588
- 12
- 93
- 131
44
votes
2 answers
Slow ssh login - Activation of org.freedesktop.login1 timed out
On one of my servers I've noticed really delay on SSH logins.
Connecting using the ssh -vvv options the delay occurs at debug1: Entering interactive session.
extract of connection:
debug1: Authentication succeeded (publickey).
Authenticated to…

Alasdair
- 561
- 1
- 4
- 7
44
votes
4 answers
How to output a list of changed files from rsync?
I am using rsync in a bash script to keep files in sync between a few servers and a NAS. One issue I have run into is trying to generate a list of the files that have changed from the during the rsync.
The idea is that when I run rsync, I can output…

Jason M.
- 565
- 1
- 5
- 7
44
votes
15 answers
phpMyAdmin Error - The configuration file now needs a secret passphrase
I keep getting an error "The configuration file now needs a secret passphrase" after installation of phpmyadmin. I have set the passphrase and also followed the instruction presented on…

jax
- 551
- 1
- 4
- 4
44
votes
1 answer
Apache is OK, but what is this in error.log - [mpm_prefork:notice]?
My apache server is running OK without any problems. It also doesn't issue any warning during restart. However, if I examine error.log I can see the following lines repeating from time to time:
[Wed Jun 25 18:15:56.295408 2014] [mpm_prefork:notice]…

Max Koretskyi
- 767
- 1
- 8
- 16
44
votes
5 answers
What is a T1 in modern terms?
I often hear this term used "We have a T1"... used on SF and other sites. I googled it and it seems like an ancient technology possibly related to frame relay but I'm not sure.
Maybe things have changed and the term means different things…

hookenz
- 14,472
- 23
- 88
- 143
44
votes
9 answers
How to hide a password passed as command line argument?
I'm running a software daemon that requires for certain actions to enter a passphrase to unlock some features which looks for example like that:
$ darkcoind masternode start
Now I got some security concerns on my headless debian…

q9f
- 640
- 3
- 10
- 21
44
votes
2 answers
postgres server fails to start, produces no log, how to to troubleshoot?
I'm starting up a postgres 9.3 instance on a ubuntu 12.04 server :
~# service postgresql start
* The PostgreSQL server failed to start. Please check the log output.
[fail]
the…

Max L.
- 561
- 1
- 4
- 6
44
votes
1 answer
Understanding the nginx proxy_cache_path directive
Suppose I have this nginx config file
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=myCache:8m max_size=100m inactive=1h;
What does the keys_zone=myCache:8m mean? There's not much said to it in the docs:
In addition, all active keys and…

Jürgen Paul
- 1,265
- 4
- 15
- 22
44
votes
8 answers
Slicehost vs Linode
Slicehost.com vs Linode.com
Which one do you recommend?
Are there any major differences between these two?
What are your personal experience?

Jakub Arnold
- 1,744
- 10
- 26
- 33
44
votes
2 answers
How do I enable additional debugging output from Ansible and Vagrant?
I am investigating Ansible for server and application provisioning. My application is currently provisioned with shell scripts in Vagrant. Rather than rewriting my scripts, I took a sample and attempted to deploy it.
It appears to deploy fine, but I…

Brian Lyttle
- 1,757
- 1
- 17
- 17