Sysadmins of the North (Page 18)

Technical SysOps blog, where topics include Sysadmin, DevOps, computers, servers, web, MySQL, database, virtualization, optimization and security

MySQL query caching using PHP/Zend_Cache

By using the Cache.php PHP class of the Zend Framework, you can relatively easy cache MySQL query results to disk. This ensures faster consecutive results and speeds up execution.

Failed Request Tracing error LOG FILE MAX SIZE TRUNCATE

As you've probably read in my post AppCmd introduction and examples, AppCmd is a very extensive tool to administer Windows Server IIS hosting environments. Therefore, now a bit more about a common error message you might get using Failed Request Tracing (FREB): LOG_FILE_MAX_SIZE_TRUNCATE.

Read more...

Check IP address blacklist status in Bash

Here is a Linux Bash shell script to check whether an IP address is listed in a DNSBL blacklist, or RBL. Using this script in Bash you can quickly test if an IP address is blacklisted.

PHP on IIS: No input file specified.

Here is how to resolve the no input file specified error with PHP and IIS. When you host your PHP website on Windows Server IIS, you may receive an "No input file specified" error message, when a HTTP request is made to non-existing .php files. When this happens you probably have no Request Restrictions configured in IIS' PHP handler settings.

Read more...

"Forensic Log Parsing with Microsoft's LogParser"

Forensic Log Parsing with Microsoft's LogParser. Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files.

7 Snippets to use .htaccess as a Web Application Firewall

Here are 7 .htaccess snippets for you to secure your website, by using .htaccess as a kind of Web Application Firewall (WAF). You can use this information to block exploits and rogue HTTP requests on your website.

Read more...

IIS 6.0 Adsutil.vbs server name command line parameter

Adsutil.vbs is a versatile and useful tool to administer IIS 6.0 servers. But did you know there is a remote server command line parameter? With this you can use Adsutil.vbs remotely.

Delete undeletable files from NTFS file system

"The filename, directory name, or volume label syntax is incorrect.", here's how to fix it using internal NTFS commands

The "SendUsing" configuration value is invalid.

The "SendUsing" configuration value is invalid is an error message indicating an issue with IIS SMTP Service configuration. Here is how to resolve this issue.

Inexplicable COM+ error messages

The run-time environment has detected an inconsistency in its internal state.", in IIS 6.0 may be due to desktop heap exhaustion

IIS 6.0 error: The tracking (workstation) service is not running

A quick post about an IIS 6.0 error "The tracking (workstation) service is not running": Sometimes, after an iisreset and restarting an SSL website, the following error is displayed:

Read more...