Category: Tips and Tricks

Apache Logs Fail to Logrotate – RESOLVED

A server running Red Hat Enterprise Linux (RHEL) 5.5 after a period of time of successful log rotation, failed to logrotate the Apache logs. The Apache logs grew into the GBs. There didn’t seem to be any apparent or logical reason for this behavior, as the log rotation scripts were identical to other comparable servers. However, a command to debug…

Read More »

PHP 5.3.3 with IIS7.5 on Windows 7

In previous versions of Windows with IIS installed, the installation of PHP could be difficult. Instructions were inconsistant and there were too many variables that could have gone wrong. The installation woes of IIS seem to be a thing of the past. In one rare instance, using an article, titled Installing PHP on Windows 7, that was found in a…

Read More »

How to Disable IPv6 in Windows 7

We all have our reasons for wanting to do this, some may be for the “right” reasons, while others are not. It can be argued that disabling the IPv6 protocol is not appropriate and that it may effect some Windows functionality. However, IPv6 has been the culprit to some recent anomalies, including on a Windows Vista build where IIS could…

Read More »

SARDU, the Antivirus Rescue Disk Utility

When it comes to the removal of a virus, Trojan, pest, or some other malicious application, it has been my practice to isolate the problem by removing it from the equation. What is meant by that is that there are cases where the system is inoperable or where several applications have been hijacked like Task Manager, Registry Editor, and other…

Read More »

Can’t access PHP IIS7 via IP Address – RESOLVED

There are a few good articles as to how to install PHP on a Microsoft Windows Vista 64 bit edition. One of which is titled Vista 64 – IIS 7 – PHP x64. However, once installed, you may encounter the ability to access the website via localhost or with 127.0.0.1, however, not via the IP address of the computer. After…

Read More »

Log Parse in Windows without Log Parser

Using the command line to parse through the logs is an alternate method to log parser. A benefit that this would serve over log parser is that this method will also parse Apache logs. Here is an example for parsing all logs in a specific folder for a specific IP address and writing to a new file called loglist.txt.

Read More »

Microsoft Outlook 2007 returns no search results – RESOLVED!

Microsoft Outlook 2007 has enough bells and whistles to keep the application usable, however, for some reason the search feature stopped returning results. After several days of struggling with this for resolution, I finally figured out how to return results. No, there is no need for any third party application. Utilities such as the defunct Lookout, which requires a tweak…

Read More »

Linux: Recursively Unzip All Files Into Their Existing Directory

A backup of every file in every sub-directory created zipped archives of each individual file. This was not the intended result. To resolve this each file must be restored to it’s original location and remove the created archive. Research directed me into a couple of different routes, that didn’t really work for me or produce the desired result. Here is…

Read More »

Remote Enable Remote Desktop on Windows Server 2003 using Regedit

Remote Desktop on Windows XP Professional or Windows Server 2003 will allow access to a Windows session that is running on another computer from your local computer. However, this feature must be enabled to do so. I recently setup a Windows Server 2003 server and forgot to enable remote access. To enable remote access, you can right click on Computer…

Read More »

Automatic JBoss log compression using Linux

JBoss logs can take up gigabytes of space. The log rotation works well, however, there is no (not that I could find) means to compress in real-time. However, with a little work, this may be accomplished with a cron job. I am not going to go into too much detail or background, there are many sites that do this well….

Read More »

Linux: How to find a directory size?

Using Red Hat Enterprise Linux 5.x (“RHEL”) and / or CentOS 5.x, I wanted to know the size of the existing folder. There is a utility that will summarize disk usage for each file, recursively for directories. It is called du. As it turns out, this utility is also applicable for other distributions of Linux including Ubuntu. This command line…

Read More »

Microsoft Windows Update error 0x80240025

Recently attempted to update a Microsoft Windows XP workstation only to encounter an error message, error 0x80240025. According to one forum, it could be that of a Group policy to disable access to the Windows update. Error 0x80240025 denotes a Group Policy setting. If you check the registry for the DisableWindowsUpdateAccess key, you will likely find the following: S-1-5-18 maps…

Read More »

RHEL Logrotate Apache Logs Daily with Compression

Logrotate is a utility that creates new log files, as well as, renames and compresses the old log files. The basic logrotate paramaters are located in the /etc/lograotate.conf file. The Apache logrotate paramaters are stored in the /etc/logrotate.d/httpd file. The default Apache logrotate file will create a new log file and rename the old log file and may look like…

Read More »

Subversion on CentOS 5.4 installation guide

Subversion is an open source version control system. This article will detail an installation of Subversion on a CentOS 5.x / Red Hat Enterprise Linux (RHEL) 5.x workstation. Subversion used for this article is version 1.6.911. Install rpmforge repository RPMforge.net release file. This package contains apt, yum and smart configuration for the RPMforge RPM Repository, as well as the public…

Read More »

Tomcat default Administrator password

Tomcat 5.5 does not enable the admin or manager access by default. To allow for admin and manager access, the tomcat-users.xml file found in the /tomcat/conf directory. The original file may look like this. This is the modified file, adding manager and admin to the roles and usernames. Restart the Tomcat services, and you now have access to the administrative…

Read More »

Update RHEL5 using YUM package via CentOS online sources

Compelling reasons why anyone would want to do this is that your trial period has expired, your support agreement has expired and you do not want to renew it, your system may be outdated, you want to install another application, or you just wanted to see if it could be done. Before continue reading, after testing this exercise and applying…

Read More »

PHP 5.3.2 with IIS6 and FastCGI Installation Guide – Updated

There are many articles on the web that detail the installation of PHP on IIS6. Older, dated articles use the ISAPI that is no longer under development nor packaged with the more current versions of PHP. When an article describes the the installation of FastCGI for PHP and IIS, it is generally assumed that you have a working installation of…

Read More »