Reputation
4,941
Next tag badge:
24/100 score
15/20 answers
Badges
13 41
Impact
~247k people reached

Mar
21
comment SSH_ORIGINAL_COMMAND variable not getting set
Have you compared the /etc/ssh/sshd_config files on both servers?
Mar
19
comment Tomcat service does not see $JAVA_HOME
@iain The tutorial linked actually recommends setting things up exactly as the OP did. The Environment=JAVA_HOME=... line is there. So there is no problem with that, just the OP is trying to do something else.
Mar
19
comment 3disk in raid 1 using half/half
It's quite sad that this is a rather well-written question, yet gets negatively voted without any commends on what voters thought is wrong with it.
Jan
26
comment Displaying a remote SSL certificate details using CLI tools
Note that while s_client will print the whole chain, the last piped command will only print information about the first certificate.
Mar
9
comment Is there no easy way to use the Hyper-V Manager remotely?
Have you considered remote desktop into the server and using it "locally". You can even use RemoteApp to make the remote application appear "local".
Jan
5
comment 3disk in raid 1 using half/half
Irrespective of what you call it, software RAID 10 is what the OP described, he just didn't know what to call it - hence the question. As for the recommended or not... that's not for me to decide. RAID10 on three or four disks - there isn't much practical difference.
Nov
27
comment Software RAID 10 not any faster than s/w RAID 5 on Ubuntu 14.04 box, why?
@DavidSchwartz For RAID 10 you still only need to work with two disks, while for RAID 5 you need to work on all disks.
Nov
27
comment Software RAID 10 not any faster than s/w RAID 5 on Ubuntu 14.04 box, why?
I would expect random writes in RAID 5 to be considerably slower. For RAID 10 you have to write to two disks only. For RAID 5, you have to write the block to one disk, write out the parity to another, but additionally you also have to read out the rest of the data blocks from the same stripe in order to recalculate that parity.
Sep
26
comment Fail2Ban - Iptables - Set does not exist
As you can see, your running kernel (2.6.32-042stab092.2) is not a CentOS 7 kernel. It seems that you are inside a virtualized OpenVZ container. You may want to bring this up with your hosting provider, or also check this for extra information: unix.stackexchange.com/questions/118263/…
Apr
15
comment clamd says socket in use by another process but I can't find one
@dschinn1001, that is a capital -U ("Use UNIX domain socket"), and what you tried is a lowercase -u ("UDP mode"). Also, keep in mind that there are many, many versions of netcat and not all of them support the -U option.
Apr
2
comment Collect and pass along abitrary parameters in Puppet
The Ruby DSL has been deprecated.
Feb
1
comment How can I sort du -h output by size
@PaulDraper, du -BM prints everything in megabytes, so a file that is 168K would actually display as 0M. Unless there is some other version discrepancy I am not aware of. My version of du only shows integer megabyte values.
Nov
22
comment rpm -Uvh authenticated proxy access … just hangs?
Can you indicate what OS or rpm version you are on? The example I gave is something that I actually did try.
Jun
26
comment Linux software raid fails to include one device for one RAID1 array
I wonder if there is a metadata discrepancy on /dev/sdc1 somewhere. Have you considered wiping /dev/sdc1 out completely (dd if=/dev/zero of=/dev/sdc1 when it is not in the RAID).
Jun
19
comment Ext4 cache options on a virtual machine
An option that is a good idea to have on any file system - noatime.
Feb
27
comment SSH Kerberos authentication fails with “Wrong principal in request/Got no client credentials” on debian squeeze
Very well, I updated my answer with further things you should check. It is most likely a short name / FQDN confusion.
Feb
24
comment How long do Nat mappings live for?
I just found this post mentioning ip_conntrack as obsolete, so I updated my answer to not mention it. Also, the EXAMPLES section of the conntrack man page mentions one of the formats as an extended version of the other.
Feb
24
comment How long do Nat mappings live for?
Yes, I actually have both ip_conntrack and nf_conntrack. Not sure how they differ, except that ip_conntrack has two more columns showing the IP version. The 300 timer reset could be related to the nf_conntrack_tcp_timeout_unacknowledged setting.
Feb
22
comment Upstart script vs. command-line: why this difference in behavior?
Well, I updated my answer with more ideas. I hope some of them point you in the right direction.
Feb
13
comment How to use kdump/crash to investigate an OOM issue?
ps displays almost no processes as occupying any memory. In fact, ps -G shows only five entries where the RSS is non-zero, and the sum of those numbers is 4100 (see the ps -u output in the question). The second command says No symbol "nr_huge_pages" in current context..