Jun 262013
 
Apache/PHP crashes on FreeBSD

I will focus on Apache/PHP as this is a primary technology stack I interact with but you can freely apply principals demonstrated to debug other applications.
There are two ways to debug an application, the easiest approach is to simply wait for it to crash and generate a core dump that can work with. Another way is to use a … MORE

Jun 202013
 
SolarWinds Orion Webconsole slow...

Well, that is very common complain. And in majority, and I mean majority cases I came across it is related to the way system’s environment is set up. Starting from the fact that everybody is going virtual without serious review of requirements to meet expectations, to simple DNS mistakes. So to highlight how to go about it:

  1. check OS itself
MORE
Jun 192013
 
Update FreeBSD source tree using Subversion (svn)

First you will need Subversion installed on the system, to do this you can install it from the ports or packages.

From ports:

# cd /usr/ports/devel/subversion
# make install

From package:

# pkg_add -r subversion

You can accept default port configuration options. Once installed you can then update the FreeBSD source tree using following command:

# svn co svn://svn.freebsd.org/base/stable/9 /usr/src
MORE
Jun 192013
 
Migrate system from i386 (32-bit mode) to amd64 (64-bit mode)

Motivation

If an amd64 hardware has been initially installed in 32-bit mode (i.e. as a plain i386 machine), it might later be desired to turn it into a full 64-bit machine.

The recommended way to do this is to back up all personal and important data, and reinstall using an amd64 installation medium.

However, it’s also possible to migrate the … MORE

Jun 182013
 
SolarWinds Orion NCM, scripts and prompt

Sometimes you are going through scripts and these guys sometimes go to context where it actually changes prompt and that is causing NCM to stop understand what’s going on and in turn to disconnect from device and script not completing.

To suppress prompt checking use:

${DisablePromptDetection}
and then at the end
${EnablePromptDetection}

It is important to enable checking back as … MORE