Service IT Direct and COVID-19 UPDATE for more information CLICK HERE

Call NOW:
888-596-4720

Service IT Direct and COVID-19 UPDATE for more information CLICK HERE

Call NOW:
888-596-4720

What's Going on in our World

Here document not working

Here documents (inline text) are a great way to keep text within a script. But when the document doesn't work as expected, troubleshooting can be a challenge. Here are some tips: You can prevent shell expansion of variable names and other special characters by placing...


Read More
Network fails with /var full

One of the more bizarre error conditions for /var being full is that networking cannot be initialized at bootup. The basic networking functions (loopback interfaces) are the first step in getting network cards initialized, and if this step fails, all networking is disabled. All versions...


Read More
Troubleshooting failed NFS

There are always 2 parts to an NFS share: the client and the server. For shares that have been working in the past, the remote server and the path between is usually the problem. To see that if rpcbind is running and NFS transactions are...


Read More
Using lsof

lsof (List Open Files) is one of the most indispensible tools in the sysadmins toolkit. With it, you can look for processes that have opened a specific file or directory, find processes that have unlinked (removed from directory) files still open, find all the files...


Read More
setboot path and DSF

setboot returns the Primary and Alternate (and HA Alternate) boot paths but starting with 11.31, a mix of agile names and legacy names may be found in the bootconf file, lvlnboot and other system tools. To script the handling of DSFs (Device Special Files) across...


Read More
Stopping pwgrd (password daemon)

The password daemon (pwgrd) was created to manage massively large password file (more than 500 logins). Essentially, it performed caching activities of the /etc/passwd file so that commands like ls -l would excute quickly. But historically, it has had a number of problems with consuming...


Read More
Java out of memory on HP-UX

java.lang.OutOfMemoryError: Map failed This is a common error for 32 bit applications. Without special handling, the largest amount of local memory (often heap area) for a 32bit program is 950 MB or one quadrant in the 4 quadrant model for 32bit programs. HP added a...


Read More
Say Yes? Say No? Say what?

Anyone who has written an interactive script has had to ask a yes or no question. And then script gets changed to handle UPPERCASE and lowercase. And modified again to check for just 1 letter such as y or n... And pretty soon, the code...


Read More
GZIP/GUNZIP with no extra storage

When you gzip (or compress) a file, the original plus the compressed copy will exist in the same filesystem until the compression is complete. Then the old file is removed, leaving the compressed version. The worst case for an uncompressible file is that twice the...


Read More
Renumbering device instances

With really large disk arrays, you can find instance numbers piling up very quickly, and worse, they can make path managers such as DynaPath, Power Path and Secure Path exceed their limits. This is especially true if you are deleting and re-adding devices. Fortunately, there...


Read More