4,311 reputation
1721
bio website BlackMesh.com
location
age
visits member for 4 years, 2 months
seen Aug 20 at 20:29

Director of Emerging Technology at BlackMesh Managed Hosting, longtime Linux aficionado, sometime Drupal developer (and d.o sysadmin), and occasional filesystem tinkerer.


Oct
7
comment allow BOTH http and https
I suspect that's the issue; s/he only has an SSL VHost configured. @Ziplo, you need to create a second VirtualHost, same as the SSL one only without the SSL bits in there, to serve traffic on port 80.
Sep
26
comment Dangers to giving Apache user a shell
Killing mod_evasive is certainly one option to solve the problem, yes. Whether that's an appropriate answer has far more to do with why you chose to install it in the first place than its intrinsic worth, however. As far as the Apache user, giving it a shell is a minimal increase in privilege; that doesn't concern me. Apache with sudo access is scary, but largely because giving anything sudo is terrifying. Still, as long as you define your sudo narrowly (i.e., not just NOPASSWD: /usr/sbin/iptables), you should be okay in most real-world scenarios. Don't expect to pass a sec. audit, though.
Sep
24
revised Rackspace - typical power for a server
edited tags
Sep
23
answered Dangers to giving Apache user a shell
Sep
17
comment passenger apache and nginx module not compiling on ubuntu 12.04LTS
Try editing the rake invocation in the passenger-install-apache2-module script to add the -v flag, which should give you a bit more output. Alternately, grab the g++ line from ps and run that by hand in the appropriate directory. What do you get?
Sep
5
comment passenger apache and nginx module not compiling on ubuntu 12.04LTS
Something like strace output is the ultimate way to track down what's actually going on inside of this, but let's stick with something simpler for now. Log on another time in a separate terminal and share with us the output of ps xfawww while the other terminal appears "stuck"; this will show us what command(s) are being run that are taking so long to complete. Alternatively (or additionally), if passenger-install-apache2-module is a shell script, try bash -x passenger-install-apache2-module.
Aug
26
comment newer libmysqlclient.so creates a conflicts with a php-mysql install
Good distributions of MySQL packages include several versions of the MySQL client libraries; I know under IUS, for example, I can simply do yum install mysqlclient16. Is there a compelling reason that you must use the Oracle-provided packages? They're widely considered inferior, and not just because of their boneheaded insistence on capitalization.
Aug
26
comment Recover lost POST data on LAMP site
Indeed. The issue here is that POST data is not part of the request, per se. It's simple stream IO on STDIN for the process being launched (e.g. PHP as in this case, or a CGI script). Thus, you can't simply modify your LogFomat to pick it up; you have to do the in-process moral equivalent of tee. Point being, the data is not only gone, it would also have been rather hard to collect in the first place.
Aug
26
revised Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4
edited title
Aug
26
answered Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4
Aug
26
revised Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4
added 6 characters in body
Aug
26
comment Avoiding Nagios commands.cfg
Yep! I'd add that you can also do $USER1$/footest $ARG1$ if you don't have a reasonable ability to guess what parameters might be required; you can then use a check_command like footest!-b something -c something.
Aug
26
answered Avoiding Nagios commands.cfg
Aug
26
comment PHP Files being cached by unknown entity
Consider disabling any other accelerators or code-encryption providers, such as Zend or Ioncube. Also, as a debugging step, add an echo above the code that is erroring out, just in case you're not quite running the code you think you are.
Aug
8
comment PHP Files being cached by unknown entity
It sounds like a situation where you are editing, for example, the copy of the file in /var/www2/html, whereas the DocRoot is set to /var/www/html. Try something like updatedb && locate somefile.php to see where else it might be finding the file in question.
Aug
8
answered conversion of a VMDK image with qemu-img failed with “error while reading sector 131072: Invalid argument”
Aug
7
revised PHP Files being cached by unknown entity
This is why we don't type answers when we are distracted.
Aug
7
answered PHP Files being cached by unknown entity
Aug
7
comment PHP Files being cached by unknown entity
Assuming it's not being reached directly, try adding some disk logging (or syslog()) to both the calling page and the file in question.
Aug
7
comment PHP Files being cached by unknown entity
How is the file in question being run? Via {include,require}{,_once}()? If so, how is the file you are using to test being run? For example, could this be an issue of browser cache?