708 reputation
38
bio website gnode.net
location SF Bay
age
visits member for 3 years, 1 month
seen 21 hours ago

We don't need no stinkin badges! But they are kinda nice and shiny...


Jun
17
comment is it possible to simultaneously mount 2 LVM volumes that are exact copies of each other (same UUIDs)?
Opinion time: If you have disks to spare, you really should be looking at putting them in a RAID configuration (if even software RAID to save some coin) instead of shoehorning a solution such as this one. RAID1 or even RAID5 are both good options.
Jun
14
comment Using wildcards for Puppet Packages?
If you're using a sane package manager it sounds like you probably just want ensure => latest.
Oct
11
comment Apache RewriteRule causes 500 error
Check the permissions on your .htaccess and make sure they're proper for your web user. I'm surprised the Apache error log is mum on this subject as it typically gives more detail about these errors. You may want to check with your server admin to make sure this logging is enabled.
Oct
11
comment Apache RewriteRule causes 500 error
I update my post as your regex still wouldn't match anything since you are matching against the entire URI (the part after the hostname in the URL) as a string. As for the 500, does calling your adaptive-images.php file directly work? Perhaps that script is causing the 500.
Oct
11
comment Apache RewriteRule causes 500 error
I merely meant it as a helpful aside since the OP clearly stated they're not much of a mod_rewrite guru. But alas, here we are. :)
Oct
11
comment Apache RewriteRule causes 500 error
Either way my point was it has to be stripped from a superglobal which are highly server-dependent and not always present. It would be more effective to redirect with the image in the URI as a GET variable IMO.
Aug
15
comment Why isn't my cronjob running?
Is the cron daemon running?
Aug
14
comment Dovecot high disk io
Yes that's mbox. I would also agree that using Maildir is much more preferential than mbox. wiki.dovecot.org/Migration/MailFormat for information on migrating.
Aug
14
comment Wildcard not working for sub-sub domain?
AFAIK, you can't use *.*.example.com but you can do *.sub.example.com.
Aug
14
comment Wildcard not working for sub-sub domain?
No, not for two-level (or more) subdomains.
Aug
14
comment Change php's auto-append-file from a script
Actually a php.ini file only applies to the directory in which it is contained.
Aug
13
comment Convert from P7B to PEM via OpenSSL
Was the file moved between servers or uploaded via FTP? If it is indeed the correct format, it seems as though it may have become corrupted. Try re-transferring the file to the server in binary mode (if using FTP) or re-copy it from the source.
Jul
27
comment syntax error near unexpected token `then'
= is used for string comparison so you should probably be double quoting your variables as strings (especially to prevent any funkiness in edge cases with whitespace).
Jul
12
comment VNC server login issue wit CentOS release 5.7 (Final)
Which VNC client are you using? Sounds like an incompatibility issue between the client and server.
Apr
6
comment Add regular unix user to whm to use cPanel
Password checking just enforces a particular password strength. If you're satisfied with your particular password setup, then that's not a problem. What would be a problem here is setting the MySQL and FTP passwords, as they use different hashing mechanisms, and there's no way to pass a hashed password to the WHM.
Apr
6
comment Add regular unix user to whm to use cPanel
You could add a little extra to the script where you pull the password hash from /etc/passwd before deleting the account and then replacing it after the createacct script is run. Otherwise just use the Password Modification function in the WHM.
Jan
31
comment Dovecot Migration and old mails
Deserves a +1 just because of the nifty BaSH-ery! :)
Dec
20
comment Hidden Spam Meta Descriptions
Try grep -RHn 'spam_pattern' ./* (assuming you're inside your webroot)
Dec
20
comment CentOS Adding Hard Disks
Yes unfortunately so, but RAID10 is the ideal setup for a four-drive RAID array for both speed and fault tolerance. Two RAID0 arrays are doubling your already high chances of data loss. Also, unlike RAID5, it can be reliably be run with software RAID without the additional (although some may argue minor) parity calculation overhead. With a hardware controller + BBU it just gets even better as you can increase your write speeds further with write caching.
Dec
14
comment Few requests/sec, but choke Apache and spike CPU
Is the server having to do anything extra in response to the requests? E.g. generate a dynamic 404 page? Is Apache actually the top CPU user? Does the CPU load appear to be I/O bound or is it indeed a CPU bottleneck?